Bug 1324191

Summary: QXL driver does not support native 1366x768 resolution for laptop
Product: [Fedora] Fedora Reporter: Doug <dougweb>
Component: xorg-x11-drv-qxlAssignee: Alon Levy <alon>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: alon, cfergeau, crobinso, hdegoede, marcandre.lureau, sandmann, virt-maint, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-20 19:49: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:

Description Doug 2016-04-05 19:02:03 UTC
Description of problem:

QXL Driver is not providing the native resolution as an option for Laptops with a native resolution of 1366x768 (Example Thinkpad T420 with Intel HD).

Non-native resolution such as 1280x720 are offered but scaling reduces screen quality.

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

xorg-x11-drv-qxl-0.1.4-6fc23.i686

How reproducible:

Attempt to change VM guest screen resolution to match native resolution of host OS to 1366x768

Steps to Reproduce:
1.Attempt to change resolution to 1366x768
2.Resolution not available
3.

Actual results:

Resolution not available

Expected results:

Laptop native resolution of 1366x768 should be available for use by Guest (Fedora tested)

Additional info:

I know this seems minor, but it's annoying as hell and a strain on my eyes as spice scaling fuzzes the fonts up if you try a non-native resolution like 1280x720. You can turn scaling off but then you get dead areas on the vertical and horizontal that can't be used.

Comment 1 Doug 2016-08-18 14:55:07 UTC
Hmmm....pretty quiet.

Not a bug? Not important? Nobody cares?

knock knock..anybody out there? [listens....silence]

Comment 2 Cole Robinson 2016-08-19 13:25:00 UTC
note you might be able to force the resolution with xrandr or something... qxl can be resized to arbitrary resolutions, but I think desktop tools only show the list that qxl explicitly advertises.

Though strangely in qemu qxl.c and the xf86 driver code I see QXL_MODE_EX(1366, 768), not sure if something else is needed to get that mode advertised

Comment 3 Cole Robinson 2016-08-19 13:26:38 UTC
Maybe it's the common_modes[] list in drivers/gpu/drm/qxl/qxl_display.c , that seems pretty sparse and is missing the mode mentioned above

Comment 4 Christophe Fergeau 2016-08-24 14:09:49 UTC
Yup, probably needs to be updated there. I've had in the back of my mind to remove this list from the kernel driver and use the one from QEMU which iirc the kernel driver is able to access, but never got around to doing it.

Comment 5 Doug 2016-08-24 14:21:17 UTC
Thanks for taking a look (Even though it's a minor thing in the grand scheme of things)

Confirmed that xrandr does not list that resolution as being available.

Comment 6 Doug 2016-08-24 14:47:18 UTC
(In reply to Cole Robinson from comment #2)
> note you might be able to force the resolution with xrandr or something...
> qxl can be resized to arbitrary resolutions, but I think desktop tools only
> show the list that qxl explicitly advertises.
> 
> Though strangely in qemu qxl.c and the xf86 driver code I see
> QXL_MODE_EX(1366, 768), not sure if something else is needed to get that
> mode advertised

Yea, I was able to force it by creating a new modeline and then adding it to the list. I can script it up on startup for now. thanks for the suggestion.

Comment 7 Fedora End Of Life 2016-11-25 07:16:20 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Fedora End Of Life 2016-12-20 19:49:25 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.