LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 09-29-2007, 09:42 AM   #1
Linux31
Member
 
Registered: Aug 2004
Posts: 296

Rep: Reputation: 30
CentOS 5 Nvidia Dual Monitor Question


I'm running CentOS 5 on an AMD64 with an Asus A8N5X MB and an NVidia NForce4 Series graphics card, However the only graphics drivers installed are the default ones CentOS installs.

When I go under Administration-> Display (using Gnome), it offers the option of setting up dual monitors but despite telling me it has changed the X11 config. when I connect the second monitor and re-boot I get kicked to something like runlevel 1 or 3 and a message telling me it failed. Unfortunately, being a beginner, the messages don't mean anything to me.

If I try both hooking up the extra monitor first, the screen either goes crazy or it kicks me to that same text mode.

Since it's giving me the option to set up a second monitor, I would think that I shouldn't need any extra drivers either from yum or the driver disk, but do I?

The current single monitor is an Acer analog LCD. The second monitor would be a Viewsonic digital LCD.

Fortunately, each time I've been able to get back to a working system by disconnecting the second monitor but I'm getting nervous about bunging the whole installation.

Thanks for any help you can provide.
 
Old 09-29-2007, 09:52 AM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
EDIT: Dead links removed..

Here are several threads dealing with the same issue. You should not need anything along the lines of driver (disks) or anything from YUM, though if you are using a/the default included 'nv' driver in your /etc/X11/xorg.conf file, you would do well to upgrade THAT to the actual 'nvidia' driver from nVidia.com. YUM repositories should have it available for you, but don't quote me as I don't actually use YUM/CentOS. If it isn't in YUM, it can be gotten from www.nvidia.com

If after reading through the links above, and checking out the man page for xorg.conf, you are still stymied and unable to get the dual-screens working, then by all means post for us what specifically isn't working. You may as well post your xorg.conf file at that point too, so we can see what's what in there.

Best of success -- you'll get it working!

P.S> infact, posting your xorg.conf file anyways wouldn't hurt; maybe there's just a small glitch in there holding you back.

Last edited by GrapefruiTgirl; 09-29-2007 at 02:07 PM.
 
Old 09-29-2007, 02:04 PM   #3
Linux31
Member
 
Registered: Aug 2004
Posts: 296

Original Poster
Rep: Reputation: 30
Thanks for the feedback. Unfortunately, those links are dead. I even tried them on another computer with the other OS and browser but no luck.

I do have the driver disk that came with the card which has linux drivers on it so if I feel brave again I'll give it a try.

Thanks again.
 
Old 09-29-2007, 02:09 PM   #4
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
I am very sorry for the dead links.. I can't explain why they 'died' but they are indeed dead.

OK, try out your driver if you wish, and/or meanwhile, post your xorg.conf file here, and I/we will take a peek and see if anything stands out.

Sasha
 
Old 09-30-2007, 08:47 AM   #5
Linux31
Member
 
Registered: Aug 2004
Posts: 296

Original Poster
Rep: Reputation: 30
Thanks for the help. Don't worry about the links..........I just have a way with computers!!

Here's my xorg.conf. Since both monitors have a max 1280x1024 res, could I just re-name the server layout "dual head configuration" and then add duplicate entries in the body (but re-labeled "Videocard1"?


Thanks for any suggestions.

============
# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nv"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
 
Old 09-30-2007, 11:53 AM   #6
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
You've got exactly the right idea, though renaming the 'Serverlayout' section is your choice, it's optional.

