Bug 1800409

Summary: gnome-shell has black square flash when virgl has been enabled
Product: Red Hat Enterprise Linux Advanced Virtualization Reporter: Guo, Zhiyi <zhguo>
Component: qemu-kvmAssignee: Virtualization Maintenance <virt-maint>
qemu-kvm sub component: Graphics QA Contact: Guo, Zhiyi <zhguo>
Status: CLOSED DEFERRED Docs Contact:
Severity: medium    
Priority: medium CC: areis, coli, juzhang, kraxel, ribarry, virt-maint
Version: 8.2Keywords: Triaged
Target Milestone: rc   
Target Release: 8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-08 13:21:51 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:
Attachments:
Description Flags
video evidence
none
vm xml none

Description Guo, Zhiyi 2020-02-07 02:19:21 UTC
Description of problem:
gnome-shell has black square flash when virgl has been enabled

Version-Release number of selected component (if applicable):
qemu-kvm-4.2.0-8.module+el8.2.0+5607+dc756904.x86_64
virglrenderer-0.8.1-1.module+el8.2.0+5515+afa04555.x86_64

Host gpu:
00:02.0 VGA compatible controller: Intel Corporation Iris Pro Graphics 580

How reproducible:
100%

Steps to Reproduce:
1.Boot rhel8.2 vm with below libvirt configurations:
...
    <graphics type='spice' port='5900' autoport='yes' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
      <image compression='off'/>
    </graphics>
    <graphics type='egl-headless'>
      <gl rendernode='/dev/dri/renderD128'/>
    </graphics>
    <sound model='ich9'>
      <alias name='sound0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
    </sound>
    <video>
      <model type='virtio' heads='2' primary='yes'>
        <acceleration accel3d='yes'/>
      </model>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </video>
...
2.Connect remote-viewer to vm
3.Inside vm, open a gnome-shell terminal, input some characters. For make the issue more obvious, can input ctrl + u to clean these characters

Actual results:
gnome-shell has black square flash

Expected results:
no back square flash

Additional info:
No such issue happen after disabling virgl

Comment 1 Guo, Zhiyi 2020-02-07 02:24:27 UTC
Created attachment 1661588 [details]
video evidence

video evidence of the issue

Comment 2 Guo, Zhiyi 2020-02-07 02:26:29 UTC
Created attachment 1661589 [details]
vm xml

Comment 4 Guo, Zhiyi 2020-02-24 12:47:29 UTC
Test on latest virglrenderer-0.8.2-1.module+el8.2.0+5777+d9c2af8c.x86_64

Desktop UI also has chance to flash.

The flash can be reproduced by using these GPUs:
VGA compatible controller: NVIDIA Corporation GP106GL [Quadro P2000]
VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa XT [Radeon PRO WX 3100]
VGA compatible controller: Intel Corporation Iris Pro Graphics 580

Comment 5 Guo, Zhiyi 2020-09-08 03:00:45 UTC
Hi Ademar,

   I suppose we should close this bug as won't fix now, since we already decide to drop virgl support? Thanks!


BR/
Zhiyi

Comment 6 Ademar Reis 2020-09-08 13:21:51 UTC
(In reply to Guo, Zhiyi from comment #5)
> Hi Ademar,
> 
>    I suppose we should close this bug as won't fix now, since we already
> decide to drop virgl support? Thanks!
> 

Yep, thanks for noticing.