John
2008-Jul-05 06:59 UTC
FW: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2 (Akemi)
-----Original Message----- From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] 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 <jses27 at gmail.com> 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 ./NVIDIAxxxxx.run -a -q -N --ui=none Others posted this: sh ./NVIDIAxxxxx.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/ NVIDIAxxxxx.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 at centos.org http://lists.centos.org/mailman/listinfo/centos
Akemi Yagi
2008-Jul-05 08:44 UTC
FW: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2 (Akemi)
On Fri, Jul 4, 2008 at 11:59 PM, John <jses27 at gmail.com> wrote:> > -----Original Message----- > From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] 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/ NVIDIAxxxxx.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