Reverting rmmod->modprobe change in bumblebee/3.2.1-8 (was: Re: Bumblebee functionality broken by the last update made by Vincent Cheng on 26-July-2015 - please react as fast as possible)

Luca Boccassi luca.boccassi at gmail.com
Sat Aug 8 16:27:07 UTC 2015


On Sat, 2015-08-08 at 13:14 +0100, Luca Boccassi wrote:
> On Fri, 2015-08-07 at 20:16 +0200, Peter Wu wrote:
> > On Fri, Aug 07, 2015 at 12:56:25PM +0100, Luca Boccassi wrote:
> > > I do not know yet if there is the same problem with nvidia-uvm on
> > > Ubuntu, nor what is the proper solution for Ubuntu, I plan to
> > > investigate later tonight or tomorrow.
> > 
> > Ubuntu should be the same in this regard, adding the modprobe conf file
> > should be sufficient. What has to be decided is whether the nvidia
> > packaging should apply this (I am in favor of that) or the bumblebee
> > packaging.
> > 
> > For the PPA however, I think the best course is to add the modprobe
> > conffile since older versions of Ubuntu will probably not get their
> > drivers updated for this external issue.
> 
> I agree. I'll give it a shot and use either dpkg-divert (through
> config-package-dev) or update-alternatives (the Nvidia package already
> uses this for the modprobe config, not sure about Ubuntu, I'll
> investigate). I'll start working on this later this afternoon. And this
> time, I'll test on Ubuntu too :-)

Looks like on Ubuntu, unlike Debian, /etc/modprobe.d/nvidia.conf is not
installed by update-alternatives when the main driver is Mesa.

I think this makes it unsuitable to try and ship a new nvidia.conf. What
we could do instead is, if building on Ubuntu, add the remove line to
the file bumblebee already ships during postinst:

/usr/share/bumblebee/default-conf/bumblebee.conf (copied in postinst
to /etc/modprobe.d/bumblebee.conf)

The problem is also aliasing, since the driver's modprobe is not in
place, we'd have to refer to each driver individually, just like the
blacklisting already does.

Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20150808/9bddd9fa/attachment.sig>


More information about the pkg-nvidia-devel mailing list