Open TheTesla opened 7 years ago
I think this is much better handled by the driver packages themselves - in Debian we ship modprobe aliases so that nvidia-current is always correct.
But feel free to send a PR to implement it if you feel like it would be useful
On Ubuntu 16.04.2 I tried:
stefan@stefan-ThinkPad-W520:~$ modprobe -R nvidia-375
nvidia_375
stefan@stefan-ThinkPad-W520:~$ modprobe -R nvidia-current
modprobe: FATAL: Module nvidia-current not found in directory /lib/modules/4.4.0-78-generic
Is this good? Maybe Ubuntu is not providing the nvidia-current alias?
I found out, it works also, if I write nvidia
.
That's the default value in the PPA and in newer Ubuntu versions, but from my experience on Ubuntu that might or might not work depending on the packages versions, unfortunately.
Installing bumblebee generates a bumblebee.conf with:
KernelDriver = nvidia-current
I think it would be better to say:KernelDriver = auto
having a script/program search for the right name of the driver.