You are not logged in.
Hi guys,
I have two monitors - one widescreen TFT 20" DVI (max 1680x1050), and one 17" TFT Analog (max 1280x1024).
Currently I'm running just on my widescreen monitor, but would love to have both monitors enabled to facilitate my spare-time web design.
I have an nVidia 7950GX2 - the card is essentially two 7900GT(X)s SLI'd together. So it is a multi-GPU card, rather than me having two separate graphics cards in my system.
I've followed the Arch Wiki info regarding nVidia drivers, and have the drivers operating perfectly right now. But no matter what I do, even if I follow the Gentoo Wiki info on dual monitors, I can't get both monitors to operate; it's either one or neither.
Here's my current xorg.conf :
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "dbe"
Load "record"
Load "xtrap"
#Load "dri"
Load "glx"
Load "extmod"
Load "type1"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "dvorak"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Analog TFT"
VendorName "Blue Mountain"
ModelName "MT17XP"
EndSection
Section "Monitor"
Identifier "Widescreen DVI"
VendorName "LG"
ModelName "L204WT"
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "Unknown Board"
BusID "PCI:6:0:0"
Option "NoLogo" "True"
Option "MultiGPU" "AFR"
Option "sli" "off"
Option "RenderAccel" "true"
#other options I recommend:
Option "HWcursor"
Option "CursorShadow"
Option "CursorShadowAlpha" "32"
Option "CursorShadowXOffset" "3"
Option "CursorShadowYOffset" "3"
#if you want Composite and GLX (they don't cooperate):
Option "AllowGLXWithComposite"
#the TwinView stuff
Option "TwinView" "true"
Option "MetaModes" "DFP: 1680x1050, CRT: NULL"
Option "TwinViewOrientation" "DFP RightOf CRT"
Option "TwinViewXineramaInfoOrder" "DFP"
Option "HorizSync" "DFP: 30.0 - 83.0; CRT: 31.5 - 80"
Option "VertRefresh" "DFP: 56.0 - 75.0; CRT: 56.0 - 75.0"
EndSection
Section "Device"
Identifier "Card1"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "Unknown Board"
BusID "PCI:5:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Analog TFT"
EndSectionWhen I change
Option "MetaModes" "DFP: 1680x1050, CRT: NULL"to
Option "MetaModes" "DFP: 1680x1050, CRT: 1280x1024"I still only get my widescreen coming on.
When I change
Option "TwinViewXineramaInfoOrder" "DFP"Option "TwinViewXineramaInfoOrder" "DFP, CRT"then only my widescreen comes on again. Swapping the arguments means only my small TFT comes on.
I'd be very grateful for help fixing this; I'm happy to follow any instructions you want, so I'll just be patient and wait for orders ![]()
- KD
Offline
Have you tried the nvidia-settings tool? It acts quite the same as in windows and it can write the xorg.conf for you.
Offline
Have you tried the nvidia-settings tool? It acts quite the same as in windows and it can write the xorg.conf for you.
Wow - I tried this prior to getting the drivers working properly, and there was barely any info; hardly surprising really. This is an awesome tool!
It's shown/reminded me of the real problem - I can set the second display as on, and it's clear it's there in virtual space, since windows stretch far beyond the edge of my widescreen, and the cursor can move way off screen too. However, despite the smaller monitor coming out of standby, it displays nothing... not even a blank screen; the actual display doesn't show anything at all. I can tell it's off standby from the LED going green, though.
The small monitor is in a DVI socket, because I have an adapter that has an analog-in and dvi-out. Could this be related to the problem?
I've tried auto-detecting the monitors in nvidia-settings, and it's added a small 'crt-0' monitor to the existing visual Layout. This monitor is disabled, I'm going to try enabling it... maybe it's detected the small monitor properly or something.
Edit: No, the crt-0 monitor added is definitely a phantom one.
- KD
Last edited by KomodoDave (2007-05-01 14:19:09)
Offline
Hmm, I suspect this to be an modeline error. Your gfx-card tries to use a lot higher refresh rate on the monitor than it actually can. But modelines are so '70s style, screw them all and let the card decide what's best
Here is my xorg.conf, it is basically the same layout as yours but with a single gpu/dual output card.
Section "ServerLayout"
Identifier "Twinview"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "AIGLX" "true"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/local/"
EndSection
Section "Module"
Load "extmod"
Load "dbe"
Load "record"
Load "xtrap"
Load "glx"
Load "freetype"
Load "type1"
Load "wfb"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "latin"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
#Modeline "1680x1050" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "Device"
#Option "NvAGP" "1"
Option "TwinView"
Option "TwinViewOrientation" "LeftOf"
Option "SecondMonitorHorizSync" "UseEdidFreqs"
Option "SecondMonitorVertRefresh" "UseEdidFreqs"
Option "MetaModes" "1400x1050,1680x1050; NULL,1680x1050"
Option "NoTwinViewXineramaInfo" "false"
Option "RandRRotation" "true"
Option "NoLogo"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
Option "AddARGBGLXVisuals" "true"
Option "ModeValidation" "NoMaxPClkCheck"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV34 [GeForce FX 5500]"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
EndSection
# vim:etAlso check /var/log/Xorg.0.log for any errors and warnings.
Offline
Thanks for posting again, bwalk.
I have to wait for a firefox dl to complete, and then I'll attempt what you've suggested and post back in ~1 hour.
Cheers.
- KD
Offline
I took the liberty to modify the relevant parts of the original xorg.conf file based on mine (I have a TwinView setup, but with identical monitors). Since bwalk has a similar setup to yours, you should try that first. If you still have problems for some reason, you can try the sections below.
I assume that the HorizSync and VertRefresh values are correct for your system, so I just used the original values as well (if you didn't set them, you might want to double check just to be sure). I commented out certain lines that seemed to be set by the program that created the config file, so if you need them, uncomment them...I just wanted to clean it up a bit. Again, understood that the CRT is on the left and the DFP is on the right, so that's how the MetaModes are declared. If it's the other way around, you will have to swap the value sets. I also assume that the DFP is your main monitor, so I set the CRT to NULL for any situation that requires it.
I'm not certain about the Screen section. Since so much info is declared above it, you might be able to eliminate the SubSection part, but I'm not sure. I hope you get it working.
Section "ServerLayout"
Identifier "Server0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Device"
Identifier "Card0"
VendorName "nVidia Corporation"
BoardName "Unknown Board"
BusID "PCI:6:0:0"
Driver "nvidia"
Option "NoLogo" "true"
Option "RenderAccel" "true"
Option "MultiGPU" "AFR"
Option "sli" "off"
Option "TwinView" "true"
Option "TwinViewOrientation" "RightOf"
Option "MetaModes" "1280x1024,1680x1050; NULL,1680x1050"
Option "ConnectedMonitor" "CRT-0, DFP-0"
Option "UseEdidFreqs" "false"
Option "HorizSync" "CRT-0: 31.5-80; DFP-0: 30-83"
Option "VertRefresh" "CRT-0: 56-75; DFP-0: 56-75"
# Option "HWcursor"
# Option "CursorShadow"
# Option "CursorShadowAlpha" "32"
# Option "CursorShadowXOffset" "3"
# Option "CursorShadowYOffset" "3"
# Option "AllowGLXWithComposite"
EndSection
Section "Device"
Identifier "Card1"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "Unknown Board"
BusID "PCI:5:0:0"
EndSection
Section "Monitor"
Identifier "CRT-0"
VendorName "Blue Mountain"
ModelName "MT17XP"
HorizSync 31.50 - 80.00
VertRefresh 56.00 - 75.00
Option "DPMS"
EndSection
Section "Monitor"
Identifier "DFP-0"
VendorName "LG Electronics"
ModelName "L204WT"
HorizSync 30.00 - 83.00
VertRefresh 56.00 - 75.00
Option "DPMS"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "CRT-0"
DefaultDepth "24"
SubSection
Depth 24
Modes "1280x1024" "1680x1050"
Viewport 0 0
EndSubSection
EndSectionOffline
Borosai - thanks a lot for posting ![]()
bwalk - you're a complete legend; it worked
I copied the appropriate sections from your xorg.conf, and now have dual monitors! Thanks so much mate, I really appreciate it.
- KD
Offline
No problem at all, I was told this magic from another user myself, so it is just fair to further pass this knowledge ![]()
Offline