simicza.andreaÉn meg éppen azt írtam le, hogyan lehet más módszerrel, PPA-k nélkül.
Magyarázat, de le is van írva:
Installing the NVIDIA Driver on an Optimus Laptop
# sh ./NVIDIA-Linux-x86_64-295.59.run --no-opengl-files
An additional caveat is that existing OpenGL libraries may be overwritten by the install process. If you want to prevent this from happening, e.g., if you intend to use OpenGL on the integrated GPU, you may prevent the installer from installing the OpenGL and GLX libraries by passing the option --no-opengl-files to the .run file, or directly to nvidia-installer, e.g..
_
Loading the Kernel Module and Creating the Device Files without X
In order for programs that use the NVIDIA driver to work correctly (e.g.: X, OpenGL, and CUDA applications), the kernel module must be loaded, and the device files /dev/nvidiactl and /dev/nvidia[0-9]+ must exist with read and write permissions for any users of such applications. When running X with the NVIDIA X driver, the kernel module is automatically loaded and the device files are automatically created when X starts; however, if X is not in use, for example, on an Optimus laptop where the NVIDIA GPU is used to run CUDA applications only, then this must be done separately.
The NVIDIA driver can load the kernel module and populate the device files automatically, if an application that uses the driver is run as a super user (usually root). Such applications include an X server configured to use the NVIDIA X driver, CUDA applications, and some of the utilities that are distributed with the NVIDIA driver.
For example, running:
sudo nvidia-xconfig --query-gpu-info
as root will cause the kernel module to be loaded, and the device files to be created, if this hasn't already been done. Note: the --query-gpu-info option to nvidia-xconfig is important here: without it, nvidia-xconfig will configure the X server to use the NVIDIA X driver, which may prevent X from starting later.
Forrás:
http://us.download.nvidia.com/XFree86/Linux-x86_64/295.59/README/optimus.html
A linkről kiindulva itt még van olvasnivaló:
http://us.download.nvidia.com/XFree86/Linux-x86_64/295.59/README/installdriver.html
http://us.download.nvidia.com/XFree86/Linux-x86_64/295.59/README/faq.html#devicenodes
http://us.download.nvidia.com/XFree86/Linux-x86_64/295.59/README/commonproblems.html#optimusacpivbios
... ez egy másik módszer, és az előző hozzászólásomban írtam le a pontos menetét a műveletnek.
Szerk.:
És esetleg, ha a PPA-k eltávolítása (komment -> #) után a
sudo apt-get update
sudo apt-get upgrade
nem teszi helyre a kernelt, végeztesd el:
sudo apt-get install linux-image-generic linux-headers-generic