Re: nvidia or ati ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 31 October 2005 02:52, Mogens Kjaer wrote:

Many thanks, I'm going to try this on a box with an nvidia card in it.
Just one further question:  Whats the path at livna where the driver
can be found, I'd like to somewhat automate the fetching too.

>micheal wrote:
>...
>
>> I may be daft, but for my ATI card, whenever I update my kernel from
>> updates released it defautls to use the radeon driver. I just update
>> the kernel-module from livna manually.
>>
>> I don't see why this would not work for nVidia.
>
>It does, it's just not what I want.
>
>I want a delayed installation of the kernel until
>the graphics module is available.
>
>My users can't use their machine for anything unless
>the 3D driver is loaded. They can't manually install
>the graphics driver.
>
>Anyway, I've added a /etc/init.d script that checks if
>the nvidia kernel module exists.
>
>If it doesn't, it reinstalls the nvidia driver.
>
>I've put the driver on an NFS share, with a symlink
>at /server1/nvidia/latest.x86. The script is shown below.
>
>Mogens
>
>
>#!/bin/sh
>#
># nvidia:       Install nvidia driver if module doesn't exist.
>#
># chkconfig: 5 90 10
># description:  Install nvidia driver if module doesn't exist.
>#
>#
>
># Source function library.
>
>. /etc/rc.d/init.d/functions
>
>start() {
>   if [ -f /lib/modules/`uname -r`/kernel/drivers/video/nvidia.ko ];
> then echo 'Nvidia module already exists.'
>   else
>     echo 'Nvidia module does not exist; reinstalling nvidia driver.
>This will take a few minutes.'
>     if [ -f /server1/nvidia/latest.x86 ]; then
>       cp /server1/nvidia/latest.x86 /tmp
>       sh /tmp/latest.x86 -s --update --force-update
>       echo 'A warning from the installer about something being altered
>can be ignored.'
>     else
>       echo '/server1/nvidia/latest.x86 does not exist'
>     fi
>   fi
>
>}
>
>stop() {
>   true
>}
>
># See how we were called.
>case "$1" in
>   start)
>         start
>         ;;
>   stop)
>         stop
>         ;;
>   restart|reload)
>         stop
>         start
>         ;;
>   condrestart)
>         ;;
>   *)
>         echo $"Usage: $0 {start|stop|restart|reload|condrestart}"
>         exit 1
>esac
>
>exit 0
>
>
>
>--
>Mogens Kjaer, Carlsberg A/S, Computer Department
>Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
>Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
>Email: mk@xxxxxx Homepage: http://www.crc.dk

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.35% setiathome rank, not too shabby for a WV hillbilly
Free OpenDocument reader/writer/converter download:
http://www.openoffice.org
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux