Garuda-update breaks KDE

Hello Garuda users,

I tried updating my KDE system using garuda-update a week ago and upon restart, it broke plasma, nothing worked, no cursor on terminal too. I restored the snapshot and tried again, but it failed again. So, the last snapshot works, but updates are not.
I referred to :

  1. Garuda-update breaks system on reboot - #2 by SGS
  2. OS loading from boot menu breaks after an update

I am using the zen kernel, is the only option left to try another kernel ? I do not understand what is breaking this update.
Edit : I tried using Linux-LTS and upgrading, that failed too.
Please advice,
Thank you!

garuda-inxi

```
System:
  Kernel: 6.1.6-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=14cd22a8-f9ca-4bd2-ab06-9b0f720b546e rw rootflags=subvol=@
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    loglevel=3 ibt=off
  Desktop: KDE Plasma v: 5.26.5 tk: Qt v: 5.15.8 info: latte-dock
    wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82K2 v: IdeaPad Gaming 3 15ACH6
    serial: <superuser required> Chassis: type: 10 v: IdeaPad Gaming 3 15ACH6
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN
    serial: <superuser required> UEFI: LENOVO v: H3CN21WW(V1.04)
    date: 06/01/2021
Battery:
  ID-1: BAT1 charge: 37.5 Wh (97.2%) condition: 38.6/45.0 Wh (85.7%)
    volts: 12.8 min: 11.5 model: 0x53 0x75 0x6E 0x77 0x6F 0x64 0x 0x4C 0x32
    0x30 0x44 0x33 0x50 0x4500 type: Li-ion serial: <filter>
    status: not charging cycles: 742
CPU:
  Info: model: AMD Ryzen 7 5800H with Radeon Graphics 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: 0x50 (80) stepping: 0
    microcode: 0xA50000C
  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: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 1876 high: 3214 min/max: 1200/4462 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1916 2: 3200
    3: 2395 4: 1200 5: 1200 6: 3214 7: 1916 8: 1912 9: 1200 10: 1916 11: 1809
    12: 1916 13: 1200 14: 1200 15: 1915 16: 1915 bogomips: 102206
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA GA107M [GeForce RTX 3050 Mobile] vendor: Lenovo
    driver: nvidia v: 525.78.01 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: 3 speed: 8 GT/s lanes: 8
    link-max: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:25a2 class-ID: 0302
  Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    vendor: Lenovo driver: amdgpu v: kernel arch: GCN-5.1 code: Vega-2
    process: TSMC n7 (7nm) built: 2018-21 pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s ports: active: HDMI-A-1,eDP-1 empty: none
    bus-ID: 05:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 45.0 C
  Device-3: IMC Networks Integrated Camera type: USB driver: uvcvideo
    bus-ID: 1-3:3 chip-ID: 13d3:56ff class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.6 with: Xwayland v: 22.1.7
    compositor: kwin_x11 driver: X: loaded: amdgpu,nvidia
    unloaded: modesetting,nouveau alternate: fbdev,nv,vesa dri: radeonsi
    gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x285mm (40.00x11.22")
    s-diag: 1055mm (41.54")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 pos: right model: HP 24mh
    serial: <filter> built: 2020 res: 1920x1080 hz: 60 dpi: 93 gamma: 1.2
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  Monitor-2: eDP-1 mapped: eDP pos: primary,left model: AU Optronics 0xd1ed
    built: 2019 res: 1920x1080 hz: 120 dpi: 142 gamma: 1.2
    size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9 modes:
    max: 1920x1080 min: 640x480
  API: OpenGL v: 4.6 Mesa 22.3.3 renderer: AMD Radeon Graphics (renoir LLVM
    15.0.7 DRM 3.49 6.1.6-zen1-2-zen) direct render: Yes
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 05:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo driver: N/A
    alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x,
    snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir,
    snd_sof_amd_rembrandt pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max:
    gen: 4 speed: 16 GT/s bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound API: ALSA v: k6.1.6-zen1-2-zen running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.64 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
    vendor: Lenovo driver: rtw89_8852ae v: kernel modules: rtw_8852ae pcie:
    gen: 1 speed: 2.5 GT/s lanes: 1 port: 2000 bus-ID: 03:00.0
    chip-ID: 10ec:8852 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  IF-ID-1: br-6a7d342c5955 state: down mac: <filter>
  IF-ID-2: br-751c181c039c state: down mac: <filter>
  IF-ID-3: br-f9c8f52c9a58 state: down mac: <filter>
  IF-ID-4: docker0 state: down mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 1-4:4 chip-ID: 0bda:4852 class-ID: e001 serial: <filter>
  Report: bt-adapter ID: hci0 rfk-id: 2 state: up address: <filter>
Drives:
  Local Storage: total: 476.94 GiB used: 68.63 GiB (14.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: PC SN530
    SDBPMPZ-512G-1101 size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 21160001 temp: 41.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 131.91 GiB size: 131.91 GiB (100.00%)
    used: 68.6 GiB (52.0%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 33.3 MiB (13.0%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 131.91 GiB size: 131.91 GiB (100.00%)
    used: 68.6 GiB (52.0%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-4: /var/log raw-size: 131.91 GiB size: 131.91 GiB (100.00%)
    used: 68.6 GiB (52.0%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-5: /var/tmp raw-size: 131.91 GiB size: 131.91 GiB (100.00%)
    used: 68.6 GiB (52.0%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 13.51 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 51.9 C mobo: N/A gpu: amdgpu temp: 46.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 349 Uptime: 8m wakeups: 1 Memory: 13.51 GiB used: 5.2 GiB (38.5%)
  Init: systemd v: 252 default: graphical tool: systemctl Compilers:
  gcc: 12.2.1 clang: 15.0.7 Packages: pm: pacman pkgs: 1405 libs: 335
  tools: octopi,pamac,paru Shell: fish v: 3.6.0 default: Bash v: 5.1.16
  running-in: konsole inxi: 3.3.24
Garuda (2.6.14-1):
  System install date:     2022-07-23
  Last full system update: 2023-01-18
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager mkinitcpio nvidia-dkms
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:            
```

Me too, you can just wait for an upstream fix if lts not work. Or try amd kernel.
Nvidia or Kernel breaks Notobok update.

2 Likes

Hey, an update regarding this issue.
I spent some time manually upgrading the packages a few at a time. I used garuda-update to get the list of upgrades available and started upgrading them with pacman -S <package_name>, and did a system reboot after each upgrade.
The package that broke the OS after a reboot is rtw89-dkms-git-1:r366.fce040c-1.
Is this information helpful ?

2 Likes

Nice detective work @Rahul0598! :male_detective:

It looks like others are having issues with this package also: AUR (en) - rtw89-dkms-git

The first few comments mention modifying the PKGBUILD to add modules needed for running on the 6.1 kernel. You can download the PKGBUILD and related files with paru:

paru -G rtw89-dkms-git

It may be useful to completely uninstall rtw89-dkms-git and bring your system fully up to date over an ethernet connection, if that is an option for you. You may run into issues if you try to build the package in a partially upgraded state.

7 Likes

I removed the rtw89 package, performed a full system upgrade with garuda-update.
I then downloaded the source for the faulty package, modified the PKGBUILD and dkms.conf files, and installed it using makepkg -si. It somehow isn't working..
It either breaks my network manager and I am no longer able to connect to WiFi or it breaks the OS again. For now, it is working with the package uninstalled. So, I'll mark your answer/reply as the solution.

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