Pacman -Syu, reboot, no sddm

Hi! I’ve came back from holidays today, a small week.
I log into my working desktop, and check a few things.
I do a usual “sudo pacman -Syu” as I’m used to when logging in, and a lot of packages update. CachyOS prompts me to reboot, which I do.
I see the systemd terminal log then… nothing. Black screen. Ctrl+Alt+F3 doesnt give me the usual tty… just nothing.
Not my first arch breaking; so I use my live usb to boot and arch-chroot and pacman -Syu to see if any issues are to be seen.
I have a packagekit gdbus error; okay i remove it. pacman finishes. I reinstall sddm in case with a “pacman -S sddm” and it finished successfully, prompting me that theres a duplicate file already.
Everything seems in order.
Still not booting into SDDM.

Wayland KDE Plasma on a recent OS. NVMe drive with 5800x3D and Nvidia drivers for a 3090.

Any help is welcome

Because it usually is, I would assume the nvidia drivers are to blame.
Therefore, try an earlier kernel (like LTS).

I had a similar problem. In my case it seemed to be an issue with the newest nvidia driver release (570.124). I was able to boot using integrated graphics. Downgrading to 570.86 resolved the problem.

journalctl -b showed a series of “flip event” errors that end in a failure to provide atomic modeset (error code -22)

I cant even reinstall the nvidia package

No idea whats up

I cant even downgrade; it gives me an endless stream of “breaks dependency”
[root@CachyOS /]# sudo downgrade nvidia
loading packages…
warning: downgrading package nvidia (570.124.04-1 => 570.86.16-7)
resolving dependencies…
looking for conflicting packages…
error: failed to prepare transaction (could not satisfy dependencies)
:: installing nvidia-utils (570.86.16-1) breaks dependency ‘nvidia-utils=570.124.04’ required by lib32-nvidia-utils
:: installing nvidia-utils (570.86.16-1) breaks dependency ‘nvidia-utils=570.124.04’ required by linux-cachyos-nvidia-open

additionally; kwin segfaults according to journalctl

and I have constant “fatal library error” whenever using pacman for the slightest thing
sudo pacman -S kwin
warning: kwin-6.3.2.1-2 is up to date – reinstalling
resolving dependencies…
looking for conflicting packages…

Package (1) Old Version New Version Net Change

cachyos-v3/kwin 6.3.2.1-2 6.3.2.1-2 0.00 MiB

Total Installed Size: 32.89 MiB
Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [-----------------------------------------------------------------------------] 100%
(1/1) checking package integrity [-----------------------------------------------------------------------------] 100%
(1/1) loading package files [-----------------------------------------------------------------------------] 100%
(1/1) checking for file conflicts [-----------------------------------------------------------------------------] 100%
:: Processing package changes…
(1/1) reinstalling kwin [-----------------------------------------------------------------------------] 100%
:: Running post-transaction hooks…
(1/5) Reloading user manager configuration…
Skipped: Running in chroot.
(2/5) Arming ConditionNeedsUpdate…
(3/5) Updating icon theme caches…
(4/5) Checking which packages need to be rebuilt
fatal library error, lookup self
(5/5) Updating the desktop file MIME type cache…

Please try downgrading with the command below

sudo pacman -U https://archive.cachyos.org/archive/cachyos-v3/{{,lib32-}{nvidia-utils,opencl-nvidia},nvidia-open-dkms}-570.86.16-2-x86_64_v3.pkg.tar.zst

and I have constant “fatal library error” whenever using pacman for the slightest thing

That is normal, when running in chroot.

How many displays you have connected? There has been some reports with the new plasma, that with 4 displays sddm can not start.

In case, it is because sddm running in wayland, you can try:
sudo pacman -R cachyos-kde-settings

Please also check, if you can launch plasma from the tty with:
“startplasma-wayland”

Thanks for the reply!
The command works beyond the dependency issues, but still fails at the initramfs/mkinitcpio part.