You want to add a second Device section, called videocard1. Note that with more than one device defined, you will need to specify the BusID for each device. This is the location on the PCI Bus where the device resides, and can be determined using 'lspci' in a root console (note that's L S P C I). The BusID line looks like:

BusID "PCI:01:00:0"

You want a Monitor section, for EACH monitor. I see you are missing a default monitor section, which probably contributed to your weirdness when plugging in the other monitor. Basically they look like this:

Section "Monitor" # IBM-1 Monitor
Identifier "IBM1"
VendorName "IBM"
ModelName "E74"
HorizSync 30.0 - 86.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection


You will now have several options as to how you will layout the two monitors. You can use Twinview, or Xinerams, or possible neither, though I have always used one of these options. Here's a sample of my Screen section:

Section "Screen"
Identifier "Screen0"
Device "nVidia1"
Monitor "KDS0" #& IBM0
DefaultDepth 16
Option "RenderAccel" "On"
Option "HWcursor" "On"
Option "DamageEvents" "True"
Option "ConnectedMonitor" "CRT-0,CRT-1"
Option "twinVieworientation" "CRT-1 Rightof CRT-0"
Option "metamodes" "CRT-0:1600x1200,CRT-1:1280x1024 @ 1600x1200"
EndSection


The above causes two CRT's to make up 'Screen0' in a Twinview configuration. All options you see here can be learned about in the xorg.conf man page, and the nVidia driver README documentation, which if you don't have, you should get-- it's great. Read about Twinview and Xinerama, and see which one, if either, you plan to use. Also, as you are still using the 'nv' driver, have you considered getting the 'real' driver from nVidia.com ?
Using Xinerama, I always had each monitor defined as a second 'Screen' in which case you will want to add it to your serverlayout section, like:

Section "ServerLayout" # KDS0 & IBM0, IBM1
Identifier "computer"
Screen 0 "Screen0" 0 0
#Screen 2 "Screen2" 3200 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection


Note that mine is commented out-- I'm not using it in this layout. If you DO make a second Screen section, you will want to implement this.

So there, that's the **basic** idea of what you're looking at.. Make sure to substitute YOUR OWN horizontal and vertical rates for your monitors. Chech the manuals or look up the monitors on Google for the tech-specs.

If you run into problems, or can't figure something out, come on back

Last edited by GrapefruiTgirl; 09-30-2007 at 11:54 AM.
 
Old 09-30-2007, 03:23 PM   #7
Linux31
Member
 
Registered: Aug 2004
Posts: 296

Original Poster
Rep: Reputation: 30
Thanks so much for all of the excellent information. I'll also get that nvidia man page that you spoke of before trying anything.

I think that I may have confused things a bit. I have just one NVidia card driving two monitors, not two video cards. Sorry.

I've stayed away from the true Nvidia drivers due to a very prominent sticky on the Fedora forum here that was really hard about not using them (or the ATI drivers) due to incompatibilities that they injected into a RH system.

Thanks again for all of your help.
 
Old 09-30-2007, 03:54 PM   #8
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by Linux31 View Post
Thanks so much for all of the excellent information. I'll also get that nvidia man page that you spoke of before trying anything.

Excellent idea. If you can't find it (I don't know if it's available as a 'man page' without A) downloading the driver, or B) as one whole page rather than an onsite collection of pages) then say so and I will email you a Kword formatted version of the whole thing.

I think that I may have confused things a bit. I have just one NVidia card driving two monitors, not two video cards. Sorry.

No, while I'm confused often, I actually wassn't this time one card, two monitors;

I've stayed away from the true Nvidia drivers due to a very prominent sticky on the Fedora forum here that was really hard about not using them (or the ATI drivers) due to incompatibilities that they injected into a RH system.

Good thing YOU read the stickies! Good idea. I have seen MANY valiant but very horrid attempts at getting that nVidia driver into a Fedora system to no avail.

Thanks again for all of your help.
You're very welcome.
 
  


Reply

Tags
centos, drivers, dual, graphics, monitor, nvidia


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 05:36 PM
Nvidia dual monitor setup desktop effects HILLbilly Fedora 0 07-30-2007 12:08 PM
Nvidia 6600 on Fedora Core 6, Can't use dual monitor cmucjones Linux - Newbie 2 12-03-2006 07:52 AM
Nvidia dual monitor on SuSe10 koy Linux - Hardware 2 01-24-2006 12:14 PM
Nvidia/Intel 82865G Dual Monitor Setup augustuslegion Slackware 4 11-05-2005 03:17 AM


All times are GMT -5. The time now is 08:44 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