Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
riclombar opened this issue Mar 18, 2020 · 2 comments
Open

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

riclombar opened this issue Mar 18, 2020 · 2 comments

Comments

@riclombar
Copy link

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.

@ingmarcosp
Copy link

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?

@nounder
Copy link

nounder commented May 1, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants