Skip to main content
Topic: NVIDIA kernel module needs to be updated (Read 316 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

NVIDIA kernel module needs to be updated

Seems like every single NVIDIA-related package is on version 565.77 except for the module itself, which is still on 565.57. Trying to update the system via pacman lends me this error message:
Code: [Select]
error: failed to prepare transaction (could not satisfy dependencies)
:: installing nvidia-utils (565.77-1) breaks dependency 'nvidia-utils=565.57.01' required by nvidia
Package nvidia is correctly updated in the World-Gremlins repo. Adding the repo to pacman's config and updating works without breaking any dependency, but now nvidia-smi fails, though this is a problem for a different topic.

 

Re: NVIDIA kernel module needs to be updated

Reply #1
I'd recommend skipping plain nvidia package and go streight for nvidia-dkms. There's waaay less hassle when updating and you can easily change kernels. As you can see here, nvidia-dkms is given more attention:

If you don't care about freetardisms, I'd argue it is still better to skip the nvidia-open and nvidia-open-dkms in favor of the closed source drivers, just for compatibility sake.

Re: NVIDIA kernel module needs to be updated

Reply #2
I'd recommend skipping plain nvidia package and go streight for nvidia-dkms. There's waaay less hassle when updating and you can easily change kernels. As you can see here, nvidia-dkms is given more attention:
Can confirm that I eventually decided to just say "fuck it" and install the DKMS package, and nvidia-smi works this time. I had to do the same thing back when I was using Arch at some point. I just prefer the plain package because I don't like waiting an extra minute for DKMS to install every time the kernel/driver itself gets updated. Thank you regardless, hopefully the version mismatch gets fixed by then, though this started happening two days ago.
If you don't care about freetardisms, I'd argue it is still better to skip the nvidia-open and nvidia-open-dkms in favor of the closed source drivers, just for compatibility sake.
Pretty sure NVIDIA will have the drivers actually working properly with Wayland before the open-source drivers are usable, haha.

Re: NVIDIA kernel module needs to be updated

Reply #3
I just prefer the plain package because I don't like waiting an extra minute for DKMS to install every time the kernel/driver itself gets updated.
Yeah, this is the fault of the compression, you should probably change it to something else, I've did it like so:
Code: [Select]
# /etc/mkinitcpio.conf
COMPRESSION="zstd"
COMPRESSION_OPTIONS=(-v --long --ultra -15)
MODULES_DECOMPRESS="yes"
This one packs it in like 10 secs, not over a minute on R5 1600af.

Re: NVIDIA kernel module needs to be updated

Reply #4
Hopping in to say that lib32-nvidia-utils also still requires nvidia-utils=565.57.01 so it just needs a bump