kechara n00b
Joined: 23 Feb 2005 Posts: 15 Location: Aabenraa, Denmark
|
Posted: Sun Mar 18, 2012 3:18 pm Post subject: [SOLVED] Make Xorg span 3 monitors on 2 VGA cards |
|
|
I've run into a bit of trouble trying to make Xorg/LXDE span three monitors. (in preparation for a fourth to come)
Currently I have a Xorg conf containing the following
Code: |
Section "ServerLayout"
Identifier "xorg-server"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" LeftOf "Screen0"
# Screen 2 "Screen2" LeftOf "Screen1"
# Option "Xinerama" "True"
EndSection
Section "Extensions"
Option "RANDR" "Enabled"
Option "Xinerama" "Enabled"
EndSection
Section "Device"
Identifier "Card0a"
BusID "PCI:1:00:0"
Driver "nouveau"
Option "Monitor-DVI-I-1" "Monitor0"
Option "Monitor-DVI-I-2" "Monitor1"
# Screen 0
EndSection
#Section "Device"
# Identifier "Card0b"
# BusID "PCI:1:00:0"
# Driver "nouveau"
# Option "Monitor-DVI-I-2" "Monitor1"
# Screen 1
#EndSection
Section "Device"
Identifier "Card1"
BusID "PCI:2:00:0"
Driver "nouveau"
Option "Monitor-DVI-I-3" "Monitor2"
# Screen 2
EndSection
Section "Monitor"
Identifier "Monitor0"
EndSection
Section "Monitor"
Identifier "Monitor1"
Option "LeftOf" "Monitor0"
EndSection
Section "Monitor"
Identifier "Monitor2"
# Option "LeftOf" "Monitor1"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0a"
Option "Xinerama" "True"
# Monitor "Monitor0"
# DefaultDepth 24
# SubSection "Display"
# Depth 24
# Virtual 5880 1080
# EndSubSection
EndSection
#Section "Screen"
# Identifier "Screen1"
# Device "Card0b"
# Monitor "Monitor1"
# DefaultDepth 24
# SubSection "Display"
# Depth 24
# Virtual 3920 1080
# EndSubSection
#EndSection
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor2"
# DefaultDepth 24
# SubSection "Display"
# Depth 24
# Virtual 3920 1080
# EndSubSection
EndSection
|
As you can see from the commented line I have tried different approaches to this. But I always end up with one or the other problem.
In my current setup I have all three monitors active. In the sense that Monitor0 and 1 act as one big screen, and Monitor2 is independent.
Maximizing an application on Monitor0 will give me an application spanning both Monitor0 and 1. This was not what I had in mind.
Maximizing an application on Monitor2 will only show it on that monitor, and of course it cannot be dragged to any of the other monitors. I can live with that for now, but would of course like to be able to move about unhindered.
If I activate xinerama, I get an error message that xrandr is not available. And then Monitor0 seems normal, but Monitor1 gets kind of a stretched version of the desktop. Moving the mouse over Monitor1 actually slides the displayed content from both Monitor0 and 1 on it?
Monitor2 still works like before. No change there.
I have recompiled all my system with the xinerama use flag, but it did not change anything.
I have the video option set to "nouveau" in my make.conf, so I think that is OK.
I'll be happy to supply more information, but am unsure to what is needed to do some fault finding in this situation.
Right now I am starting an openbox session on Monitor2 to be able to check functionality there.
EDIT: OK. I'm giving up on this one for now. It seems impossible to make it work to my satisfaction. Perhaps one day I will get smarter, or the system easier. Either way it's still fun to work with
EDIT2: Well, what do you know. It is possible. But not with the nouveau driver.
I installed the nvidia driver and used the nvidia configuration to to set it all up. So now I have the following in my 40-monitor.conf file
Code: | # nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 290.10 (buildmeister@swio-display-x86-rhel47-07.nvidia.com) Wed Nov 16 18:46:42 PST 2011
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 3840 0
Screen 1 "Screen1" LeftOf "Screen0"
Screen 2 "Screen2" LeftOf "Screen1"
Option "Xinerama" "1"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "LG Electronics E2240"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
ModelName "LG Electronics E2240"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor2"
VendorName "Unknown"
ModelName "PKB Maestro223DXL"
HorizSync 31.0 - 83.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTS 250"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTS 250"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Device"
Identifier "Device2"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GT 430"
BusID "PCI:2:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP-0: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP-1: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen2"
Device "Device2"
Monitor "Monitor2"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Disable"
EndSection
|
I put this in my post so that someone searching and coming across this will have at least one solution for the problem. _________________ Regards,
Kechara
- Give the world a smile, and it'll laugh right back at you |
|