[Android / Adreno 650] VK_ERROR_DEVICE_LOST about 50-80 s after the game starts (Turnip)
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- android, cpp
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- Press Play.
- The game starts and runs at about 29 fps.
- 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 = 0in 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.
- 主要言語
- C++
- スター
- 224
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
featureJosh/Recompia のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
featureJosh/Recompia#989 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
featureJosh/Recompia#968 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 54/100
featureJosh/Recompia#991 ·
-
難易度 4/5 1〜2日 初心者へのやさしさ 35/100
featureJosh/Recompia#988 ·
-
I can not play DLCオープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
featureJosh/Recompia#984 ·
featureJosh/Recompia の issue をすべて見る
似ている issue
-
bug good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
difficulty:easy func:gui prio:normal type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NatronGitHub/Natron#2118 ·
メンテナーはふだん 1 日以内に返信
-
bug difficulty:easy prio:low
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NatronGitHub/openfx-io#523 ·
メンテナーはふだん 1 日以内に返信
-
area:text difficulty:easy prio:low type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
NatronGitHub/openfx-arena#293 ·
メンテナーはふだん 1 日以内に返信
-
Bug: Potential ?
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
MarlinFirmware/Marlin#28935 ·
メンテナーはふだん 1 日以内に返信