How to update Nvidia drivers to the latest 525.78.01-2

Hello All,

It seems I am in an infinite loop here. I am trying to update my nvidia drivers to the latest, and Garuda won't let me. There are extra packages which have marked the current nvidia drivers as dependencies. So, I can't remove the old driver packages, which prevents me from updating to the new ones.

Here is the error message I am getting:
could not satisfy dependencies:
- removing nvidia-dkms-tkg breaks dependency 'nvidia-dkms' required by garuda-nvidia-config
- removing nvidia-utils-tkg breaks dependency 'nvidia-utils-tkg' required by lib32-nvidia-utils-tkg
- removing nvidia-utils-tkg breaks dependency 'nvidia-utils-tkg>=525.53' required by nvidia-settings-tkg

I'm sure I'm just missing the forest for the trees here, but I have googled and searched and could not find anything about updating the drivers. Only how to install them initially. Which does not update them.

Any help is appreciated.

System:
  Kernel: 6.1.4-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=4757eb94-0065-4f96-8914-c77c06fa1e7d rw [email protected]
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=d3701c73-f146-42e6-9957-47e42ad885dd loglevel=3 ibt=off
  Desktop: GNOME v: 43.2 tk: GTK v: 3.24.36 wm: gnome-shell dm: GDM v: 43.0
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop System: Micro-Star product: MS-7C37 v: 3.0
    serial: <superuser required>
  Mobo: Micro-Star model: X570-A PRO (MS-7C37) v: 3.0
    serial: <superuser required> UEFI: American Megatrends v: H.20
    date: 07/03/2019
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master 3
    serial: <filter> charge: 100% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2 gen: 3
    level: v3 note: check built: 2020-22 process: TSMC n7 (7nm)
    family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701013
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 32 MiB desc: 2x16 MiB
  Speed (MHz): avg: 3720 high: 4075 min/max: 2200/4208 boost: enabled
    scaling: driver: acpi-cpufreq governor: performance cores: 1: 3600 2: 3600
    3: 3600 4: 3600 5: 3600 6: 3578 7: 4074 8: 3600 9: 3649 10: 3600 11: 4067
    12: 4075 bogomips: 86400
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3060 Ti Lite Hash Rate] vendor: ASUSTeK
    driver: nvidia v: 525.53 alternate: nouveau,nvidia_drm non-free: 525.xx+
    status: current (as of 2022-12) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 1 speed: 2.5 GT/s
    lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 2d:00.0
    chip-ID: 10de:2489 class-ID: 0300
  Device-2: Realtek NexiGo N660P FHD Webcam type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 5-3:2 chip-ID: 0bda:0567
    class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 21.1.6 with: Xwayland v: 22.1.7
    compositor: gnome-shell driver: N/A display-ID: :1 screens: 1
  Screen-1: 0 s-res: 4880x2560 s-dpi: 96 s-size: 1291x677mm (50.83x26.65")
    s-diag: 1458mm (57.39")
  Monitor-1: DP-2 pos: top-left res: 1440x2560 hz: 60 dpi: 118
    size: 311x553mm (12.24x21.77") diag: 634mm (24.98") modes: N/A
  Monitor-2: DP-4 pos: primary,bottom-r res: 3440x1440 hz: 60 dpi: 109
    size: 798x335mm (31.42x13.19") diag: 865mm (34.07") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 525.53 renderer: NVIDIA GeForce RTX 3060
    Ti/PCIe/SSE2 direct render: Yes
Audio:
  Device-1: NVIDIA GA104 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 5-3:2 pcie: chip-ID: 0bda:0567
    class-ID: 0102 gen: 4 serial: <filter> speed: 16 GT/s lanes: 16
    bus-ID: 2d:00.1 chip-ID: 10de:228b class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI X570-A PRO
    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: Realtek NexiGo N660P FHD Webcam type: USB
    driver: snd-usb-audio,uvcvideo
  Sound API: ALSA v: k6.1.4-zen2-1-zen running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.63 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI X570-A PRO driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 27:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp39s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB
    driver: btusb v: 0.8 bus-ID: 1-1.3:4 chip-ID: 0a12:0001 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
  Local Storage: total: 1.36 TiB used: 270.51 GiB (19.4%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 970 EVO 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 2B2QEXE7 temp: 29.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD10EZEX-00WN4A0 size: 931.51 GiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: 1A01 scheme: MBR
Partition:
  ID-1: / raw-size: 431.04 GiB size: 431.04 GiB (100.00%)
    used: 270.51 GiB (62.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 608 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 431.04 GiB size: 431.04 GiB (100.00%)
    used: 270.51 GiB (62.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 431.04 GiB size: 431.04 GiB (100.00%)
    used: 270.51 GiB (62.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 431.04 GiB size: 431.04 GiB (100.00%)
    used: 270.51 GiB (62.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 31.3 GiB used: 512 KiB (0.0%) priority: 100
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 34.42 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 44.0 C mobo: N/A gpu: nvidia temp: 34 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
  Processes: 377 Uptime: 35m wakeups: 2 Memory: 31.3 GiB
  used: 8.77 GiB (28.0%) Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: pm: pacman
  pkgs: 1534 libs: 471 tools: octopi,pamac,paru Shell: fish v: 3.5.1
  default: Bash v: 5.1.16 running-in: gnome-terminal inxi: 3.3.24
Garuda (2.6.14-1):
  System install date:     2022-11-05
  Last full system update: 2023-01-10
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager mkinitcpio
  Windows dual boot:       No/Undetected
  Failed units:    

You need to update all the dependencies to resolve the comflict.

sudo pacman -S nvidia-dkms nvidia-utils lib32-nvidia-utils nvidia-settings opencl-nvidia lib32-opencl-nvidia
4 Likes

Thanks! that got me further. However, there is yet another conflict with nvidia-egl-wayland-tkg and that package doesn't exist in any repository that I can find:

 ╰─λ sudo pacman -S nvidia-dkms nvidia-utils lib32-nvidia-utils nvidia-settings opencl-nvidia lib32-opencl-nvidia
[sudo] password for :        
resolving dependencies...
looking for conflicting packages...
:: nvidia-dkms and nvidia-dkms-tkg are in conflict (NVIDIA-MODULE). Remove nvidia-dkms-tkg? [y/N] y
:: nvidia-utils and nvidia-utils-tkg are in conflict (nvidia-libgl). Remove nvidia-utils-tkg? [y/N] y
:: lib32-nvidia-utils and lib32-nvidia-utils-tkg are in conflict (lib32-nvidia-libgl). Remove lib32-nvidia-utils-tkg? [y/N] y
:: lib32-opencl-nvidia and lib32-opencl-nvidia-tkg are in conflict. Remove lib32-opencl-nvidia-tkg? [y/N] y
:: nvidia-settings and nvidia-settings-tkg are in conflict. Remove nvidia-settings-tkg? [y/N] y
:: opencl-nvidia and opencl-nvidia-tkg are in conflict. Remove opencl-nvidia-tkg? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing nvidia-utils-tkg breaks dependency 'nvidia-utils-tkg' required by nvidia-egl-wayland-tkg

Any ideas?

So I found the repository package name: "egl-wayland"

So for anyone struggling with the same issue in the future, the full CLI upgrade line is:

sudo pacman -S nvidia-dkms nvidia-utils lib32-nvidia-utils nvidia-settings opencl-nvidia lib32-opencl-nvidia egl-wayland

Was able to update, restarted, no issues. Steam works again (which was what originally drove me down this rabbit hole). Thanks for the help and setting me in the right direction mrvictory!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.