[Android / Adreno 650] VK_ERROR_DEVICE_LOST about 50-80 s after the game starts (Turnip)

Abierto
#990 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
android, cpp

Línea de trabajo

Start by comparing pkp.log and pkp.log.prev from the two failed runs, focusing on the texture remake sequence for 389–393, the compute dispatch for shader 62619a57fc0feb43, and the unfinished submission at device loss. Check how the Vulkan/Turnip path handles these submissions on Adreno 650 and whether the reported subgroup width matters. Done means identifying a reproducible cause and confirming a fix prevents the device loss.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Summary

On a Snapdragon 865 (Adreno 650) handheld, the game builds, starts and runs at about 29 fps. After 50 to 80 seconds it always closes with "The graphics device was lost". It happened in 3 runs out of 3, at the same point each time (shortly after gameplay starts).

Device

  • Device: Retroid Pocket Flip 2
  • Chipset: Snapdragon 865 (Adreno 650), about 7.5 GB RAM (low memory profile is active)
  • Android 13
  • GPU driver: the included Turnip driver (Mesa 26.3.1, Vulkan 1.3.363, driver 0x06803001)
  • Recompia: 0.18.1 (Android APK, app 18010000)
  • Game: 2.0.1 (update 655360). Build finished without errors, "Tune for this CPU" on, "Optimized build" off
  • Shader cache imported from a PC install (0.18.0)

Settings

Defaults chosen by the app: Resolution 40%, Upscaler SGSR, frame cap 30, Dynamic resolution off.

What happens

  1. Press Play.
  2. The game starts and runs at about 29 fps.
  3. After 50 to 80 s, the game closes.

Log lines (pkp.log):

gfx: graphics device lost in vkQueueSubmit2 (NVN) (VK_ERROR_DEVICE_LOST); stopping further GPU work
gfx:   no GPU checkpoints (they need NVIDIA's VK_NV_device_diagnostic_checkpoints)
gfx:   NVN submissions on the GPU and not finished: 1 (the GPU had finished serial 10493, 10494 were handed to it)
gfx:     submission 10494: 0 dispatches, 0 draws
gfx:   no driver fault report (VK_EXT_device_fault not offered)
play: ending the process (fail): The graphics device was lost, so Recompia must close.

In one run, the unfinished submission named a draw:

gfx:     submission 17056: 0 dispatches, 1 draw
gfx:       draw vs 821538a4398f85a7 fs 9f3f4772c2ad7edc

Just before each crash, the log shows the same sequence: textures 389-393 are remade with storage or feedback loop usage, then this compute shader is dispatched:

nvn.pipe: compute variant vote of 62619a57fc0feb43 (0x0): built
nvn.replay: compute: 62619a57fc0feb43 dispatched over its scaled image: 60x34 groups (scale 0.500)

The log also warns at startup:

nvn: subgroups are 128 wide here, the game's shaders assume 32: asking for 32 in stages 0x0; the other stages run at the driver's width

What I tried

  • Upscaler off (scene_upscaler = 0 in pkp.ini): the game still crashed, at 48 s.
  • I did not try the system driver, because the README says it shows a black picture in this game.

Logs

pkp.log and pkp.log.prev (two separate crashing runs) will be attached in a comment below.

Lenguaje dominante
C++
Estrellas
224
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de featureJosh/Recompia

Todos los issues de featureJosh/Recompia

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.