Skip to contentSkip to conversation

New: [Dualhead, randr12]

Bug 15753 [email protected] 1 participant 5 messages Apr 29, 2008 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=15753

Summary: [Dualhead, randr12]
Product: xorg
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: xake-ca8b1Tj3MiseIZ0/[email protected]
QAContact: [email protected]

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.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 15753] [Dualhead, randr12]

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15753

--- Comment #1 from Peter Hjalmarsson <xake-ca8b1Tj3MiseIZ0/[email protected]> 2008-04-29 03:47:08 PST --- Created an attachment (id=16234)
--> (http://bugs.freedesktop.org/attachment.cgi?id=16234)
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

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 15753] [Dualhead, randr12] the width of the fb does not change itself

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15753

Peter Hjalmarsson <xake-ca8b1Tj3MiseIZ0/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|[Dualhead, randr12]         |[Dualhead, randr12] the
                   |                            |width of the fb does not
                   |                            |change itself
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 15753] [Dualhead, randr12] the width of the fb does not change itself

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15753

--- Comment #2 from Maarten Maathuis <[email protected]> 2008-04-29 04:06:49 PST --- 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.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 15753] [Dualhead, randr12] the width of the fb does not change itself

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=15753

Peter Hjalmarsson <xake-ca8b1Tj3MiseIZ0/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |NOTABUG

--- Comment #3 from Peter Hjalmarsson <xake-ca8b1Tj3MiseIZ0/[email protected]> 2008-04-29 10:11:25 PST --- 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.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.