You are not logged in.
tl;dr after downgrading linux, pacman installs nvidia module files to /lib/modules/5.18.16-arch1-1 instead of /lib/modules/5.17.9-arch1-1 which is what I expect and is the output of my uname -a and pacman -Q linux commands
What I did:
I downgraded my kernel by running
pacman -U https://archive.archlinux.org/packages/l/linux/linux-5.17.9.arch1-1-x86_64.pkg.tar.zst
pacman -U https://archive.archlinux.org/packages/l/linux-headers/linux-headers-5.17.9.arch1-1-x86_64.pkg.tar.zst
after that I rebooted and tried pacman -S nvidia and rebooted again, but found that modprobe nvidia never finds the module, it looks for it in the 5.17xxx directory and it has been installed in the 5.18xxx one
did I miss an important step in my downgrade attempt?
I appreciate any help in the matter and thank you, reader, in advance
Last edited by marco_costa (2022-08-09 23:08:23)
Offline
You've to downgrade nvidia as well or use nvidia-dkms.
It's not the "wrong directory" - the module you're trying to install is compiled for that kernel, not some older one.
Offline
Ah, I see. That makes a lot of sense. nvidia-dkms seemed the most straightforward option and it worked perfectly. Thank you for your help!
Offline