Demon's Souls (PPSA01342 v1.005, Windows, NVIDIA): device lost on a write invalid when the second world loads #10634

Open
opened 2026-10-24 13:45:16 +00:00 by noir39 · 0 comments
noir39 commented 2026-10-24 13:45:16 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by noir39 on 2026-10-24T13:45:16Z.


What happens

Loading a save in the second world (Stonefang Tunnel), the GPU faults on a write and the device is lost; the title then aborts on the next submission. Two runs, two addresses:

[device-fault] result 5:
[device-fault] write invalid at 0x7f8630000 (precision 0x1000)
[videoout] presentation failed: 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
FATAL: abort() (SIGABRT)

and, in a second run with APS5_GPU_CHECKPOINTS=1:

[device-fault] no checkpoint reached
[device-fault] result 5:
[device-fault] write invalid at 0x6dc820000 (precision 0x1000)

So no compute dispatch had started when the faulting write ran: it comes from a draw or a copy. Windows logs nvlddmkm event 153 at the same second. The first run had played about 17 minutes from the main menu into the level (the last log lines load sound/streams/10_common/char_soul_form_*); the second faulted about 2 minutes after the main loop started, while the save loaded.

After the device loss the NVIDIA driver misbehaved until a reboot: the next launch stalled at start-up and showed "LoadLibrary failed with error 87".

Setup

  • Title: PPSA01342 v01.005.000, relinked with --windows --registry; the save comes from another emulator (KytyPS5) with its USR-DATA copied unchanged.
  • Host: Windows 11 Pro 26200, Ryzen 9 5950X, RTX 3080 10 GB (driver 616.56), 64 GB.
  • Build: main 5d3ab7791 plus #10632 and #10633 (CPU-side only), WinLibs GCC 15.2.0 r7, -DANYPS5_ENABLE_SPIRV_TOOLS=ON, renderconfig unchanged.

I can rerun with a capture switch if one would show the faulting draw.

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6013580382 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/10634). Originally posted by [noir39](https://github.com/noir39) on 2026-10-24T13:45:16Z. --- ### What happens Loading a save in the second world (Stonefang Tunnel), the GPU faults on a write and the device is lost; the title then aborts on the next submission. Two runs, two addresses: ``` [device-fault] result 5: [device-fault] write invalid at 0x7f8630000 (precision 0x1000) [videoout] presentation failed: 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 FATAL: abort() (SIGABRT) ``` and, in a second run with `APS5_GPU_CHECKPOINTS=1`: ``` [device-fault] no checkpoint reached [device-fault] result 5: [device-fault] write invalid at 0x6dc820000 (precision 0x1000) ``` So no compute dispatch had started when the faulting write ran: it comes from a draw or a copy. Windows logs `nvlddmkm` event 153 at the same second. The first run had played about 17 minutes from the main menu into the level (the last log lines load `sound/streams/10_common/char_soul_form_*`); the second faulted about 2 minutes after the main loop started, while the save loaded. After the device loss the NVIDIA driver misbehaved until a reboot: the next launch stalled at start-up and showed "LoadLibrary failed with error 87". ### Setup - Title: PPSA01342 v01.005.000, relinked with `--windows --registry`; the save comes from another emulator (KytyPS5) with its `USR-DATA` copied unchanged. - Host: Windows 11 Pro 26200, Ryzen 9 5950X, RTX 3080 10 GB (driver 616.56), 64 GB. - Build: `main` `5d3ab7791` plus #10632 and #10633 (CPU-side only), WinLibs GCC 15.2.0 r7, `-DANYPS5_ENABLE_SPIRV_TOOLS=ON`, renderconfig unchanged. I can rerun with a capture switch if one would show the faulting draw. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
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#10634
No description provided.