Bug 15753 - [Dualhead, randr12] the width of the fb does not change itself
Summary: [Dualhead, randr12] the width of the fb does not change itself
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-29 03:45 UTC by Peter Hjalmarsson
Modified: 2008-04-29 10:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.log (203.81 KB, text/plain)
2008-04-29 03:47 UTC, Peter Hjalmarsson
no flags Details

Description Peter Hjalmarsson 2008-04-29 03:45:42 UTC
My system have two monitors connected to my system.
My xorg.conf starts VGA-0 to the left of DVI-A-0.
Both starts at resolution 1280x1024 by default (not changed by me).

VGA-0 is capable of running the resolution 1600x1200, but here comes the problem:
xake@lillen ~ $ xrandr --output VGA-0 --mode 1600x1200
xake@lillen ~ $ xrandr
Screen 0: minimum 320 x 200, current 2560 x 1200, maximum 3000 x 3000
VGA-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 352mm x 264mm
   1280x1024      85.0 +   84.8     75.0  
   1600x1200      75.0* 
   1152x864       75.0  
   1024x768      100.0     84.9     75.1     70.1     60.0     43.5  
   832x624        74.6  
   800x600        84.9     72.2     75.0     60.3     56.2  
   640x480        84.6     75.0     72.8     66.7     60.0  
   720x400        87.8     70.1  
DVI-A-0 connected 1280x1024+1280+0 (normal left inverted right x axis y axis) 306mm x 230mm
   1280x1024      60.1* 
   1024x768       75.1     70.1     60.0     43.5  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     60.0     59.9  
   720x400        87.8     70.1  
   512x384       120.0  
   400x300       120.6  
   320x240       120.1  
DVI-D-0 disconnected (normal left inverted right x axis y axis)

As you can see in this output the "current" for "Screen 0" is less then the width of VGA-0 and DVI-A-0 making a part of the left screen also appere on the right.

However if I do:

xake@lillen ~ $ xrandr
Screen 0: minimum 320 x 200, current 2560 x 1200, maximum 3000 x 3000
VGA-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 352mm x 264mm
   1280x1024      85.0 +   84.8     75.0  
   1600x1200      75.0* 
   1152x864       75.0  
   1024x768      100.0     84.9     75.1     70.1     60.0     43.5  
   832x624        74.6  
   800x600        84.9     72.2     75.0     60.3     56.2  
   640x480        84.6     75.0     72.8     66.7     60.0  
   720x400        87.8     70.1  
DVI-A-0 connected 1280x1024+1280+0 (normal left inverted right x axis y axis) 306mm x 230mm
   1280x1024      60.1* 
   1024x768       75.1     70.1     60.0     43.5  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     60.0     59.9  
   720x400        87.8     70.1  
   512x384       120.0  
   400x300       120.6  
   320x240       120.1  
DVI-D-0 disconnected (normal left inverted right x axis y axis)
xake@lillen ~ $ xrandr --output DVI-A-0 --off
xake@lillen ~ $ xrandr --output DVI-A-0 --auto
xake@lillen ~ $ xrandr --output DVI-A-0 --right-of VGA-0
xake@lillen ~ $ xrandr --output DVI-A-0 --mode 1280x1024
xake@lillen ~ $ xrandr
Screen 0: minimum 320 x 200, current 2880 x 1200, maximum 3000 x 3000
VGA-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 352mm x 264mm
   1280x1024      85.0 +   84.8     75.0  
   1600x1200      75.0* 
   1152x864       75.0  
   1024x768      100.0     84.9     75.1     70.1     60.0     43.5  
   832x624        74.6  
   800x600        84.9     72.2     75.0     60.3     56.2  
   640x480        84.6     75.0     72.8     66.7     60.0  
   720x400        87.8     70.1  
DVI-A-0 connected 1280x1024+1600+0 (normal left inverted right x axis y axis) 306mm x 230mm
   1280x1024      60.1* 
   1024x768       75.1     70.1     60.0     43.5  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     60.0     59.9  
   720x400        87.8     70.1  
   512x384       120.0  
   400x300       120.6  
   320x240       120.1  
DVI-D-0 disconnected (normal left inverted right x axis y axis)

Then as you can see everything works nice.

So it seems changing the resolution the output of VGA-0 (theleft screen) does not setup a correct screen size, but with xrandr turn off DVI-A-0 and restore its setup again both monitors seems to work nice.
Comment 1 Peter Hjalmarsson 2008-04-29 03:47:08 UTC
Created attachment 16234 [details]
Xorg.log

Forgot to add the details of my card:

01:00.0 VGA compatible controller [0300]: nVidia Corporation NV31 [GeForce FX
5600] [10de:0312] (rev a1) (prog-if 00 [VGA controller])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 32 (1250ns min, 250ns max)
        Interrupt: pin A routed to IRQ 18
        Region 0: Memory at f8000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at e0000000 (32-bit, prefetchable) [size=256M]
        [virtual] Expansion ROM at f9000000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [44] AGP version 3.0
                Status: RQ=32 Iso- ArqSz=0 Cal=3 SBA+ ITACoh- GART64- HTrans-
64bit- FW+ AGP3+ Rate=x4,x8
                Command: RQ=32 ArqSz=2 Cal=0 SBA+ AGP+ GART64- 64bit- FW+
Rate=x8
Comment 2 Maarten Maathuis 2008-04-29 04:06:49 UTC
I'm wondering if this should be closed with NOTABUG or NOTOURBUG.

It's certainly not our bug, because the driver is doing precisely what xrandr tells you. Secondly you may actually be getting what you ask for, but maybe not what you want.

- You put the monitors into 1280x1024 and put one right of the other, at that point the coordinate reference of the 2nd monitor is fixed. Then you increase the other to 1600x1200, but never ask for a new position of the 2nd one.

- Wether this is desirable beheaviour is something different all together.
Comment 3 Peter Hjalmarsson 2008-04-29 10:11:25 UTC
He, I guess you are right. This seems like a NOTABUG since as you said xrandr did what I told it to do. Then that xrandr as a screen manipulating tool can be becuse of that somewhat confusing, that is another story for another day.


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.