View Single Post
Old 12-28-04, 12:21 AM   #1
jmcqueen
Registered User
 
Join Date: Dec 2004
Posts: 16
Smile DUAL HEAD ACHIEVED! xorg.conf Fedora Core 3 Build 2.6.9-1.681

hi all:
thought i would pass along the contents of my xorg.conf file for everyone who is attempting 'dual head' mode with 2 LCD monitors. this was a BIG project for me as a newb.

driver is the 6629 off of the nvidia.com website. all of their drivers back support all other cards AFAIK, so all you have to do is grab the most recent.

on new Fedore Core 3 builds, update your core to most recent and get the blue checkmark on the up2date before trying to install the driver. reason is, you'll have to re-install the video driver every time you upgrade the kernel. this is a major bummer, but hey...it works.

after updating the core, the first thing you want to do is get the gcc and the gcc++ rpm's. if you don't do this, the driver won't install with the 'sh' command in term. FC3 will NOT install the nvidia driver without the gcc and the gcc++ rpm's due to the way FC3's compiler works. you can read about this in other posts.

at any rate, comment out the 'dri' lines in xorg.conf and basically go with what you see below. you need to know the PCI bus address of your card for this to work. i tried xorg.conf without specifying this and i got a boot failure when X started. my nvidia 256 AGP GeForce FX 5500's address is PCI 1,0,0. unless you have a really whacked out config, try this first if you don't want to go back into Blindows XP to find it. i couldn't get the PCI address while in Linux??? oh well, i told you i was a complete newb!

the only thing i'm bummed about is the fact that you can't 'Span' your display in Linux. nvidia says this right in their release notes for the driver. if anyone knows any tricks, please post them here! at any rate, you can still have a cool set up. there are major advantages... i am going to keep one monitor at 1280x1024 for desktop work and one at 1024x768 to check web .html outputs since over 80% of the folks who visit our sites still run 1024x768 on their monitors. in the config below, "Monitor0" is on the left and is my primary monitor. i hope this helps a few of you out there!

/etc/X11/xorg.conf is as follows:
Quote:
# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "dual head configuration"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
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"
ModulePath "/usr/X11R6/lib/modules/extensions/nvidia"
ModulePath "/usr/X11R6/lib/modules"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "record"
Load "freetype"
Load "type1"
Load "glx"
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 "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

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

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "NEC MultiSync XE17"
DisplaySize 330 270
HorizSync 31.0 - 65.0
VertRefresh 55.0 - 120.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "NEC MultiSync XE17"
DisplaySize 330 270
HorizSync 31.0 - 65.0
VertRefresh 55.0 - 120.0
Option "dpms"
EndSection

Section "Device"

# Edit the BusID with the location of your graphics card
Identifier "nvidia0"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection

Section "Device"

# Edit the BusID with the location of your graphics card
Identifier "nvidia1"
Driver "nvidia"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "nvidia0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "nvidia1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
obviously, this file won't work in XF86, but all of you running different Linux packages should be able to get some ideas. notice the header section is rewritten and the other duplicate sections (1 for each monitor) in the body. take care and be well...

john
http://www.TheGemZone.com
http://www.eTanzanite.com
jmcqueen is offline   Reply With Quote