Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

NVIDIA drivers screw up your X startup when you upgrade kernel?

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
Home » Discuss » DU Groups » Computers & Internet » Open Source and Free Software Group Donate to DU
 
Commie Pinko Dirtbag Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Jan-21-05 02:16 PM
Original message
NVIDIA drivers screw up your X startup when you upgrade kernel?
Or the NVIDIA driver itself? Put this in your /etc/rc.local (or equivalent startup script if your distro is different). Caveats:

1) It has to run BEFORE X starts.
2) You have to keep the downloaded NVIDIA packages in a specific directory (in my case it's /home/nvidia). The script just picks the newest package in there.
3) You have to have the kernel-source package always updated along the kernel package. Not needed if you compile your kernels from source.
3a) In theory, Fedora Core 3 doesn't need kernel-source but I haven't tested.
4) You may see wild disk activity for about 2 minutes or so (more if your machine is slow). If no update is needed/available, there is no impact.
5) Use square brackets instead of angle brackets (damn DU HTML formatting)


if < ! -f /lib/modules/`uname -r`/kernel/drivers/video/nvidia.o >; then
{
echo "NVIDIA driver update needed"
if < -d /home/nvidia >; then
cd /home/nvidia
NVPACKAGE=`ls -t NVIDIA-Linux-x86-*.run | head -1`
if < "$NVPACKAGE" != "" >; then
sh $NVPACKAGE -aqn --ui=none
else
echo "No NVIDIA package found"
fi
else
echo "No NVIDIA package found"
fi
} >/var/log/nvidia-auto-update.log 2>&1
fi
Refresh | 0 Recommendations Printer Friendly | Permalink | Reply | Top
SeanQuinn Donating Member (1000+ posts) Send PM | Profile | Ignore Sun Jan-23-05 11:27 AM
Response to Original message
1. Most likely to happen in FC3..good link in post.
I used this guy's installation notes..he's a GOD for stuff like this.


http://stanton-finley.net/fedora_core_3_installation_notes.html#nVidia
Printer Friendly | Permalink | Reply | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Sun Dec 22nd 2024, 09:16 AM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » DU Groups » Computers & Internet » Open Source and Free Software Group Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC