(SOLVED) Just installed garuda and update breaks the system

im not sure if this is an apropiate post but i installed garuda dragonized a couple hours ago and every time update, sudo pacman -Sy then sudo pacman -Syu and reboot garuda breaks.
when i reboot it gets to terminate plymouth and screen freezes and the only solution i found was to enter tty2 reboot and use a working snapshot

any ideas on how to fix? or any knowledge of any broken package that might be breaking the system?

thx in advance and sorry if this is inapropiate post

Hi there, welcome!
Please provide from your working snapshot the output of your inxi -Faz (from terminal, or using the apposite Garuda Assistant functionality)

1 Like

this is the output of inxi -Faz

System: Kernel: 5.14.14-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/[email protected]053539601/boot/vmlinuz-linux-zen
root=UUID=87e45719-623e-4569-b975-54d7bec4e7cf quiet splash rd.udev.log_priority=3
vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 loglevel=3
rootflags=defaults,noatime,space_cache,autodefrag,compress=zstd,discard=async,ssd,subvol=restore_backup
@_053539601
Desktop: KDE Plasma 5.23.2 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM
Distro: Garuda Linux base: Arch Linux
Machine: Type: Desktop Mobo: ASUSTeK model: P8Z77-V v: Rev 1.xx serial:
UEFI: American Megatrends v: 0704 date: 02/14/2012
CPU: Info: Quad Core model: Intel Core i5-2300 bits: 64 type: MCP arch: Sandy Bridge family: 6
model-id: 2A (42) stepping: 7 microcode: 2F cache: L2: 6 MiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 bogomips: 23076
Speed: 3031 MHz min/max: 1600/3100 MHz Core speeds (MHz): 1: 3031 2: 3032 3: 2236 4: 2106
Vulnerabilities: Type: itlb_multihit status: KVM: VMX unsupported
Type: l1tf mitigation: PTE Inversion
Type: mds mitigation: Clear CPU buffers; SMT disabled
Type: meltdown mitigation: PTI
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: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: NVIDIA GK208B [GeForce GT 730] vendor: ASUSTeK driver: nvidia v: 470.74
alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:1287 class-ID: 0300
Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: loaded: nvidia
unloaded: modesetting alternate: fbdev,nouveau,nv,vesa display-ID: :0 screens: 1
Screen-1: 0 s-res: 2732x768 s-dpi: 84 s-size: 826x232mm (32.5x9.1") s-diag: 858mm (33.8")
Monitor-1: VGA-0 res: 1366x768 hz: 60 dpi: 85 size: 410x230mm (16.1x9.1") diag: 470mm (18.5")
Monitor-2: HDMI-0 res: 1366x768 hz: 60 dpi: 85 size: 410x230mm (16.1x9.1") diag: 470mm (18.5")
OpenGL: renderer: NVIDIA GeForce GT 730/PCIe/SSE2 v: 4.6.0 NVIDIA 470.74 direct render: Yes
Audio: Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20 class-ID: 0403
Device-2: NVIDIA GK208 HDMI/DP Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
bus-ID: 01:00.1 chip-ID: 10de:0e0f class-ID: 0403
Sound Server-1: ALSA v: k5.14.14-zen1-1-zen running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: no
Sound Server-4: PipeWire v: 0.3.39 running: yes
Network: Device-1: Intel 82579V Gigabit Network vendor: ASUSTeK P8P67 Deluxe driver: e1000e v: kernel
port: f040 bus-ID: 00:19.0 chip-ID: 8086:1503 class-ID: 0200
IF: eno1 state: down mac:
Device-2: Qualcomm Atheros AR9287 Wireless Network Adapter driver: ath9k v: kernel
bus-ID: 03:00.0 chip-ID: 168c:002e class-ID: 0280
IF: wlp3s0 state: up mac:
Drives: Local Storage: total: 2.04 TiB used: 16.58 GiB (0.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: DT01ACA200 size: 1.82 TiB block-size:
physical: 4096 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 7200 serial: rev: ABB0
scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Kingston model: SA400S37240G size: 223.57 GiB block-size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: rev: 0105 scheme: GPT
Partition: ID-1: / raw-size: 106.68 GiB size: 106.68 GiB (100.00%) used: 16.24 GiB (15.2%) fs: btrfs
dev: /dev/sdb5 maj-min: 8:21
ID-2: /boot/efi raw-size: 498 MiB size: 497 MiB (99.79%) used: 346.1 MiB (69.7%) fs: vfat
dev: /dev/sdb1 maj-min: 8:17
ID-3: /home raw-size: 106.68 GiB size: 106.68 GiB (100.00%) used: 16.24 GiB (15.2%) fs: btrfs
dev: /dev/sdb5 maj-min: 8:21
ID-4: /var/log raw-size: 106.68 GiB size: 106.68 GiB (100.00%) used: 16.24 GiB (15.2%)
fs: btrfs dev: /dev/sdb5 maj-min: 8:21
ID-5: /var/tmp raw-size: 106.68 GiB size: 106.68 GiB (100.00%) used: 16.24 GiB (15.2%)
fs: btrfs dev: /dev/sdb5 maj-min: 8:21
Swap: Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 4 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sdb4
maj-min: 8:20
ID-2: swap-2 type: zram size: 7.72 GiB used: 2 MiB (0.0%) priority: 100 dev: /dev/zram0
Sensors: System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 52 C
Fan Speeds (RPM): N/A
Info: Processes: 224 Uptime: 13m wakeups: 0 Memory: 7.72 GiB used: 2.72 GiB (35.2%) Init: systemd
v: 249 tool: systemctl Compilers: gcc: 11.1.0 Packages: pacman: 1144 lib: 273 Shell: fish
v: 3.3.1 default: Bash v: 5.1.8 running-in: konsole inxi: 3.3.08

Also, please press ESC and see if there any error messages during boot.

So this could be the reason (and hopefully the solution):

im currently updating the system again when its finished i'll remove the 490 dkms and try to install 470 and update the thread with the results,
also i was messing around with artix linux earlier today and nvidia drivers wouldn't run so it might be the same issue althought artix would boot without a graphic driver

EDIT: i tried to remove the 490 drivers and install 470 with pacman beacause garuda hardware configuration only allows me to use 390xx and i couldnt uninstall dkms utils or settings because it would break garuda dependecies any way to bypass this? or should i?
i really dont want to use 390 but if its the only option so be it

btw this is the output of pacman

sudo pacman -R nvidia-dkms nvidia-utils nvidia-settings

checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing nvidia-utils breaks dependency 'nvidia-utils' required by garuda-nvidia-config
:: removing nvidia-settings breaks dependency 'nvidia-settings' required by garuda-nvidia-config
:: removing nvidia-dkms breaks dependency 'nvidia-dkms' required by garuda-nvidia-config
:: removing nvidia-utils breaks dependency 'nvidia-utils' required by lib32-nvidia-utils
:: removing nvidia-utils breaks dependency 'nvidia-utils' required by python-py3nvml

also trying to install 470xx without removing the latest drivers gives me this error

sudo pacman -S nvidia-470xx-dkms nvidia-470xx-utils
resolving dependencies...
looking for conflicting packages...
:: nvidia-470xx-utils and nvidia-utils are in conflict (nvidia-libgl). Remove nvidia-utils? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing nvidia-utils breaks dependency 'nvidia-utils=495.44' required by nvidia-dkms

What about the workaround here?

im not really familiar with paru i managed to select dkms utils and settings and gives me conflicts with the updated drivers and i need to review them manually not sure how to do it when i choose Y at proceed to review it seems to give me further information on the actions paru will do and im not sure how to proceed

here's the output just in case

:: Conflicts found:
lib32-nvidia-470xx-utils: lib32-nvidia-utils (lib32-nvidia-libgl) lib32-nvidia-utils
libxnvctrl-470xx: libxnvctrl
nvidia-470xx-settings: nvidia-settings
nvidia-470xx-utils: nvidia-utils (nvidia-libgl) nvidia-utils (nvidia-libgl) nvidia-utils

:: Conflicting packages will have to be confirmed manually

Repo Make (1) gtk2-2.24.33-2
Aur (3) nvidia-470xx-utils-470.86-2 (nvidia-470xx-utils nvidia-470xx-dkms) lib32-nvidia-470xx-utils-470.86-1
nvidia-470xx-settings-470.86-1 (libxnvctrl-470xx nvidia-470xx-settings)

:: Proceed to review? [Y/n]:

After scrolling the PKGBUILD press button 'q' to quit the review and it should proceed

paru finished making nvidia-470xx-utils and asks me to remove nvidia-utils when i select Y to remove it it gives me this output

==> Cleaning up...
loading packages...
resolving dependencies...
looking for conflicting packages...
:: nvidia-470xx-utils and nvidia-utils are in conflict (nvidia-libgl). Remove nvidia-utils? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing nvidia-utils breaks dependency 'nvidia-utils=495.44' required by nvidia-dkms
loading packages...
resolving dependencies...
looking for conflicting packages...
:: nvidia-470xx-utils and nvidia-utils are in conflict (nvidia-libgl). Remove nvidia-utils? [y/N]

EDIT: if i choose N as an answer it gives me this error

:: nvidia-470xx-utils and nvidia-utils are in conflict (nvidia-libgl). Remove nvidia-utils? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: nvidia-470xx-utils and nvidia-utils are in conflict
error: packages failed to build: lib32-nvidia-470xx-utils-470.86-1 nvidia-470xx-settings-470.86-1 (libxnvctrl-470xx nvidia-470xx-settings)

Sorry, I'm lost...
I hope someone will know better.
By-the-way, wasn't nvidia-utils removed with the first command paru -Rsu nvidia-{dkms,settings,utils}?

paru -Rsu nvidia-{dkms,settings,utils}
did nothing i guess and no worries you have been of great help and your patience is great
im gonna try to use 390xx drivers that garuda hardware configuration allows me to do

btw here's the output of paru -rsu just in case
checking dependencies...
warning: removing nvidia-utils from target list
warning: removing nvidia-settings from target list
warning: removing nvidia-dkms from target list
warning: removing dkms from target list
warning: removing libxnvctrl from target list
there is nothing to do

EDIT:tried to use hardware configuration to install 390xx-dkms fails too
with this output

Starting

Using config 'video-nvidia-390xx-dkms' for device: 0000:01:00.0 (0300:10de:1287) Display controller nVidia Corporation GK208B [GeForce GT 730]

Error: config 'video-nvidia-390xx-dkms' conflicts with config(s): video-nvidia-dkms

What if you restore the snapshot (but maybe it's not necessary) to stay with nvidia v: 470.74 then edit /etc/pacman.conf adding to the IgnorePkg all your nvidia packages as a space-separated list?
Then you should be able to update without this issue occurring again.

5 Likes

I just did that and rebooted the error doesnt seem to be gpu related now it showed tty1 and displays

Setfont: KDFONTOP: Function not implemented

Im currently in tty2 and im able to enter commands but im dumbfounded with the error now i have no idea whats the problem/cause

edit: ive checked that gpu drivers are installed and working and im currently running nvidia-utils 470.74-1 so it must be another package breaking after update

This could be the problem.
You were still booted into the snapshot but hadn't restored it with the Garuda Assistant / Snapper functions probably.
Try booting again from that snapshot and restore as mentioned above the same snapshot.
Then reboot.
If working and you don't see anymore the BOOT_IMAGE as above, try repeating the pacman.conf

3 Likes

Only snapshot i could get working was first one i can acess snapshot number 7 ive got about 15 snapshot if im not mistaken

Gives me an error: error deactivate plymouth

And after booting gives me a pop up saying

Configuration file /var/sddm/.config/sddm-greeterrc" not writable
Please contact your system administrator

I've restored it and upon booting the restored snap i updated the system ignoring nvidia-dkms nvidia-utils nvidia-settings opencl-nvidia-utils lib32-opencl-nvidia lib32-nvidia-utils

While updating dkma remove nvidia -v 470.74
from zen kernel

Output dkms remove --no-depmod -m nvidia -v 470.74 -k 5.14.14zen1-1-zen

and installed nvidia/470.74 in zen kernel

Output dkms install --no-depmod nvidia/470.74 -k 5.15.2-zen1-1-zen

Then i rebooted garuda its working

Thanks a lot filo you nailed the problem it was the gpu driver i really aprecciate your help and it worked finally props to you my man

3 Likes

Good job!
Something tells me that it has been for you either a long night or an early wake-up :wink:

5 Likes

7:56 am right now been here since like 4 and you too so props to you and thank you So much for the patience and help you're the best filo :slight_smile:

4 Likes

i had the same problem.
i manually uninstalled the nvidia-dkms and all the other listed packages with the 470 driver number (before updating to the 495) in the "pacman -Qs nvidia" list in terminal and after that i used garuda assistant to automatically choose the driver for me and it chose the 390 series for my kepler cards and then i updated and rebooted no problem.

i did this to avoid having a permanently modded pacman.conf file and prevent further updating issues.

i hope this helps a bit =-)

3 Likes

This type of issues is the very reason why Linus Torvalds had to do this Aalto Talk with Linus Torvalds [Full-length] - YouTube

Nvidia GPUs and Linux are really not a good combination. After 9 years since the video's release, nothing really changed, Nvidia continues to be a problem with Linux.

For anyone who is new with Linux, choosing AMD for graphics is the sane choice to make.

6 Likes