I had some trouble setting up dual monitors on centos with an nvidia card. I managed to track stuff down, so I thought I'd make it public on the list. I have an nvidia quadro nvs 290 in a Dell, recently installed centos5. Same stuff should apply for other nvidia cards.
I needed nvidia-x11-drv.x86_64. It is available from rpmforge. Installing rpmforge is described on this page(http://wiki.centos.org/AdditionalResources/Repositories/RPMForge).
If you just open the display panel and choose dual monitor settings and restart X, X can't get started and gives error messages. When I restore the old /etc/X112/xorg.conf, it comes back to life, without dual monitors of course.
Here are the actual commands I entered as root: yum install yum-priorities echo 'priority=1' >> /etc/yum.repos.d/CentOS-Base.repo echo 'priority=1' >> /etc/yum.repos.d/CentOS-Media.repo echo 'priority=2' >> /etc/yum.repos.d/epel.repo echo 'priority=2' >> /etc/yum.repos.d/epel-testing.repo echo 'priority=3' >> /etc/yum.repos.d/adobe-linux-i386.repo echo 'priority=3' >> /etc/yum.repos.d/rpmfusion-free-updates.repo echo 'priority=3' >> /etc/yum.repos.d/rpmfusion-free-updates-testing.repo echo 'priority=3' >> /etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo echo 'priority=3' >> /etc/yum.repos.d/rpmfusion-nonfree-updates.repo wget http://apt.sw.be/redhat/el5/en/x86_64/RPMS.dag/rpmforge-release-0.3.6-1.el5.... rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt rpm -K rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm yum --localinstall rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm yum localinstall rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm yum check-update yum search nvidia yum install nvidia-x11-drv.x86_64
I originally googled around for a howto, it took me much more effort than it should to find http://wiki.centos.org. Wonder if there is a way to get google to give better results?
Found someone with similar problems, someone suggested installing the right thing but neglected to point out where it comes from. So I was getting this:
sudo yum search *nvidia* Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * rpmfusion-nonfree-updates-testing: mirrors.cat.pdx.edu * epel: mirror.its.uidaho.edu * rpmfusion-free-updates-testing: mirrors.cat.pdx.edu * rpmfusion-nonfree-updates: mirrors.cat.pdx.edu * extras: mirrors.cat.pdx.edu * rpmfusion-free-updates: mirrors.cat.pdx.edu * updates: repos.lax-noc.com * base: mirrors.xmission.com * addons: repos.lax-noc.com Warning: No matches found for: *nvidia* No Matches found
Which versions of RH or FC correspond reasonably well to my version of centos? uname -a Linux 2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:35:59 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
thanks, Dave
p.s. I logged out after installing the nvidia drivers, and used applications>System tools>nvidia X server settings to get dual monitor working. The panel autodetectedd my monitors fine. I clicke 'x server display configuration' and then 'configure'. choices are 'disabled', 'separate x screen', and 'twinview'. I at first thought I wanted 'separate x screen', but that's wrong, I'm still not sure what it was doing. Anyhow, I could not move anything between monitors in that mode. So I tried twinview, and now the two monitors are acting like one big monitor and I can move stuff back and forth. I would never have chosen the name 'twinview' for that, since they are not twins at all. Dave
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On
Behalf
Of Dave Sent: Tuesday, June 16, 2009 2:23 AM To: centOS mailing list Subject: [CentOS] nvidia dual monitor setup centos howto
[...] yum install nvidia-x11-drv.x86_64
[...] Which versions of RH or FC correspond reasonably well to my version of centos? uname -a Linux 2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:35:59 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
I use CentOS 5.3 i386/x86_64 flavours
If I were you I'd look more into dkms and the dkms-nvidia-packages. Those are more current, than the driver package in nvidia-x11*.
Or if all else fails, why not get the proprietary Nvidia drivers?