Bug 29603

Summary: xrandr marks two modes as the default mode
Product: xorg Reporter: Peter D. <peter_s_d>
Component: App/xrandrAssignee: Aaron Plattner <aplattner>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: low CC: hramrach, jeremyhu
Version: 7.5 (2009.10)Keywords: love
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard: 2011BRB_Reviewed
i915 platform: i915 features:

Description Peter D. 2010-08-16 22:41:08 UTC
Two different modes can not both be the default mode, but the output of xrandr indicates that this is so.  (Two modes are marked with a "+".)  

I am using xrandr 1.3.2 and the open source ati driver on an X550 video card.  

xrandr
Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 4096 x 4096
VGA-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 352mm x 264mm
   1400x1050      86.0 +   85.0     74.9     74.8     60.0     60.0  
   1280x1024      85.0 +   85.0     75.0     60.0  
   1920x1440      60.0  
   1856x1392      60.0     60.0  
   1792x1344      60.0     60.0  
   1920x1200      74.9     59.9  
   1600x1200      75.0     77.5*    70.0     65.0     60.0  
   1680x1050      84.9     74.9     60.0  
   1440x900       84.8     75.0     59.9  
   1280x960       90.2     85.0     60.0  
   1360x768       60.0  
   1280x800       84.9     74.9     59.8  
   1152x864       75.0  
   1280x768       84.8     74.9     59.9  
   1024x768       88.0     85.0     75.1     75.0     70.1     60.0  
   832x624        74.6  
   800x600        89.1     85.1     85.1     72.2     75.0     60.3     56.2  
   768x576       100.0     79.4  
   848x480        60.0  
   640x480        85.0     75.0     72.8     72.8     72.8     75.0     66.7     60.0     59.9     59.9  
   720x400        85.0     87.8     85.0     70.1  
   640x400        85.1  
   640x350        85.1  
   480x360        90.1  
   320x240       120.0  
   240x180       155.0  
DVI-0 disconnected (normal left inverted right x axis y axis)
S-video disconnected (normal left inverted right x axis y axis)
Comment 1 Aaron Plattner 2013-02-06 18:06:20 UTC
'+' means "preferred" mode, not default mode.  In this case, xrandr just puts a + next to any mode in the preferred mode list.  The RandR 1.2 protocol explicitly lets the server return multiple preferred modes.

If there's an xrandr bug here, it's that the man page says modes are listed, "with a '+' after the preferred mode" rather than "with a '+' after the preferred modes."
Comment 2 Aaron Plattner 2013-02-12 22:53:07 UTC
Should be fixed in xrandr 1.4.0.
http://cgit.freedesktop.org/xorg/app/xrandr/commit/?id=d752d524027fbc20d9fdee06fed173e454f15370

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.