Used nvidia-inst to switch from nvdia to nvidia-dkms, however nvidia module still loads(solved)

I have tried to install the nvidia-open-dkms using the nvidia-inst, however the system still defaults back to loading the nvidia module, and the nvidia-open module isn’t loaded.

How do I troubleshoot this ?

Output of nvidia-inst –32 –test

2025-10-31 16:50:18: Note: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] [10de:1f91] (rev a1) (prog-if 00 [VGA controller])
2025-10-31 16:50:18: Note: Currently installed packages related to Nvidia:
2025-10-31 16:50:18:       egl-gbm 1.1.2.1-1
2025-10-31 16:50:18:       egl-wayland 4:1.1.20-1
2025-10-31 16:50:18:       egl-x11 1.0.3-1
2025-10-31 16:50:18:       envycontrol 3.5.2-1
2025-10-31 16:50:18:       lib32-nvidia-utils 580.95.05-1
2025-10-31 16:50:18:       libnvidia-container 1.17.9-1
2025-10-31 16:50:18:       libvdpau 1.5-3
2025-10-31 16:50:18:       libxnvctrl 580.95.05-1
2025-10-31 16:50:18:       linux-firmware-nvidia 20251021-1
2025-10-31 16:50:18:       nvidia 580.95.05-7
2025-10-31 16:50:18:       nvidia-container-toolkit 1.17.9-1
2025-10-31 16:50:18:       nvidia-hook 1.5.2-1
2025-10-31 16:50:18:       nvidia-inst 25.10.2-1
2025-10-31 16:50:18:       nvidia-prime 1.0-5
2025-10-31 16:50:18:       nvidia-settings 580.95.05-1
2025-10-31 16:50:18:       nvidia-utils 580.95.05-1
2025-10-31 16:50:18:       nvtop 3.2.0-1
2025-10-31 16:50:18: Info: nvidia-inst version 25.10.2-1
2025-10-31 16:50:18: Info: Command line: nvidia-inst --32 --test
2025-10-31 16:50:18: Info: Selected mode: nvidia (Nvidia’s open source)
2025-10-31 16:50:18: Info: Installing packages: nvidia-open-dkms
2025-10-31 16:50:18: Info: Removing packages: nvidia nvidia-prime
COMMANDS TO RUN:
    pacman -Rs --noconfirm --noprogressbar --nodeps nvidia nvidia-prime
    pacman -Syuq --noconfirm --noprogressbar --needed nvidia-open-dkms

My output of inxi -Fxxc0z | eos-sendlog

https://dpaste.com/7DYQXDU5W

My output of
journalctl -k -b -1 | eos-sendlog

https://dpaste.com/5RQBLGJL9

Output of lsblk -o name,type,size,PTTYPE,FSTYPE

NAME        TYPE   SIZE PTTYPE FSTYPE
sda         disk 447.1G gpt    
├─sda1      part   100M gpt    vfat
├─sda2      part    16M gpt    
├─sda3      part 446.5G gpt    ntfs
└─sda4      part   554M gpt    ntfs
sdb         disk 931.5G gpt    
└─sdb1      part 931.5G gpt    ext4
nvme0n1     disk 931.5G gpt    
├─nvme0n1p1 part     1G gpt    vfat
└─nvme0n1p2 part 930.5G gpt    ext4

Output of systemd-analyze blame | eos-sendlog

https://dpaste.com/AAWP357TT

Just remove option --test and it will run the commands it says in the end.
Note that if you want the prime support, you need to add option --prime.
Also, you must have kernel headers installed for the dkms package.

To verify that you have nvidia-open-dkms installed, just run

pacman -Qs nvidia

And remember to reboot in order to see the effects.

1 Like

Used the options like you suggested.
The output of pacman -Qs nvidia

local/egl-gbm 1.1.2.1-1
    The GBM EGL external platform library
local/egl-wayland 4:1.1.20-1
    EGLStream-based Wayland external platform
local/egl-x11 1.0.3-1
    NVIDIA XLib and XCB EGL Platform Library
local/envycontrol 3.5.2-1
    CLI tool for Nvidia Optimus graphics mode switching on Linux
local/lib32-nvidia-utils 580.95.05-1
    NVIDIA drivers utilities (32-bit)
local/libnvidia-container 1.17.9-1
    NVIDIA container runtime library
local/libvdpau 1.5-3
    Nvidia VDPAU library
local/libxnvctrl 580.95.05-1
    NVIDIA NV-CONTROL X extension
local/linux-firmware-nvidia 20251021-1
    Firmware files for Linux - Firmware for NVIDIA GPUs and SoCs
local/nvidia-container-toolkit 1.17.9-1
    NVIDIA container toolkit
local/nvidia-hook 1.5.2-1
    pacman hook for nvidia
local/nvidia-inst 25.10.2-1
    Script to install/uninstall nvidia driver packages in EndeavourOS
local/nvidia-open-dkms 580.95.05-1
    NVIDIA open kernel modules - module sources
local/nvidia-prime 1.0-5
    NVIDIA Prime Render Offload configuration and utilities
local/nvidia-settings 580.95.05-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 580.95.05-1
    NVIDIA drivers utilities
local/nvtop 3.2.0-1
    GPUs process monitoring for AMD, Intel and NVIDIA

The output of lsmod | grep nvidia

nvidia_drm            143360  3
nvidia_modeset       2273280  4 nvidia_drm
drm_ttm_helper         16384  1 nvidia_drm
video                  81920  4 dell_wmi,dell_laptop,i915,nvidia_modeset
nvidia_uvm           4001792  0
nvidia              15884288  38 nvidia_uvm,nvidia_modeset

How come the modules still say nvidia instead of nvidia_open or nvidia_open_dkms? Is the module in the open source package also just called nvidia.
Sorry for the stupid questions.

  • usr/lib/modules/6.17.6-arch1-1/extramodules/nvidia-drm.ko.zst
  • usr/lib/modules/6.17.6-arch1-1/extramodules/nvidia-modeset.ko.zst
  • usr/lib/modules/6.17.6-arch1-1/extramodules/nvidia-peermem.ko.zst
  • usr/lib/modules/6.17.6-arch1-1/extramodules/nvidia-uvm.ko.zst
  • usr/lib/modules/6.17.6-arch1-1/extramodules/nvidia.ko.zst

Modules have the same names.

1 Like

Thank you. @joekamprad @manuel

2 Likes

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