Nvidia drivers blacklisted after update

I did a pacman update yesterday (last update was a week earlier) and since then, I’m unable to use the Nvidia GPU on my laptop. Upon checking journalctl output, I can see that the nvidia modules are deny-listed. I’m not sure how this has happened, and I cannot find a blacklist.conf file in /etc/modprobe.d either. I have the ibt=off kernel parameter added.

Partial output of journalctl:

Jun 06 15:46:55 skynet python3[780]: [111] INFO: Available modules: ['nouveau', 'nvidia', 'nvidia_drm', 'nvidia_modeset', 'nvidia_uvm']
Jun 06 15:46:55 skynet python3[780]: [111] INFO: Unloading modules ['nouveau'] (if loaded)
Jun 06 15:46:55 skynet python3[780]: [113] INFO: switching=none, nothing to do
.....
Jun 06 15:46:53 skynet systemd-modules-load[464]: Module 'nvidia' is deny-listed (by kmod)
Jun 06 15:46:53 skynet systemd-modules-load[464]: Module 'nvidia_modeset' is deny-listed (by kmod)
Jun 06 15:46:53 skynet systemd-modules-load[464]: Module 'nvidia_drm' is deny-listed (by kmod)
Jun 06 15:46:53 skynet systemd-modules-load[464]: Module 'nvidia_uvm' is deny-listed (by kmod)
Jun 06 15:46:53 skynet systemd-modules-load[464]: Failed to find module 'aufs'
Jun 06 15:46:53 skynet systemd-modules-load[464]: Inserted module 'overlay'
Jun 06 15:46:53 skynet systemd-modules-load[464]: Inserted module 'macvlan'
Jun 06 15:46:53 skynet systemd-modules-load[464]: Inserted module 'iptable_nat'
Jun 06 15:46:53 skynet systemd[1]: modprobe@configfs.service: Deactivated successfully.
Jun 06 15:46:53 skynet systemd[1]: Finished Create List of Static Device Nodes.
Jun 06 15:46:53 skynet systemd[1]: Started Journal Service.
Jun 06 15:46:53 skynet systemd-modules-load[464]: Inserted module 'ip6table_nat'
Jun 06 15:46:53 skynet systemd-modules-load[464]: Inserted module 'dm_multipath'
Jun 06 15:46:53 skynet systemd-modules-load[464]: Module 'nvidia_uvm' is deny-listed (by kmod)
Jun 06 15:46:53 skynet systemd-modules-load[464]: Inserted module 'pkcs8_key_parser'

My inxi output:

System:
  Kernel: 6.1.32-1-lts arch: x86_64 bits: 64 Desktop: Xfce v: 4.18.1
    Distro: EndeavourOS
Machine:
  Type: Laptop System: Micro-Star product: Vector GP66HX 12UGS v: REV:1.0
    serial: <superuser required>
  Mobo: Micro-Star model: MS-1545 v: REV:1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: E1545IMS.305 date: 06/21/2022
Battery:
  ID-1: BAT1 charge: 58.0 Wh (97.3%) condition: 59.6/63.2 Wh (94.2%)
CPU:
  Info: 16-core (8-mt/8-st) model: 12th Gen Intel Core i7-12800HX bits: 64
    type: MST AMCP cache: L2: 14 MiB
  Speed (MHz): avg: 2050 min/max: 800/4700:4800:3400 cores: 1: 800 2: 2300
    3: 2300 4: 2300 5: 2300 6: 2300 7: 2300 8: 2300 9: 2300 10: 2300 11: 2300
    12: 2300 13: 800 14: 2300 15: 800 16: 2300 17: 2300 18: 2300 19: 800
    20: 2300 21: 2300 22: 2300 23: 2300 24: 2300
Graphics:
  Device-1: Intel Alder Lake-HX GT1 [UHD Graphics 770] driver: i915 v: kernel
  Device-2: NVIDIA GA104 [Geforce RTX 3070 Ti Laptop GPU] driver: vfio-pci
    v: N/A
  Device-3: Bison HD Webcam driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.8 driver: X: loaded: intel
    unloaded: modesetting dri: i965 gpu: i915 resolution: 2560x1440~165Hz
  API: OpenGL v: 4.6 Mesa 23.1.1 renderer: Mesa Intel UHD Graphics (ADL-S
    GT1)
Audio:
  Device-1: Intel Alder Lake-S HD Audio driver: sof-audio-pci-intel-tgl
  Device-2: NVIDIA GA104 High Definition Audio driver: vfio-pci
  API: ALSA v: k6.1.32-1-lts status: kernel-api
  Server-1: PipeWire v: 0.3.71 status: active
Network:
  Device-1: Intel Alder Lake-S PCH CNVi WiFi driver: iwlwifi
  IF: wlan0 state: up mac: c4:03:a8:54:47:7d
  Device-2: Realtek RTL8125 2.5GbE driver: r8169
  IF: enp6s0 state: down mac: 04:7c:16:2e:d0:48
  IF-ID-1: br-0393216e9ba6 state: down mac: 02:42:72:50:0b:72
  IF-ID-2: docker0 state: down mac: 02:42:50:b5:67:27
  IF-ID-3: virbr0 state: down mac: 52:54:00:83:b4:20
Bluetooth:
  Device-1: Intel driver: btusb type: USB
  Report: rfkill ID: hci0 state: up address: see --recommends
Drives:
  Local Storage: total: 2.75 TiB used: 1.44 TiB (52.4%)
  ID-1: /dev/nvme0n1 vendor: Micron model: 2450 MTFDKBA1T0TFK
    size: 953.87 GiB
  ID-2: /dev/nvme1n1 vendor: Western Digital model: WD BLACK SN850X 2000GB
    size: 1.82 TiB
Partition:
  ID-1: / size: 491.08 GiB used: 335.73 GiB (68.4%) fs: ext4
    dev: /dev/nvme1n1p2
  ID-2: /boot/efi size: 767.5 MiB used: 300 KiB (0.0%) fs: vfat
    dev: /dev/nvme1n1p1
Swap:
  ID-1: swap-1 type: partition size: 32 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme1n1p4
Sensors:
  System Temperatures: cpu: 53.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 397 Uptime: 33m Memory: available: 31.05 GiB
  used: 4.29 GiB (13.8%) Shell: Bash inxi: 3.3.27

Not sure what you have installed along with nvidia drivers on this laptop? optimus-manager or other?

Edit: Does the computer not boot to the desktop?

I have optimus-manager installed. The computer boots up fine, but it is using the integrated Intel GPU instead of the discrete Nvidia one (EOS is on laptop). I can confirm this since nvidia-smi gives an error.

Edit: I’ve updated the post with ‘inxi’ output as well.

Did you have to switch to intel to get it to boot to the desktop?

Edit: Are you using pass through?

driver: vfio-pci
Graphics:
  Device-1: Intel Alder Lake-HX GT1 [UHD Graphics 770] driver: i915 v: kernel
  Device-2: NVIDIA GA104 [Geforce RTX 3070 Ti Laptop GPU] driver: vfio-pci
    v: N/A

I did not have to switch for getting it to boot to desktop. But I was trying to enable GPU passthrough a few days back and I forgot about that. Is there a quick way to revert those changes?

EDIT: I followed the steps backwards mentioned in the Arch Wiki for PCI Passthrough and was able to fix it.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.