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.07k stars 249 forks source link

[Game Mode] Steam crash on game exit with Game Recording #1862

Open AkazaRenn opened 2 weeks ago

AkazaRenn commented 2 weeks ago

Describe the bug

Steam crashes once the game is closed. gamescope-wl process restarts, together with all Steam processes.

What did you expect to happen?

No crash on exiting the game.

Output of rpm-ostree status

bazzite-deck:stable 41.20241104 (2024-11-04T05:01:16Z)

Hardware

Ryzen 7800X3D with Radeon 6950XT

Extra information or context

No response

quuinnn commented 2 weeks ago

Same issue here on my Steam Deck LCD 512. Been happening since the latest Steam update.

Heres the result of rpm-ostree status on my system

State: idle Deployments: ● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck-gnome:stable Digest: sha256:0c40b912f034c9297e76125dea2d0a3417b46a3391dd9fe77dda7ba8875cd762 Version: 41.20241104 (2024-11-04T04:59:55Z) LayeredPackages: konsole mullvad-vpn

ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck-gnome:stable Digest: sha256:7e9af0bc63e8c608efb66ed32da3af4660f3dee108892109fde12a697a962c79 Version: 41.20241030 (2024-10-31T01:21:40Z) LayeredPackages: konsole mullvad-vpn

edit: fixed it by turning off background recording

davetansley commented 2 weeks ago

I get the same thing as well, also "cured" by turning off game recording.

It does seem to be recording something, as there are files created in the gamerecording directory (specified in desktop Steam settings), but they don't show up as clips or recordings on the game's Steam page in GameMode.

di-egoalv commented 1 week ago

I have the same exact problem. Also, creating clips with the Steam Button + Right D-Pad triggers a sound but doesn't record any clip at all. This used to work properly before, even using the Steam Beta. Only way to stop the crashing is disabling Background recording altogether.

fsworld009 commented 5 days ago

Observed the same issue on Bazzite installed on my GPD Win 4 2023 while the recording feature on stock SteamOS on my Steam Deck works fine. Both running stable Steam clients.

grepped gamescope packages on both systems for reference:

SteamOS

sudo pacman -Qs | grep gamescope
local/gamescope 3.15.14-1
local/lib32-gamescope 3.14.11-1

Bazzite

rpm -qa | grep gamescope
gamescope-libs-100\.3.15.11-12.bazzite.x86_64
gamescope-libs-100\.3.15.11-12.bazzite.i686
gamescope-100\.3.15.11-12.bazzite.x86_64
gamescope-shaders-0.0.git.7.6f5cb623-1.fc41.noarch
gamescope-session-plus-0.0.git.348.5b744a85-1.fc41.noarch
gamescope-session-steam-0.0.git.19.eb6c2f9f-1.fc41.noarch

Not sure if we need to upgrade gamescope to 3.15-14 on Bazzite.

fsworld009 commented 3 days ago

Updated system today.

rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable
                   Digest: sha256:98522d63341192410178052962a2cb6084209fedb0c1a2909d6f46e76512fbc4
                  Version: 41.20241118.2 (2024-11-19T02:58:01Z)

rpm -qa | grep gamescope
gamescope-libs-100\.3.15.11-14.bazzite.x86_64
gamescope-libs-100\.3.15.11-14.bazzite.i686
gamescope-100\.3.15.11-14.bazzite.x86_64
gamescope-shaders-0.0.git.7.6f5cb623-1.fc41.noarch
gamescope-session-plus-0.0.git.348.5b744a85-1.fc41.noarch
gamescope-session-steam-0.0.git.19.eb6c2f9f-1.fc41.noarch

Clip feature seems works fine now, I can see the clip is saved in Media page after hitting Home+Dpad right, and can export it normally (tried sending the clip to my other laptop). However, Steam client will still crash after exiting a game.