NVIDIA drivers borked after zypper dup
NVIDIA drivers borked after zypper dup
Hello! I am running Tumbleweed on a desktop with an RTX 4070 and I am have tried to run sudo zypper dup
3 times now over the last 2 months and each time it has messed up my nvidia graphics drivers somehow causing me to revert to the snapshot taken just before the zypper dup. I thought at the time that there was just some issue that would be resolved which is why I kept reverting but at this point I just need to bite the bullet and figure out how to fix it.
I have attempted to uninstall and reinstall the drivers several times using the command.
sudo zypper remove \*nvidia\* && sudo zypper install x11-video-nvidiaG06
The only notable thing that this seems to do is fix my resolution from like 480p to 1080p, but only for the next reboot. However even with the resolution change it seems that the nvidia gpu is not being used at all.
sudo prime-select get-current
tells me that there is "no driver configured"
The command xrandr --listproviders
prints
Providers: number : 1 Provider 0: id: 0x40; cap: 0x2 (Sink Output); crtcs: 1; outputs: 1; associated providers: 0; name: modesetting output None-1
Also task manager (or whatever) can't detect the gpu I guess?
I'm still pretty new to linux so any and all guidance is greatly appreciated. Thanks!
I'm wondering if it has something to do with the priorities of your repositories. What's the output of
zypper repos --details
(orzypper lr -d
for short) on your system?Thanks for your help with this!
zypper lr -d
edit to add: I'm not sure how readable the formatting will be but I can tell you that all of them have 99 priority except for packman which has 70.
The repo configuration looks sane to me (however, it's bin a while since I last combined Packman repo with NVidia). Also please give the output of
lspci
, which is about the most low-level way to see whether your system sees the graphics card.