Slow graphics issues after update 2022/06/12. Perhaps NVIDIA driver related

The files in question are there, but slightly different version than i estimated
You can try, same as before, from that cache fodler

sudo pacman -U linux515-nvidia-470xx-470.141.03-18-x86_64.pkg.tar.zst lib32-nvidia-470xx-utils-470.141.03-1-x86_64.pkg.tar.zst nvidia-470xx-utils-470.141.03-1-x86_64.pkg.tar.zst opencl-nvidia-470xx-470.141.03-1-x86_64.pkg.tar.zst

If you get an error that file is not existing, check in that folder the exact package version and correct it in the -U command.

Is it a requirement that I do them all at once? Looks like two succeeded and two failed.

    /var/cache/pacman/pkg  sudo pacman -U linux515-nvidia-470xx-470.141.03-18-x86_64.pkg.tar.zst lib32-nvidia-470xx-utils-470.141.03-1-x86_64.pkg.tar.zst nvidia-470xx-utils-470.141.03-1-x86_64.pkg.tar.zst opencl-nvidia-470xx-470.141.03-1-x86_64.pkg.tar.zst
[sudo] password for twrecks: 
loading packages...
warning: downgrading package linux515-nvidia-470xx (470.161.03-3 => 470.141.03-18)
warning: downgrading package lib32-nvidia-470xx-utils (470.161.03-1 => 470.141.03-1)
error: 'nvidia-470xx-utils-470.141.03-1-x86_64.pkg.tar.zst': could not find or read package
error: 'opencl-nvidia-470xx-470.141.03-1-x86_64.pkg.tar.zst': could not find or read package

Like i said, look for the correct version and file name … The important part of the files is

and

So you understand better, those 4 packages need to be back/downgraded to version 470.141
And all should give you the same result

Ignore the warning, just make sure is done with the proper files … once that is done, you could reboot the system and test if all works as before the big update. The you ignore the next updates … for now :rofl:

Understood

Ok I can’t find the opencl one. There isn’t any file in here that looks like that.

The other three are fixed (I think)

Well, some apps that rely in that version of opencl might fail … but try to have another look for opencl-nvidia-470xx before you reboot, and -U that one too.

Could it be stored elsewhere?

Maybe you never had it installed as is an optional dep for nvidia-utils and only required if you use CUDA? Well, that can be the case, so now you can reboot the system and see if all this was worth the trouble :rofl:

Ok thanks rebooting now!

Ok now I downgrade?

You already did the downgrade, but not via the downgrade command, but via replacing the newer versions of those packages with the older ones, from cache, that worked for you prior the update.

If you do not notice improvements after reboot, that means the slow graphics had nothing to do with the nvidia drivers and modules version.

Damnit. It didn’t work :frowning:

Time for a reinstall I guess.

Hold on!

