Sorin Srbu wrote:
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Scott Silva Sent: Wednesday, April 08, 2009 8:19 PM To: centos@centos.org Subject: Re: [CentOS] DKMS and new(er) Nvidia-drivers
on 4-6-2009 5:55 AM Sorin Srbu spake the following:
I got the DKMS-system working and now have the Nvidia-drivers v173.08 installed (using rpmforge as suggested previously). Unfortunately this particular driver version gives me screen artifacts so as to make the screen more or less unreadable.
You could always try and make a newer version yourself using the old one as a template. Here is some help;
http://www.linuxjournal.com/article/6896
Ok, thanks. I'll see if I can some sense of the instructions. 8-)
Strangely enough, only the systems running an Amd cpu gives the screen artefacts. Go figure...
What the artifacts? I switched to the DKMS module in rpmforge and am running an AMD CPU. Only think I've noticed is a weird issue with the cursor in thunderbird, I don't know if that is nvidia related or not though. It is annoying and I don't recall it being there before I updated the driver.
Asus M2N board AMD X2 CPU (I think a 5200 - I forget - 2.6 GHz) nVidia Corporation NV42 [GeForce 6800 XT] (rev a2)
nvidia-x11-drv-173.08-1.beta.el5.rf kernel 2.6.18-128.1.6.el5 x86_64
FWIW, I don't use DKMS but this homegrown script instead. I put whatever version of the driver I want to deploy (currently NVIDIA- Linux-x86-180.44-pkg1.run) in a network accessible location and create a link named NVIDIA-Linux-x86-latest to it. The script then handles the rest.
Alfred
#!/bin/sh # # This script checks to ensure that the NVIDIA driver has been # installed (it's needed for every new kernel)
# chkconfig: 345 50 98 # description: Runs the NVIDIA installer if needed
# Source function library. . /etc/init.d/functions
script=/tmp/nvidia-config-$$.sh installer=/network/path/to/NVIDIA-Linux-x86-latest
# Function to check if NVIDIA card is present on this system nvidia_card_present() { /sbin/lspci | grep -qi nvidia return $? }
# Function to check if NVIDIA kernel module has been installed nvidia_module_installed() { if [ -r /lib/modules/`uname -r`/kernel/drivers/video/nvidia.ko ]; then return 0 else return 1 fi }
# See how we were called. case "$1" in start|restart) if nvidia_card_present; then if nvidia_module_installed; then action "Configuring NVIDIA driver: " /bin/true else if [ -x $installer ]; then /bin/echo "#!/bin/sh" > $script /bin/echo "$installer -s -X &> /tmp/nvidia-install-$$.log 2>&1" >> $script /bin/chmod +x $script action "Configuring NVIDIA driver: " $script /bin/rm -f $script else action "Configuring NVIDIA driver: " /bin/false fi fi else action "Configuring NVIDIA driver: " /bin/true fi ;;
stop) # Nothing to do ;;
status) if nvidia_card_present; then if nvidia_module_installed; then /bin/echo "The NVIDIA driver has been installed successfully" else /bin/echo "The NVIDIA driver has not been installed successfully" fi else /bin/echo "The NVIDIA driver is not required on this system" fi ;;
*) /bin/echo "Usage: `basename "$0"` {start|stop|status|restart}" exit 1 esac
exit 0
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On
Behalf
Of Alfred von Campe Sent: Tuesday, April 14, 2009 7:51 PM To: CentOS mailing list Subject: Re: [CentOS] DKMS and new(er) Nvidia-drivers
FWIW, I don't use DKMS but this homegrown script instead. I put whatever version of the driver I want to deploy (currently NVIDIA- Linux-x86-180.44-pkg1.run) in a network accessible location and create a link named NVIDIA-Linux-x86-latest to it. The script then handles the rest.
You still need to be root to do this, right? Seems nifty in any case. Thanks!
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On
Behalf
Of Michael A. Peters Sent: Tuesday, April 14, 2009 5:57 PM To: CentOS mailing list Subject: Re: [CentOS] DKMS and new(er) Nvidia-drivers
Strangely enough, only the systems running an Amd cpu gives the screen artefacts. Go figure...
What the artifacts? I switched to the DKMS module in rpmforge and am running an AMD CPU. Only think I've noticed is a weird issue with the cursor in thunderbird, I don't know if that is nvidia related or not though. It is annoying and I don't recall it being there before I updated the driver.
Diagonal thin black lines originating from upper left corner for starters. Then if I open a gui, whatever sort, that window gets those lines too. Menus are unreadable because of this, but slightly more readable if I move the mouse pointer over the menu entry. The lines tend to go away for a short while if I log off and log on again. Weird thing is that the lines are always diagonal and tend to always originate from the upper left corner of whatever window.
This is with gnome mind you, and *supposedly* this one is the most stable of all the desktop environments. Haven't tried with KDE and xfce. Can't tell for sure if it's gnome or the Nvidia drivers specifically, but I'm leaning towards the drivers.
It's not a hardware issue, as I've run rhel3 on the same machines w/o any artifacts.
The hardware's two-three year old Asus mobo with a single-core AMD x64 and a rather feisty Nvidia Quadra gfx card. Don't have the exact details right now, but it should give a hint or two. All the P4-machines, as well as the i7-boxes, seem to work fine with dkms.