LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-09-2004, 02:48 AM   #1
l2ich84
LQ Newbie
 
Registered: Jan 2004
Posts: 15

Rep: Reputation: 0
Need help trying to get dual monitor to work please


I'm trying to get my dual monitor set up to work in Suse 9.0.

I currently have a Asus Geforce 4 Ti4200+ 64MB as my video card.

I was told that the new nVidia drivers would work, but I've been having troubles installing them. I followed the instructions on the nvidia site, but the Installer still doesn't seem to be able to find my kernel sources. I double checked and the package is installed.

Any help would be great thanks.
 
Old 02-09-2004, 05:04 AM   #2
HCour
LQ Newbie
 
Registered: Dec 2003
Posts: 20

Rep: Reputation: 0
I can't help you w/the driver, I'm a noob also and am having a hassle getting my ATI driver installed. However, I did get my dual-monitor setup working by manually editing my XF86Config file. If you post yours (found in /etc/X11) I'll take a look at it and compare it to mine.

Harold
 
Old 02-09-2004, 10:52 AM   #3
l2ich84
LQ Newbie
 
Registered: Jan 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/URW"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/kwintv"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
FontPath "/usr/X11R6/lib/X11/fonts/uni:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/xtest"
InputDevices "/dev/ttyS0"
InputDevices "/dev/ttyS1"
InputDevices "/dev/ttyS2"
InputDevices "/dev/ttyS3"
InputDevices "/dev/ttyS4"
InputDevices "/dev/ttyS5"
InputDevices "/dev/ttyS6"
InputDevices "/dev/ttyS7"
InputDevices "/dev/ttyS8"
InputDevices "/dev/psaux"
InputDevices "/dev/logibm"
InputDevices "/dev/sunmouse"
InputDevices "/dev/atibm"
InputDevices "/dev/amigamouse"
InputDevices "/dev/atarimouse"
InputDevices "/dev/inportbm"
InputDevices "/dev/gpmdata"
InputDevices "/dev/mouse"
InputDevices "/dev/usbmouse"
InputDevices "/dev/adbmouse"
InputDevices "/dev/input/mice"
InputDevices "/dev/input/event0"
InputDevices "/dev/pointer0"
InputDevices "/dev/pointer1"
InputDevices "/dev/pointer2"
InputDevices "/dev/pointer3"
EndSection

Section "Module"
Load "dbe"
Load "type1"
Load "speedo"
Load "freetype"
Load "extmod"
Load "glx"
Load "v4l"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail"
EndSection

Section "InputDevice"
Driver "Keyboard"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "us"
Option "XkbModel" "pc104"
Option "XkbRules" "xfree86"
EndSection

Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "Buttons" "5"
Option "Device" "/dev/mouse"
Option "Name" "Autodetection"
Option "Protocol" "imps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
HorizSync 31-48
Identifier "Monitor[0]"
ModelName "1024X768@60HZ"
Option "DPMS"
VendorName "--> VESA"
VertRefresh 50-60
UseModes "Modes[0]"
EndSection


Section "Modes"
Identifier "Modes[0]"
Modeline "1024x768" 62.35 1024 1056 1184 1312 768 772 776 792 -HSync -VSync
EndSection


Section "Device"
BoardName "GeForce4 Ti 4200"
BusID "1:0:0"
Driver "nv"
Identifier "Device[0]"
VendorName "NVidia"
EndSection


Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection


Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Screen "Screen[0]"
EndSection

Section "DRI"
Group "video"
Mode 0660
EndSection
 
Old 02-09-2004, 10:53 AM   #4
l2ich84
LQ Newbie
 
Registered: Jan 2004
Posts: 15

Original Poster
Rep: Reputation: 0
the problem is, it doesn't seem like Linux even detects that their is another monitor hooked up.
 
Old 02-09-2004, 08:05 PM   #5
HCour
LQ Newbie
 
Registered: Dec 2003
Posts: 20

Rep: Reputation: 0
Yeah, you'll have to manually enter the info into your XF86Config. It's not hard, I'm going to post my file so you can use that as a model. Basically, you have to have second "Device, Monitor, Screen" sections. Where you have them now for [0] the new ones will be for [1]. You'll also need to change the "ServerLayout" section to reflect the monitor setup.

First of all, you need to know the Horz and Vert rates for your second monitor. This is very important that you get these right because if they're wrong you can literally blow your monitor. Linux should automatically generate a second Modes section if you have the rest of the info.

