ublue-os / bazzite

Bazzite is a custom image built upon Fedora Atomic Desktops that brings the best of Linux gaming to all of your devices - including your favorite handheld.
https://bazzite.gg
Apache License 2.0
3.63k stars 212 forks source link

Booting Bazzite-Deck hangs on 39.20240130.0. #726

Closed vagrantwinds closed 7 months ago

vagrantwinds commented 7 months ago

Describe the bug

What did you expect to happen?

Output of rpm-ostree status

/var/home/vagrantwinds
❯ rpm-ostree status
State: idle
Deployments:
  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:latest
                   Digest: sha256:3899a7b5bacd5419656c2008c938b93d2789499939b7a49874b52cff9fb35876
                Timestamp: 2024-01-31T05:45:08Z
                     Diff: 23 upgraded
          LayeredPackages: blivet-gui btrfs-assistant edk2-ovmf qemu virt-manager virt-viewer
            LocalPackages: lact-0.5.2-0.x86_64
                Initramfs: '-I /etc/crypttab /etc/modprobe.d/amdgpu.conf /etc/modprobe.d/deck-blacklist.conf'

● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:latest
                   Digest: sha256:e179d5c8b5f91d241d6ad748224fe7a8b7098147f411007e1a7f63a941b94e7c
                Timestamp: 2024-01-30T08:57:28Z
          LayeredPackages: blivet-gui btrfs-assistant edk2-ovmf qemu virt-manager virt-viewer
            LocalPackages: lact-0.5.2-0.x86_64
                Initramfs: '-I /etc/crypttab /etc/modprobe.d/amdgpu.conf /etc/modprobe.d/deck-blacklist.conf'
                   Pinned: yes

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:latest
                   Digest: sha256:733e20c1ca4264a570b7c91cb24e3c85e4db2b1320ca314d73a6e69dbb804430
                Timestamp: 2024-01-27T02:02:29Z
          LayeredPackages: blivet-gui btrfs-assistant edk2-ovmf qemu virt-manager virt-viewer
            LocalPackages: lact-0.5.2-0.x86_64
                Initramfs: '-I /etc/crypttab /etc/modprobe.d/amdgpu.conf /etc/modprobe.d/deck-blacklist.conf'
                   Pinned: yes

Hardware

❯ cat /sys/devices/virtual/dmi/id/product_name
Jupiter

/var/home/vagrantwinds
❯ fastfetch
             .',;::::;,'.                 vagrantwinds@vwdeck-bazzite
         .';:cccccccccccc:;,.             ---------------------------
      .;cccccccccccccccccccccc;.          OS: Fedora Linux 39 (Kinoite) x86_64
    .:cccccccccccccccccccccccccc:.        Host: Jupiter (1)
  .;ccccccccccccc;.:dddl:.;ccccccc;.      Kernel: 6.6.14-201.fsync.fc39.x86_64
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.     Uptime: 7 mins
.:ccccccccccccc;KMMc;cc;xMMc;ccccccc:.    Packages: 2776 (rpm), 174 (flatpak), 183 (brew)
,cccccccccccccc;MMM.;cc;;WW:;cccccccc,    Shell: fish 3.7.0
:cccccccccccccc;MMM.;cccccccccccccccc:    Display (ANX7530 U): 1280x800 @ 60Hz [Built-in]
:ccccccc;oxOOOo;MMM000k.;cccccccccccc:    DE: KDE Plasma 5.27.10
cccccc;0MMKxdd:;MMMkddc.;cccccccccccc;    WM: KWin (Wayland)
ccccc;XMO';cccc;MMM.;cccccccccccccccc'    WM Theme: CatppuccinFrappe-Classic
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;     Theme: Breeze (CatppuccinFrappeBlue) [QT], Vapor [GTK2], Catppuccin-Frappe-Standard-Blue-dark [GTK3/4]
ccccc;0MNc.ccc.xMMd;ccccccccccccccc;      Icons: breeze-dark [QT], breeze-dark [GTK3/4]
cccccc;dNMWXXXWM0:;cccccccccccccc:,       Font: IBM Plex Sans (11pt) [QT], IBM Plex Sans (11pt) [GTK3/4]
cccccccc;.:odl:.;cccccccccccccc:,.        Cursor: Catppuccin-Frappe-Blue (24px)
ccccccccccccccccccccccccccccc:'.          Terminal: konsole 23.8.4
:ccccccccccccccccccccccc:;,..             CPU: AMD Custom 0405 (8) @ 2,80 GHz
 ':cccccccccccccccc::;,.                  GPU: AMD Custom GPU 0405
                                          Memory: 3,36 GiB / 14,47 GiB (23%)
                                          Swap: 0 B / 4,00 GiB (0%)
                                          Disk (/run/media/vagrantwinds/Bazzite-SD1): 769,02 GiB / 953,55 GiB (81%) - btrfs
                                          Disk (/run/media/vagrantwinds/Windows11-OS): 214,22 GiB / 256,00 GiB (84%) - fuseblk
                                          Disk (/sysroot): 1,40 TiB / 1,61 TiB (87%) - btrfs [Read-only]
                                          Local IP (enp4s0f3u1u1): REDACTED
                                          Battery: 100% [Full]
                                          Locale: en_DK.UTF-8

Extra information or context

The first entry listed there in rpm-ostree status fails to boot. The second (and third) entries boot with no issue.

Might be potentially related to https://github.com/ublue-os/bazzite/issues/724 ? Only in my case the Steam Deck refuses to boot into Gaming Mode/Bazzite-OS at all, instead of booting but into Desktop Mode like their issue. But the build where the issue happens and the inability to boot into Gaming Mood seems to be related?

vagrantwinds commented 7 months ago

PEBCAK/PICNIC Error.

I had forgotten I had edited /etc/passwd last night to fix the prompt error of showing var/home/username in terminal instead of just ~ due to a default config error in silverblue/kinoite. Changing the user line from /home/username to /var/home/username fixes this.

My dumb self typo'd and forgot the / in front of var. And thanks to the quirks of read-only file systems I can't modify that change on that deployment, only the previous one.

Never mess with config files when half-asleep (especially when you don't remember you messed with them till hours later). I apologize for the bug report made in error.

Example of the intended ~ (home) line and no /var/home/username in terminal post editing /etc/passwd and fixing my PICNIC Error: Screenshot_20240131_104023