Bug 1896442

Summary: rendering issue with intel gpu
Product: Red Hat Enterprise Linux 8 Reporter: Peter Kopec <pekopec>
Component: mesaAssignee: Dave Airlie <airlied>
Status: CLOSED ERRATA QA Contact: Peter Kopec <pekopec>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.4CC: coli, jsuchane, juzhou, kraxel, phrdina, tpelka, tyan, tzheng, virt-maint, zhguo
Target Milestone: rcKeywords: Triaged
Target Release: 8.0   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:39:25 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
screenshot of rendering.
none
Nov10_journal.ctl
none
vm_xml
none
qemu log
none
list of updated packages
none
list of updated packages - broken none

Description Peter Kopec 2020-11-10 14:52:10 UTC
Created attachment 1728065 [details]
screenshot of rendering.

Description of problem:
when using intel gvt , virtual gpu , for vm  rendering is broken , see picture. loading circle looks normal. for VM i was using rhel 8.3.  host machine is rhel 8.4 with kernel 4.18.0-246.el8.x86_64  on lenovo P53 with two gpus intel + nvidia.
in journalctl are some selinux errors but result was the same even when selinux was disabled.

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. create vm with intel gpu 
2.  boot vm 
 

Actual results:
bad render image 

Expected results:
normal render image

Comment 1 Peter Kopec 2020-11-13 10:41:10 UTC
in rhel 8.2  it works just fine , vm rendering is done by intel gpu and image is nice. for rhel 8.3 is result same as for rhel 8.4.

Comment 2 Peter Kopec 2020-11-13 11:00:43 UTC
Created attachment 1729054 [details]
Nov10_journal.ctl

adding journalctl  from rhel 8.4 , there should be multiple attemps to start vms with different kernels

Comment 3 Jaroslav Suchanek 2020-11-13 12:44:11 UTC
It is not probably a virt-manager issue. Please attach the vm xml definition and qemu log from /var/log/libvirt/qemu/. Thanks.

Comment 4 Peter Kopec 2020-11-13 14:38:13 UTC
Created attachment 1729102 [details]
vm_xml

Comment 5 Peter Kopec 2020-11-13 14:39:08 UTC
Created attachment 1729103 [details]
qemu log

Comment 6 Peter Kopec 2020-11-13 14:40:09 UTC
there are requested files

Comment 7 Jaroslav Suchanek 2020-12-02 17:20:01 UTC
Hi Gerd,

do you have any suggestion what we should investigate/test here, so we know which component is appropriate for this issue?

Thanks!

Comment 8 Gerd Hoffmann 2020-12-03 07:04:57 UTC
> Hi Gerd,
> 
> do you have any suggestion what we should investigate/test here, so we know
> which component is appropriate for this issue?

Well, there are a bunch of candidates, the most likely
ones are:

  (1) kernel
  (2) qemu
  (3) spice

I'd suggest to start with 8.2, then upgrade components
one by one to 8.3 and see where it breaks ...

Comment 9 Peter Kopec 2020-12-08 10:43:57 UTC
Created attachment 1737568 [details]
list of updated packages

So  i have tried updating from 8.2 to 8.3 packages , i have tried kernel *emu* spice* xorg-x11-drv-intel  python*  and results is that renering was without issue. After that i tried to update rest of the packages and then it broked.  I have attached the list of the packages. Any idea which  package should i tried  downgrade ?

Comment 10 Pavel Hrdina 2021-01-27 13:08:29 UTC
Hi, so this is not a virt-manager issue and based on comment 9 it looks like it's not caused by qemu, spice or kernel as well. This probably points to some xorg related package.

Peter, the list of packages is way too large to guess which would be the source of the issue. I would suggest to try manually updating xorg related packages to.

Comment 11 Peter Kopec 2021-02-03 10:17:57 UTC
Created attachment 1754648 [details]
list of updated packages - broken

Hi, so i have tried to update xorg related packages and still worked. So i have decided to update gnome and lots of other pckgs to be able correctly start  graphical-session, around 190pckgs, and  after this update rendering is broken. ( I am not sure if all of the 190 pcks were necessary for gnome update). Any idea which pckgs might be related?

Comment 12 Peter Kopec 2021-02-03 11:03:02 UTC
with mesa 19.3.4-2.el8  rendering is ok  after update to mesa 20.1.4-1.el8  rendering is broken, same for mesa 20.3.2-1.el8 . Moving on mesa component.

Comment 13 Dave Airlie 2021-02-16 03:24:26 UTC
mesa-20.3.3-1 is built in brew.

Comment 14 Peter Kopec 2021-02-16 09:49:45 UTC
Tested with new mesa, no rendering issue occurred.

Comment 19 errata-xmlrpc 2021-05-18 15:39:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: userspace graphics, xorg-x11, and mesa security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:1804