Bug 69903 - xorg.conf* screen resolution via PreferredMode disregarded by X if valid video= on cmdline
Summary: xorg.conf* screen resolution via PreferredMode disregarded by X if valid vide...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL: https://bugzilla.novell.com/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-28 09:21 UTC by Felix Miata
Modified: 2013-10-01 08:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Felix Miata 2013-09-28 09:21:57 UTC
Initial summary:
xorg.conf* screen resolution via PreferredMode disregarded by X if valid video= on cmdline

https://bugzilla.novell.com/show_bug.cgi?id=841696 has much detail, but here's the important excerpt (updated):

*****start*****
xorg.conf's "PreferredMode" regardless of presence or not of video= on cmdline
is obeyed by X in:
13.1M4 using:
  rv200/radeon/KDM3 (host gx27b)
  nv11/nouveau/KDM3 (host kt880)
  i845G/intel/KDM3 (host gx260)
  i915/intel/KDM3 (host gx280)
  i945/intel/KDM4.11.1 (64 bit host gx62b)
13.1B1 using:
  rv200/radeon/KDM3 (host gx27b)
  nv11/nouveau/KDM3 (host kt880)

valid video= on cmdline overrides valid PreferredMode set in xorg.conf* in:
13.1B1 using:
  i845G/intel/KDM3 (host gx260)
  i915/intel/KDM3 (host gx280; accompanying attachment)
  i945/intel/KDM4.11.1 (64 bit host gx62b)
  G41/intel/KDM4.11.1 (64 bit host big41)
*****end*****

In Mageia 4 Cauldron, even with neither vga= nor video= on cmdline, PreferredMode is disregarded.
Comment 1 Chris Wilson 2013-09-28 09:47:51 UTC
commit 8f54e9d3c43c04be0d405a94ae5a9d8fe8f8d75b
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Sep 23 19:34:25 2013 +0100

    sna: Check OPTION_PREFERRED_MODE rather than M_T_USERPREF
    
    During the intial KMS probe, we do not yet have the list of output
    modes, and in particular do not have the list of user preferred modes.
    So, in order to honour the user preferrence, we need to query for any
    preferred mode on the output from the option list.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=841696
Comment 2 Felix Miata 2013-10-01 08:29:19 UTC
Confirmed WRT 845, 945 and G41 via openSUSE's xf86-video-intel 2.99.903. Thanks much for promptness!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.