System fails to start sometimes

I am using CachyOS with systemd-boot bootloader, greetd-tuigreet greeter and bcachefs partition.

For past, I’d say, month or two, sometimes system does not want to show tuigreet UI and the only solution is to reboot and hope it won’t happen again.

Boot process passes systemd-boot, then I see CachyOS plymouth logo, and then there should be tuigreet UI but instead I see black screen of nothingness. When I tap any button on my keyboard, the screen is refreshed and I see blinking cursor on top-left, but it’s not interactive shell - no commands give any effect. Also, changing to tty2-9 does not help either, though the contents of the screen is changed (clean blinking cursor screen/screen with tapped buttons on tty1).

After I got logged in successfully, I grabbed the log from journalctl -b -1 but even with that I don’t understand what exactly is wrong, nothing particularly stands out.

(I’d add a logfile to a post but it seems like forum does not support adding files?)

Here’s the log: июн 28 19:06:25 cachyos kernel: Linux version 7.1.1-2-cachyos (linux-cachyos@cac - Pastebin.com

Have you tried to disable greetd to see if the problem persists?

systemctl disable greetd

If the same boot issue persists you can eliminate greetd and tuigreet from suspicion and then enable it again.

If the boot issue doesn’t occur again then it’ll give us a target to take a closer look at.

For my money though this doesn’t sound like a greetd issue.

Have you tried searching the forum yet?

~Thanks, tried disabling the igpu, we’ll see if it helps~

Nope, this didn’t help. Still happens every second time.

The list of threads above shows different solutions in each time - pacman conflicts, some llvm stuff (to make sure I tried booting with -gcc kernel and still got the same results), ~/.cache cleanup, etc. Nothing of this seem related.

Regarding greetd.service, I’d expect it to crash or log anything, but lournalctl doesn’t show any errors from it, so I suspect it’s not the one who’s causing this behavior.