→ -k /boot/vmlinuz-linux -g /boot/initramfs-linux-fallback.img -S autodetect
==> Using drop-in configuration file: ‘10-chwd.conf’
==> Starting build: ‘6.13.5-arch1-1’
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [microcode]
→ Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: ‘ast’
→ Running build hook: [modconf]
→ Running build hook: [block]
==> WARNING: Possibly missing firmware for module: ‘wd719x’
==> WARNING: Possibly missing firmware for module: ‘qla2xxx’
==> WARNING: Possibly missing firmware for module: ‘qed’
==> WARNING: Possibly missing firmware for module: ‘aic94xx’
==> WARNING: Possibly missing firmware for module: ‘bfa’
==> WARNING: Possibly missing firmware for module: ‘qla1280’
==> WARNING: Possibly missing firmware for module: ‘xhci_pci_renesas’
→ Running build hook: [keyboard]
→ Running build hook: [keymap]
→ Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
→ Running build hook: [plymouth]
→ Running build hook: [resume]
→ Running build hook: [filesystems]
→ Running build hook: [fsck]
==> ERROR: module not found: ‘nvidia’
==> ERROR: module not found: ‘nvidia_modeset’
==> ERROR: module not found: ‘nvidia_uvm’
==> ERROR: module not found: ‘nvidia_drm’
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: ‘/boot/initramfs-linux-fallback.img’
==> WARNING: errors were encountered during the build. The image may not be complete.
error: command failed to execute correctly
(10/11) Reloading system bus configuration…
Skipped: Running in chroot.
(11/11) Checking which packages need to be rebuilt
fatal library error, lookup self

Thanks for the reply and information!

Unfortunately; I do not have a multi monitor setup. Its a single 3440x1440 screen. I did not remove “cachyos-kde-settings”.

I cannot enter any tty when booting my machine, the alt+F Keys simply do not work and, despite my screen showing its turned on (light up in the dark), the output remains fully black. Which does not enable me to open a tty and enter said command.

In arch-chroot, this is the output of the command.

[root@CachyOS /]# startplasma-wayland
startplasmacompositor: Could not start D-Bus. Can you call qdbus?

Full log (somehow now it allows me to send a pastebin)

Also the mkinitcpio conf

Also, the output of just running “mkinitcpio -P”

additional “inxi -MCGxx” output

full log of “sudo pacman -S nvidia” like shown in the FAQ

cachyos bugreport

Reinstalling over the partitions gives me the same error in Calamares :expressionless:
https://termbin.com/z4uc

That’s strange, can you check dkms status?

hey i had the same problem which occured a week ago that i “fixed” just yesterday, made a post here. my theory is that there was a mesa update that is conflicting with SDDM at the moment, which was NOT updated. this isnt exclusive to arch, it happened on other distro’s for me and others as well! disabling SDDM service (via chroot) and using other DM (e.g. ly) worked for me!

Before doing anything with sddm

[root@CachyOS /]# dkms status
nvidia/570.124.04, 6.13.5-2-cachyos, x86_64: installed

This works but i’m stuck in 1024x768 and without a way to change it in KDE’s options…

❯ sudo lspci -v -s 3d:00.0
[sudo] password for zelie: 
3d:00.0 VGA compatible controller: NVIDIA Corporation GA102 [GeForce RTX 3090] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Device 87b3
        Flags: fast devsel, IRQ 255, IOMMU group 16
        Memory at ee000000 (32-bit, non-prefetchable) [size=16M]
        Memory at 7000000000 (64-bit, prefetchable) [size=32G]
        Memory at 7800000000 (64-bit, prefetchable) [size=32M]
        I/O ports at f000 [size=128]
        Expansion ROM at ef000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Legacy Endpoint, IntMsgNum 0
        Capabilities: [b4] Vendor Specific Information: Len=14 <?>
        Capabilities: [100] Virtual Channel
        Capabilities: [250] Latency Tolerance Reporting
        Capabilities: [258] L1 PM Substates
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [420] Advanced Error Reporting
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Capabilities: [900] Secondary PCI Express
        Capabilities: [bb0] Physical Resizable BAR
        Capabilities: [c1c] Physical Layer 16.0 GT/s <?>
        Capabilities: [d00] Lane Margining at the Receiver
        Capabilities: [e00] Data Link Feature <?>
        Kernel modules: nouveau

the GPU is in use but doesn’t seem to be.

I reran “sudo pacman -Syu” and the other command
sudo pacman -U https://archive.cachyos.org/archive/cachyos-v3/{{,lib32-}{nvidia-utils,opencl-nvidia},nvidia-open-dkms}-570.86.16-2-x86_64_v3.pkg.tar.zst

Yeah, that looks fine to me. You’re booting with the CachyOS kernel right? I saw that you also have Arch’s kernel installed.

Yes I was.

I, however, decided to just install Arch using ALCI and using the KDE configs provided by CachyOS.
Thanks for the wonderful DE; and I will stop bother you all.
Have a good day.

1 Like