LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-18-2003, 06:50 PM   #1
mastahnke
Member
 
Registered: Feb 2002
Location: IL
Distribution: Ubuntu currently, also Fedora, RHEL, CentOS
Posts: 111

Rep: Reputation: 15
Dual Monitors on one Card (nvidia)


SuSE 8.2
2.4.20-64GB-SMP

I have a GeForce 4MX that has dual head output but XFREE86 and SaX2 won't let me use both of them. I used to run dual monitors with seperate cards a few years ago with no problems. I installed the latest nvidia driver from nvidia.com but still it says I don't have a dual head option. During bootup, borth monitors are active (mirror displays), so I know they work.



Any suggestions? This card has dual VGA outputs. THe monitors are HANSOL 920As. 19".

Here the 3 lo
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
XFree86 install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel include path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
-> License accepted.
-> A precompiled kernel interface for kernel 'SuSE Linux 8.2 smp
2.4.20-64GB-SMP' has been found.
executing: 'cd ./usr/src/nv; /usr/bin/ld -r -o nvidia.o precompiled-nv-linux
.o nv-kernel.o'...
-> Kernel module linked successfully.
-> Installing classic TLS OpenGL libraries.
-> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86' (1.0-4496):
executing: './usr/src/nv/makedevices.sh'...
executing: '/sbin/ldconfig'...
executing: '/sbin/depmod -aq'...
executing: '/usr/bin/chrc.config SCRIPT_3D no'...
-> done.
-> Driver file installation is complete.
-> Running post-install sanity check:
-> done.
-> Sanity check passed.
-> Installation of the NVIDIA Accelerated Graphics Driver for Linux-x86
(version: 1.0-4496) is now complete. On SuSE Linux/United Linux please use
SaX2 now to enable the NVIDIA driver.
 
Old 08-18-2003, 08:31 PM   #2
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 46
this is an issue lots of people have, first off I am an nvidia user and have been sence I started 5 years ago, I have run dual display across 1 card, and quad display across 3 cards. my first word of advice, ditch the suse utils, no util will be able to configure this for you. now go to www.nvidia.com and d-load the latest driver for linux, should be a .run file, after it is d-loaded enter root mode (su - then password) type chmod 770 (filename).run
now type ./(filename).run it should go through a few things, use defaults etc.
after that is done you will need to have an /etc/X11/XF86Config file that is configured properly, suse probably has a proprietary one, so I will paste one in here with general defaults and comments from me

I am having trouble pasting the file, will try again in new reply
 
Old 08-18-2003, 08:34 PM   #3
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 46
the file /etc/X11/XF86Config

Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"

FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
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/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"

EndSection

Section "ServerFlags"

EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"

Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"

#Uncomment the following section that matches your mouse, you do this by removing the "#" mark from the start of the line


#-do not uncomment this line- USB mouse with wheel
# Identifier "Mouse1"
# Driver "mouse"
# Option "Protocol" "IMPS/2"
# Option "Device" "/dev/input/mice"
# Option "Buttons" "5"
# Option "ZAxisMapping" "4 5"

#-do not uncomment this line- PS/2 mouse with wheel
# Identifier "Mouse1"
# Driver "mouse"
# Option "Protocol" "IMPS/2"
# Option "Device" "/dev/psaux"
# Option "Buttons" "5"
# Option "ZAxisMapping" "4 5"

#-do not uncomment this line- PS/2 mouse with no wheel
# Identifier "Mouse1"
# Driver "mouse"
# Option "Protocol" "PS/2"
# Option "Device" "/dev/psaux"

EndSection

Section "Monitor"

#Enter the correct information for your main monitor, second one is configured later.

Identifier "My Monitor" #do not change this line
HorizSync 31.5 - 82.0
VertRefresh 75 - 100

EndSection

# there are 2 choices, 1) you can make both screens seem to be one (widescreen gaming/movies, move programs from one screen to the other by dragging.
# or 2) make each one seem to be a different screen - you opebn a program on the left monitor it cannot be dragged to the right, etc. I will only show option 1, lookup option 2 if
you need it
#I have uncommented (for the most part) option 1 with defaults, change as you will and where commented.

Section "Device"
Identifier "NVIDIA"
Driver "nvidia"
#VideoRam 32768
BusID "PCI:1:0:0" #use this for agp, change if pci (try loading x (startx) then look through /var/log/XF*.log for the correct setting, if x crashes there is not a problem
Option "TwinView"
Option "SecondMonitorHorizSync" "31.5 - 82" #This is for your secondary monitor
Option "SecondMonitorVertRefresh" "50-100" #This is for your secondary monitor
Option "TwinViewOrientation" "RightOf" #Try Leftof if your mouse scrolls on the wrong side of the monitors
#Change the next line to set modes for games and such (leave alone or remove if overwhelmed)
Option "MetaModes" "1280x1024,1280x1024; 1280x1024,NULL; 1600x1200,1600x1200; 1600x1200,NULL; 1024x768,1024x768; 1024x768,NULL; 800x600,NULL; 800x600,800x600; 64
0x480,640x480; 640x480,NULL"
Option "ConnectedMonitor" "crt,crt" (Chnage, other options are tv and dfp(dft?)
# Option "UseEdidFreqs" "boolea"
Option "IgnoreEDID" "1"
Option "TwinViewXineramaInfo" "1"
Option "NvAgp" "3"
# Option "NvAgp" "1" ... use NVAGP, if possible
# Option "NvAgp" "2" ... use AGPGART, if possible
# Option "NvAGP" "3" ... try AGPGART; if that fails, try NVAGP
Option "RenderAccel" "1"
# Option "SWCursor" "1"
Option "HWCursor" "1"
# Option "IgnoreDisplayDevices" "DFP, TV"
# Option "NoLogo" "1"
EndSection

#Change nothing here except resolutions, and if you change resolutions change virtual to match (first section is double value for 2 screens, second remains same)
Section "Screen"
Identifier "Screen 0"
Device "NVIDIA"
Monitor "My Monitor"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "1280x1024" "1600x1200" "1024x768" "800x600" "640x480"
ViewPort 0 0
Virtual 2560 1024
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1600x1200" "1024x768" "800x600" "640x480"
ViewPort 0 0
Virtual 2560 1024
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1600x1200" "1024x768" "800x600" "640x480"
ViewPort 0 0
Virtual 2560 1024
EndSubsection
EndSection

Screen "Screen 0"

InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection
 
Old 08-20-2003, 07:45 PM   #4
mastahnke
Member
 
Registered: Feb 2002
Location: IL
Distribution: Ubuntu currently, also Fedora, RHEL, CentOS
Posts: 111

Original Poster
Rep: Reputation: 15
Thanks for the tips. I used some portions of your file along with the one my system started with. After a bit of trial and error, everythign is looking good.

Thanks again.

I now know more about X.

MIKE
 
Old 08-20-2003, 07:57 PM   #5
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 46
glad I could help, i have built my x config file over 4 years, I gave you samples from it, the real thing was beyong the character count
 
  


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
NVIDIA. Dual Monitors, 1 Card, Xorg. Only 1 mon works! JapanFred Linux - Newbie 5 07-14-2005 10:45 AM
dual monitors on Suse 9.2 with nvidia card robertybob Suse/Novell 1 03-26-2005 02:10 PM
Nvidia dual monitors seperate X screens on one ghx card troubles lrt2003 Linux - General 4 04-20-2004 02:57 AM
Dual monitors and tv-out on one nvidia FX card Enok Linux - Hardware 0 08-08-2003 04:01 PM
dual monitors with nvidia card... php_rocks Linux - Hardware 0 05-23-2003 01:23 PM


All times are GMT -5. The time now is 08:02 AM.

Main Menu
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