FW: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2 (Akemi)

2008-07-05 Thread John
 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Akemi Yagi
Sent: Wednesday, July 02, 2008 10:47 AM
To: CentOS mailing list
Subject: Re: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS
5.2

On Wed, Jul 2, 2008 at 7:29 AM, John [EMAIL PROTECTED] wrote:

 Yes, for DKMS users it should auto recompile on Kernel Upgrade. For 
 users of the Proprietary Nvidia Driver it will not. You will have to 
 manually recompile it.

I have not done this for a while but you can automate the installation of
the proprietary Nvidia driver by providing appropriate flags.  The following
command worked when I tested:

sh ./NVIDIAx.run  -a -q -N --ui=none

Others posted this:

sh ./NVIDIAx.run --no-network -s -K -n

Once you find the way to get the installalation working without human
intervention, you can put it in a place like /etc/rc.local :

if [ ! -e /lib/modules/`uname -r`/kernel/drivers/video/nvidia.ko ]; then
echo Installing the proprietary NVIDIA driver.
/full/path/to/ NVIDIAx.run --no-network -s -K -n fi

This will compile and install the driver each time the kernel is updated.

Akemi

---
Hi Akemi, this looks like a good option to put into the nvidia how to. Any
further ideas?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: FW: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2 (Akemi)

2008-07-05 Thread Akemi Yagi
On Fri, Jul 4, 2008 at 11:59 PM, John [EMAIL PROTECTED] wrote:

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
 Of Akemi Yagi

 Once you find the way to get the installalation working without human
 intervention, you can put it in a place like /etc/rc.local :

 if [ ! -e /lib/modules/`uname -r`/kernel/drivers/video/nvidia.ko ]; then
echo Installing the proprietary NVIDIA driver.
/full/path/to/ NVIDIAx.run --no-network -s -K -n fi

 This will compile and install the driver each time the kernel is updated.

 Akemi
 
 ---
 Hi Akemi, this looks like a good option to put into the nvidia how to. Any
 further ideas?

Hi John,

If I remember correctly, Karanbir said he was using the same nvidia.ko
file over several generations (?) of kernels just by copying it.
However, we need to ask him for the details.

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos