Help - Search - Members - Calendar
Full Version: Dual Monitors On Linux
Linuxhelp > Support > Technical Support
Bender
Hello
I'm trying to setup dual monitors but having no luck.
I have a Dell 2001FP LCD 19" ( digital ) and a HP p1120 21"

I only get XFree on the HP monitor but nothing on the Dell monitor, no obvious error in the logs.
PLZ help ! blink.gif sad.gif

My XF86Config follows:
Section "ServerLayout"
Identifier "Defaulf Layout"
Screen 0 "ScreenHP" 0 0
Screen 1 "ScreenDell" RightOf "ScreenHP"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
EndSection

Section "Files"

# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "is"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "MonitorDell"
VendorName "Dell"
ModelName "Dell 2001FP (Digital)"
HorizSync 31.0 - 80.0
VertRefresh 56.0 - 76.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "MonitorHP"
VendorName "HP"
ModelName "HP D8915A HP P1120 21-inch Monitor"
HorizSync 30.0 - 121.0
VertRefresh 48.0 - 160.0
Option "dpms"
EndSection

Section "Device"
BUSId "PCI:1:0:0"
Identifier "Videocard0"
Driver "nvidia"
BoardName "NVIDIA Quadro FX 500"
Screen 0
EndSection

Section "Device"
BUSId "PCI:1:0:0"
Identifier "Videocard1"
Driver "nvidia"
BoardName "NVIDIA Quadro FX 500"
Screen 1
EndSection


Section "Screen"
Identifier "ScreenDell"
Device "Videocard0"
Monitor "MonitorDell"
DefaultDepth 8
SubSection "Display"
Depth 8
Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "ScreenHP"
Device "Videocard1"
Monitor "MonitorHP"
DefaultDepth 8
SubSection "Display"
Depth 8
Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection
Jim
I know how that feels man. This is what you need to do. You need to install the nvidia drivers if you haven't already.

NVIDIA Drivers

Ounce those are installed. You need to use 'twin view' to make the dual monitors work.

There is a tutoral with the install that contains a sample XF86Config file that shows how to make it work. When I get home in an hour I will post what mine looks like so you can get a general feel. But start by installing the drivers. You can't do it with out that.
Jim
So this is what my Device seciont looks like

CODE
Section "Device"
   Identifier "device1"
   Driver "nvidia"
   Option "power_saver"
   Option "MetaModes" "1280x1024,1280x1024; 1024x768,1024x768"
   Option "SecondMonitorVertRefresh" "56-76"
   Option "ConnectedMonitor" "dfp,dfp"
   Option "TwinViewOrientation" "RightOf"
   Option "SecondMonitorHorizSync" "30-63"
   Option "TwinView"
EndSection


The key line in there is Option "TwinView" that is the most important thing to getting NVIDIA dual monitors working. You will need to change the settings for the second monitor to your obviously, but you can handle that.
Bender
thx for that biggrin.gif

All is working fine now cool.gif tongue.gif

Including my XFConfig file:
# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
Identifier "Defaulf Layout"
Screen "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
EndSection

Section "Files"

# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "is"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "MonitorDell"
VendorName "Monitor Vendor"
ModelName "Dell 2001FP (Digital)"
HorizSync 31.0 - 80.0
VertRefresh 56.0 - 76.0
EndSection

Section "Monitor"
Identifier "MonitorHP"
VendorName "Monitor Vendor"
ModelName "HP D8915A HP P1120 21-inch Monitor"
HorizSync 30.0 - 121.0
VertRefresh 48.0 - 160.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
BoardName "NVIDIA Quadro FX 500"

Option "TwinView"
Option "SecondMonitorVertRefresh" "48-160"
Option "SecondMonitorHoriSync" "30-121"
Option "MetaModes" "1600x1200,1400x1050,1280x1024,1280x960; 1600x1200,1400x1050,1280x1024,1280x960"

Option "TwinViewOrientation" "RightOf"
Option "ConnectedMonitor" "CRT,DFP"

EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "MonitorDell"
DefaultDepth 8
SubSection "Display"
Depth 8
Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.