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

Luca Boccassi luca.boccassi at gmail.com
Sun Oct 18 20:23:06 UTC 2015


On 18 October 2015 at 20:52, Luca Boccassi <luca.boccassi at gmail.com> wrote:
> On 18 October 2015 at 20:43, Andreas Beckmann <anbe at debian.org> wrote:
>> On 2015-10-18 20:34, Elijah Rum wrote:
>>> Since the last update of nvidia-driver in debian sid repos it's unable to
>>> unload the nvidia kernel module via modprobe -r. Though bumblebee runs
>>> exactly that command when the application run on nvidia card is finished.
>>> Meanwhile rmmod works, and it is possible to unload nvidia by hand and
>>> restart the bumblebee service to get nvidia card turned off.
>>
>> Looks like we need a separate profile for the glx alternative to support
>> bumblebee with the new nvidia driver configuration scheme.
>>
>> Is the following correct for nvidia+bumblebee:
>>
>> * the nvidia kernel module is available
>> * but it is *not* autoloaded
>> * nouveau is blacklisted
>> * Xorg is *not* configured to use nvidia_drv.so
>
> All correct.
>
>> With the mesa-diverted profile you use, the nvidia module is *not*
>> available any more (i.e. known to modprobe as 'nvidia' - therefore
>> modprobe -r does not work) and nouveau is not blacklisted (unless
>> bumblebee comes with its own blacklist).
>
> Bumblebee does its own blacklisting, which includes nouveau [1].

What about adding the aliases to /etc/modprobe.d/bumblebee.conf ? We
already have to inject a remove rule in order to support Ubuntu.

Kind regards,
Luca Boccassi



More information about the pkg-nvidia-devel mailing list