nvidia-xrun icon indicating copy to clipboard operation
nvidia-xrun copied to clipboard

modprobe: ERROR: could not find module by name 'nvidia'

Open riclombar opened this issue 4 years ago • 2 comments

I am on arch, installed the nvidia, bbswitch and nvidia-xrun package. Already disabled nvidia driver to load at boot. I also created the nvidia-xinitrc file. The problem is when i want to switch to nvidia driver, i open another tty, login. type passwd and when i enter the option 'nvidia-xrun' or 'nvidia-xrun i3' the first error goes:

modprobe: ERROR: could not find module by name 'nvidia'

Then it tries to load nvidia drm module and throws:

modprobe: FATAL: nvidia_drm not found in directory /lib/modules/5.5.9-zen1-2-zen

I have no idea what to do.

riclombar avatar Mar 18 '20 21:03 riclombar

Probably the problem is that you install the nvidia driver for a different kernel version,

did you ave the sources for that kernel version? how do you install the nvidia drivers? from arch packages or from nvidia binary file?

I have problem installing the driver sing dkms, that install me the driver for a different version that I'm using. so:

Are you using DKMS?

ingmarcosp avatar Mar 29 '20 14:03 ingmarcosp

If you have previously installed a package that modifies kernel like I did with LUKS encryption, you should install nvidia-dkms along with Linux headers for your kernel version (you have to ensure that linux and linux-headers point to same kernel version);

pacman -S linux linux-headers nvidia-dkms

nounder avatar May 01 '20 10:05 nounder