generate bumblebee modprobe blacklist?

Luca Boccassi luca.boccassi at gmail.com
Wed Mar 18 22:35:30 GMT 2020


On Mon, 16 Mar 2020 at 16:11, Andreas Beckmann <anbe at debian.org> wrote:
>
> Hi Luca,
>
> I just checked why bumblebee didn't migrate ... missing /etc/modprobe.d/
> exposed by downgrading bbswitch to recommends. I'm also adding
> bug-script and bug-control to collect a bit more information.
>
> Then I noticed debian/bumblebee.conf, the modprobe blacklist.
> That should probably be generated to be kept up-to-date automatically.
> We should have most of the information already in d/rules for generating
> the bumblebee-nvidia dependencies. How is the module named for the newer
> drivers (nvidia-driver-390+) in Ubuntu?

This is their dkms file:

PACKAGE_NAME="nvidia"
PACKAGE_VERSION="440.64"
CLEAN="make clean"
BUILT_MODULE_NAME[0]="nvidia"
DEST_MODULE_LOCATION[0]="/kernel/drivers/char/drm"
PROCS_NUM=`nproc`
[ $PROCS_NUM -gt 16 ] && PROCS_NUM=16
MAKE[0]="unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc;
env NV_VERBOSE=1 \
    'make' -j$PROCS_NUM NV_EXCLUDE_BUILD_MODULES=''
KERNEL_UNAME=${kernelver} IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1
SYSSRC=$kernel_source_dir LD=/usr/bin/ld.bfd modules"
BUILT_MODULE_NAME[1]="nvidia-modeset"
DEST_MODULE_LOCATION[1]="/kernel/drivers/char/drm"
BUILT_MODULE_NAME[2]="nvidia-drm"
DEST_MODULE_LOCATION[2]="/kernel/drivers/char/drm"
AUTOINSTALL="yes"
PATCH[0]="disable_fstack-clash-protection_fcf-protection.patch"
PATCH[1]="buildfix_kernel_5.6.patch"
#PATCH_MATCH[0]="^4.[6-7]"

> Do you have any ideas about the problem reported by Anna Simon?

No idea, not much information to go on with... perhaps missing dkms if
the install was done from scratch and with --no-install-recommends?



More information about the pkg-nvidia-devel mailing list