Bug 1380894

Summary: [gtk3] rendering artifacts of VirGL 3D accelerated virtual guest in "GNOME" (on Wayland) session
Product: [Fedora] Fedora Reporter: Joachim Frieben <jfrieben>
Component: gtk3Assignee: Matthias Clasen <mclasen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: cosimo.cecchi, fmuellner, mclasen, otaylor
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gtk3-3.22.1-1.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-18 11:04:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1277927    
Attachments:
Description Flags
Screenshot of unmaximized application window of gnome-boxes
none
Screenshot of full-screen application window of gnome-boxes none

Description Joachim Frieben 2016-10-01 07:15:17 UTC
Description of problem:
In current Fedora 25, "GNOME" (on Wayland) is the default session type. When running a Fedora 24/25 virtual guest with a VirGL 3D accelerated virtio-gpu video device in gnome-boxes, the window content often turns black or the title bar of the application window becomes invisible and unresponsive to mouse-clicks. When running gnome-boxes in maximized or full-screen mode, this often leaves keyboard input Alt-F1 or Alt-F4 as the only means for regaining control over the desktop. When resizing the application window, the virtual guest's (black) desktop becomes usually visible again but upon interaction by mouse click it also often turns black again. When the application window of gnome-boxes is unmaximized, black areas stretch beyond the window border and cover portions of the host desktop.
To summarize, a VirGL 3D accelerated virtual guest session is essentially unusable in a "GNOME" (on Wayland) host session.

Version-Release number of selected component (if applicable):
gnome-shell-3.22.0-1.fc25

How reproducible:
Always

Steps to Reproduce:
1. Start "GNOME" (on Wayland) host session.
2. Launch VirGL 3D accelerated virtual guest session in gnome-boxes.
3. Interact with the desktop by means of the mouse.

Actual results:
Desktop quickly turns black; when gnome-boxes' application window is maximized, title bar of Boxes application window is hidden.

Expected results:
Virtual desktop guest session works as expected without rendering artifacts.

Additional info:
- Under a "GOME on Xorg" host session, a VirGL 3D accelerated virtual guest session behaves as expected without rendering artifacts, both "GNOME on Wayland" and "GNOME on Xorg".
- The video device of the host system is an AMD Mobility Radeon HD 3450/3470 (RV620/M82).

Comment 1 Joachim Frieben 2016-10-01 07:24:58 UTC
Created attachment 1206481 [details]
Screenshot of unmaximized application window of gnome-boxes

Comment 2 Joachim Frieben 2016-10-01 07:25:44 UTC
Created attachment 1206482 [details]
Screenshot of full-screen application window of gnome-boxes