Bug 1758524

Summary: Windows 10 guest with QXL WDDM driver screen resolution issue
Product: Red Hat Enterprise Linux 8 Reporter: Giuseppe <giuseppe.scardino>
Component: spice-qxl-wddm-dodAssignee: ybendito
Status: CLOSED ERRATA QA Contact: SPICE QE bug list <spice-qe-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 8.2CC: dblechte, dschaefe, mtessun, tpelka, ybendito
Target Milestone: rcKeywords: FutureFeature
Target Release: 8.3   
Hardware: x86_64   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 03:44:38 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Spice RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Trial qxl-wddm-dod driver (1) none

Description Giuseppe 2019-10-04 12:38:15 UTC
Description of problem:
I have installed a Windows 10 VM using a 7" display with a 800x480 screen resolution. The qxl driver used is the: qxl-wddm-dod-0.19 but the minimum resolution available on Windows 10 display settings is 800x600.

There is already a similar Bug ID: 1477492, but this issue could be present again with another small display with a different resolution.


Version-Release number of selected component:
qxl-wddm-dod-0.19

How reproducible: always


Steps to Reproduce:
1. install a Window 10 VM on a machine with a small monitor
2. Go to Windows display settings
3. Try to set a correct resolution but only the 800x600 resolution is available

Actual results:
Invalid screen resolution

Expected results:
Correct 800x480 screen resolution available on the list of supported resolution

Additional info:
I have changed locally the code and I have a working version signed with a developer certificate. Is there any side effect to set a MIN_WIDTH_SIZE to 320 and MIN_HEIGHT_SIZE to 200 instead of 800 and 600?

Comment 2 ybendito 2019-10-15 09:17:01 UTC
Created attachment 1625886 [details]
Trial qxl-wddm-dod driver (1)

Comment 3 ybendito 2019-10-15 09:38:29 UTC
In general, Win10 requirements include display of 800x600
https://www.microsoft.com/en-us/windows/windows-10-specifications#primaryR2
Attached driver that includes lower resolutions (800*480 and also lower up to 320*200, if available).
Please respond whether it works as expected.

Comment 5 Daniel Schaefer 2019-10-21 13:47:03 UTC
I just spoke to the KAL engineers. They were able to verify the code on their simulated environments on a laptop, but did not yet have access again to the real ATM hardware. Access to the hardware is unfortunately a bit of a bottleneck here as the machine is currently running different tests by the bank. As soon as this is finished, Giuseppe will verify the code on the real ATM and update the BZ.

Thanks for the super-fast turn-around!

Comment 6 Giuseppe 2019-10-22 16:25:13 UTC
Hi,
I have tested the driver on the machine and it works properly.

Thanks,
Giuseppe

Comment 7 David Blechter 2019-12-17 15:27:56 UTC
The plan is to release the new version of the driver in rhel 8.3

Comment 8 Giuseppe 2020-01-16 07:34:15 UTC
Hi,
Testing the drivers on some machines having the monitor in portrait position, the windows screen is shown flipped. Is it possible to add the "portrait (flipped)" and also the "landscape (flipped)" configurations to the QXL as for standard windows driver?

Best Regards,
Giuseppe

Comment 9 David Blechter 2020-01-16 12:43:57 UTC
(In reply to Giuseppe from comment #8)
> Hi,
> Testing the drivers on some machines having the monitor in portrait
> position, the windows screen is shown flipped. Is it possible to add the
> "portrait (flipped)" and also the "landscape (flipped)" configurations to
> the QXL as for standard windows driver?
> 
> Best Regards,
> Giuseppe

Hi,
Please, open a new BZ for this new requirement.

thanks David

Comment 10 ybendito 2020-05-29 15:33:55 UTC
The resolution is fixed in spice-qxl-wddm-dod-0.20-0
https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1126115

Comment 17 errata-xmlrpc 2020-11-04 03:44:38 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-2020:4768