[solved]Upgrade destroys GUI/nvidia and nvidia-utils is not downgradable?
Hello,
I just did a pacman -Su and it kind of bricked my graphical UI. Everything is sort of "zoomed in". I checked my current resolution with xrandr and it seems ok. So I guessed it would be related to a new nvidia package from the update as there was nvidia and nvidia-utils updated. I tried to downgrade the nvidia package from cache, but it does not seem to work as it states it would brick dependencies for the nvidia package?
[manoca@IT-MOB-MANOCA ~]$ ls -llah /var/cache/pacman/pkg/nvi*
-rw-r--r-- 1 root root 24M May 8 2021 /var/cache/pacman/pkg/nvidia-465.27-5-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 24M Jun 20 10:52 /var/cache/pacman/pkg/nvidia-465.31-10-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 24M Sep 19 13:52 /var/cache/pacman/pkg/nvidia-470.63.01-12-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 566 Sep 19 13:53 /var/cache/pacman/pkg/nvidia-470.63.01-12-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 24M Aug 19 10:52 /var/cache/pacman/pkg/nvidia-470.63.01-3-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 566 Aug 19 10:53 /var/cache/pacman/pkg/nvidia-470.63.01-3-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 24M Sep 27 13:37 /var/cache/pacman/pkg/nvidia-470.74-3-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 566 Sep 27 13:38 /var/cache/pacman/pkg/nvidia-470.74-3-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 24M Oct 13 21:22 /var/cache/pacman/pkg/nvidia-470.74-8-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 566 Oct 13 21:24 /var/cache/pacman/pkg/nvidia-470.74-8-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 26M Nov 3 07:32 /var/cache/pacman/pkg/nvidia-495.44-3-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 566 Nov 3 07:34 /var/cache/pacman/pkg/nvidia-495.44-3-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 137M Apr 30 2021 /var/cache/pacman/pkg/nvidia-utils-465.27-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 136M May 19 16:14 /var/cache/pacman/pkg/nvidia-utils-465.31-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 162M Aug 11 08:13 /var/cache/pacman/pkg/nvidia-utils-470.63.01-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 566 Aug 11 08:14 /var/cache/pacman/pkg/nvidia-utils-470.63.01-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 162M Sep 21 09:12 /var/cache/pacman/pkg/nvidia-utils-470.74-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 566 Sep 21 09:13 /var/cache/pacman/pkg/nvidia-utils-470.74-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 172M Nov 3 01:55 /var/cache/pacman/pkg/nvidia-utils-495.44-3-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 566 Nov 3 01:56 /var/cache/pacman/pkg/nvidia-utils-495.44-3-x86_64.pkg.tar.zst.sig
[manoca@IT-MOB-MANOCA ~]$ sudo pacman -U /var/cache/pacman/pkg/nvidia-470.74-8-x86_64.pkg.tar.zst
[sudo] password for manoca:
loading packages...
warning: downgrading package nvidia (495.44-3 => 470.74-8)
resolving dependencies...
warning: cannot resolve "nvidia-utils=470.74", a dependency of "nvidia"
:: The following package cannot be upgraded due to unresolvable dependencies:
nvidia
:: Do you want to skip the above package for this upgrade? [y/N] N
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'nvidia-utils=470.74' required by nvidia
[manoca@IT-MOB-MANOCA ~]$ sudo pacman -U /var/cache/pacman/pkg/nvidia-utils-470.74-1-x86_64.pkg.tar.zst
loading packages...
warning: downgrading package nvidia-utils (495.44-3 => 470.74-1)
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing nvidia-utils (470.74-1) breaks dependency 'nvidia-utils=495.44' required by nvidia
I checked the "zoom" setting in the system settings as well and set it to 1 (1.25 was the value before). Did not help.
Side note: it seems to take effect on my terminal(konsole) and the window decorations in general as well as the 'task bar' or 'icons-only-task-manager' as it is called. Other applications work just fine(eclipse, firefox, thunderbird) I use plasma DE and KWin as WM. sddm is affected as well.
What am I supposed to do here? Any help is highly appreciated
Edit:
xrandr --output eDP-1 --scale 1.25x1.25
seems to fix the task bar, but not the window decorations. So I guess the 1.25 setting in the system settings were correct. I reverted that but did not get better. Don't think I'm supposed to send a xrandr command on every startup, do I?