LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-30-2004, 08:06 PM   #1
snowman156
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 10.0
Posts: 22

Rep: Reputation: 15
Unhappy Dual Monitors, I'm stumped


Hello

I've been at this for about a week and tried just about everything from the other many posts concerning this topic. I'm trying to configure my dual monitor with XFree86 and no matter what I do, every configuration I use just won't start X. I've followed the tutorials provided in other threads and borrowed XF86Config files from other uses with my same setup but it's just not working. Here is what I'm working with:

Redhat 9
2.66Gz P4 w/ Soyo P4i 845i Lite motherboard
PNY GeForce FX 5200, dual head w/ two Envision 15" flat panels connected via one VGA and one DVI to VGA adapter

I'll post my working XF86Config file for anybody's review. I have a feeling it is some syntax or simple error but I would appreciate any input:

# XFree86 4 configuration created by xfree86

Section "ServerLayout"
Identifier "Multihead Layout"
Screen 0 "Screen0" Leftof "Screen1"
Screen 1 "Screen1" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
Option "Xinerama" "off"
Option "Clone" "on"
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" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
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 "Monitor0"
VendorName "Monitor Vendor"
ModelName "EN-5100e"
DisplaySize 300 230
HorizSync 29.0 - 61.0
VertRefresh 55.0 - 75.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1
VendorName "Monitor Vendor"
ModelName "EN-5100e"
DisplaySize 300 230
HorizSync 29.0 - 61.0
VertRefresh 55.0 - 75.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nv"
VendorName "Videocard Vendor"
BoardName "NVIDIA GeForce FX (generic)"
VideoRam 131072
Screen 0
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nv"
VendorName "Videocard Vendor"
BoardName "NVIDIA GeForce FX (generic)"
VideoRam 131072
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

Thanks in advance. When I run this configuration, X will not boot at all and starts the X configuration tool that allows me to load the default Geforce FX (generic) driver and then it restarts X with one monitor working fine, the other just a jumple of purdy colors. I've tried taking the BusID out, and also adding it to both devices to no avail. When I do "lspci" and -scanpci, it show the NVIDIA card @ 01:00:00. I hope this helps.
 
Old 01-31-2004, 12:13 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

Have you tried using the nVidia drivers? It may be that the 'nv' driver can't drive the second head. There's a help file that deals with dual headed setups that comes with the drivers.

Dave
 
Old 02-04-2004, 01:47 AM   #3
snowman156
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 10.0
Posts: 22

Original Poster
Rep: Reputation: 15
Got it working, I installed the Nvidia driver installed after a time sucking experience with the kernel that was solved after a complete install of all the Redhat dev. packages. Thanks for the help, I'm sure I'll be posting other issues as they arise .
 
Old 02-04-2004, 02:01 AM   #4
HCour
LQ Newbie
 
Registered: Dec 2003
Posts: 20

Rep: Reputation: 0
snowman,

I'm also a Linux newbster but I did get my dual-monitor setup going after some false starts. I was able to figure out the problem because when I entered "StartX" at the command line and it failed to start, a log file was generated that pointed out the specific line in the Xf86Config file where the failure occured. I don't remember the name of the log file but I'm sure someone else here can tell you, it's something like XF86Config.log or whatever.

Harold
 
Old 02-04-2004, 02:09 AM   #5
HCour
LQ Newbie
 
Registered: Dec 2003
Posts: 20

Rep: Reputation: 0
Oh, I see you've already fixed the problem. Your last msg wasn't up yet when I read the thread and responded. I'm glad you got it working. A dual monitor setup is great isn't it? Once you've tried it you'll never go back. All that screen real estate, and the Linux desktop looks beautiful on it.

Harold
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dual monitors on dual vido cards Spaz17 Linux - Hardware 7 05-04-2006 08:59 AM
Setting up Dual Monitors on GeForce 6600GT dual DVI card. monkiidansu Linux - Hardware 1 09-29-2005 03:21 PM
dual monitors, dual video cards, 1 X, 1 text 333333338 Linux - Hardware 0 04-17-2005 05:21 AM
dual monitors mbjbdc Linare 1 12-12-2004 10:35 AM
Dual Monitors sykkn Linux - General 2 04-21-2001 11:48 PM


All times are GMT -5. The time now is 07:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration