Bug 838218

Summary: Xorg default resolution does not honor kernel settings
Product: [openSUSE] openSUSE Tumbleweed Reporter: Ludwig Nussel <lnussel>
Component: X.OrgAssignee: E-mail List <xorg-maintainer-bugs>
Status: RESOLVED FEATURE QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Normal    
Priority: P3 - Medium CC: bjoernv, eich, mrmazda
Version: 13.1 Milestone 4   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ludwig Nussel 2013-09-03 15:01:18 UTC
When passing e.g. video=1024x768 to the kernel when using drm the kernel prefers that mode and sets the frame buffer resolution accordingly. X however still starts up choosing a different mode. Can be reproduced when doing an installation in a kvm vm for example (cirrus in that case).
I am aware that it is possible to override the edid information using e.g. drm_kms_helper.edid_firmware=edid/1024x768.bin but that is very hard to remember, clumsy to type and very limited in choice of resolutions. Shouldn't it be possible to make X somehow prefer the resolution settings of the kernel by default?
Comment 1 Stefan Dirsch 2013-09-03 16:03:34 UTC
This is indeed an issue.
Comment 3 Egbert Eich 2015-11-12 16:49:51 UTC
This is not a bug. It is designed that way. The Xserver will pick the native mode of the display - it doesn't care about the framebuffer mode. 
Why doesn't the VM provide an EDID with the modes it supports?
Comment 4 Felix Miata 2016-03-21 04:29:20 UTC
IME, only with Intel gfx does Xorg pick up the video= framebuffer mode the kernel applies to the vttys, which happens regardless what the EDID preferred mode is. This inconsistency according to video driver used ought not exist.