RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1851845 - [virtio-win-installer] Hit black screen on win2019/win10 after uninstalling qxl WDDM-DOD driver with seabios
Summary: [virtio-win-installer] Hit black screen on win2019/win10 after uninstalling q...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: spice-qxl-wddm-dod
Version: 8.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 8.0
Assignee: ybendito
QA Contact: SPICE QE bug list
URL:
Whiteboard:
Depends On: 1661147
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-29 08:47 UTC by xiagao
Modified: 2021-05-18 15:54 UTC (History)
5 users (show)

Fixed In Version: spice-qxl-wddm-dod-0.21-0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 15:54:29 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Fix candidate 1 (341.59 KB, application/zip)
2020-07-12 09:47 UTC, ybendito
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:1885 0 None None None 2021-05-18 15:54:31 UTC

Description xiagao 2020-06-29 08:47:42 UTC
Description of problem:
Install virtio-win drivers, spice and guest-agent via virtio-win-guest-tools.exe, it succeed,and then uninstall them via this tool, guest hit black screen.

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

How reproducible:
virtio-win-1.9.12-1
kernel-4.18.0-214.el8.x86_64
qemu-kvm-4.2.0-25.module+el8.2.1+6985+9fd9d514.x86_64
spice-qxl-wddm-dod-0.19-2


Steps to Reproduce:
1.boot up a new installed win2019.
2.Install virtio-win drivers, spice and guest-agent via virtio-win-guest-tools.exe
3.Uninstall all of them via clicking uninstall button of via virtio-win-guest-tools.exe


Actual results:
after step 3, vm hit black screen.

Expected results:
uninstall works well on win2019

Additional info:

Comment 1 xiagao 2020-06-29 09:00:16 UTC
Hit this issue on seabios
seabios-1.13.0-1.module+el8.2.0+5520+4e5817f3.x86_64

Comment 2 xiagao 2020-06-29 09:11:13 UTC
Found spice-qxl-wddm-dod-0.19-2 is installed on win2019, but spice-qxl-wddm is only supported in win10 officially.

https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1039495

QXL is a paravirtualized display driver and a part of SPICE project.
This package provides QXL display-only driver for Windows 10 virtual machines.

Comment 3 xiagao 2020-06-30 02:32:43 UTC
(In reply to xiagao from comment #0)
> Description of problem:
> Install virtio-win drivers, spice and guest-agent via
> virtio-win-guest-tools.exe, it succeed,and then uninstall them via this
> tool, guest hit black screen.
> 
> Version-Release number of selected component (if applicable):
> 100%
> 
> How reproducible:
> virtio-win-1.9.12-1
> kernel-4.18.0-214.el8.x86_64
> qemu-kvm-4.2.0-25.module+el8.2.1+6985+9fd9d514.x86_64
> spice-qxl-wddm-dod-0.19-2

Correct the test version:
(host)
kernel-4.18.0-214.el8.x86_64
qemu-img-5.0.0-0.module+el8.3.0+6620+5d5e1420.x86_64
seabios-bin-1.13.0-1.module+el8.3.0+6124+819ee737.noarch

(guest)
os        :   win2019,win10(2004)
virtio-win:   virtio-win-1.9.12-1.iso
qxl driver:   spice-qxl-wddm-dod-0.19-2

Actually it's qxl's issue.

1. boot windows 2019 guest or latest version(2004) windows 10 guest
2. install qxl driver
3. uninstall qxl driver

after step 3, hit black screen.

> 
> 
> Steps to Reproduce:
> 1.boot up a new installed win2019.
> 2.Install virtio-win drivers, spice and guest-agent via
> virtio-win-guest-tools.exe
> 3.Uninstall all of them via clicking uninstall button of via
> virtio-win-guest-tools.exe
> 
> 
> Actual results:
> after step 3, vm hit black screen.
> 
> Expected results:
> uninstall works well on win2019
> 
> Additional info:

Comment 4 ybendito 2020-07-02 06:06:30 UTC
At the moment it is unknown:
1) whether this is an issue of qxl-wddm-dod or qemu
2) whether it depends on virtio-win installer or not
Please help us to find it out.
a) Whether this happens with the qxl-wddm-dod driver alone (without virtio-win installer)
b) Whether this is a regression of qxl-wddm-dod driver
There were only 4 releases of the driver 0.20, 0.19, 0.18, 0.15
(the last digit 0/1/2 the package of the same driver)
Oldest one is 0.15.0, https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=527967
c) Whether this is a regression of qemu
So, please try it with earlier generations of qemu (first of all just with different qemu major/minor, not with different builds)

Comment 5 xiagao 2020-07-04 07:48:15 UTC
(In reply to ybendito from comment #4)
> At the moment it is unknown:
> 1) whether this is an issue of qxl-wddm-dod or qemu
> 2) whether it depends on virtio-win installer or not
> Please help us to find it out.
> a) Whether this happens with the qxl-wddm-dod driver alone (without
> virtio-win installer)
Can reproduce with the qxl-wddm-dod driver alone without the installer.

> b) Whether this is a regression of qxl-wddm-dod driver
> There were only 4 releases of the driver 0.20, 0.19, 0.18, 0.15
> (the last digit 0/1/2 the package of the same driver)
> Oldest one is 0.15.0,
> https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=527967
Can reproduce with 0.15.0

> c) Whether this is a regression of qemu
> So, please try it with earlier generations of qemu (first of all just with
> different qemu major/minor, not with different builds)
Can't reproduce with qemu-kvm-4.2.0-28.module+el8.2.1+7211+16dfe810.x86_64,
this issue happened in qemu-kvm-5.0.0-0.module+el8.3.0+6620+5d5e1420.x86_64

So, it seems the qemu's bug.

Comment 7 Gerd Hoffmann 2020-07-08 07:59:47 UTC
Any change when starting qemu using '-device qxl-vga,rev=4' ?

Comment 8 ybendito 2020-07-12 06:39:05 UTC
@xiagao, Can you please check whether the problem can be reproduced with following change in the command line:
-vga none -device qxl-vga,revision=4,... 
Thanks in advance

Comment 9 ybendito 2020-07-12 09:45:11 UTC
Please check that attached driver fixes the problem (without revision=4)

Comment 10 ybendito 2020-07-12 09:47:25 UTC
Created attachment 1700717 [details]
Fix candidate 1

Comment 11 xiagao 2020-07-13 01:21:28 UTC
(In reply to ybendito from comment #10)
> Created attachment 1700717 [details]
> Fix candidate 1

Sorry, reply late.
It works with this fix.

Comment 20 errata-xmlrpc 2021-05-18 15:54:29 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 (spice-qxl-wddm-dod 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/RHBA-2021:1885


Note You need to log in before you can comment on or make changes to this bug.