Reinstalling is not going to reveal the issue and that can happen again.
Please share again the
inxi -Fazy
also
ls -a /etc/X11/*
and
cat /etc/X11/mhwd.d/nvidia.conf

    ~  inxi -Fazy                                                                                                                       ✔ 
System:
  Kernel: 5.15.81-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=da2edaf5-cde2-4896-a0f8-5ab55ee3beac rw quiet
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.26.4 tk: Qt v: 5.15.7 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: MAG X570S TOMAHAWK MAX WIFI (MS-7D54)
    v: 1.0 serial: <superuser required> UEFI: American Megatrends LLC. v: 1.30
    date: 05/23/2022
CPU:
  Info: model: AMD Ryzen 7 5800X bits: 64 type: MT MCP arch: Zen 3 gen: 4
    level: v3 note: check built: 2021-22 process: TSMC n7 (7nm) family: 0x19 (25)
    model-id: 0x21 (33) stepping: 2 microcode: 0xA20120A
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 32 MiB
    desc: 1x32 MiB
  Speed (MHz): avg: 4408 high: 4515 min/max: 2200/4850 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 4397 2: 4441
    3: 4334 4: 4300 5: 4189 6: 4515 7: 4510 8: 4485 9: 4354 10: 4489 11: 4476
    12: 4425 13: 4404 14: 4426 15: 4359 16: 4431 bogomips: 121660
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GA102 [GeForce RTX 3080 Lite Hash Rate]
    vendor: Micro-Star MSI driver: nvidia v: 470.161.03
    alternate: nouveau,nvidia_drm non-free: 520.xx+
    status: current (as of 2022-10) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 2 speed: 5 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 2d:00.0 chip-ID: 10de:2216
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.4 compositor: kwin_x11 driver: N/A
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 157 s-size: 621x352mm (24.45x13.86")
    s-diag: 714mm (28.1")
  Monitor-1: HDMI-0 res: 3840x2160 hz: 60 dpi: 157
    size: 620x350mm (24.41x13.78") diag: 712mm (28.03") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 470.161.03 renderer: NVIDIA GeForce RTX
    3080/PCIe/SSE2 direct render: Yes
Audio:
  Device-1: NVIDIA GA102 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel bus-ID: 1-1:2 v: kernel pcie: chip-ID: 2b0d:0031 gen: 4
    class-ID: 0300 speed: 16 GT/s lanes: 16 bus-ID: 2d:00.1 chip-ID: 10de:1aef
    class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 2f:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: C-Media USB Audio Device type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Device-4: Micro Star USB Audio type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-5:4 chip-ID: 0db0:a073
    class-ID: 0300
  Sound API: ALSA v: k5.15.81-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.61 running: yes
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: Micro-Star MSI driver: r8169
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: f000 bus-ID: 26:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: enp38s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 28:00.0 chip-ID: 8086:2725
    class-ID: 0280
  IF: wlo1 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX210 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-4:3
    chip-ID: 8087:0032 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:
  Local Storage: total: 4.11 TiB used: 304.61 GiB (7.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: WDS500G2B0C-00PXH0 size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 233010WD temp: 42.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST4000DM004-2CV104
    size: 3.64 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 5425 serial: <filter> rev: 0001 scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 type: USB model: USB DISK 2.0 size: 7.46 GiB
    block-size: physical: 512 B logical: 512 B type: N/A serial: <filter>
    rev: PMAP scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  ID-4: /dev/sdc maj-min: 8:32 type: USB vendor: SanDisk model: Cruzer Facet
    size: 7.45 GiB block-size: physical: 512 B logical: 512 B type: N/A
    serial: <filter> rev: 1.27 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 465.46 GiB size: 457.09 GiB (98.20%)
    used: 304.61 GiB (66.6%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 312 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 77.6 C mobo: N/A gpu: nvidia temp: 58 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
  Processes: 333 Uptime: 13m wakeups: 0 Memory: 31.27 GiB
  used: 3.64 GiB (11.6%) Init: systemd v: 251 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: 1248
  pm: pacman pkgs: 1240 libs: 327 tools: pamac pm: flatpak pkgs: 8 Shell: Zsh
  v: 5.9 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.23
    ~  ls -a /etc/X11/*                                                                                                                 ✔ 
/etc/X11/mhwd.d:
.  ..  nvidia.conf  nvidia.conf.nvidia-xconfig-original

/etc/X11/xinit:
.  ..  xinitrc  xinitrc.d  xserverrc

/etc/X11/xorg.conf.d:
.  ..  00-keyboard.conf  30-touchpad.conf  90-mhwd.conf
    ~  cat /etc/X11/mhwd.d/nvidia.conf                                                                                                  ✔ 
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 470.161.03

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
        Option "NoLogo" "1"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "COMPOSITE" "Enable"
EndSection

 
Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Here some inconsistencies that appear strange to me

vs mine

Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.5
    compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia,nvidia-nvswitch
    display-ID: :0 screens: 1

And then in the nvidia.config

Is not recognizing the HorizSync and VertRefresh
On my end

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "LG Electronics"
    ModelName      "LG Electronics W2253"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

This can be an issue because the connection is via

so it not get recognized when the config was generated at driver install stage.

You could try to fix the config by using the Nvidia X config, make a fixed layout, get that information from the Preview (do not save the file as it will be saved as xorg.conf file in the wrong place), share it here and will try to make a new nvidia.config for you.

Ok so I need to ask you some questions again :rofl:

What is the Nvidia X config?
What is a fixed layout?

Nvidia X Server Settings is the utility provided by Nvidia to tweak settings. You should find it in Applications > Settings of the Menu …

A fixed Layout is to declare in the config all the details related to the monitor, from position on the X Screen, to resolution and refresh rate, to be using (or not) the Composition Pipeline …

Here is an example in Advanced mode.

Is this looking correct-ish?

Is Auto, aka default, not fixed with Absolute parameters …

Is that bad?

Well, it basically fives X/Nvidia to do as they wish when initializing it…mine is also on Absolute.

FWIW, here’s mine:

Should I change something?