Downloader and installer for the nVidia driver package (390.132)
Installing these packages can take a long time. These packages will automatically download the NVIDIA driver (+-70MB) from
http://download.nvidia.com/XFree86/Linux-x86_64 or http://download.nvidia.com/XFree86/Linux-x86 and save it in /usr/src.
The driver and libraries will be installed after the download.
The installer will install the nVidia files the Bumblebee way. The libraries will NOT interfere with any other libraries of a distribution and will be installed in a seperate nvidia directory. Usage will be controlled by editing the ld.so.conf(.d) and/or using the "ModulePath" var in xorg.conf.
You can also download the NVIDIA package yourself and copy it to the /usr/src directory. The installer will then skip the download part and just install the driver and libraries the Bumblebee way.
These rpms can be used by normal and Optimus enabled nVidia systems.
Please be aware that recompiling the module by dkms can take several minutes depending on your system. Dkms will halt the start of the graphical system till compilation is finished.
Tips and tricks
You can use the /usr/lib/nvidia/switch-libGL.sh or /usr/lib64/nvidia/switch-libGL.sh to force the use of the nVidia libGL* libraries.
This is only necessary if an application is compiled with hard linked library paths ( the rpath option was used ).
A better solution is to start the offending application with:
LD_LIBRARY_PATH=/usr/lib/nvidia:/usr/lib/nvidia/vdpau [ ]
LD_LIBRARY_PATH=/usr/lib64/nvidia:/usr/lib64/nvidia/vdpau [ ]
and force the application to use the nVidia libs.