View previous topic :: View next topic |
Author |
Message |
Yzzyx n00b
Joined: 30 Nov 2004 Posts: 35
|
Posted: Sat Jun 10, 2006 10:56 pm Post subject: How to get two DVI display running with one rotated. |
|
|
I have twi DVI displays connected to my machine and I like to keep my right hand display in letter mode so get more info in there. I had to hunt for some time to get the info needed to get it running like I wanted. This post is to save some time for someone else with the same desires as me!
First of, you probably want two monitor. Remember to give them different names.
Code: |
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
|
You also want two cards even though you only have one card. The BusID is the same on both but the "Identifier" differs. OBS! The 'Option "Rotate" "CCW"' Rotates the display for you.
Code: |
Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "Unknown Board"
Option "NoLogo" "true"
Option "RenderAccel" "true"
BusID "PCI:5:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Card1"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "Unknown Board"
Option "NoLogo" "true"
Option "RenderAccel" "true"
Option "Rotate" "CCW"
BusID "PCI:5:0:0"
Screen 1
EndSection
|
You also need two screen entrys. Not sure if you have to put the Modes in there on a DVI but I have done so.
Code: |
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
|
Last but not least, you need to tell X where you have placed the displays.
Code: |
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
|
Thats it. With the help of the extracts from my xorg.conf you should be able to get dual display running on you single 2xDVI nvidia card with rotated displays and everything!
Please observe, with this setup you can NOT drag windows from one screen to the other. The mouse pointer happliy scuttles between the screens though and you can address output to :0.0 or :0.1 as you please.
Anyone who can add to this please do! |
|
Back to top |
|
|
mark_alec Bodhisattva
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Sun Jun 11, 2006 3:05 am Post subject: |
|
|
Moved from Desktop Environments to Documentation, Tips & Tricks. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|