Steam Deck OLED: gamescope aborts on wlr_seat_keyboard_notify_enter assertion after a hung game is killed, session stays on a frozen frame until power cycle
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- linux
- Área
- operating-systems
Línea de trabajo
Start by reading the attached journal slice and the pending gamescope minidump at /var/lib/steamos-log-submitter/pending/minidump/1794498463-gamescope-wl-1543-None.dmp; the issue also points to related issue #3070 and the wlr_seat_keyboard_notify_enter assertion in wlr_seat_keyboard.c. Trace how the gamescope session handles the power button after the game and Steam client stall. Done means reproducing or explaining the assertion and establishing a recovery path that returns to the library or restarts the session.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Your system information
- Hardware: Steam Deck OLED (DMI product
Galileo, familySephiroth, BIOSF7G0114) - SteamOS 3.9.5 stable, BUILD_ID
20261023.100, no newer Beta or Preview image offered inSettings > System - Kernel
7.2.7-valve2-2-neptune-72-g31504582a073, packagelinux-neptune-72 7.2.7.valve2-2 - gamescope
3.16.30.1-2, Mesa26.1.2.221562.radeonsi_26.1.2-2.1 - Steam client
1794424036 - Opted into Steam client beta?: Yes (
steamdeck_publicbeta) - Opted into SteamOS beta?: No
- Have you checked for updates in Settings > System?: Yes
- Steam ID:
76561199163978993([U:1:1203713265])
Please describe your issue in as much detail as possible:
After a hung game process is killed, the whole session falls apart and the screen stays on a frozen frame until the Deck is power cycled. Timeline from the previous boot, all times local:
-
21:18 onwards: Cyberpunk 2077 hung inside
ttm_global_swapout, described in detail in #3070. GPU idle, game process stuck in kernel. -
22:40:
kill -9on the game process, which was the only way out of that hang. -
22:42:01: Steam reports a stalled engine loop:
../clientdll/steamengine.cpp (2753) : Assertion Failed: CSteamEngine::BMainLoop appears to have stalled > 15 seconds without event signalledMinidump uploaded as
CrashID=bp-94f86758-0ca3-43be-9ebb-4a8982261112. -
22:44:43: Steam exits on its own:
../common/pipes.cpp (675) : Stalled cross-thread pipe ../common/pipes.cpp (675) : Fatal assert; application exitingMinidump uploaded as
CrashID=bp-3156e337-4f3b-4d41-bf0a-35e2b2261112. A new client starts at 22:44:47. -
22:47:43: power button pressed once. gamescope aborts immediately:
Nov 12 22:47:43.142884 systemd-logind[932]: Power key pressed short. Nov 12 22:47:43.158263 gamescope-session[1543]: gamescope: types/seat/wlr_seat_keyboard.c:309: wlr_seat_keyboard_notify_enter: Assertion `surface' failed. Nov 12 22:47:43.564930 systemd-coredump[97733]: Process 1543 (gamescope-wl) of user 1000 terminated abnormally with signal 6/ABRT, processing... Nov 12 22:47:44.161648 systemd-coredump[97735]: Process 1543 (gamescope-wl) of user 1000 dumped core. -
Nothing restarted gamescope afterwards. The panel kept displaying the last game frame, the device reacted to nothing except the power key, and only a full power cycle recovered it. A second power press at 22:47:43.341 did nothing.
Aborting thread from the coredump, thread 1543 (process main), shows the assert is reached from a Wayland signal dispatch, so a surface was being destroyed or losing focus while the seat was asked to enter it:
#0 __assert_fail (libc.so.6)
#1 gamescope + 0x37130 (wlr_seat_keyboard_notify_enter)
#2 gamescope + 0x117515
#3 wl_signal_emit_mutable (libwayland-server.so.0)
#4 gamescope + 0x2027e6
#5 wl_signal_emit_mutable (libwayland-server.so.0)
#6 gamescope + 0x2027e6
#7 gamescope + 0x1e8451
#8 wl_event_loop_dispatch (libwayland-server.so.0)
#9 gamescope + 0x616fb
#10 __libc_start_main (libc.so.6)
A minidump was generated by the SteamOS log submitter and is still pending on the device at /var/lib/steamos-log-submitter/pending/minidump/1794498463-gamescope-wl-1543-None.dmp (326 KB). Say the word and I will attach it.
Expected behaviour
Killing a hung game should return to the library, and if the compositor does die, the session should be restarted automatically instead of leaving the panel on a stale frame with no way to recover without a power cycle.
Steps for reproducing this issue
- Get a D3D12 game into the TTM swapout hang from #3070 (about an hour of play on this device).
- Kill the game process, since it does not react otherwise.
- Wait a few minutes, then press the power button.
I can reproduce step 1 reliably but the gamescope abort appeared only once so far, so I am filing it mainly because the recovery failure is severe. Full journal slice of the boot is in the gist: https://gist.github.com/basuev/c78f566aaf4b04a4196081fe9258e7a4
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 2.7k
- Forks
- 89
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ValveSoftware/SteamOS
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
ValveSoftware/SteamOS#3037 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ValveSoftware/SteamOS#2983 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ValveSoftware/SteamOS#2927 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ValveSoftware/SteamOS#2875 · 1 comentario ·
-
steam-short-session-tracker: incorrect registry backup path resets settings during automatic repairAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
ValveSoftware/SteamOS#2829 ·
Todos los issues de ValveSoftware/SteamOS
Issues similares
-
bug compatibility
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
omacom/omarchy#20525 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
SMP: secondary cores read RUNNING_THREADS without synchronization (READY_CORES is incremented with Relaxed)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
vivoblueos/kernel#591 ·
Los mantenedores suelen responder en 1 día
-
area: bindings bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
olafurjohannsson/kjarni#165 ·
-
documentation follow-up x86
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
carrick-sh/carrick#3156 ·
Los mantenedores suelen responder en 1 día