But before you do anything, keep in mind if the config file is screwy in any way you probably won't boot into X, you'll go into the command line instead. So you need to back up your original XF86Config file, call it XF86Config.old or .bak or whatever and save it in /etc/Xll. Then if you boot into the command line, login as user, then login as root, then type StartX. This will generate a log file telling you which line in your Config file is screwing you up. Make a note of this, then rename the XF86Config file to something else, then rename your XF86Config.old file to just XF86Config and you can boot into X and edit your file. Do you know how to rename files in the command line? Don't alter your config file until you know how to do this!

I'll post my config file, lemme know if you need any clarification.

Harold
 
Old 02-09-2004, 08:06 PM   #6
HCour
LQ Newbie
 
Registered: Dec 2003
Posts: 20

Rep: Reputation: 0
# /.../
# SaX generated XFree86 config file
# Created on: 2004-02-08T16:48:28-0500.
#
# Version: 4.7
# Contact: Marcus Schaefer <sax@suse.de>, 2002
#
# Automatically generated by [ISaX] (4.7)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/URW"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/kwintv"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
FontPath "/usr/X11R6/lib/X11/fonts/uni:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/xtest"
InputDevices "/dev/ttyS0"
InputDevices "/dev/ttyS1"
InputDevices "/dev/ttyS2"
InputDevices "/dev/ttyS3"
InputDevices "/dev/ttyS4"
InputDevices "/dev/ttyS5"
InputDevices "/dev/ttyS6"
InputDevices "/dev/ttyS7"
InputDevices "/dev/ttyS8"
InputDevices "/dev/psaux"
InputDevices "/dev/logibm"
InputDevices "/dev/sunmouse"
InputDevices "/dev/atibm"
InputDevices "/dev/amigamouse"
InputDevices "/dev/atarimouse"
InputDevices "/dev/inportbm"
InputDevices "/dev/gpmdata"
InputDevices "/dev/mouse"
InputDevices "/dev/usbmouse"
InputDevices "/dev/adbmouse"
InputDevices "/dev/input/mice"
InputDevices "/dev/input/event0"
InputDevices "/dev/pointer0"
InputDevices "/dev/pointer1"
InputDevices "/dev/pointer2"
InputDevices "/dev/pointer3"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail"
Option "RandR" "on"
EndSection

Section "Module"
Load "freetype"
Load "glx"
Load "speedo"
Load "dbe"
Load "v4l"
Load "type1"
Load "extmod"
EndSection

Section "InputDevice"
Driver "Keyboard"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "us"
Option "XkbModel" "pc104"
Option "XkbRules" "xfree86"
EndSection


Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "Device" "/dev/mouse"
Option "Name" "Autodetection"
Option "Protocol" "imps/2"
Option "Vendor" "Sysp"
EndSection


Section "Monitor"
Option "CalcAlgorithm" "CheckDesktopGeometry"
DisplaySize 320 240
HorizSync 31-70
Identifier "Monitor[0]"
ModelName "1280X1024@75HZ"
Option "DPMS"
VendorName "--> VESA"
VertRefresh 50-75
UseModes "Modes[0]"
EndSection

Section "Monitor"
Option "CalcAlgorithm" "CheckDesktopGeometry"
DisplaySize 320 240
HorizSync 28-85
Identifier "Monitor[1]"
ModelName "SYNCMASTER 955DF(T)"
Option "DPMS"
VendorName "SAMSUNG"
VertRefresh 50-160
UseModes "Modes[1]"
EndSection


Section "Modes"
Identifier "Modes[0]"
Modeline "1280x1024" 117.45 1280 1352 1488 1680 1024 1025 1028 1062
Modeline "1024x768" 67.48 1024 1080 1184 1344 768 769 772 797
Modeline "1024x768" 79.52 1024 1080 1192 1360 768 769 772 801
EndSection

