PDA

View Full Version : [ubuntu] (8.04) Two different video cards, 2 X Servers, Maximize spanning 2/3 Monitors



cmsimike
September 17th, 2009, 02:11 AM
Hello all,
I have two Nvidia cards in my box right now, an FX 5500 and a 7950 GT. I've set up each card to have it's own X server (only way I can actually get 2D/3D acceleration to work). I have 1 monitor on my 5500 and 2 on my 7950. I don't mind this setup too much since I will be using my monitor on the 5500 only for communication (email/chat) and using the two main monitors for everything else. My problem is that on the 7950 with two monitors, when maximizing anything, it spans both monitors. How can I limit it to just one monitor?
The two monitors are using TwinView which I think is the problem. When enabling Xinerama, I can use all 3 monitors no problem but then the 2d performance of applications suffers terribly. In case it is of any assistance here is my xorg.conf:


Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 1440 0
Screen 1 "Screen1" 0 0
EndSection

Section "Module"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "ViewSonic VA1912w-3"
HorizSync 30.0 - 82.0
VertRefresh 50.0 - 85.0
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "ViewSonic VA1912wSERIES"
HorizSync 30.0 - 82.0
VertRefresh 50.0 - 85.0
EndSection

Section "Monitor"
Identifier "Monitor2"
VendorName "Unknown"
ModelName "ViewSonic VA1912w-3"
HorizSync 30.0 - 82.0
VertRefresh 50.0 - 85.0
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
Option "NoLogo" "True"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7950 GT"
BusID "PCI:4:0:0"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce FX 5500"
BusID "PCI:1:1:0"
EndSection

Section "Device"
Identifier "Videocard2"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce FX 5500"
BusID "PCI:1:1:0"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
DefaultDepth 24
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "DFP-1"
Option "metamodes" "DFP-0: 1440x900_60 +1440+0, DFP-1: 1440x900_60 +0+0"
EndSectionUntitled Filter

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "nvidia-auto-select +0+0"
EndSection

Section "Screen"
Identifier "Screen2"
Device "Videocard0"
Monitor "Monitor2"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "DFP-1"
Option "metamodes" "DFP-1: 1440x900_60 +0+0"
EndSection


I hope this is enough information and thanks in advance for any help.

hcaicedo
November 7th, 2009, 05:03 PM
I have same setup (Two Nvidia cards on 9.10 - 64 bit). I would like to know how to limit any window to just maximize to one monitor. I remember that use to work under 8.10

slamhound
November 7th, 2009, 08:53 PM
Here's one solution:

http://ubuntuforums.org/showpost.php?p=8253916&postcount=8

But it doesn't solve everything (see my later posts in that thread). I'm still searching for a solution for those problems (I'm about to create a new thread about it).