Bug#802246: Can't modprobe -r nvidia, rmmod works

Andreas Beckmann anbe at debian.org
Sun Oct 18 21:18:38 UTC 2015


On 2015-10-18 23:05, Luca Boccassi wrote:
> I installed 340.93-5 on my laptop with optimus. Any other solution you
> would like me to try out?
> 
> Another solution would be scrapping the bumblebee patch we ship to use
> modprobe instead of rmmod, but it would require fixing the code to
> remove the nvidia-uvm (and in the future nvidia-modeset too),
> otherwise it would break for Cuda users, which is the reason we
> introduced the patch in the first place.

glx-alternatives 0.6.92 from git

this comes with a lower priority nvidia/bumblebee alternative for glx
which needs to be activated manually


always run
  dpkg-reconfigure glx-alternative-nvidia
after
  update-alternatives --config glx

(and similarly reconfigure nvidia-alternative (or
nvidia-legacy-*-alternative) after changing the nvidia alternative)

to activate and run the triggers

(THIS NEEDS TO BE DOCUMENTED)


since that will 'modprobe -r nvidia'/'modprobe nvidia' you may end up
with the wrong^Wproblematic permissions - are you in the video group?


Andreas



More information about the pkg-nvidia-devel mailing list