bumblebee: CONF_DRIVER_MODULE_NVIDIA=nvidia

Luca Boccassi luca.boccassi at gmail.com
Sun May 1 21:20:33 UTC 2016


On Sun, 2016-05-01 at 22:35 +0200, Andreas Beckmann wrote:
> Hi Luca,
> 
> since you are currently testing a lot of bumblebee stuff,
> what about getting rid of using the nvidia-current name
> for the module in Debian? I'd suggest
> 
>         dh_auto_configure -- \
>                 CONF_DRIVER_MODULE_NVIDIA=nvidia \
>                 CONF_LDPATH_NVIDIA=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia \
>                 CONF_MODPATH_NVIDIA=/usr/lib/nvidia,/usr/lib/xorg/modules \
>                 CONF_PRIMUS_LD_PATH=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus \
>                 CONF_XORG_BINARY=/usr/lib/xorg/Xorg
> 
> that also shortens the paths by removing IMO useless bits.

Tested in Jessie and Sid, works with both current and legacy 340xx.
Nice!

> (and theoretically, the x86_64-linux-gnu parts should be useless on i386, too?)

In theory, but we've seen people in the past running i386 userspace +
x86_64 kernel, in that case for these library would you need multiarch
and both installed?

> And it reminds me, I wanted to overhaul the maintainer scripts -
> the vendor decision should be taken at build time. We do not support
> installing Debian packages on Ubuntu (or vice versa) and expect
> anything to behave sanely.

Do you mean something like generating the scripts at build time?

> Andreas
> 
> PS: the list of Ubuntu driver package names probably needs to be updated

Good point, done.

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/20160501/fe3c4eb0/attachment.sig>


More information about the pkg-nvidia-devel mailing list