You are not logged in.

#1 2022-01-14 19:31:12

rsaavedra
Member
Registered: 2021-10-13
Posts: 4

[SOLVED] Cannot load nvidia module with modprobe

I get the following error

$modprobe nvidia -vv
modprobe: INFO: custom logging function 0x557fa93ed310 registered
insmod /lib/modules/5.16.0-arch1-1/extramodules/nvidia.ko.xz
modprobe: INFO: Failed to insert module '/lib/modules/5.16.0-arch1-1/extramodules/nvidia.ko.xz': No such device
modprobe: ERROR: could not insert 'nvidia': No such device
modprobe: INFO: context 0x557fa988b430 released

dmesg

$dmesg | grep nvidia
[    4.670358] nvidia: loading out-of-tree module taints kernel.
[    4.670371] nvidia: module license 'NVIDIA' taints kernel.
[    4.687960] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[    4.701022] nvidia-nvlink: Nvlink Core is being initialized, major device number 510
               NVRM:  visit http://www.nvidia.com/object/unix.html for more
[    4.701872] nvidia-nvlink: Unregistered the Nvlink Core, major device number 510
[    4.810067] nvidia-nvlink: Nvlink Core is being initialized, major device number 510
               NVRM:  visit http://www.nvidia.com/object/unix.html for more
[    4.810804] nvidia-nvlink: Unregistered the Nvlink Core, major device number 510
[    5.798887] nvidia-nvlink: Nvlink Core is being initialized, major device number 510
               NVRM:  visit http://www.nvidia.com/object/unix.html for more
[    5.800242] nvidia-nvlink: Unregistered the Nvlink Core, major device number 510
[   21.135034] nvidia-nvlink: Nvlink Core is being initialized, major device number 510
               NVRM:  visit http://www.nvidia.com/object/unix.html for more
[   21.136917] nvidia-nvlink: Unregistered the Nvlink Core, major device number 510

The kernel parameters I have are

GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nomodeset pcie_port_pm=off nouveau.blacklist=1 nouveau.modeset=0"

After I set those I ran

mkinitcpio -P

and

grub-mkconfig -o /boot/grub/grub.cfg

My machine is a Thinkpad w520 with Nvidia Quadro 1000M.

How do I successfully load the nvidia kernel module?

Last edited by rsaavedra (2022-01-14 22:11:10)

Offline

#2 2022-01-14 20:45:09

seth
Member
Registered: 2012-09-03
Posts: 26,570

Re: [SOLVED] Cannot load nvidia module with modprobe

The nvidia driver wants to tell you something but the context is lost in the grep.

Quadro 1000M according to google is a Fermi chip, so you'll need https://aur.archlinux.org/packages.php? … _Search=Go (dkms and utils), not the 495xx series in the repos.
And I guess that's also what the driver message says.

Offline

#3 2022-01-14 21:13:47

rsaavedra
Member
Registered: 2021-10-13
Posts: 4

Re: [SOLVED] Cannot load nvidia module with modprobe

seth wrote:

The nvidia driver wants to tell you something but the context is lost in the grep.

Here is the important part of the dmesg output without grep:

[    4.670358] nvidia: loading out-of-tree module taints kernel.
[    4.670371] nvidia: module license 'NVIDIA' taints kernel.
[    4.687960] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  132.151980] nvidia-nvlink: Nvlink Core is being initialized, major device number 510
[  132.151988] NVRM: The NVIDIA Quadro 1000M GPU installed in this system is
               NVRM:  supported through the NVIDIA 390.xx Legacy drivers. Please
               NVRM:  visit http://www.nvidia.com/object/unix.html for more
               NVRM:  information.  The 495.46 NVIDIA driver will ignore
               NVRM:  this GPU.  Continuing probe...
[  132.152727] NVRM: No NVIDIA GPU found.
[  132.152860] nvidia-nvlink: Unregistered the Nvlink Core, major device number 510
seth wrote:

Quadro 1000M according to google is a Fermi chip, so you'll need https://aur.archlinux.org/packages.php? … _Search=Go (dkms and utils), not the 495xx series in the repos.

Ok, I will install those packages.

Last edited by rsaavedra (2022-01-14 21:14:50)

Offline

#4 2022-01-14 21:39:04

rsaavedra
Member
Registered: 2021-10-13
Posts: 4

Re: [SOLVED] Cannot load nvidia module with modprobe

I installed:

nvidia-390xx-dkms
nvidia-390xx-utils

as pointed out by seth.

Now lsmod shows me the modules are correctly loaded.

Thank you!

Last edited by rsaavedra (2022-01-14 22:06:01)

Offline

#5 2022-01-14 21:42:43

seth
Member
Registered: 2012-09-03
Posts: 26,570

Re: [SOLVED] Cannot load nvidia module with modprobe

You'll need https://aur.archlinux.org/packages/nvidia-390xx-utils/ not "nvidia-utils" if you want OpenGL and X11 support.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#6 2022-01-14 22:08:31

rsaavedra
Member
Registered: 2021-10-13
Posts: 4

Re: [SOLVED] Cannot load nvidia module with modprobe

seth wrote:

You'll need https://aur.archlinux.org/packages/nvidia-390xx-utils/ not "nvidia-utils" if you want OpenGL and X11 support.

I did install nvidia-390xx-utils, but mistakingly typed nvidia-utils here.

I have edited my previous reply and marked the thread as solved.

Thanks.

Last edited by rsaavedra (2022-01-14 22:11:52)

Offline

Board footer

Powered by FluxBB