ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3.17k stars 213 forks source link

Gamescope process hangs when all applications die #1615

Open MCPO-Spartan-117 opened 2 weeks ago

MCPO-Spartan-117 commented 2 weeks ago

Is there an existing issue for this?

Are you using any gamescope patches or a forked version of gamescope?

Current Behavior

Started from commit: a493c58773c774c832ef426b5712b6f20629ee12 Gamescope hangs when all applications die, killing the only application results in gamescope's window dying but the process is still going, in embedded the display doesn't come back until killing gamescope. Couldn't test SDL at all in Wayland for some reason.

Steps To Reproduce

  1. Start gamescope with application
  2. Kill application
  3. Gamescope hangs

Hardware information

- Distro: `Artix`
- CPU: `i7-7700K`
- GPU: `RX 6700XT`
- Driver Version: `Mesa 24.2.3 (git-ebd2c2e668) (LLVM 18.1.8)`

Software information

- Desktop environment: `Hyprland`, `TTY`
- Session type: `wayland`, `embedded`
- Gamescope version: `gamescope version 3.15.9-21-g7dd1bcd9 (gcc 14.2.1)`
- Gamescope launch command(s): `gamescope -- urxvt -bg black -fg blue +sb`, `gamescope -- vkcube`

Which gamescope backends have the issue you are reporting?

Logging, screenshots, or anything else

temp.log

matte-schwartz commented 1 week ago

I'm not quite sure why, but attempting to attach gamescopestream seems to cause gamescope to shut down without sending a terminate signal when it's in this state. I tried re-building gamescope without pipewire enabled to see if maybe that would change the hang, but it had no effect.