Você está na página 1de 3

sudo apt-get remove nvidia-current or sudo apt-get remove nvidia-current-updates or sudo apt-get remove nvidiaexperimental-304).

sudo apt-get install linux-source) and headers (sudo apt-get install linux-headers-generic).sudo aptget install nvidia-current-updates

3 Answers
ACTIVEOLDESTVOTES

vote

21 accepted
up vote down

Before switching to the nvidia drivers ou need to insta!! !inu"#source and !inu"#headers$ After the source is insta!!ed% tr switching to the nvidia drivers$ &ere is how' 1$ Switch to a ter(ina! )Ctrl-Alt-F1*$ 2$ Login as our userna(e$ +$ Insta!! !inu" source )sudo apt-get install linuxsource* and headers )sudo apt-get install linuxheaders-generic*$ ,$ -ninsta!! nvidia driver # this depends on which version ou insta!!ed )sudo apt-get remove nvidiacurrent or sudo apt-get remove nvidia-currentupdates or sudo apt-get remove nvidiaexperimental-304*$ .$ /einsta!! nvidia driver )sudo apt-get install nvidiacurrent-updates*$ 0$ If it successfu!! insta!!s% restart the co(puter )sudo shutdown -r now*$
sharei(prove this answer

Step 2: Manually configure drivers Rather than having to do this after your machine ends up with a halfworking desktop, you can do this before any damage is caused. Hint, if you've already botched, then Ctrl + lt + !" to reach the first virtual console. #og in there, then follow the instructions.

$n the past, running apt-get install build-essential was enough. %his would get all the relevant stuff, including the kernel sources and kernel headers. &ow, you must specify these separately. sudo apt-get install build-essential linux-source linuxheaders $f the transitional package linu'-headers is not available, instead, please try running the command by specifying the e'act version of the headers with( sudo apt-get install linux-headers-`uname -r` nd this should work. )f course, it only magnifies the feces level of the latest *buntu release, but it could help you sort things out. &e't, install the current &vidia driver( sudo apt-get install nvidia-current $f you skip the part where you install the sources, headers and the rest, you will see the following error message( Processing triggers for initramfs-tools ... update-initramfs: Generating /boot/initrd.img-3.5.0-17generic 2012-10-30 13:37:19,611 WARNING: modinfo for module nvidia_current failed: ERROR: modinfo: could not find module nvidia_current 2012-10-30 13:37:19,611 WARNING: /sys/module/nvidia_current/drivers does not exist, cannot rebind nvidia_current driver )nce the installation completes successfully, check if the &vidia driver is loaded( sudo /sbin/lsmod | grep nvidia $f it's not, you will need to manually insert into memory. !irst, make sure all kernel module dependencies are satisfied and resolved( sudo depmod -a %hen, load the driver(

modprobe nvidia_current %his should succeed and the lsmod command should show it's loaded, but the usage count will probably be +, because nothing will be using it yet. ,ou will need to restart the graphics environment to actually benefit from the driver( sudo /etc/init.d/lightdm restart %his will restart the graphics environment, you will see the &vidia splash, and you will load into a desktop that has the nvidia driver running, and all that. ,our problem is now resolved. !or the skeptics among you, you can reboot to verify. lthough there's really no need for that. #inu' is fle'ible enough to setup drivers without having to restart the system.

Você também pode gostar