Bug#966557: Blacklist nvidia-modeset and nvidia-drm

Joel Johnson mrjoel at lixil.net
Mon Aug 3 16:00:22 BST 2020


On 2020-07-31 03:03, Andreas Beckmann wrote:
> On 7/30/20 6:41 PM, Joel Johnson wrote:
>> With more recent nvidia drivers and Debian packages of
>> nvidia-kernel-support, the nvidia-modeset and nvidia-drm modules are
>> attempted to be loaded. This causes the driver to always be loaded.
>> Locally I've added those two modules to the
>> /etc/modprobe.d/bumblebee.conf to blacklist them in addition to the
>> currently listed modules.
> 
> While this additional blacklisting sounds technically correct, I'm
> curious why the driver gets loaded automatically in a bumblebee setup.
> 
> Please send the output of these commands:
> 
> 	update-glx --display nvidia
> 	update-glx --display glx
> 
> Do you have bumblebee-nvidia installed?
> 
> 
> Andreas

I do have the bumblebee-nvidia package installed, version 
3.2.1-22~bpo10+1 matching the bumblebee package. All of the related 
nvidia package versions are:

$(dpkg -l | grep -i nvidia | awk '{print $2 " - " $3}')
bbswitch-dkms - 0.8-9~bpo10+1
bumblebee - 3.2.1-22~bpo10+1
bumblebee-nvidia - 3.2.1-22~bpo10+1
glx-alternative-nvidia - 1.1.0~bpo10+1
libaccinj64-10.1:amd64 - 10.1.243-6~bpo10+1
libcuda1:amd64 - 440.100-1~bpo10+1
libcuinj64-10.1:amd64 - 10.1.243-6~bpo10+1
libnvidia-cfg1:amd64 - 440.100-1~bpo10+1
libnvidia-fatbinaryloader:amd64 - 440.100-1~bpo10+1
libnvidia-glcore:amd64 - 440.100-1~bpo10+1
libnvidia-ml1:amd64 - 440.100-1~bpo10+1
libnvidia-ptxjitcompiler1:amd64 - 440.100-1~bpo10+1
nvidia-alternative - 440.100-1~bpo10+1
nvidia-installer-cleanup - 20151021+12~bpo10+1
nvidia-kernel-common - 20151021+12~bpo10+1
nvidia-kernel-dkms - 440.100-1~bpo10+1
nvidia-kernel-support - 440.100-1~bpo10+1
nvidia-legacy-check - 440.100-1~bpo10+1
nvidia-modprobe - 418.56-1
nvidia-persistenced - 418.56-1
nvidia-profiler - 10.1.243-6~bpo10+1
nvidia-smi - 440.100-1~bpo10+1
nvidia-support - 20151021+12~bpo10+1
nvidia-vdpau-driver:amd64 - 440.100-1~bpo10+1
nvtop - 1.0.0-1
primus - 0~20150328-10~bpo10+1
xserver-xorg-video-nvidia - 440.100-1~bpo10+1

The command outputs are included below.

Thanks,
Joel

$(update-glx --display nvidia):

nvidia - auto mode
   link best version is /usr/lib/nvidia/current
   link currently points to /usr/lib/nvidia/current
   link nvidia is /usr/lib/nvidia/nvidia
   slave nvidia--libcuda.so-x86_64-linux-gnu is 
/usr/lib/x86_64-linux-gnu/libcuda.so
   slave nvidia--libcuda.so.1-x86_64-linux-gnu is 
/usr/lib/x86_64-linux-gnu/libcuda.so.1
   slave nvidia--libglxserver_nvidia.so is 
/usr/lib/nvidia/libglxserver_nvidia.so
   slave nvidia--libnvidia-cfg.so.1-x86_64-linux-gnu is 
/usr/lib/x86_64-linux-gnu/nvidia/libnvidia-cfg.so.1
   slave nvidia--libnvidia-ml.so.1-x86_64-linux-gnu is 
/usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1
   slave nvidia--libnvidia-ptxjitcompiler.so.1-x86_64-linux-gnu is 
/usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.1
   slave nvidia--libvdpau_nvidia.so.1-x86_64-linux-gnu is 
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nvidia.so.1
   slave nvidia--nvidia-blacklists-nouveau.conf is 
/etc/nvidia/nvidia-blacklists-nouveau.conf
   slave nvidia--nvidia-drm-outputclass.conf is 
/etc/nvidia/nvidia-drm-outputclass.conf
   slave nvidia--nvidia-load.conf is /etc/nvidia/nvidia-load.conf
   slave nvidia--nvidia-modprobe.conf is /etc/nvidia/nvidia-modprobe.conf
   slave nvidia--nvidia-smi is /usr/bin/nvidia-smi
   slave nvidia--nvidia-smi.1.gz is /usr/share/man/man1/nvidia-smi.1.gz
   slave nvidia--nvidia_drv.so is /usr/lib/nvidia/nvidia_drv.so
/usr/lib/nvidia/current - priority 440
   slave nvidia--libcuda.so-x86_64-linux-gnu: 
/usr/lib/x86_64-linux-gnu/nvidia/current/libcuda.so
   slave nvidia--libcuda.so.1-x86_64-linux-gnu: 
