Bug 582582 - wrong order of monitors
Summary: wrong order of monitors
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-nouveau
Version: 13
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Ben Skeggs
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-15 11:19 UTC by Michal Hlavinka
Modified: 2010-05-26 10:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-05-25 22:05:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
xorg log (88.25 KB, text/plain)
2010-04-15 11:19 UTC, Michal Hlavinka
no flags Details

Description Michal Hlavinka 2010-04-15 11:19:23 UTC
Created attachment 406741 [details]
xorg log

Description of problem:
I have two LCDs connected to graphic card. Bigger one to DVI1 and smaller one to DVI2. However, xrandr reports smaller one as DVI-I-1 and the bigger one as DVI-I-2. This leads to firstboot, kdm, ... placed on wrong screen.

Version-Release number of selected component (if applicable):
xorg-x11-server-common-1.8.0-4.fc13.x86_64

How reproducible:
always

Steps to Reproduce:
1.boot with two lcds
2.
3.
  
Actual results:
lcd connected to dvi1 is reported as dvi2 and vice versa

Expected results:
lcd connected to dvi1 reported as dvi1 and used as primary screen

Additional info:

Comment 1 Michal Hlavinka 2010-04-15 14:23:36 UTC
it's even worse. I've tried to switch lcds as workaround, but only one of them comes alive, the second is black and goes to powersaving after a few seconds, so probably gets no data at all.

I'm not able to get it working, xrandr output seems ok.

Screen 0: minimum 320 x 200, current 2960 x 1050, maximum 8192 x 8192
DVI-I-1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 459mm x 296mm
   1680x1050      59.9*+
   1280x1024      75.0     60.0  
   1280x960       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-I-2 connected 1280x1024+1680+0 (normal left inverted right x axis y axis) 338mm x 270mm
   1280x1024      60.0*+   75.0  
   1152x864       75.0  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1

this setup (bigger as DVI1 on left, smaller lcd as DVI2 on right) was working in F-12

Comment 2 Michal Hlavinka 2010-05-25 08:59:40 UTC
first I thought this is X server regression because in working F-12 there is 1.7.X and in broken F-13 there is 1.8.x, but I've just tried nvidia blob for bug #561267 and order of lcds is correct, so it's probably nouveau bug.

Comment 3 Ben Skeggs 2010-05-25 22:05:06 UTC
This isn't a bug, there is *no* way for us to know how you've placed your monitors.  We could reverse the order we report the connectors, but then we'd just "break" different setups.

If plugging the monitors into the opposite connectors doesn't work, please file a new bug for that issue and include the "dmesg" output for booting up in the working and non-working cases.

Comment 4 Michal Hlavinka 2010-05-26 05:26:10 UTC
well, are you sure this is an expected behaviour? On the graphic card there are two connectors named DVI 1 and DVI 2, but nouveau since F-13 reports and uses them in wrong order (DVI 2 as DVI 1 and vice versa). There was no such problem with nouveau in F-12 (or older) nor with nvidia blob driver. It just seems too unbelievable that it should be working just by accident there.

Comment 5 Ben Skeggs 2010-05-26 05:44:15 UTC
Nouveau doesn't actually decide anything except what to call a connector, it just does what it's told by the X server.

We haven't changed the way we've parsed the connector table from your card's video BIOS since F12 either, except instead of reporting DVI-I-0 and DVI-I-1, we say DVI-I-1 and DVI-I-2.  But that's a purely cosmetic change.

Also, having two connectors named 1 and 2 doesn't necessarily mean the user places "1" to the left of "2", it's why X has configuration options to say how they're placed.

Comment 6 Michal Hlavinka 2010-05-26 10:27:14 UTC
(In reply to comment #5)
> Nouveau doesn't actually decide anything except what to call a connector, it
> just does what it's told by the X server.
> 
> We haven't changed the way we've parsed the connector table from your card's
> video BIOS since F12 either, except instead of reporting DVI-I-0 and DVI-I-1,
> we say DVI-I-1 and DVI-I-2.  But that's a purely cosmetic change.

yes it does not seem that it should affect anything

> Also, having two connectors named 1 and 2 doesn't necessarily mean the user
> places "1" to the left of "2", it's why X has configuration options to say how
> they're placed.

well I did not mean 'wrong order of monitors' = dvi X should be left of dvi Y

I meant when I do "identify outputs" in krandr (or looking at xrandr output) I see 'DVI-1' on lcd connected to connector 2 and DVI-2 on the lcd connected to connector 1

during the whole boot process - from bios to nouveau initialization lcd connected to connector 1 acts as primary screen (=shows something, second screen has no data) which is expected but later nouveau makes lcd connected to connector 2 as primary screen


(In reply to comment #3)
...
> If plugging the monitors into the opposite connectors doesn't work, please file
> a new bug for that issue and include the "dmesg" output for booting up in the
> working and non-working cases.    

seems there's something fishy because when I plug it with reversed order that second lcd (smaller) does not show anything at all even during BIOS stage, just when system passes nouveau initialization the first screen (the bigger one) starts showing output.

I've experimented a little bit and found out:
- I can put bigger lcd to any connector and it works (at least after nouveau initialization)
- I can put smaller lcd to any connector and it does not work ever
- when both of them are connected bigger to connector 1 and smaller to connector 2 it works (but they are reported with wrong order)
- when both of them are connected - smaller to 1 and bigger to 2 then smaller never shows anything - changing resolution using xrandr has also no effect

It seems like hw issue but I've tried to switch cables and borrowed the same type lcd from my colleague and there is no change. Also the smaller lcd was originally my only lcd I was using and it was working fine.


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