[SOLVED] Kernel driver loading despite blacklist

Skuld

New Member
Nov 16, 2025
2
1
3
Hello guys,

i am trying to farward my gpu to a vm therefore blocking the driver on the hv.
BUT, whatever i do the damn thing keeps getting loaded.
Here is what i did so far:
~# cat /etc/modprobe.d/blacklist.conf
blacklist nouveau
blacklist nvidia
blacklist nvidia_drm
blacklist nvidia_uvm
blacklist nvidia_modeset
blacklist nvidiafb

~# update-initramfs -u -k all

~# reboot

~# lspci -nnk -d 10de:1cb1 && lspci -nnk -d 10de:0fb9
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107GL [Quadro P1000] [10de:1cb1] (rev a1)
Subsystem: Hewlett-Packard Company GP107GL [Quadro P1000] [103c:11bc]
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
01:00.1 Audio device [0403]: NVIDIA Corporation GP107GL High Definition Audio Controller [10de:0fb9] (rev a1)
Subsystem: Hewlett-Packard Company GP107GL High Definition Audio Controller [103c:11bc]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel


So now i am asking myself, what am i doing wrong ?
 
Last edited:
Looks like blacklist didnt work because i installed the nvidia driver via the .run installer from nvidia itself.
If someone else has this problem, just run nvidia-uninstall.
 
  • Like
Reactions: UdoB