this post was submitted on 04 Nov 2023
57 points (98.3% liked)

Arch Linux

7777 readers
2 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 
all 12 comments
sorted by: hot top controversial new old
[–] [email protected] 18 points 1 year ago (1 children)

Just wait for the kernel module to arrive in the repositories.

[–] [email protected] 4 points 1 year ago (1 children)

Ah that's what it is. Of course!

[–] [email protected] 18 points 1 year ago* (last edited 1 year ago) (3 children)

I recommend switching to nvidia-dkms which will auto rebuild the module for every kernel and lets you update them independently of each other.

[–] [email protected] 4 points 1 year ago (2 children)

Does it work with modesetting, where Nvidia is the only video driver?

[–] [email protected] 8 points 1 year ago

It's a drop-in replacement for the nvidia package. AFAIK there are zero differences in functionality. The only change is it being built locally by DKMS instead of coming pre-built.

[–] [email protected] 1 points 1 year ago

It builds the kernel module for your specific kernel. It's not different from the nvidia package, that's just the same thing pre-build for the default kernel (in fact if you install both nvidia-dkms will build the module locally, then realize the exact same thing it just build is already there and move on...).

[–] [email protected] 2 points 1 year ago

Perfect -- this solved the issue completely for me

sudo pacman -Sy linux-lts nvidia-dkms
## removes nvidia
[–] fhoekstra 1 points 1 year ago (1 children)

I know my Pop!_OS install pulls Nvidia drivers and modules using flatpak. I don't know the pros and cons of this method, but I've assumed it's more robust due to decoupling of dependencies.

What is your opinion on flatpak vs pacman for proprietary Nvidia drivers?

[–] [email protected] 4 points 1 year ago

I am philosophically against duplicating similar libraries, so I don't use flatpak. Insufferable, I know

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

This may be unrelated, but I’ve had to downgrade nvidia and nvidia-utils back to 535, because 545 broke “GPU hotplugging” (kernel panics after GPU is released/reinserted after GPU Passthrough to a VM as well as some wine applications. These may be unsupported features though.

[–] [email protected] 2 points 1 year ago

I just used an older kernel for a while, did the trick.