|
|
#1 | |
|
Always Annoyed
Join Date: Oct 2002
Posts: 71
|
I've written a startup script for Red Hat systems that will automatically update your NVIDIA driver if a problem is detected with it.
The NVIDIA driver often becomes unusable when you install a new kernel or XFree86 packages from Red Hat updates, or source. This causes X to refuse to start, and requires some black magic that no user should ever need just to install a driver. This script suffers from several problems, none of which *I'm* going to fix: 1) If you are running a kernel and don't have the headers/source for it, the script fails. This really can't be fixed by anyone other than the distros. 2) You can't (re)install the driver while X is running, even tho you can install new X packages while X is running. NVIDIA needs to fix this in their installer. 3) Every time the driver has to be reinstalled, the driver packages/source are redownloaded. NVIDIA's installer utility doesn't cache this download at all, they need to fix it in their installer utility. 4) This only works properly on Red Hat and Fedora Core systems. I know it works on RH9, it may or may not work on RH8.0 or earlier. Any hackers who want to make variants of this for other Linux OSs are free to do so. To make this script perfected, the above needs to be taken care of, and NVIDIA needs to add this to their installer. ;-) (Note: their installer should also be 'fixed' to be runnable when X is running, since *requiring* a terminal to do anything is just stupid. A graphical installer wouldn't be bad either - they can do it for Windows, why not Linux? Ah well.) Installation: 1) Make executable: chmod +x nvidia-driver 2) Put in init.d: cp nvidia-driver /etc/init.d/ 3) Add to startup: /sbin/chkconfig --add nvidia-driver (Note: these forums forced me to put a .txt extension on the file, remove that before installing.) The script has no warranty; if it breaks your systems its your own damn fault for installing system scripts made by some unknown fool off the Internet. :P It does work for me on my Fedora Core box just fine, tho.
__________________
What? |
|
|
|
|
|
|
#2 | |
|
Always Annoyed
Join Date: Oct 2002
Posts: 71
|
*bump* - this thing really works folks. i'd like at least a little feedback, in hopes the next NVIDIA driver release will include it or something similiar. Makes life a lot easier. ;-)
__________________
What? |
|
|
|
|
|
|
#3 |
|
Electrical Engineer
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
|
The download problem could be removed by using the .run installer file that contains the interface, with the following advanced options. I haven't added this to the script and used it yet, because I haven't needed to.
--ui=none --no-questions --accept-license -e --force-update -n The use of all of them wouldn't be necessary but that is what I have used on the .run installer directly. The new version interface should only be downloaded if a newer version .run file is present on nvidia ftp. |
|
|
|
|
|
#4 | |
|
Always Annoyed
Join Date: Oct 2002
Posts: 71
|
rock, thanks, I'll see how that works in my script and post an update later.
__________________
What? |
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Graphics driver installation problem (your comments will be highly appreciated) | apuurboo | NVIDIA GeForce 400/500 Series | 0 | 06-16-12 07:35 AM |
| 96.43.20 does still not support new X.Org ABI 11 - will an update be procuded? | joerg.sigle | NVIDIA Linux | 2 | 05-27-12 12:09 AM |
| GeForce GTX 670 Doesn't Support 4-way SLI, Possible with Future Driver Update | News | Latest Tech And Game Headlines | 0 | 05-14-12 08:00 AM |
| Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) | Katchina404 | NVIDIA Linux | 9 | 01-12-03 08:49 AM |
| failing to initialize NV driver | PsyShook | NVIDIA Linux | 10 | 09-19-02 12:41 PM |