LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Dual Monitors, I'm stumped (https://www.linuxquestions.org/questions/linux-newbie-8/dual-monitors-i%27m-stumped-140540/)

snowman156 01-30-2004 07:06 PM

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.

ilikejam 01-31-2004 11:13 AM

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

snowman156 02-04-2004 12:47 AM

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 . :)

HCour 02-04-2004 01:01 AM

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

HCour 02-04-2004 01:09 AM

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


All times are GMT -5. The time now is 10:51 AM.