PPSA14299 (Mafia): intermittent VK_ERROR_DEVICE_LOST entering the game on main dd5412d54e #28398

Open
opened 2026-11-30 12:29:05 +00:00 by socket1001 · 0 comments
socket1001 commented 2026-11-30 12:29:05 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by socket1001 on 2026-11-30T12:29:05Z.


AI-assisted: yes (autonomous agent, Hermes; logs and captures from the reporter's machine).

On current main dd5412d54e (self-built Release, RADV Mesa 26.0.8, RX 9070 1002:7550, Linux), Mafia: The Old Country enters the game from the NEW GAME row and then loses the Vulkan device. It is intermittent: 3 of 5 runs today, 0 of 4 runs on the two older trees below.

Exact abort (3 runs, identical):

radv/amdgpu: The CS has been cancelled because the context is lost. This context is innocent.
[device-fault] gpu AMD Radeon RX 9070 (RADV GFX1201) vendor 0x1002 device 0x7550 driver radv Mesa 26.0.8-1ubuntu0.3 commit d0f3e02cbc28
[device-fault] queue main
[device-fault] no per-submit marker (submit serial unknown; markers need APS5_GPU_CHECKPOINTS on the main queue)
[device-fault] result 0:
[device-fault] queue settle
[device-fault] queue sparse
[videoout] presentation failed: AGC graphics: vkQueueSubmit recorder: Vulkan result -4
[gpu] driver failure: AGC graphics: vkQueueSubmit recorder: Vulkan result -4
terminate called after throwing an instance of 'std::runtime_error'
  what():  AGC graphics: vkQueueSubmit recorder: Vulkan result -4

Runs

Tree Result
main 61e269b37f (2026-11-26 deck) + APS5_NET_DISCONNECTED=1 NEW GAME|SETUP reached, 8.31-8.52 fps, no fault
main 2b09db6f11 + #11630 301e49b659 (2026-11-23 deck), 2 runs menu then gameplay, 1.66-1.84 fps, no fault
main dd5412d54e + #11630 d0f3e02cbc, 2 runs SETUP menu 1.49-1.91 fps; 1 device loss on NEW GAME
main dd5412d54e stock, APS5_NET_DISCONNECTED=1, 3 runs SETUP 3.75-4.23 fps; 2 device losses on NEW GAME

Notes:

  • The fault lands while the setup screen's scene loads; before it the run is healthy (8 storage-image races, 0 host-import -13, 0 not-implemented, 0 deferred write-back failed).
  • The immediately preceding per-frame lines are all [staging] adaptive ... GPU ~84 ms/frame staged, ~85 in place -> staged, i.e. the staging heuristic is choosing staged copies every probe at ~84 ms/frame when the fault hits. That is the only state that differs from the runs that survive.
  • Stock main needs APS5_NET_DISCONNECTED=1 (or #11630) to get past sceHttp2SendRequestAsync not implemented at ~12 s, so every run above used one of those.

Happy to bisect the ~1,000 first-parent merges between 2b09db6f11 and dd5412d54e and report per-commit, or re-run with APS5_GPU_CHECKPOINTS=1 to get a submit marker first — say which is more useful.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6696306397 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/28398). Originally posted by [socket1001](https://github.com/socket1001) on 2026-11-30T12:29:05Z. --- **AI-assisted:** yes (autonomous agent, Hermes; logs and captures from the reporter's machine). On current `main` `dd5412d54e` (self-built Release, RADV Mesa 26.0.8, RX 9070 `1002:7550`, Linux), Mafia: The Old Country enters the game from the `NEW GAME` row and then loses the Vulkan device. It is intermittent: 3 of 5 runs today, 0 of 4 runs on the two older trees below. **Exact abort (3 runs, identical):** ``` radv/amdgpu: The CS has been cancelled because the context is lost. This context is innocent. [device-fault] gpu AMD Radeon RX 9070 (RADV GFX1201) vendor 0x1002 device 0x7550 driver radv Mesa 26.0.8-1ubuntu0.3 commit d0f3e02cbc28 [device-fault] queue main [device-fault] no per-submit marker (submit serial unknown; markers need APS5_GPU_CHECKPOINTS on the main queue) [device-fault] result 0: [device-fault] queue settle [device-fault] queue sparse [videoout] presentation failed: AGC graphics: vkQueueSubmit recorder: Vulkan result -4 [gpu] driver failure: AGC graphics: vkQueueSubmit recorder: Vulkan result -4 terminate called after throwing an instance of 'std::runtime_error' what(): AGC graphics: vkQueueSubmit recorder: Vulkan result -4 ``` **Runs** | Tree | Result | | - | - | | `main` `61e269b37f` (2026-11-26 deck) + `APS5_NET_DISCONNECTED=1` | NEW GAME\|SETUP reached, 8.31-8.52 fps, no fault | | `main` `2b09db6f11` + #11630 `301e49b659` (2026-11-23 deck), 2 runs | menu then gameplay, 1.66-1.84 fps, no fault | | `main` `dd5412d54e` + #11630 `d0f3e02cbc`, 2 runs | SETUP menu 1.49-1.91 fps; **1 device loss** on `NEW GAME` | | `main` `dd5412d54e` stock, `APS5_NET_DISCONNECTED=1`, 3 runs | SETUP 3.75-4.23 fps; **2 device losses** on `NEW GAME` | Notes: - The fault lands while the setup screen's scene loads; before it the run is healthy (8 storage-image races, 0 host-import -13, 0 not-implemented, 0 `deferred write-back failed`). - The immediately preceding per-frame lines are all `[staging] adaptive ... GPU ~84 ms/frame staged, ~85 in place -> staged`, i.e. the staging heuristic is choosing staged copies every probe at ~84 ms/frame when the fault hits. That is the only state that differs from the runs that survive. - Stock `main` needs `APS5_NET_DISCONNECTED=1` (or #11630) to get past `sceHttp2SendRequestAsync not implemented` at ~12 s, so every run above used one of those. Happy to bisect the ~1,000 first-parent merges between `2b09db6f11` and `dd5412d54e` and report per-commit, or re-run with `APS5_GPU_CHECKPOINTS=1` to get a submit marker first — say which is more useful.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5#28398
No description provided.