ublue-os / bazzite

Bazzite is a cloud native 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
4.09k stars 250 forks source link

Gaming Mode (gamescope) does not launch #1891

Open TKash123 opened 1 week ago

TKash123 commented 1 week ago

Describe the bug

I'm no tech expert so I'm not sure If I happen to make a mistake here. I did a fresh new install of Bazzite on a PC I was saving up for so I can use it as a powerful console like experience. I made sure I bought a PC that had AMD processor and GPU so that the PC would have no issues logging into gaming mode. But gaming mode does not appear to work on my PC.

What did you expect to happen?

I'm on the KDE Plasma version of bazzite. I see the icon to press to go to gaming mode, I click it, it logs me out, and then It takes me back to desktop mode again.

Additionally, when I restart my PC it takes a long time before the desktop shows up, almost as if it tries to have multiple attempts to log into game mode, fails and then it just default to go back to desktop mode.

Output of rpm-ostree status

State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable
                   Digest: sha256:beb1e4fd88b0d9d97049cf0ea391514e7e135a48db56c516e255b3aff2bb24e1
                  Version: 41.20241029.1 (2024-10-29T18:14:07Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable
                   Digest: sha256:beb1e4fd88b0d9d97049cf0ea391514e7e135a48db56c516e255b3aff2bb24e1
                  Version: 41.20241029.1 (2024-10-29T18:14:07Z)

Hardware

For my hardware I have a 24 × AMD Ryzen 9 7900X3D 12-Core Processor, AMD Radeon Graphics (I believe this is the internal gpu), and ryzen 7900 xtx gpu

Extra information or context

Below I'm going to paste the .gamescope-stdout.log file. I think that might give more context on any issue.

[gamescope] [Info] console: gamescope version 056b79e+ (gcc 14.2.1) [gamescope] [Info] scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts' [gamescope] [Info] scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope' [gamescope] [Info] scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope/common' [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/common/inspect.lua' (id: 0) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/common/modegen.lua' (id: 1) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/common/util.lua' (id: 2) [gamescope] [Info] scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope/displays' [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/asus.rogally.lcd.lua' (id: 3) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/deckhd.steamdeck.deckhd-lcd.lua' (id: 4) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/gpd.win4.lcd.lua' (id: 5) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/valve.steamdeck.lcd.lua' (id: 6) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/valve.steamdeck.oled.lua' (id: 7) [gamescope] [Info] scriptmgr: Loading scripts from: '/etc/gamescope/scripts' [gamescope] [Warn] scriptmgr: Directory '/etc/gamescope/scripts' does not exist [gamescope] [Info] scriptmgr: Loading scripts from: '/home/tabish/.config/gamescope/scripts' [gamescope] [Warn] scriptmgr: Directory '/home/tabish/.config/gamescope/scripts' does not exist ATTENTION: default value of option vk_xwayland_wait_ready overridden by environment. ATTENTION: default value of option vk_xwayland_wait_ready overridden by environment. ATTENTION: default value of option vk_xwayland_wait_ready overridden by environment. ATTENTION: default value of option vk_xwayland_wait_ready overridden by environment. ATTENTION: default value of option vk_xwayland_wait_ready overridden by environment. [gamescope] [Info] vulkan: selecting physical device 'AMD Radeon Graphics (RADV RAPHAEL_MENDOCINO)': queue family 1 (general queue family 0) [gamescope] [Info] vulkan: physical device supports DRM format modifiers [Gamescope WSI] Forcing on VK_EXT_swapchain_maintenance1. [gamescope] [Info] wlserver: [backend/headless/backend.c:67] Creating headless backend [gamescope] [Info] wlserver: [libseat] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory [gamescope] [Info] wlserver: [libseat] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping [gamescope] [Info] wlserver: [libseat] [libseat/libseat.c:73] Seat opened with backend 'logind' [gamescope] [Info] wlserver: [backend/session/session.c:108] Successfully loaded libseat session [gamescope] [Info] drm: opening DRM node '/dev/dri/card2' [gamescope] [Error] drm: Immediate flips disabled from environment [gamescope] [Info] drm: Connector HDMI-A-2 -> TCL - TCL [gamescope] [Info] drm: [colorimetry]: EDID with colorimetry detected. Using it [gamescope] [Info] drm: [colorimetry]: r 0.625000 0.339844 [gamescope] [Info] drm: [colorimetry]: g 0.280273 0.594727 [gamescope] [Info] drm: [colorimetry]: b 0.155273 0.070312 [gamescope] [Info] drm: [colorimetry]: w 0.283203 0.297852 [gamescope] [Info] drm: Connector HDMI-A-2 -> TCL - TCL [gamescope] [Info] drm: [colorimetry]: EDID with colorimetry detected. Using it [gamescope] [Info] drm: [colorimetry]: r 0.625000 0.339844 [gamescope] [Info] drm: [colorimetry]: g 0.280273 0.594727 [gamescope] [Info] drm: [colorimetry]: b 0.155273 0.070312 [gamescope] [Info] drm: [colorimetry]: w 0.283203 0.297852 [gamescope] [Info] drm: Connectors: [gamescope] [Info] drm:gamescope [gamescope] [Info] drm: HDMI-A-2 (connected) [gamescope] [Info] drm: selecting connector HDMI-A-2 [gamescope] [Info] drm: selecting mode 1920x1080@60Hz [gamescope] [Info] vulkan: supported DRM formats for sampling usage: [gamescope] [Info] vulkan:gamescope [gamescope] [Info] vulkan:gamescope [gamescope] [Info] vulkan:gamescope [gamescope] [Info] vulkan:gamescope [gamescope] [Info] vulkan:gamescope [gamescope] [Info] vulkan:gamescope [gamescope] [Info] vulkan:gamescope [gamescope] [Info] vulkan:gamescope [gamescope] [Info] vulkan:gamescope [gamescope] [Info] vulkan:gamescope [gamescope] [Info] vulkan:gamescope [gamescope] [Info] vulkan:gamescope [gamescope] [Info] vulkan:gamescope [gamescope] [Info] vulkan:gamescope [gamescope] [Info] wlserver: Using explicit sync when available [gamescope] [Info] wlserver: Running compositor on wayland display 'gamescope-0' [gamescope] [Info] wlserver: [backend/headless/backend.c:17] Starting headless backend [gamescope] [Info] wlserver: Successfully initialized libei for input emulation! [gamescope] [Info] wlserver: [xwayland/server.c:107] Starting Xwayland on :0 [gamescope] [Info] wlserver: [xwayland/server.c:107] Starting Xwayland on :1 [gamescope] [Info] pipewire: stream state changed: connecting [gamescope] [Info] pipewire: stream state changed: paused [gamescope] [Info] pipewire: stream available on node ID: 42 [gamescope] [Info] xwm: Embedded, no cursor set. Using left_ptr by default. [gamescope] [Info] xwm: Embedded, no cursor set. Using left_ptr by default. [gamescope] [Info] vblank: Using timerfd. [gamescope] [Info] edid: Wrote new edid to: /home/tabish/.config/gamescope/edid.bin [gamescope] [Info] wlserver: Updating mode for xwayland server #0: 1920x1080@60 [gamescope] [Warn] xwm: got the same buffer committed twice, ignoring. The XKEYBOARD keymap compiler (xkbcomp) reports:

Warning: Unsupported maximum keycode 708, clipping. X11 cannot support keycodes above 255. Warning: Could not resolve keysym XF86KbdInputAssistPrevgrou Warning: Could not resolve keysym XF86KbdInputAssistNextgrou Errors from xkbcomp are not fatal to the X server The XKEYBOARD keymap compiler (xkbcomp) reports: Warning: Unsupported maximum keycode 708, clipping. X11 cannot support keycodes above 255. Warning: Could not resolve keysym XF86KbdInputAssistPrevgrou Warning: Could not resolve keysym XF86KbdInputAssistNextgrou Errors from xkbcomp are not fatal to the X server [gamescope] [Info] edid: Wrote new edid to: /home/tabish/.config/gamescope/edid.bin radv: Updated the per-vertex VRS rate to '0'. (EE)(EE) failed to read Wayland events: Connection reset by peer failed to read Wayland events: Broken pipe [gamescope] [Error] drm: drmModeRmFB failed: Bad file descriptor [gamescope] [Error] drm: drmModeRmFB failed: Bad file descriptor [gamescope] [Error] drm: drmModeRmFB failed: Bad file descriptor [gamescope] [Error] drm: drmModeRmFB failed: Bad file descriptor