Section "Modes"
Identifier "Modes[1]"
Modeline "1280x1024" 145.69 1280 1312 1448 1712 1024 1025 1028 1055
Modeline "1024x768" 61.89 1024 1080 1184 1344 768 769 772 794
Modeline "1024x768" 73.89 1024 1080 1192 1360 768 769 772 799
Modeline "1024x768" 86.18 1024 1088 1200 1376 768 769 772 803
Modeline "1024x768" 97.84 1024 1088 1200 1376 768 769 772 808
Modeline "1024x768" 110.91 1024 1096 1208 1392 768 769 772 813
Modeline "1024x768" 116.85 1024 1096 1208 1392 768 769 772 815
Modeline "800x600" 36.88 800 832 912 1024 600 601 604 621
Modeline "800x600" 44.13 800 840 920 1040 600 601 604 624
Modeline "800x600" 51.73 800 840 928 1056 600 601 604 628
Modeline "800x600" 58.73 800 840 928 1056 600 601 604 632
Modeline "800x600" 66.71 800 848 936 1072 600 601 604 635
Modeline "800x600" 73.98 800 848 936 1072 600 601 604 639
Modeline "800x600" 82.55 800 856 944 1088 600 601 604 643
Modeline "800x600" 90.10 800 856 944 1088 600 601 604 647
Modeline "800x600" 90.81 800 856 944 1088 600 601 604 647
Modeline "640x480" 23.06 640 656 720 800 480 481 484 497
Modeline "640x480" 27.74 640 664 728 816 480 481 484 500
Modeline "640x480" 32.64 640 672 736 832 480 481 484 503
Modeline "640x480" 36.97 640 672 736 832 480 481 484 505
Modeline "640x480" 42.22 640 680 744 848 480 481 484 508
Modeline "640x480" 46.80 640 680 744 848 480 481 484 511
Modeline "640x480" 51.43 640 680 744 848 480 481 484 514
Modeline "640x480" 57.18 640 680 752 864 480 481 484 517
Modeline "640x480" 62.12 640 680 752 864 480 481 484 521
EndSection


Section "Screen"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection

Section "Screen"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
Device "Device[1]"
Identifier "Screen[1]"
Monitor "Monitor[1]"
EndSection


Section "Device"
BoardName "Radeon VE"
BusID "1:0:0"
Driver "radeon"
Identifier "Device[0]"
Screen 0
VendorName "ATI"
EndSection

Section "Device"
BoardName "Radeon VE"
BusID "1:0:0"
Driver "radeon"
Identifier "Device[1]"
Screen 1
Option "Rotate" "off"
VendorName "ATI"
EndSection


Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Option "Clone" "off"
Option "Xinerama" "on"
Screen "Screen[0]"
Screen "Screen[1]" LeftOf "Screen[0]"
EndSection

Section "DRI"
Group "video"
Mode 0660
EndSection
 
Old 02-09-2004, 08:24 PM   #7
HCour
LQ Newbie
 
Registered: Dec 2003
Posts: 20

Rep: Reputation: 0
Btw, please keep in mind, as I said, that I'm also very new to this, so I'm pretty much flying by the seat of my pants.

Another way you could do this is a bit of a hassle but it works: Save your present XF86Config file to a floppy, then unplug your present working monitor from your system, then reinstall Linux w/only the other monitor installed. This will then generate all the info like Modes and such. Then hook up your second (original) monitor and use the info from the old config file; just copy and paste in the relevant sections and rename them to [1]. Be sure to edit your ServerLayout section.

Harold
 
Old 02-10-2004, 12:04 AM   #8
l2ich84
LQ Newbie
 
Registered: Jan 2004
Posts: 15

Original Poster
Rep: Reputation: 0
thanks I'll give it a try.
 
Old 02-10-2004, 02:56 AM   #9
l2ich84
LQ Newbie
 
Registered: Jan 2004
Posts: 15

Original Poster
Rep: Reputation: 0
All those numbers in the modes section.....where do those come from?
 
Old 02-10-2004, 11:56 AM   #10
HCour
LQ Newbie
 
Registered: Dec 2003
Posts: 20

Rep: Reputation: 0
The modes stuff is determined by your horz & vert rates. I was told on another board that as long as you have those rates in the config file, it should automatically generate the modes, but I'm not sure. If you'd rather enter the mode info yourself, instead of switching monitors and doing a re-install as I suggested earlier, I realized you don't have to do a re-install. Just switch monitors in SAX2 and get the info from the config file that will be generated. That way you'll have all the specific info for both monitors and you can just edit the config file.

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
default monitor on nvidia / dual monitor setup fenderog Suse/Novell 3 05-01-2009 06:36 PM
dual monitor dburlone Ubuntu 4 03-29-2005 12:58 PM
q: enlightenment dual monitor: one Desktop for each monitor ? steefje Linux - Software 2 02-07-2005 08:27 AM
Booting to wrong Monitor (w/ dual monitor setup) NeoNostalgia Linux - General 1 06-30-2004 02:49 AM
RH 7.3, dual monitor, dual screensaver configuration a-wolfe Linux - Software 0 11-18-2003 10:05 AM


All times are GMT -5. The time now is 06:13 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration