ChimeraOS / chimeraos

A Steam Big Picture based couch gaming OS
MIT License
1.67k stars 116 forks source link

Unstable builds do not boot. #923

Closed ClaudeLib closed 6 months ago

ClaudeLib commented 7 months ago

If I choose unstable builds in the installer, the following reboot results in this wall of text:

[FAILED] Failed to start Create Swap File. [DEPEND] Dependency failed for Swap. [FAILED] Failed to start Load/Save OS Random Seed. [FAILED] Failed to start Create Swap File. [DEPEND] Dependency failed for Swap. [FAILED] Failed to start Load/Save OS Random Seed. [FAILED] Failed to start Network Time Synchronization. [FAILED] Failed to start Network Time Synchronization. [FAILED] Failed to start Network Time Synchronization. [FAILED] Failed to start Network Time Synchronization. [FAILED] Failed to start Network Time Synchronization. [FAILED] Failed to start Network Time Synchronization. [FAILED] Failed to listen on GnuPG network certificate management daemon for /etc/pacman.d/gnupg. [FAILED] Failed to listen on GnuPG cryptographic agent and passphrase cache (access for web browsers) for /etc/pacman.d/gnupg. [FAILED] Failed to listen on GnuPG cryptographic agent and passphrase cache (restricted) for /etc/pacman.d/gnupg. [FAILED] Failed to listen on GnuPG cryptographic agent (ssh-agent emulation) for /etc/pacman.d/gnupg. [FAILED] Failed to listen on GnuPG cryptographic agent and passphrase cache for /etc/pacman.d/gnupg. [FAILED] Failed to listen on GnuPG public key management service for /etc/pacman.d/gnupg. [FAILED] Failed to start D-Bus System Message Bus. [DEPEND] Dependency failed for Network Manager. [FAILED] Failed to start User Login Management. [FAILED] Failed to start "Bluetooth workaround". [FAILED] Failed to start Mount removable media on nvme0n1p1. [FAILED] Failed to start Mount removable media on nvme0n1p2. [FAILED] Failed to start Mount removable media on sda1. [FAILED] Failed to start Mount removable media on sda2. [FAILED] Failed to start D-Bus System Message Bus. [FAILED] Failed to start D-Bus System Message Bus. [FAILED] Failed to start User Login Management. [FAILED] Failed to start D-Bus System Message Bus. [FAILED] Failed to start D-Bus System Message Bus. [FAILED] Failed to start D-Bus System Message Bus. [FAILED] Failed to start Avahi mDNS/DNS-SD Stack. [FAILED] Failed to start User Login Management. [FAILED] Failed to start User Login Management. [FAILED] Failed to start D-Bus System Message Bus. [FAILED] Failed to start User Login Management. [FAILED] Failed to start Light Display Manager. [FAILED] Failed to start User Login Management.

Screenshot (or rather photo) of the error in case any typos slipped through the OCR: -2147483648_-210197

Enabling or disabling hardware overrides makes no difference.

My system is all AMD. Motherboard MSI X570-A PRO, firmware 7C37vHM CPU AMD Ryzen 9 5900X GPU AMD Radeon RX 6900 XT

At the moment of the shot I was trying to install the 703cd8c build, but really, I've been trying to install the 46 version for maybe two months and never had any luck. The stable build 9a95912 installs and boots and plays just fine. I considered installing stable and then switching to unstable to see if this works, but the "OS Update Channel" setting in Gamescope only has the "stable" option. I may try install version 46 on my LCDeck and report here.

NeroReflex commented 7 months ago

This is what I investigated yestarday: https://github.com/ChimeraOS/chimeraos/issues/919

ClaudeLib commented 7 months ago

Oh, my bad. If you think this is duplicate, please close it.

NeroReflex commented 7 months ago

No it's fine. Thanks you for your report, it it important for me. I just wanted to reassure you about the fact that we know about it already and we are working to solve it.

ClaudeLib commented 7 months ago

Out of curiosity I tried installing unstable on my LCDeck. Unsurprisingly, the result is the same. If I install stable first and then migrate to unstable (yeah, I figured out how to do it), then on the next boot it flashes this:

[FAILED] Failed to activate swap Swap. [FAILED] Failed to start Network Time Synchronization. [FAILED] Failed to start Network Time Synchronization. [FAILED] Failed to start Network Time Synchronization. [FAILED] Failed to start Network Time Synchronization. [FAILED] Failed to start Network Time Synchronization. [FAILED] Failed to start Network Time Synchronization. [FAILED] Failed to listen on GnuPG network certificate management daemon for /etc/pacman.d/gnupg. [FAILED] Failed to listen on GnuPG cryptographic agent and passphrase cache (access for web browsers) for /etc/pacman.d/gnupg. [FAILED] Failed to listen on GnuPG cryptographic agent and passphrase cache (restricted) for /etc/pacman.d/gnupg. [FAILED] Failed to listen on GnuPG cryptographic agent (ssh-agent emulation) for /etc/pacman.d/gnupg. [FAILED] Failed to listen on GnuPG cryptographic agent and passphrase cache for /etc/pacman.d/gnupg. [FAILED] Failed to listen on GnuPG public key management service for /etc/pacman.d/gnupg.

Then the screen turns black and the input indicator (underscore) blinks endlessly in the upper left corner.

NeroReflex commented 7 months ago

This should fix the problem: https://github.com/ChimeraOS/chimeraos/pull/924 I am a waiting for someone else on the team to merge that and test

ClaudeLib commented 7 months ago

Now I know that the build e2914e1 does not have the changes from the commit #924, I still felt like giving it a try, since the changelog mentions partitions handling. Now the system does boot, but in a strange way. First it shows these lines in some fancy font:

[FAILED] Failed to mount /etc. [DEPEND] Dependency failed for GnuPG cryptographic agent and passphrase cache (restricted) for /etc/pacman.d/gnupg. [DEPEND] Dependency failed for GnuPG cryptographic agent and passphrase cache (access for web browsers) for /etc/pacman.d/gnupg. [DEPEND] Dependency failed for GnuPG public key management service for /etc/pacman.d/gnupg. [DEPEND] Dependency failed for GnuPG cryptographic agent (ssh-agent emulation) for /etc/pacman.d/gnupg. [DEPEND] Dependency failed for GnuPG cryptographic agent and passphrase cache for /etc/pacman.d/gnupg. [DEPEND] Dependency failed for GnuPG network certificate management daemon for /etc/pacman.d/gnupg. [FAILED] Failed to mount /etc. [FAILED] Failed to mount /etc. [FAILED] Failed to mount /etc. [FAILED] Failed to mount /etc. [FAILED] Failed to mount /etc. [FAILED] Failed to mount /etc. [FAILED] Failed to start Create System Users. [FAILED] Failed to activate swap Swap. [FAILED] Failed to start Mount removable media on nvme0n1p1.

After which it clears the screen, shows "Downloading configuration updates..." and boots into Gamescope. I can't switch to desktop though, as it just goes back to Gamescope. Gamescope itself seems to work fine though, as I'm able to log into my Steam account and download and play games.

ruineka commented 7 months ago

Now I know that the build e2914e1 does not have the changes from the commit #924, I still felt like giving it a try, since the changelog mentions partitions handling. Now the system does boot, but in a strange way. First it shows these lines in some fancy font:

[FAILED] Failed to mount /etc. [DEPEND] Dependency failed for GnuPG cryptographic agent and passphrase cache (restricted) for /etc/pacman.d/gnupg. [DEPEND] Dependency failed for GnuPG cryptographic agent and passphrase cache (access for web browsers) for /etc/pacman.d/gnupg. [DEPEND] Dependency failed for GnuPG public key management service for /etc/pacman.d/gnupg. [DEPEND] Dependency failed for GnuPG cryptographic agent (ssh-agent emulation) for /etc/pacman.d/gnupg. [DEPEND] Dependency failed for GnuPG cryptographic agent and passphrase cache for /etc/pacman.d/gnupg. [DEPEND] Dependency failed for GnuPG network certificate management daemon for /etc/pacman.d/gnupg. [FAILED] Failed to mount /etc. [FAILED] Failed to mount /etc. [FAILED] Failed to mount /etc. [FAILED] Failed to mount /etc. [FAILED] Failed to mount /etc. [FAILED] Failed to mount /etc. [FAILED] Failed to start Create System Users. [FAILED] Failed to activate swap Swap. [FAILED] Failed to start Mount removable media on nvme0n1p1.

After which it clears the screen, shows "Downloading configuration updates..." and boots into Gamescope. I can't switch to desktop though, as it just goes back to Gamescope. Gamescope itself seems to work fine though, as I'm able to log into my Steam account and download and play games.

Please try to update to unstable now. It should be fixed.

ClaudeLib commented 7 months ago

Yep, build f120b1c seems to have it fixed now. Except it gives me this on each boot:

[FAILED] Failed to activate swap Swap. [FAILED] Failed to start Mount removable media on nvme0n1p1.

and this on each shutdown:

[FAILED] Failed unmounting /etc.

The good sign was that it immediately asked me to update the Steam client, like stable builds do, and which the build e2914e1 did not do yesterday, despite me manually checking for updates. However, switching to Desktop Mode is a total dice roll, more often than not it just leaves me on a blank screen, which the stable builds did much rarer. Is there maybe a key combo which reboots the system gracefully? Because the power button just sends it to sleep, leaving me with no option other than hard reboot.

ruineka commented 7 months ago

Yep, build f120b1c seems to have it fixed now. Except it gives me this on each boot:

[FAILED] Failed to activate swap Swap. [FAILED] Failed to start Mount removable media on nvme0n1p1.

and this on each shutdown:

[FAILED] Failed unmounting /etc.

The good sign was that it immediately asked me to update the Steam client, like stable builds do, and which the build e2914e1 did not do yesterday, despite me manually checking for updates. However, switching to Desktop Mode is a total dice roll, more often than not it just leaves me on a blank screen, which the stable builds did much rarer. Is there maybe a key combo which reboots the system gracefully? Because the power button just sends it to sleep, leaving me with no option other than hard reboot.

I made some more changes, can you check and see if the boot is seamless now on unstable?

ClaudeLib commented 7 months ago

At first everything was fine, no errors whatsoever. But a couple of reboots later the same messages started popping up, both during startup and shutdown.

ClaudeLib commented 6 months ago

Whoops, totally forgot about this issue. Tried installing latest unstable right now and it seems to boot with no issues, I guess this can be closed. Is there a way to check the boot log? Maybe there still are errors hidden behind that "Downloading configuration updates..." screen.