Bug 537373 - KMS:RV250:9200 external display size only shows after 2nd xrandr run
Summary: KMS:RV250:9200 external display size only shows after 2nd xrandr run
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-ati
Version: 12
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jérôme Glisse
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-13 11:36 UTC by Robert de Rooy
Modified: 2010-01-31 22:03 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-01-31 22:03:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
xrandr --verbose with LVDS only as a reference (5.03 KB, text/plain)
2009-11-13 11:36 UTC, Robert de Rooy
no flags Details
xrandr --verbose 1st run after hotplug (8.66 KB, text/plain)
2009-11-13 11:37 UTC, Robert de Rooy
no flags Details
xrandr --verbose 2nd run after hotplug (8.73 KB, text/plain)
2009-11-13 11:37 UTC, Robert de Rooy
no flags Details
xrandr --verbose 1st run after unplug (5.22 KB, text/plain)
2009-11-13 11:38 UTC, Robert de Rooy
no flags Details
xrandr --verbose 2nd run after unplug (8.73 KB, text/plain)
2009-11-13 11:39 UTC, Robert de Rooy
no flags Details
xrandr --verbose after re-plugging external monitor (8.73 KB, text/plain)
2009-11-13 11:40 UTC, Robert de Rooy
no flags Details

Description Robert de Rooy 2009-11-13 11:36:29 UTC
Created attachment 369406 [details]
xrandr --verbose with LVDS only as a reference

Description of problem:
ThinkPad T41. Attaching an external display (VGA or DVI), and running xrandr causes a flash of the LVDS as it tries to activate extended desktop automatically.

The external output though does not report the physical external display size, at least not until you run xrandr a second time.

Version-Release number of selected component (if applicable):
kernel-2.6.31.5-127.fc12.i686
xorg-x11-drv-ati-6.13.0-0.10.20091006git457646d73.fc12.i686
xorg-x11-server-Xorg-1.7.1-7.fc12.i686

How reproducible:
each time

Steps to Reproduce:
1. boot/reboot thinkpad
2. graphical login
3. hotplug external display
4. run xrandr the 1st time - missing physical external display size
5. run xrandr the 2nd time - physical external display size is reported
  
Actual results:
First xrandr run after hotplugging an external display
$ xrandr
Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 4096 x 4096
VGA-0 connected (normal left inverted right x axis y axis)
   1600x1200      60.0 +
   1280x1024      75.0     60.0  
   1152x864       75.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        72.8     75.0     66.7     60.0  
   720x400        70.1  
DVI-0 disconnected (normal left inverted right x axis y axis)
LVDS connected 1400x1050+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1400x1050      50.3*+
   1280x1024      59.9     60.0  
   1280x960       60.0     59.9  
   1280x854       59.9  
   1280x800       59.8  
   1280x720       59.9  
   1152x768       59.8  
   1024x768       60.0     59.9  
   800x600        60.3     59.9     56.2  
   848x480        59.7  
   720x480        59.7  
   640x480        59.9     59.4  
S-video disconnected (normal left inverted right x axis y axis)

2nd xrandr run (notice how VGA-1 now suddenly reports 432mm x 324mm)
$ xrandr
Screen 0: minimum 320 x 200, current 3000 x 1200, maximum 4096 x 4096
VGA-0 connected 1600x1200+1400+0 (normal left inverted right x axis y axis) 432mm x 324mm
   1600x1200      60.0*+
   1280x1024      75.0     60.0  
   1152x864       75.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        72.8     75.0     66.7     60.0  
   720x400        70.1  
DVI-0 disconnected (normal left inverted right x axis y axis)
LVDS connected 1400x1050+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1400x1050      50.3*+
   1280x1024      59.9     60.0  
   1280x960       60.0     59.9  
   1280x854       59.9  
   1280x800       59.8  
   1280x720       59.9  
   1152x768       59.8  
   1024x768       60.0     59.9  
   800x600        60.3     59.9     56.2  
   848x480        59.7  
   720x480        59.7  
   640x480        59.9     59.4  
S-video disconnected (normal left inverted right x axis y axis)

Expected results:
external physical display size to be reported on first run

Additional info:
This only happens after (re)booting, if I unplug, run xrandr and replug the display, xrandr does show the external physical display size information.

What does happen is that after unplug it takes also 2 xrandr runs to fully clear the remaining data.

Comment 1 Robert de Rooy 2009-11-13 11:37:20 UTC
Created attachment 369407 [details]
xrandr --verbose 1st run after hotplug

Comment 2 Robert de Rooy 2009-11-13 11:37:58 UTC
Created attachment 369408 [details]
xrandr --verbose 2nd run after hotplug

Comment 3 Robert de Rooy 2009-11-13 11:38:42 UTC
Created attachment 369409 [details]
xrandr --verbose 1st run after unplug

Comment 4 Robert de Rooy 2009-11-13 11:39:19 UTC
Created attachment 369410 [details]
xrandr --verbose 2nd run after unplug

Comment 5 Robert de Rooy 2009-11-13 11:40:26 UTC
Created attachment 369411 [details]
xrandr --verbose after re-plugging external monitor

Comment 6 Robert de Rooy 2010-01-13 09:49:31 UTC
I am no longer able to reproduce this problem with kernel-2.6.32.3-24.fc12.i686 from Koji


Note You need to log in before you can comment on or make changes to this bug.