/usr/lib/x86_64-linux-gnu/nvidia/current/libcuda.so.1
   slave nvidia--libglxserver_nvidia.so: 
/usr/lib/nvidia/current/libglxserver_nvidia.so
   slave nvidia--libnvidia-cfg.so.1-x86_64-linux-gnu: 
/usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-cfg.so.1
   slave nvidia--libnvidia-ml.so.1-x86_64-linux-gnu: 
/usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-ml.so.1
   slave nvidia--libnvidia-ptxjitcompiler.so.1-x86_64-linux-gnu: 
/usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-ptxjitcompiler.so.1
   slave nvidia--libvdpau_nvidia.so.1-x86_64-linux-gnu: 
/usr/lib/x86_64-linux-gnu/nvidia/current/libvdpau_nvidia.so.1
   slave nvidia--nvidia-blacklists-nouveau.conf: 
/etc/nvidia/current/nvidia-blacklists-nouveau.conf
   slave nvidia--nvidia-drm-outputclass.conf: 
/etc/nvidia/current/nvidia-drm-outputclass.conf
   slave nvidia--nvidia-load.conf: /etc/nvidia/current/nvidia-load.conf
   slave nvidia--nvidia-modprobe.conf: 
/etc/nvidia/current/nvidia-modprobe.conf
   slave nvidia--nvidia-smi: /usr/lib/nvidia/current/nvidia-smi
   slave nvidia--nvidia-smi.1.gz: /usr/lib/nvidia/current/nvidia-smi.1.gz
   slave nvidia--nvidia_drv.so: /usr/lib/nvidia/current/nvidia_drv.so

$(update-glx --display glx):
glx - auto mode
   link best version is /usr/lib/nvidia
   link currently points to /usr/lib/nvidia
   link glx is /usr/lib/glx
   slave glx--libEGL.so.1-x86_64-linux-gnu is 
/usr/lib/x86_64-linux-gnu/libEGL.so.1
   slave glx--libGL.so.1-x86_64-linux-gnu is 
/usr/lib/x86_64-linux-gnu/libGL.so.1
   slave glx--libGLESv1_CM.so.1-x86_64-linux-gnu is 
/usr/lib/x86_64-linux-gnu/libGLESv1_CM.so.1
   slave glx--libGLESv2.so.2-x86_64-linux-gnu is 
/usr/lib/x86_64-linux-gnu/libGLESv2.so.2
   slave glx--libGLX_indirect.so.0-x86_64-linux-gnu is 
/usr/lib/x86_64-linux-gnu/libGLX_indirect.so.0
   slave glx--libglxserver_nvidia.so is 
/usr/lib/xorg/modules/extensions/libglxserver_nvidia.so
   slave glx--libnvidia-cfg.so.1-x86_64-linux-gnu is 
/usr/lib/x86_64-linux-gnu/libnvidia-cfg.so.1
   slave glx--nvidia-blacklists-nouveau.conf is 
/etc/modprobe.d/nvidia-blacklists-nouveau.conf
   slave glx--nvidia-drm-outputclass.conf is 
/usr/share/X11/xorg.conf.d/nvidia-drm-outputclass.conf
   slave glx--nvidia-load.conf is /etc/modules-load.d/nvidia.conf
   slave glx--nvidia-modprobe.conf is /etc/modprobe.d/nvidia.conf
   slave glx--nvidia_drv.so is 
/usr/lib/xorg/modules/drivers/nvidia_drv.so
/usr/lib/mesa-diverted - priority 5
   slave glx--libEGL.so.1-x86_64-linux-gnu: 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libEGL.so.1
   slave glx--libGL.so.1-x86_64-linux-gnu: 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
   slave glx--libGLESv1_CM.so.1-x86_64-linux-gnu: 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so.1
   slave glx--libGLESv2.so.2-x86_64-linux-gnu: 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so.2
   slave glx--libGLX_indirect.so.0-x86_64-linux-gnu: 
/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
/usr/lib/nvidia - priority 100
   slave glx--libEGL.so.1-x86_64-linux-gnu: 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libEGL.so.1
   slave glx--libGL.so.1-x86_64-linux-gnu: 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
   slave glx--libGLESv1_CM.so.1-x86_64-linux-gnu: 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so.1
   slave glx--libGLESv2.so.2-x86_64-linux-gnu: 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so.2
   slave glx--libglxserver_nvidia.so: 
/usr/lib/nvidia/libglxserver_nvidia.so
   slave glx--libnvidia-cfg.so.1-x86_64-linux-gnu: 
/usr/lib/x86_64-linux-gnu/nvidia/libnvidia-cfg.so.1
   slave glx--nvidia-blacklists-nouveau.conf: 
/etc/nvidia/nvidia-blacklists-nouveau.conf
   slave glx--nvidia-drm-outputclass.conf: 
/etc/nvidia/nvidia-drm-outputclass.conf
   slave glx--nvidia-load.conf: /etc/nvidia/nvidia-load.conf
   slave glx--nvidia-modprobe.conf: /etc/nvidia/nvidia-modprobe.conf
   slave glx--nvidia_drv.so: /usr/lib/nvidia/nvidia_drv.so



More information about the pkg-nvidia-devel mailing list