Demon's Souls (PPSA01342): deterministic RenderJob deadlock on counter 0x0000000200553EE0 after main loop starts #7203

Open
opened 2026-10-17 16:13:23 +00:00 by samvighoss · 14 comments
samvighoss commented 2026-10-17 16:13:23 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by samvighoss on 2026-10-17T16:13:23Z.


Build: relinker v0.1.2, prx-windows-v0.1.2 libraries, title relinked with --windows --registry.

Hardware: RTX 5060 Ti (driver 32.0.16.1742), Ryzen 9 5900X, Windows 11.

Reproducibility: 100% reproducible across two separate runs, including one with a fully cleared shader cache -- both hung at the exact same counter address.

Sequence leading up to it:

  1. Initialization completes normally (~15s), Vulkan device + swapchain created fine on the RTX 5060 Ti.
  2. Shader compilation proceeds (800+ shaders compiled on a cold cache).
  3. One shader fails to prepare: shader 0x2489bea00 stage 1: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (same error class as issue #2715 / PR #4475, different title).
  4. Shortly after entering the main loop, a RenderJob deadlocks:
[ERROR-JobSystem] DeadLock Detection: Job RenderJob [#] waiting on counter [0x0000000200553EE0] = 0 to be Equal 1.

This repeats indefinitely; the process stays alive and responsive (not crashed), window stays black, no frame ever presents.

Possible connection: This may be the same bug as the closed issue #4731 for this same title, where the maintainer suspected "a shim function returns without incrementing the counter, so RenderJob blocks forever" but it was closed unconfirmed for lack of reproduction. This report reproduces it 100% of the time with the above steps; happy to provide the full console log or try any diagnostic build/flag.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5900410978 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/7203). Originally posted by [samvighoss](https://github.com/samvighoss) on 2026-10-17T16:13:23Z. --- **Build:** relinker v0.1.2, prx-windows-v0.1.2 libraries, title relinked with `--windows --registry`. **Hardware:** RTX 5060 Ti (driver 32.0.16.1742), Ryzen 9 5900X, Windows 11. **Reproducibility:** 100% reproducible across two separate runs, including one with a fully cleared shader cache -- both hung at the exact same counter address. **Sequence leading up to it:** 1. Initialization completes normally (~15s), Vulkan device + swapchain created fine on the RTX 5060 Ti. 2. Shader compilation proceeds (800+ shaders compiled on a cold cache). 3. One shader fails to prepare: `shader 0x2489bea00 stage 1: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value` (same error class as issue #2715 / PR #4475, different title). 4. Shortly after entering the main loop, a RenderJob deadlocks: ``` [ERROR-JobSystem] DeadLock Detection: Job RenderJob [#] waiting on counter [0x0000000200553EE0] = 0 to be Equal 1. ``` This repeats indefinitely; the process stays alive and responsive (not crashed), window stays black, no frame ever presents. **Possible connection:** This may be the same bug as the closed issue #4731 for this same title, where the maintainer suspected "a shim function returns without incrementing the counter, so RenderJob blocks forever" but it was closed unconfirmed for lack of reproduction. This report reproduces it 100% of the time with the above steps; happy to provide the full console log or try any diagnostic build/flag.
MarcZX10 commented 2026-10-17 16:18:39 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-17T16:18:39Z.


Thanks for the deterministic reproduction. The older #4731 report ended up lacking the console capture with the counter waits, so we could not trace the producer. Could you attach the full log for one of these runs, including the first deadlock lines and the minutes before them, and note the exact AnyPS5 commit behind relinker/libraries v0.1.2? That should let us distinguish an unimplemented shim path from a title-side GPU/job wait before changing counter behavior.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6236492513 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/7203#issuecomment-6236492513). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-17T16:18:39Z. --- Thanks for the deterministic reproduction. The older #4731 report ended up lacking the console capture with the counter waits, so we could not trace the producer. Could you attach the full log for one of these runs, including the first deadlock lines and the minutes before them, and note the exact AnyPS5 commit behind relinker/libraries v0.1.2? That should let us distinguish an unimplemented shim path from a title-side GPU/job wait before changing counter behavior.
samvighoss commented 2026-10-17 16:42:49 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by samvighoss on 2026-10-17T16:42:49Z.


DEMON'S SOULS DEADLOCK - FOLLOW-UP FOR THE GITHUB ISSUE
Prepared 2026-10-17

WHAT THEY ASKED FOR:

  1. The full console log for one run, including the first deadlock lines and the minutes before them.
  2. The exact AnyPS5 commit behind relinker/libraries v0.1.2.

(Note: their reply also had a stray file path at the end - "C:\kyty-src19\src\graphics\guest_gpu\command_processor\pm4Handlers.cpp:2158" - that's a Kyty source path, not AnyPS5, and doesn't belong in this context. Ignoring it; flagging here in case it matters to you.)

========================================
SUGGESTED REPLY TO POST ON THE ISSUE

Exact commit behind relinker/libraries v0.1.2: a48c00660e
(from the v0.1.2 tag on github.com/boykopovar/AnyPS5)

Full console output from one clean run (fresh shader cache, same deadlock counter both times
I've tried it: 0x0000000200553EE0). Trimmed the repeated deadlock line - it printed identically
2,419,965 times over about 2-3 minutes before I killed the process - full stdout log is below
with everything before that point included, plus one copy of the deadlock line and the repeat
count. Also attaching the matching stderr output from the same run below that, which shows
several shaders failing the same "GetImageResource dword 0 is not a valid runtime value" error
during shader compilation, before the deadlock happens - if that error is related to your
"unimplemented shim path" theory, I'm seeing it on more than one shader this run, not just one.

Happy to run it again with any extra flags/diagnostics you want.

========================================
STDOUT LOG (init through first deadlock line, then repeat count)

Transferring control to ELF entry point
[MSG-Init] PS5 Mode: Standard - Debug Memory: 1.50 GiB
[MSG-Init] Total Direct Memory: 13824.00 MiB - 0x0000000360000000 Bytes
[MSG-Init] Total Available Direct Memory: 13824.00 MiB - 0x0000000360000000 Bytes
[MSG-Init] Total Available Allocator Memory: 13821.56 MiB - 0x000000035fd90000 Bytes Memory Tracking Overhead: 2.44 MiB
[src/Open.cpp:214 sceKernelOpen] path=/hostapp/misc/findWriteRepository.txt flags=0x601 nativeFlags=0x8301 mode=0777
[MSG-Init] Repository path: $/ = /app0
[MSG-Init] Repository write path: #/ = /devlog/app
[src/Open.cpp:214 sceKernelOpen] path=/devlog/app/logs/demonssoul_ps5_2026-10-17-16-03-38_0.log flags=0x601 nativeFlags=0x8301 mode=0777
[src/Open.cpp:214 sceKernelOpen] path=/app0/playgo-chunkdefs.xml flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/gameversion.txt flags=0x0 nativeFlags=0x8000 mode=00
[MSG-Init] ParseBuildVersion:
[MSG-Init] Build Version: LOCAL_BUILD
[src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/defaultcmdlineargs.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/misc/gamecommandlineargs.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/packagecmdlineargs.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/devlog/app/commandlineargs.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00050 self=0000000002c0ece0
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00110 self=000000000300ee20
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a001d0 self=00000000067655f0
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00290 self=00000000047d4c10
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00350 self=0000000007739e20
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00410 self=00000000086ffa90
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a004d0 self=0000000008701c70
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00590 self=0000000008706e50
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00650 self=0000000005784150
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00710 self=0000000005786e70
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a007d0 self=0000000005785570
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00890 self=0000000005785970
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00950 self=0000000005785f70
[src/Open.cpp:214 sceKernelOpen] path=/devlog/app/devpsarcs/recentlycookedfiles.ps5.txt flags=0x0 nativeFlags=0x8000 mode=00
[MSG-Init] Starting Initialization: 32.4195ms
[MSG-Init] CmdLine: +enableOccluderRandomClearColor=true +LoadCmdsFromFile=$/CoreData/EngineSupport/DebugMenu/DebugRenderMenu.txt +VSyncWindow=10% +TargetFramesPerSecond=60 +go_skipGameObjectCreationForXPR=true +physicsPerformShapeValidation=false +ResourceDependenciesFile=$/workspaces//cp11.cwks..dependencies +DebugMenuCreateItem=convar=launchExecutable,params={binary=/app0/DemonsSoul_PROSPERO_Release.elf},caption="Launch Release Elf",menu=Debug +footIkEnablePhysicsRaycasts=true +renderStatsYOffsetPercent=0.1 +cp11_defaultLoadout=$/misc/loadouts/misc/goldenpath.txt +sound_screamEnableACVLR2=true +cp11_cutscenes_cinematicSkipMode=OnlyHost +DebugMenuLoadConVars +StartupScript=$/scripts/cp11/cp11main.script
[src/VulkanDevice.cpp:898 VulkanDevice] VulkanDevice constructor window=0000000000000000
[src/VulkanDevice.cpp:907 VulkanDevice] Vulkan loader loaded library=00007ffef2f30000
[src/VulkanDevice.cpp:941 VulkanDevice] Vulkan instance created instance=0000000009469860
[src/VulkanDevice.cpp:952 VulkanDevice] Physical device count=1
[src/VulkanDevice.cpp:985 VulkanDevice] Physical device candidate=0000000009575690 name=NVIDIA GeForce RTX 5060 Ti api=0x40415f type=2
[src/VulkanDevice.cpp:1032 VulkanDevice] Physical device selected physical=0000000009575690 queueFamily=0
[src/VulkanDevice.cpp:1045 VulkanDevice] Selected GPU name=NVIDIA GeForce RTX 5060 Ti vendor=0x10de device=0x2d04 subgroup=32
[src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 0 size=16052.0 MiB flags=0x1
[src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 1 size=32710.4 MiB flags=0x0
[src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 2 size=214.0 MiB flags=0x1
[src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 0 heap=1 flags=0x0
[src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 1 heap=0 flags=0x1
[src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 2 heap=1 flags=0x6
[src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 3 heap=1 flags=0xe
[src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 4 heap=2 flags=0x7
[src/VulkanDevice.cpp:1111 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0
[src/VulkanDevice.cpp:1379 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1
[src/VulkanDevice.cpp:1573 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 1
[src/VulkanDevice.cpp:1640 VulkanDevice] Vulkan device ready device=0000000025ea00d0 queue=0000000025de14d0 family=0
[src/Thread.cpp:524 RunThread] RunThread entry=0x141ffe720 arg=00000001435a1150 self=000000010e149e80
[src/Thread.cpp:524 RunThread] RunThread entry=0x141ffe720 arg=00000001435a1260 self=000000010e148980
[src/Thread.cpp:524 RunThread] RunThread entry=0x141ffe720 arg=00000001435a1370 self=000000010e14a780
[src/Thread.cpp:524 RunThread] RunThread entry=0x141ffe720 arg=00000001435a1480 self=000000010e14a980
[src/VulkanDevice.cpp:898 VulkanDevice] VulkanDevice constructor window=000000011c64fc30
[src/VulkanDevice.cpp:907 VulkanDevice] Vulkan loader loaded library=00007ffef2f30000
[src/VulkanDevice.cpp:923 VulkanDevice] Presentation window context=00000001015abd70 extent=1920x1080 extensions=2
[src/VulkanDevice.cpp:941 VulkanDevice] Vulkan instance created instance=000000011547c020
[src/VulkanDevice.cpp:946 VulkanDevice] Vulkan surface created surface=00000001205244e0 window=00000001015abd70
[src/VulkanDevice.cpp:952 VulkanDevice] Physical device count=1
[src/VulkanDevice.cpp:985 VulkanDevice] Physical device candidate=000000010dc224c0 name=NVIDIA GeForce RTX 5060 Ti api=0x40415f type=2
[src/VulkanDevice.cpp:1032 VulkanDevice] Physical device selected physical=000000010dc224c0 queueFamily=0
[src/VulkanDevice.cpp:1045 VulkanDevice] Selected GPU name=NVIDIA GeForce RTX 5060 Ti vendor=0x10de device=0x2d04 subgroup=32
[src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 0 size=16052.0 MiB flags=0x1
[src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 1 size=32710.4 MiB flags=0x0
[src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 2 size=214.0 MiB flags=0x1
[src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 0 heap=1 flags=0x0
[src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 1 heap=0 flags=0x1
[src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 2 heap=1 flags=0x6
[src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 3 heap=1 flags=0xe
[src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 4 heap=2 flags=0x7
[src/VulkanDevice.cpp:1111 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0
[src/VulkanDevice.cpp:1379 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1
[src/VulkanDevice.cpp:1573 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 1
[src/VulkanDevice.cpp:1640 VulkanDevice] Vulkan device ready device=000000002a0f00d0 queue=0000000029d814d0 family=0
[src/VulkanDevice.cpp:1678 VulkanDevice] Surface capabilities drawable=1484x835 min=1484x835 max=1484x835 minImages=2 maxImages=8 usage=0x9f
[src/VulkanDevice.cpp:1723 VulkanDevice] Swapchain created swapchain=000000002a720ad0 extent=1484x835 images=2
[src/PadInput.cpp:53 openController] Pad: connected game controller: Xbox Series X Controller (type 2, sensors accel=0 gyro=0, touchpads=0, led=0, trigger rumble=0)
[src/Open.cpp:214 sceKernelOpen] path=/app0/workspaces/_ps5/cp11.cwks._ps5.dependencies flags=0x0 nativeFlags=0x8000 mode=00
[MSG-Init] Resource dependency file loaded: $/workspaces//cp11.cwks..dependencies
[MSG-Init] ResourcePool::RecordResourceDependencies() took 1.1569s
[src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=00000002684fe0a0 self=000000011a0c0880
[src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=0000000142ad4760 self=000000011a0c0b80
[src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=0000000142ad4860 self=000000011a0c0a80
[src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=0000000142ad4960 self=000000011a0c0480
[src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=00000002684fd6e0 self=000000011a0c0c80
[src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=00000002684fd610 self=0000000106c01020
[src/Open.cpp:214 sceKernelOpen] path=/app0/sound/banks/groupmix/cp11_groupmix.gmx flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/sound/banks/buss/cp11_buss.bus flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/sound/banks/buss/cp11_buss_acv.irpack flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/sound/distmodel.dml flags=0x0 nativeFlags=0x8000 mode=00
[src/Thread.cpp:524 RunThread] RunThread entry=0x141f6d610 arg=000000020129ddb8 self=000000019cb45bc0
[src/Thread.cpp:524 RunThread] RunThread entry=0x141f65c70 arg=0000000143598468 self=000000019cb461c0
[src/Thread.cpp:524 RunThread] RunThread entry=0x141f662c0 arg=0000000143598490 self=000000019cb451c0
[src/Open.cpp:214 sceKernelOpen] path=/app0/misc/renderconfig_ps5_high.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/misc/renderconfig_ps5_perf.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/misc/renderconfig_ps5_charactercreator.txt flags=0x0 nativeFlags=0x8000 mode=00
[MSG-Init] Finished Initialization: 6.1790s
[MSG-Init] Starting Script: $/scripts/cp11/_cmn/cp11main.cgpr : 6.1800s
[src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenu.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenuibl.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenugi.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenulighting.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenudynamic.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenupostfx.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenudebug.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugcp11menuprofile.txt flags=0x0 nativeFlags=0x8000 mode=00
[00:00:10.99 ERROR-General] DebugMenuCreateItem could not find concommand "cpuMarkerLevel"
[00:00:10.99 ERROR-General] DebugMenuCreateItem could not find concommand "profileLoading_Print"
[MSG-Init] Starting main loop: 11.0166s
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x305a00000 256x256 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=29 vk=83
[src/Texture.cpp:748 Texture] Texture address=0x305a00000 256x256 mips=1 viewed from storage image (vk=83)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x24a170000 256x256 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=13 vk=76
[src/Texture.cpp:748 Texture] Texture address=0x24a170000 256x256 mips=1 viewed from storage image (vk=76)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x24a1a0000 256x256 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=13 vk=76
[src/Texture.cpp:748 Texture] Texture address=0x24a1a0000 256x256 mips=1 viewed from storage image (vk=76)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x249250000 48x24 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=7 vk=70
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x276900000 64x64 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=71 vk=97
[src/Texture.cpp:748 Texture] Texture address=0x276900000 64x64 mips=1 viewed from storage image (vk=97)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x249230000 64x64 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=71 vk=97
[src/Texture.cpp:748 Texture] Texture address=0x249230000 64x64 mips=1 viewed from storage image (vk=97)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x2ad470000 1024x512 mips=1 mip=0 layers=0 base=0 dim=1 tile=4 format=22 vk=100
[src/Texture.cpp:748 Texture] Texture address=0x2ad470000 1024x512 mips=1 viewed from storage image (vk=100)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x2ad680000 512x256 mips=9 mip=0 layers=0 base=0 dim=1 tile=3 format=22 vk=100
[src/Texture.cpp:748 Texture] Texture address=0x2ad680000 512x256 mips=9 viewed from storage image (vk=100)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x24a1d0000 64x8 mips=7 mip=0 layers=1 base=0 dim=2 tile=7 format=29 vk=83
[src/Texture.cpp:748 Texture] Texture address=0x24a1d0000 64x8 mips=7 viewed from storage image (vk=83)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x24a200000 64x64 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=56 vk=37
[src/Texture.cpp:748 Texture] Texture address=0x24a200000 64x64 mips=1 viewed from storage image (vk=37)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x303000000 256x256 mips=1 mip=0 layers=3 base=0 dim=4 tile=3 format=71 vk=97
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x303800000 256x256 mips=1 mip=0 layers=3 base=0 dim=4 tile=3 format=22 vk=100
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x302400000 256x256 mips=1 mip=0 layers=3 base=0 dim=4 tile=3 format=71 vk=97
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x302c00000 256x256 mips=1 mip=0 layers=3 base=0 dim=4 tile=3 format=22 vk=100
[src/Texture.cpp:748 Texture] Texture address=0x303000000 256x256 mips=1 viewed from storage image (vk=97)
[src/Texture.cpp:748 Texture] Texture address=0x303800000 256x256 mips=1 viewed from storage image (vk=100)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27a280000 2560x1440 mips=1 mip=0 layers=0 base=0 dim=1 tile=4 format=22 vk=100
[src/Texture.cpp:748 Texture] Texture address=0x27a280000 2560x1440 mips=1 viewed from storage image (vk=100)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27e510000 2560x1440 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=29 vk=83
[src/Texture.cpp:748 Texture] Texture address=0x27e510000 2560x1440 mips=1 viewed from storage image (vk=83)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x2accf0000 1280x720 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=22 vk=100
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27fd60000 1280x720 mips=9 mip=0 layers=0 base=0 dim=1 tile=3 format=64 vk=103
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27f810000 1280x720 mips=9 mip=0 layers=0 base=0 dim=1 tile=3 format=22 vk=100
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27f410000 1280x720 mips=1 mip=0 layers=0 base=0 dim=1 tile=4 format=22 vk=100
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x2807b0000 1024x1024 mips=1 mip=0 layers=3 base=0 dim=2 tile=4 format=22 vk=100
[src/Texture.cpp:561 Texture] Texture address=0x2807b0000 1024x1024 mips=1 layers=4 depth copy of storage image (vk=100 -> 126)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x289a40000 2560x1440 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=14 vk=16
[src/Texture.cpp:748 Texture] Texture address=0x27f810000 1280x720 mips=9 viewed from storage image (vk=100)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x249270000 32x16 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=71 vk=97
[src/Texture.cpp:748 Texture] Texture address=0x27fd60000 1280x720 mips=9 viewed from storage image (vk=103)
[src/Texture.cpp:748 Texture] Texture address=0x27f810000 1280x720 mips=9 viewed from storage image (vk=100)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x2a7880000 214x120 mips=1 mip=0 layers=71 base=0 dim=4 tile=3 format=71 vk=97
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x282af0000 27x15 mips=1 mip=0 layers=8 base=0 dim=4 tile=3 format=20 vk=98
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27f7f0000 214x120 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=13 vk=76
[src/Texture.cpp:748 Texture] Texture address=0x27f7f0000 214x120 mips=1 viewed from storage image (vk=76)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27f800000 214x120 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=13 vk=76
[src/Texture.cpp:748 Texture] Texture address=0x27f800000 214x120 mips=1 viewed from storage image (vk=76)
[00:00:14.09 ERROR-JobSystem] DeadLock Detection: Job RenderJob [25469] waiting on counter [0x0000000200553EE0] = 0 to be Equal 1. Time since commit 2.0000s

[... repeated identically 2,419,965 times total, same thread/counter, over roughly 2-3 minutes until the process was killed ...]

========================================
STDERR LOG (shader compile warnings from the same run - several shaders hitting the same error)

[time] scheduler tick raised to 0.5 ms (was 0.50 ms, now 0.50 ms, timed waits fine)
[memory] configured flexible memory: 0x1c000000 bytes (448 MiB)
[write-watch] Windows direct host imports use comparisons; separate shared aliases retain guest write tracking
[shader-disk-cache] D:\AnyPS5\DemonsSouls\shader_cache\ce0513dbc5744e08 (source version ce0513dbc5744e08, format 30)
[write-watch] Windows direct host imports use comparisons; separate shared aliases retain guest write tracking
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x2489bea00 could not be prepared after registration: shader 0x2489bea00 stage 1: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249841f00 could not be prepared after registration: shader 0x249841f00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249840100 could not be prepared after registration: shader 0x249840100 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249846000 could not be prepared after registration: shader 0x249846000 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249844000 could not be prepared after registration: shader 0x249844000 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249849e00 could not be prepared after registration: shader 0x249849e00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249848000 could not be prepared after registration: shader 0x249848000 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x24984df00 could not be prepared after registration: shader 0x24984df00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x24984bf00 could not be prepared after registration: shader 0x24984bf00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[shader-disk-cache] (10 s): 0 hits, 1043 misses, 1038 writes (1554.8 MiB), 0 load failures, 0 write failures
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249856a00 could not be prepared after registration: shader 0x249856a00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[SAVEDATA:native] dirNameSearch user=268435456 pattern=(all) hit=0 set=0 -> 0x00000000
[mouse] video driver windows: guest 1920x1080 presented at 1484x835, delta scale 1.2938 x 1.2934
[gpu] sampled texture cache budget 9298 MiB: device-local heap 0 has a VK_EXT_memory_budget budget of 15284 MiB and uses 62 MiB, 0 MiB of it sampled textures (0 MiB in the cache) and 0 MiB cached storage images; storage image cache budget 4013 MiB
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x24984ff00 could not be prepared after registration: shader 0x24984ff00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[shader-disk-cache] (10 s): 0 hits, 769 misses, 758 writes (698.5 MiB), totals: 0 hits, 1812 misses, 1796 writes
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249a79700 could not be prepared after registration: shader 0x249a79700 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249a7ae00 could not be prepared after registration: shader 0x249a7ae00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249aa2d00 could not be prepared after registration: shader 0x249aa2d00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249aa1600 could not be prepared after registration: shader 0x249aa1600 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249aa4800 could not be prepared after registration: shader 0x249aa4800 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249aa5e00 could not be prepared after registration: shader 0x249aa5e00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[shader-disk-cache] (10 s): 0 hits, 519 misses, 526 writes (504.5 MiB), totals: 0 hits, 2331 misses, 2322 writes
[shader-disk-cache] (10 s): 0 hits, 449 misses, 456 writes (447.4 MiB), totals: 0 hits, 2780 misses, 2778 writes
[shader-disk-cache] (10 s): 0 hits, 394 misses, 386 writes (371.6 MiB), totals: 0 hits, 3174 misses, 3164 writes
[shader-disk-cache] (10 s): 0 hits, 249 misses, 247 writes (325.2 MiB), totals: 0 hits, 3423 misses, 3411 writes
[shader-disk-cache] (10 s): 0 hits, 261 misses, 263 writes (304.8 MiB), totals: 0 hits, 3684 misses, 3674 writes
[shader-disk-cache] (10 s): 0 hits, 247 misses, 257 writes (299.7 MiB), totals: 0 hits, 3931 misses, 3931 writes

(Note: the full RecompileRequest hex blobs that normally follow each shader failure line were stripped out of this
copy for readability -- they're multi-KB base64-looking dumps of shader bytecode with no readable content. The
original full files are still sitting at D:\AnyPS5\DemonsSouls\stdout.log and stderr.log if the maintainer wants
those raw and unedited.)

Any thing else needed, reach out :)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6236889920 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/7203#issuecomment-6236889920). Originally posted by [samvighoss](https://github.com/samvighoss) on 2026-10-17T16:42:49Z. --- DEMON'S SOULS DEADLOCK - FOLLOW-UP FOR THE GITHUB ISSUE Prepared 2026-10-17 WHAT THEY ASKED FOR: 1. The full console log for one run, including the first deadlock lines and the minutes before them. 2. The exact AnyPS5 commit behind relinker/libraries v0.1.2. (Note: their reply also had a stray file path at the end - "C:\kyty-src19\src\graphics\guest_gpu\command_processor\pm4Handlers.cpp:2158" - that's a Kyty source path, not AnyPS5, and doesn't belong in this context. Ignoring it; flagging here in case it matters to you.) ======================================== SUGGESTED REPLY TO POST ON THE ISSUE ======================================== Exact commit behind relinker/libraries v0.1.2: a48c00660eae7afd204fdb7513a52380dddf5a04 (from the v0.1.2 tag on github.com/boykopovar/AnyPS5) Full console output from one clean run (fresh shader cache, same deadlock counter both times I've tried it: 0x0000000200553EE0). Trimmed the repeated deadlock line - it printed identically 2,419,965 times over about 2-3 minutes before I killed the process - full stdout log is below with everything before that point included, plus one copy of the deadlock line and the repeat count. Also attaching the matching stderr output from the same run below that, which shows several shaders failing the same "GetImageResource dword 0 is not a valid runtime value" error during shader compilation, before the deadlock happens - if that error is related to your "unimplemented shim path" theory, I'm seeing it on more than one shader this run, not just one. Happy to run it again with any extra flags/diagnostics you want. ======================================== STDOUT LOG (init through first deadlock line, then repeat count) ======================================== Transferring control to ELF entry point [MSG-Init] PS5 Mode: Standard - Debug Memory: 1.50 GiB [MSG-Init] Total Direct Memory: 13824.00 MiB - 0x0000000360000000 Bytes [MSG-Init] Total Available Direct Memory: 13824.00 MiB - 0x0000000360000000 Bytes [MSG-Init] Total Available Allocator Memory: 13821.56 MiB - 0x000000035fd90000 Bytes Memory Tracking Overhead: 2.44 MiB [src/Open.cpp:214 sceKernelOpen] path=/hostapp/misc/findWriteRepository.txt flags=0x601 nativeFlags=0x8301 mode=0777 [MSG-Init] Repository path: $/ = /app0 [MSG-Init] Repository write path: #/ = /devlog/app [src/Open.cpp:214 sceKernelOpen] path=/devlog/app/logs/demonssoul_ps5_2026-10-17-16-03-38_0.log flags=0x601 nativeFlags=0x8301 mode=0777 [src/Open.cpp:214 sceKernelOpen] path=/app0/playgo-chunkdefs.xml flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/gameversion.txt flags=0x0 nativeFlags=0x8000 mode=00 [MSG-Init] ParseBuildVersion: [MSG-Init] Build Version: LOCAL_BUILD [src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/defaultcmdlineargs.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/misc/gamecommandlineargs.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/packagecmdlineargs.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/devlog/app/commandlineargs.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00050 self=0000000002c0ece0 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00110 self=000000000300ee20 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a001d0 self=00000000067655f0 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00290 self=00000000047d4c10 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00350 self=0000000007739e20 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00410 self=00000000086ffa90 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a004d0 self=0000000008701c70 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00590 self=0000000008706e50 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00650 self=0000000005784150 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00710 self=0000000005786e70 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a007d0 self=0000000005785570 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00890 self=0000000005785970 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00950 self=0000000005785f70 [src/Open.cpp:214 sceKernelOpen] path=/devlog/app/devpsarcs/recentlycookedfiles.ps5.txt flags=0x0 nativeFlags=0x8000 mode=00 [MSG-Init] Starting Initialization: 32.4195ms [MSG-Init] CmdLine: +enableOccluderRandomClearColor=true +LoadCmdsFromFile=$/CoreData/EngineSupport/DebugMenu/DebugRenderMenu.txt +VSyncWindow=10% +TargetFramesPerSecond=60 +go_skipGameObjectCreationForXPR=true +physicsPerformShapeValidation=false +ResourceDependenciesFile=$/workspaces/****/cp11.cwks.****.dependencies +DebugMenuCreateItem=convar=launchExecutable,params={binary=/app0/DemonsSoul_PROSPERO_Release.elf},caption="Launch Release Elf",menu=Debug +footIkEnablePhysicsRaycasts=true +renderStatsYOffsetPercent=0.1 +cp11_defaultLoadout=$/misc/loadouts/misc/goldenpath.txt +sound_screamEnableACVLR2=true +cp11_cutscenes_cinematicSkipMode=OnlyHost +DebugMenuLoadConVars +StartupScript=$/scripts/cp11/cp11main.script [src/VulkanDevice.cpp:898 VulkanDevice] VulkanDevice constructor window=0000000000000000 [src/VulkanDevice.cpp:907 VulkanDevice] Vulkan loader loaded library=00007ffef2f30000 [src/VulkanDevice.cpp:941 VulkanDevice] Vulkan instance created instance=0000000009469860 [src/VulkanDevice.cpp:952 VulkanDevice] Physical device count=1 [src/VulkanDevice.cpp:985 VulkanDevice] Physical device candidate=0000000009575690 name=NVIDIA GeForce RTX 5060 Ti api=0x40415f type=2 [src/VulkanDevice.cpp:1032 VulkanDevice] Physical device selected physical=0000000009575690 queueFamily=0 [src/VulkanDevice.cpp:1045 VulkanDevice] Selected GPU name=NVIDIA GeForce RTX 5060 Ti vendor=0x10de device=0x2d04 subgroup=32 [src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 0 size=16052.0 MiB flags=0x1 [src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 1 size=32710.4 MiB flags=0x0 [src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 2 size=214.0 MiB flags=0x1 [src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 0 heap=1 flags=0x0 [src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 1 heap=0 flags=0x1 [src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 2 heap=1 flags=0x6 [src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 3 heap=1 flags=0xe [src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 4 heap=2 flags=0x7 [src/VulkanDevice.cpp:1111 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0 [src/VulkanDevice.cpp:1379 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1 [src/VulkanDevice.cpp:1573 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 1 [src/VulkanDevice.cpp:1640 VulkanDevice] Vulkan device ready device=0000000025ea00d0 queue=0000000025de14d0 family=0 [src/Thread.cpp:524 RunThread] RunThread entry=0x141ffe720 arg=00000001435a1150 self=000000010e149e80 [src/Thread.cpp:524 RunThread] RunThread entry=0x141ffe720 arg=00000001435a1260 self=000000010e148980 [src/Thread.cpp:524 RunThread] RunThread entry=0x141ffe720 arg=00000001435a1370 self=000000010e14a780 [src/Thread.cpp:524 RunThread] RunThread entry=0x141ffe720 arg=00000001435a1480 self=000000010e14a980 [src/VulkanDevice.cpp:898 VulkanDevice] VulkanDevice constructor window=000000011c64fc30 [src/VulkanDevice.cpp:907 VulkanDevice] Vulkan loader loaded library=00007ffef2f30000 [src/VulkanDevice.cpp:923 VulkanDevice] Presentation window context=00000001015abd70 extent=1920x1080 extensions=2 [src/VulkanDevice.cpp:941 VulkanDevice] Vulkan instance created instance=000000011547c020 [src/VulkanDevice.cpp:946 VulkanDevice] Vulkan surface created surface=00000001205244e0 window=00000001015abd70 [src/VulkanDevice.cpp:952 VulkanDevice] Physical device count=1 [src/VulkanDevice.cpp:985 VulkanDevice] Physical device candidate=000000010dc224c0 name=NVIDIA GeForce RTX 5060 Ti api=0x40415f type=2 [src/VulkanDevice.cpp:1032 VulkanDevice] Physical device selected physical=000000010dc224c0 queueFamily=0 [src/VulkanDevice.cpp:1045 VulkanDevice] Selected GPU name=NVIDIA GeForce RTX 5060 Ti vendor=0x10de device=0x2d04 subgroup=32 [src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 0 size=16052.0 MiB flags=0x1 [src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 1 size=32710.4 MiB flags=0x0 [src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 2 size=214.0 MiB flags=0x1 [src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 0 heap=1 flags=0x0 [src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 1 heap=0 flags=0x1 [src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 2 heap=1 flags=0x6 [src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 3 heap=1 flags=0xe [src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 4 heap=2 flags=0x7 [src/VulkanDevice.cpp:1111 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0 [src/VulkanDevice.cpp:1379 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1 [src/VulkanDevice.cpp:1573 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 1 [src/VulkanDevice.cpp:1640 VulkanDevice] Vulkan device ready device=000000002a0f00d0 queue=0000000029d814d0 family=0 [src/VulkanDevice.cpp:1678 VulkanDevice] Surface capabilities drawable=1484x835 min=1484x835 max=1484x835 minImages=2 maxImages=8 usage=0x9f [src/VulkanDevice.cpp:1723 VulkanDevice] Swapchain created swapchain=000000002a720ad0 extent=1484x835 images=2 [src/PadInput.cpp:53 openController] Pad: connected game controller: Xbox Series X Controller (type 2, sensors accel=0 gyro=0, touchpads=0, led=0, trigger rumble=0) [src/Open.cpp:214 sceKernelOpen] path=/app0/workspaces/_ps5/cp11.cwks._ps5.dependencies flags=0x0 nativeFlags=0x8000 mode=00 [MSG-Init] Resource dependency file loaded: $/workspaces/****/cp11.cwks.****.dependencies [MSG-Init] ResourcePool::RecordResourceDependencies() took 1.1569s [src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=00000002684fe0a0 self=000000011a0c0880 [src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=0000000142ad4760 self=000000011a0c0b80 [src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=0000000142ad4860 self=000000011a0c0a80 [src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=0000000142ad4960 self=000000011a0c0480 [src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=00000002684fd6e0 self=000000011a0c0c80 [src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=00000002684fd610 self=0000000106c01020 [src/Open.cpp:214 sceKernelOpen] path=/app0/sound/banks/groupmix/cp11_groupmix.gmx flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/sound/banks/buss/cp11_buss.bus flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/sound/banks/buss/cp11_buss_acv.irpack flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/sound/distmodel.dml flags=0x0 nativeFlags=0x8000 mode=00 [src/Thread.cpp:524 RunThread] RunThread entry=0x141f6d610 arg=000000020129ddb8 self=000000019cb45bc0 [src/Thread.cpp:524 RunThread] RunThread entry=0x141f65c70 arg=0000000143598468 self=000000019cb461c0 [src/Thread.cpp:524 RunThread] RunThread entry=0x141f662c0 arg=0000000143598490 self=000000019cb451c0 [src/Open.cpp:214 sceKernelOpen] path=/app0/misc/renderconfig_ps5_high.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/misc/renderconfig_ps5_perf.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/misc/renderconfig_ps5_charactercreator.txt flags=0x0 nativeFlags=0x8000 mode=00 [MSG-Init] Finished Initialization: 6.1790s [MSG-Init] Starting Script: $/scripts/cp11/_cmn/cp11main.cgpr : 6.1800s [src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenu.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenuibl.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenugi.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenulighting.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenudynamic.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenupostfx.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenudebug.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugcp11menuprofile.txt flags=0x0 nativeFlags=0x8000 mode=00 [00:00:10.99 ERROR-General] DebugMenuCreateItem could not find concommand "cpuMarkerLevel" [00:00:10.99 ERROR-General] DebugMenuCreateItem could not find concommand "profileLoading_Print" [MSG-Init] Starting main loop: 11.0166s [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x305a00000 256x256 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=29 vk=83 [src/Texture.cpp:748 Texture] Texture address=0x305a00000 256x256 mips=1 viewed from storage image (vk=83) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x24a170000 256x256 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=13 vk=76 [src/Texture.cpp:748 Texture] Texture address=0x24a170000 256x256 mips=1 viewed from storage image (vk=76) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x24a1a0000 256x256 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=13 vk=76 [src/Texture.cpp:748 Texture] Texture address=0x24a1a0000 256x256 mips=1 viewed from storage image (vk=76) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x249250000 48x24 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=7 vk=70 [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x276900000 64x64 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=71 vk=97 [src/Texture.cpp:748 Texture] Texture address=0x276900000 64x64 mips=1 viewed from storage image (vk=97) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x249230000 64x64 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=71 vk=97 [src/Texture.cpp:748 Texture] Texture address=0x249230000 64x64 mips=1 viewed from storage image (vk=97) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x2ad470000 1024x512 mips=1 mip=0 layers=0 base=0 dim=1 tile=4 format=22 vk=100 [src/Texture.cpp:748 Texture] Texture address=0x2ad470000 1024x512 mips=1 viewed from storage image (vk=100) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x2ad680000 512x256 mips=9 mip=0 layers=0 base=0 dim=1 tile=3 format=22 vk=100 [src/Texture.cpp:748 Texture] Texture address=0x2ad680000 512x256 mips=9 viewed from storage image (vk=100) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x24a1d0000 64x8 mips=7 mip=0 layers=1 base=0 dim=2 tile=7 format=29 vk=83 [src/Texture.cpp:748 Texture] Texture address=0x24a1d0000 64x8 mips=7 viewed from storage image (vk=83) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x24a200000 64x64 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=56 vk=37 [src/Texture.cpp:748 Texture] Texture address=0x24a200000 64x64 mips=1 viewed from storage image (vk=37) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x303000000 256x256 mips=1 mip=0 layers=3 base=0 dim=4 tile=3 format=71 vk=97 [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x303800000 256x256 mips=1 mip=0 layers=3 base=0 dim=4 tile=3 format=22 vk=100 [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x302400000 256x256 mips=1 mip=0 layers=3 base=0 dim=4 tile=3 format=71 vk=97 [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x302c00000 256x256 mips=1 mip=0 layers=3 base=0 dim=4 tile=3 format=22 vk=100 [src/Texture.cpp:748 Texture] Texture address=0x303000000 256x256 mips=1 viewed from storage image (vk=97) [src/Texture.cpp:748 Texture] Texture address=0x303800000 256x256 mips=1 viewed from storage image (vk=100) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27a280000 2560x1440 mips=1 mip=0 layers=0 base=0 dim=1 tile=4 format=22 vk=100 [src/Texture.cpp:748 Texture] Texture address=0x27a280000 2560x1440 mips=1 viewed from storage image (vk=100) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27e510000 2560x1440 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=29 vk=83 [src/Texture.cpp:748 Texture] Texture address=0x27e510000 2560x1440 mips=1 viewed from storage image (vk=83) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x2accf0000 1280x720 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=22 vk=100 [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27fd60000 1280x720 mips=9 mip=0 layers=0 base=0 dim=1 tile=3 format=64 vk=103 [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27f810000 1280x720 mips=9 mip=0 layers=0 base=0 dim=1 tile=3 format=22 vk=100 [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27f410000 1280x720 mips=1 mip=0 layers=0 base=0 dim=1 tile=4 format=22 vk=100 [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x2807b0000 1024x1024 mips=1 mip=0 layers=3 base=0 dim=2 tile=4 format=22 vk=100 [src/Texture.cpp:561 Texture] Texture address=0x2807b0000 1024x1024 mips=1 layers=4 depth copy of storage image (vk=100 -> 126) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x289a40000 2560x1440 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=14 vk=16 [src/Texture.cpp:748 Texture] Texture address=0x27f810000 1280x720 mips=9 viewed from storage image (vk=100) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x249270000 32x16 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=71 vk=97 [src/Texture.cpp:748 Texture] Texture address=0x27fd60000 1280x720 mips=9 viewed from storage image (vk=103) [src/Texture.cpp:748 Texture] Texture address=0x27f810000 1280x720 mips=9 viewed from storage image (vk=100) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x2a7880000 214x120 mips=1 mip=0 layers=71 base=0 dim=4 tile=3 format=71 vk=97 [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x282af0000 27x15 mips=1 mip=0 layers=8 base=0 dim=4 tile=3 format=20 vk=98 [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27f7f0000 214x120 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=13 vk=76 [src/Texture.cpp:748 Texture] Texture address=0x27f7f0000 214x120 mips=1 viewed from storage image (vk=76) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27f800000 214x120 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=13 vk=76 [src/Texture.cpp:748 Texture] Texture address=0x27f800000 214x120 mips=1 viewed from storage image (vk=76) [00:00:14.09 ERROR-JobSystem] DeadLock Detection: Job RenderJob [25469] waiting on counter [0x0000000200553EE0] = 0 to be Equal 1. Time since commit 2.0000s [... repeated identically 2,419,965 times total, same thread/counter, over roughly 2-3 minutes until the process was killed ...] ======================================== STDERR LOG (shader compile warnings from the same run - several shaders hitting the same error) ======================================== [time] scheduler tick raised to 0.5 ms (was 0.50 ms, now 0.50 ms, timed waits fine) [memory] configured flexible memory: 0x1c000000 bytes (448 MiB) [write-watch] Windows direct host imports use comparisons; separate shared aliases retain guest write tracking [shader-disk-cache] D:\AnyPS5\DemonsSouls\shader_cache\ce0513dbc5744e08 (source version ce0513dbc5744e08, format 30) [write-watch] Windows direct host imports use comparisons; separate shared aliases retain guest write tracking [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x2489bea00 could not be prepared after registration: shader 0x2489bea00 stage 1: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249841f00 could not be prepared after registration: shader 0x249841f00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249840100 could not be prepared after registration: shader 0x249840100 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249846000 could not be prepared after registration: shader 0x249846000 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249844000 could not be prepared after registration: shader 0x249844000 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249849e00 could not be prepared after registration: shader 0x249849e00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249848000 could not be prepared after registration: shader 0x249848000 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x24984df00 could not be prepared after registration: shader 0x24984df00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x24984bf00 could not be prepared after registration: shader 0x24984bf00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [shader-disk-cache] (10 s): 0 hits, 1043 misses, 1038 writes (1554.8 MiB), 0 load failures, 0 write failures [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249856a00 could not be prepared after registration: shader 0x249856a00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [SAVEDATA:native] dirNameSearch user=268435456 pattern=(all) hit=0 set=0 -> 0x00000000 [mouse] video driver windows: guest 1920x1080 presented at 1484x835, delta scale 1.2938 x 1.2934 [gpu] sampled texture cache budget 9298 MiB: device-local heap 0 has a VK_EXT_memory_budget budget of 15284 MiB and uses 62 MiB, 0 MiB of it sampled textures (0 MiB in the cache) and 0 MiB cached storage images; storage image cache budget 4013 MiB [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x24984ff00 could not be prepared after registration: shader 0x24984ff00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [shader-disk-cache] (10 s): 0 hits, 769 misses, 758 writes (698.5 MiB), totals: 0 hits, 1812 misses, 1796 writes [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249a79700 could not be prepared after registration: shader 0x249a79700 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249a7ae00 could not be prepared after registration: shader 0x249a7ae00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249aa2d00 could not be prepared after registration: shader 0x249aa2d00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249aa1600 could not be prepared after registration: shader 0x249aa1600 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249aa4800 could not be prepared after registration: shader 0x249aa4800 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249aa5e00 could not be prepared after registration: shader 0x249aa5e00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [shader-disk-cache] (10 s): 0 hits, 519 misses, 526 writes (504.5 MiB), totals: 0 hits, 2331 misses, 2322 writes [shader-disk-cache] (10 s): 0 hits, 449 misses, 456 writes (447.4 MiB), totals: 0 hits, 2780 misses, 2778 writes [shader-disk-cache] (10 s): 0 hits, 394 misses, 386 writes (371.6 MiB), totals: 0 hits, 3174 misses, 3164 writes [shader-disk-cache] (10 s): 0 hits, 249 misses, 247 writes (325.2 MiB), totals: 0 hits, 3423 misses, 3411 writes [shader-disk-cache] (10 s): 0 hits, 261 misses, 263 writes (304.8 MiB), totals: 0 hits, 3684 misses, 3674 writes [shader-disk-cache] (10 s): 0 hits, 247 misses, 257 writes (299.7 MiB), totals: 0 hits, 3931 misses, 3931 writes (Note: the full RecompileRequest hex blobs that normally follow each shader failure line were stripped out of this copy for readability -- they're multi-KB base64-looking dumps of shader bytecode with no readable content. The original full files are still sitting at D:\AnyPS5\DemonsSouls\stdout.log and stderr.log if the maintainer wants those raw and unedited.) Any thing else needed, reach out :)
MarcZX10 commented 2026-10-17 16:43:41 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-17T16:43:41Z.


Thanks, this supplies the exact v0.1.2 commit and the run log we were missing. The first deadlock is at 14.09 s, shortly after the main loop starts; the shader preparation errors are a plausible lead, but this log does not identify which shader or dispatch owns the blocked RenderJob counter. Could you attach the untrimmed RecompileRequest blob for one failed shader (for example 0x2489bea00) and, if available from the same build, an APS5_CAPTURE_TRACE=1 run showing the final draw/dispatch before the first counter wait? That would let us connect the unsupported descriptor expression to this stall before changing either shader failure handling or job-counter behavior.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6236901208 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/7203#issuecomment-6236901208). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-17T16:43:41Z. --- Thanks, this supplies the exact v0.1.2 commit and the run log we were missing. The first deadlock is at 14.09 s, shortly after the main loop starts; the shader preparation errors are a plausible lead, but this log does not identify which shader or dispatch owns the blocked RenderJob counter. Could you attach the untrimmed RecompileRequest blob for one failed shader (for example `0x2489bea00`) and, if available from the same build, an `APS5_CAPTURE_TRACE=1` run showing the final draw/dispatch before the first counter wait? That would let us connect the unsupported descriptor expression to this stall before changing either shader failure handling or job-counter behavior.
samvighoss commented 2026-10-17 16:51:12 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by samvighoss on 2026-10-17T16:51:12Z.


DEMON'S SOULS DEADLOCK - FOLLOW-UP FOR THE GITHUB ISSUE
Prepared 2026-10-17

WHAT THEY ASKED FOR:

  1. The full console log for one run, including the first deadlock lines and the minutes before them.
  2. The exact AnyPS5 commit behind relinker/libraries v0.1.2.

(Note: their reply also had a stray file path at the end - "C:\kyty-src19\src\graphics\guest_gpu\command_processor\pm4Handlers.cpp:2158" - that's a Kyty source path, not AnyPS5, and doesn't belong in this context. Ignoring it; flagging here in case it matters to you.)

========================================
SUGGESTED REPLY TO POST ON THE ISSUE

Exact commit behind relinker/libraries v0.1.2: a48c00660e
(from the v0.1.2 tag on github.com/boykopovar/AnyPS5)

Full console output from one clean run (fresh shader cache, same deadlock counter both times
I've tried it: 0x0000000200553EE0). Trimmed the repeated deadlock line - it printed identically
2,419,965 times over about 2-3 minutes before I killed the process - full stdout log is below
with everything before that point included, plus one copy of the deadlock line and the repeat
count. Also attaching the matching stderr output from the same run below that, which shows
several shaders failing the same "GetImageResource dword 0 is not a valid runtime value" error
during shader compilation, before the deadlock happens - if that error is related to your
"unimplemented shim path" theory, I'm seeing it on more than one shader this run, not just one.

Happy to run it again with any extra flags/diagnostics you want.

========================================
STDOUT LOG (init through first deadlock line, then repeat count)

Transferring control to ELF entry point
[MSG-Init] PS5 Mode: Standard - Debug Memory: 1.50 GiB
[MSG-Init] Total Direct Memory: 13824.00 MiB - 0x0000000360000000 Bytes
[MSG-Init] Total Available Direct Memory: 13824.00 MiB - 0x0000000360000000 Bytes
[MSG-Init] Total Available Allocator Memory: 13821.56 MiB - 0x000000035fd90000 Bytes Memory Tracking Overhead: 2.44 MiB
[src/Open.cpp:214 sceKernelOpen] path=/hostapp/misc/findWriteRepository.txt flags=0x601 nativeFlags=0x8301 mode=0777
[MSG-Init] Repository path: $/ = /app0
[MSG-Init] Repository write path: #/ = /devlog/app
[src/Open.cpp:214 sceKernelOpen] path=/devlog/app/logs/demonssoul_ps5_2026-10-17-16-03-38_0.log flags=0x601 nativeFlags=0x8301 mode=0777
[src/Open.cpp:214 sceKernelOpen] path=/app0/playgo-chunkdefs.xml flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/gameversion.txt flags=0x0 nativeFlags=0x8000 mode=00
[MSG-Init] ParseBuildVersion:
[MSG-Init] Build Version: LOCAL_BUILD
[src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/defaultcmdlineargs.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/misc/gamecommandlineargs.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/packagecmdlineargs.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/devlog/app/commandlineargs.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00050 self=0000000002c0ece0
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00110 self=000000000300ee20
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a001d0 self=00000000067655f0
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00290 self=00000000047d4c10
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00350 self=0000000007739e20
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00410 self=00000000086ffa90
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a004d0 self=0000000008701c70
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00590 self=0000000008706e50
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00650 self=0000000005784150
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00710 self=0000000005786e70
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a007d0 self=0000000005785570
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00890 self=0000000005785970
[src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00950 self=0000000005785f70
[src/Open.cpp:214 sceKernelOpen] path=/devlog/app/devpsarcs/recentlycookedfiles.ps5.txt flags=0x0 nativeFlags=0x8000 mode=00
[MSG-Init] Starting Initialization: 32.4195ms
[MSG-Init] CmdLine: +enableOccluderRandomClearColor=true +LoadCmdsFromFile=$/CoreData/EngineSupport/DebugMenu/DebugRenderMenu.txt +VSyncWindow=10% +TargetFramesPerSecond=60 +go_skipGameObjectCreationForXPR=true +physicsPerformShapeValidation=false +ResourceDependenciesFile=$/workspaces//cp11.cwks..dependencies +DebugMenuCreateItem=convar=launchExecutable,params={binary=/app0/DemonsSoul_PROSPERO_Release.elf},caption="Launch Release Elf",menu=Debug +footIkEnablePhysicsRaycasts=true +renderStatsYOffsetPercent=0.1 +cp11_defaultLoadout=$/misc/loadouts/misc/goldenpath.txt +sound_screamEnableACVLR2=true +cp11_cutscenes_cinematicSkipMode=OnlyHost +DebugMenuLoadConVars +StartupScript=$/scripts/cp11/cp11main.script
[src/VulkanDevice.cpp:898 VulkanDevice] VulkanDevice constructor window=0000000000000000
[src/VulkanDevice.cpp:907 VulkanDevice] Vulkan loader loaded library=00007ffef2f30000
[src/VulkanDevice.cpp:941 VulkanDevice] Vulkan instance created instance=0000000009469860
[src/VulkanDevice.cpp:952 VulkanDevice] Physical device count=1
[src/VulkanDevice.cpp:985 VulkanDevice] Physical device candidate=0000000009575690 name=NVIDIA GeForce RTX 5060 Ti api=0x40415f type=2
[src/VulkanDevice.cpp:1032 VulkanDevice] Physical device selected physical=0000000009575690 queueFamily=0
[src/VulkanDevice.cpp:1045 VulkanDevice] Selected GPU name=NVIDIA GeForce RTX 5060 Ti vendor=0x10de device=0x2d04 subgroup=32
[src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 0 size=16052.0 MiB flags=0x1
[src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 1 size=32710.4 MiB flags=0x0
[src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 2 size=214.0 MiB flags=0x1
[src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 0 heap=1 flags=0x0
[src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 1 heap=0 flags=0x1
[src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 2 heap=1 flags=0x6
[src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 3 heap=1 flags=0xe
[src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 4 heap=2 flags=0x7
[src/VulkanDevice.cpp:1111 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0
[src/VulkanDevice.cpp:1379 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1
[src/VulkanDevice.cpp:1573 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 1
[src/VulkanDevice.cpp:1640 VulkanDevice] Vulkan device ready device=0000000025ea00d0 queue=0000000025de14d0 family=0
[src/Thread.cpp:524 RunThread] RunThread entry=0x141ffe720 arg=00000001435a1150 self=000000010e149e80
[src/Thread.cpp:524 RunThread] RunThread entry=0x141ffe720 arg=00000001435a1260 self=000000010e148980
[src/Thread.cpp:524 RunThread] RunThread entry=0x141ffe720 arg=00000001435a1370 self=000000010e14a780
[src/Thread.cpp:524 RunThread] RunThread entry=0x141ffe720 arg=00000001435a1480 self=000000010e14a980
[src/VulkanDevice.cpp:898 VulkanDevice] VulkanDevice constructor window=000000011c64fc30
[src/VulkanDevice.cpp:907 VulkanDevice] Vulkan loader loaded library=00007ffef2f30000
[src/VulkanDevice.cpp:923 VulkanDevice] Presentation window context=00000001015abd70 extent=1920x1080 extensions=2
[src/VulkanDevice.cpp:941 VulkanDevice] Vulkan instance created instance=000000011547c020
[src/VulkanDevice.cpp:946 VulkanDevice] Vulkan surface created surface=00000001205244e0 window=00000001015abd70
[src/VulkanDevice.cpp:952 VulkanDevice] Physical device count=1
[src/VulkanDevice.cpp:985 VulkanDevice] Physical device candidate=000000010dc224c0 name=NVIDIA GeForce RTX 5060 Ti api=0x40415f type=2
[src/VulkanDevice.cpp:1032 VulkanDevice] Physical device selected physical=000000010dc224c0 queueFamily=0
[src/VulkanDevice.cpp:1045 VulkanDevice] Selected GPU name=NVIDIA GeForce RTX 5060 Ti vendor=0x10de device=0x2d04 subgroup=32
[src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 0 size=16052.0 MiB flags=0x1
[src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 1 size=32710.4 MiB flags=0x0
[src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 2 size=214.0 MiB flags=0x1
[src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 0 heap=1 flags=0x0
[src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 1 heap=0 flags=0x1
[src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 2 heap=1 flags=0x6
[src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 3 heap=1 flags=0xe
[src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 4 heap=2 flags=0x7
[src/VulkanDevice.cpp:1111 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0
[src/VulkanDevice.cpp:1379 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1
[src/VulkanDevice.cpp:1573 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 1
[src/VulkanDevice.cpp:1640 VulkanDevice] Vulkan device ready device=000000002a0f00d0 queue=0000000029d814d0 family=0
[src/VulkanDevice.cpp:1678 VulkanDevice] Surface capabilities drawable=1484x835 min=1484x835 max=1484x835 minImages=2 maxImages=8 usage=0x9f
[src/VulkanDevice.cpp:1723 VulkanDevice] Swapchain created swapchain=000000002a720ad0 extent=1484x835 images=2
[src/PadInput.cpp:53 openController] Pad: connected game controller: Xbox Series X Controller (type 2, sensors accel=0 gyro=0, touchpads=0, led=0, trigger rumble=0)
[src/Open.cpp:214 sceKernelOpen] path=/app0/workspaces/_ps5/cp11.cwks._ps5.dependencies flags=0x0 nativeFlags=0x8000 mode=00
[MSG-Init] Resource dependency file loaded: $/workspaces//cp11.cwks..dependencies
[MSG-Init] ResourcePool::RecordResourceDependencies() took 1.1569s
[src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=00000002684fe0a0 self=000000011a0c0880
[src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=0000000142ad4760 self=000000011a0c0b80
[src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=0000000142ad4860 self=000000011a0c0a80
[src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=0000000142ad4960 self=000000011a0c0480
[src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=00000002684fd6e0 self=000000011a0c0c80
[src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=00000002684fd610 self=0000000106c01020
[src/Open.cpp:214 sceKernelOpen] path=/app0/sound/banks/groupmix/cp11_groupmix.gmx flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/sound/banks/buss/cp11_buss.bus flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/sound/banks/buss/cp11_buss_acv.irpack flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/sound/distmodel.dml flags=0x0 nativeFlags=0x8000 mode=00
[src/Thread.cpp:524 RunThread] RunThread entry=0x141f6d610 arg=000000020129ddb8 self=000000019cb45bc0
[src/Thread.cpp:524 RunThread] RunThread entry=0x141f65c70 arg=0000000143598468 self=000000019cb461c0
[src/Thread.cpp:524 RunThread] RunThread entry=0x141f662c0 arg=0000000143598490 self=000000019cb451c0
[src/Open.cpp:214 sceKernelOpen] path=/app0/misc/renderconfig_ps5_high.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/misc/renderconfig_ps5_perf.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/misc/renderconfig_ps5_charactercreator.txt flags=0x0 nativeFlags=0x8000 mode=00
[MSG-Init] Finished Initialization: 6.1790s
[MSG-Init] Starting Script: $/scripts/cp11/_cmn/cp11main.cgpr : 6.1800s
[src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenu.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenuibl.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenugi.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenulighting.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenudynamic.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenupostfx.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenudebug.txt flags=0x0 nativeFlags=0x8000 mode=00
[src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugcp11menuprofile.txt flags=0x0 nativeFlags=0x8000 mode=00
[00:00:10.99 ERROR-General] DebugMenuCreateItem could not find concommand "cpuMarkerLevel"
[00:00:10.99 ERROR-General] DebugMenuCreateItem could not find concommand "profileLoading_Print"
[MSG-Init] Starting main loop: 11.0166s
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x305a00000 256x256 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=29 vk=83
[src/Texture.cpp:748 Texture] Texture address=0x305a00000 256x256 mips=1 viewed from storage image (vk=83)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x24a170000 256x256 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=13 vk=76
[src/Texture.cpp:748 Texture] Texture address=0x24a170000 256x256 mips=1 viewed from storage image (vk=76)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x24a1a0000 256x256 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=13 vk=76
[src/Texture.cpp:748 Texture] Texture address=0x24a1a0000 256x256 mips=1 viewed from storage image (vk=76)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x249250000 48x24 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=7 vk=70
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x276900000 64x64 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=71 vk=97
[src/Texture.cpp:748 Texture] Texture address=0x276900000 64x64 mips=1 viewed from storage image (vk=97)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x249230000 64x64 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=71 vk=97
[src/Texture.cpp:748 Texture] Texture address=0x249230000 64x64 mips=1 viewed from storage image (vk=97)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x2ad470000 1024x512 mips=1 mip=0 layers=0 base=0 dim=1 tile=4 format=22 vk=100
[src/Texture.cpp:748 Texture] Texture address=0x2ad470000 1024x512 mips=1 viewed from storage image (vk=100)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x2ad680000 512x256 mips=9 mip=0 layers=0 base=0 dim=1 tile=3 format=22 vk=100
[src/Texture.cpp:748 Texture] Texture address=0x2ad680000 512x256 mips=9 viewed from storage image (vk=100)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x24a1d0000 64x8 mips=7 mip=0 layers=1 base=0 dim=2 tile=7 format=29 vk=83
[src/Texture.cpp:748 Texture] Texture address=0x24a1d0000 64x8 mips=7 viewed from storage image (vk=83)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x24a200000 64x64 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=56 vk=37
[src/Texture.cpp:748 Texture] Texture address=0x24a200000 64x64 mips=1 viewed from storage image (vk=37)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x303000000 256x256 mips=1 mip=0 layers=3 base=0 dim=4 tile=3 format=71 vk=97
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x303800000 256x256 mips=1 mip=0 layers=3 base=0 dim=4 tile=3 format=22 vk=100
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x302400000 256x256 mips=1 mip=0 layers=3 base=0 dim=4 tile=3 format=71 vk=97
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x302c00000 256x256 mips=1 mip=0 layers=3 base=0 dim=4 tile=3 format=22 vk=100
[src/Texture.cpp:748 Texture] Texture address=0x303000000 256x256 mips=1 viewed from storage image (vk=97)
[src/Texture.cpp:748 Texture] Texture address=0x303800000 256x256 mips=1 viewed from storage image (vk=100)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27a280000 2560x1440 mips=1 mip=0 layers=0 base=0 dim=1 tile=4 format=22 vk=100
[src/Texture.cpp:748 Texture] Texture address=0x27a280000 2560x1440 mips=1 viewed from storage image (vk=100)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27e510000 2560x1440 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=29 vk=83
[src/Texture.cpp:748 Texture] Texture address=0x27e510000 2560x1440 mips=1 viewed from storage image (vk=83)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x2accf0000 1280x720 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=22 vk=100
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27fd60000 1280x720 mips=9 mip=0 layers=0 base=0 dim=1 tile=3 format=64 vk=103
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27f810000 1280x720 mips=9 mip=0 layers=0 base=0 dim=1 tile=3 format=22 vk=100
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27f410000 1280x720 mips=1 mip=0 layers=0 base=0 dim=1 tile=4 format=22 vk=100
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x2807b0000 1024x1024 mips=1 mip=0 layers=3 base=0 dim=2 tile=4 format=22 vk=100
[src/Texture.cpp:561 Texture] Texture address=0x2807b0000 1024x1024 mips=1 layers=4 depth copy of storage image (vk=100 -> 126)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x289a40000 2560x1440 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=14 vk=16
[src/Texture.cpp:748 Texture] Texture address=0x27f810000 1280x720 mips=9 viewed from storage image (vk=100)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x249270000 32x16 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=71 vk=97
[src/Texture.cpp:748 Texture] Texture address=0x27fd60000 1280x720 mips=9 viewed from storage image (vk=103)
[src/Texture.cpp:748 Texture] Texture address=0x27f810000 1280x720 mips=9 viewed from storage image (vk=100)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x2a7880000 214x120 mips=1 mip=0 layers=71 base=0 dim=4 tile=3 format=71 vk=97
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x282af0000 27x15 mips=1 mip=0 layers=8 base=0 dim=4 tile=3 format=20 vk=98
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27f7f0000 214x120 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=13 vk=76
[src/Texture.cpp:748 Texture] Texture address=0x27f7f0000 214x120 mips=1 viewed from storage image (vk=76)
[src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27f800000 214x120 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=13 vk=76
[src/Texture.cpp:748 Texture] Texture address=0x27f800000 214x120 mips=1 viewed from storage image (vk=76)
[00:00:14.09 ERROR-JobSystem] DeadLock Detection: Job RenderJob [25469] waiting on counter [0x0000000200553EE0] = 0 to be Equal 1. Time since commit 2.0000s

[... repeated identically 2,419,965 times total, same thread/counter, over roughly 2-3 minutes until the process was killed ...]

========================================
STDERR LOG (shader compile warnings from the same run - several shaders hitting the same error)

[time] scheduler tick raised to 0.5 ms (was 0.50 ms, now 0.50 ms, timed waits fine)
[memory] configured flexible memory: 0x1c000000 bytes (448 MiB)
[write-watch] Windows direct host imports use comparisons; separate shared aliases retain guest write tracking
[shader-disk-cache] D:\AnyPS5\DemonsSouls\shader_cache\ce0513dbc5744e08 (source version ce0513dbc5744e08, format 30)
[write-watch] Windows direct host imports use comparisons; separate shared aliases retain guest write tracking
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x2489bea00 could not be prepared after registration: shader 0x2489bea00 stage 1: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249841f00 could not be prepared after registration: shader 0x249841f00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249840100 could not be prepared after registration: shader 0x249840100 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249846000 could not be prepared after registration: shader 0x249846000 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249844000 could not be prepared after registration: shader 0x249844000 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249849e00 could not be prepared after registration: shader 0x249849e00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249848000 could not be prepared after registration: shader 0x249848000 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x24984df00 could not be prepared after registration: shader 0x24984df00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x24984bf00 could not be prepared after registration: shader 0x24984bf00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[shader-disk-cache] (10 s): 0 hits, 1043 misses, 1038 writes (1554.8 MiB), 0 load failures, 0 write failures
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249856a00 could not be prepared after registration: shader 0x249856a00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[SAVEDATA:native] dirNameSearch user=268435456 pattern=(all) hit=0 set=0 -> 0x00000000
[mouse] video driver windows: guest 1920x1080 presented at 1484x835, delta scale 1.2938 x 1.2934
[gpu] sampled texture cache budget 9298 MiB: device-local heap 0 has a VK_EXT_memory_budget budget of 15284 MiB and uses 62 MiB, 0 MiB of it sampled textures (0 MiB in the cache) and 0 MiB cached storage images; storage image cache budget 4013 MiB
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x24984ff00 could not be prepared after registration: shader 0x24984ff00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[shader-disk-cache] (10 s): 0 hits, 769 misses, 758 writes (698.5 MiB), totals: 0 hits, 1812 misses, 1796 writes
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249a79700 could not be prepared after registration: shader 0x249a79700 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249a7ae00 could not be prepared after registration: shader 0x249a7ae00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249aa2d00 could not be prepared after registration: shader 0x249aa2d00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249aa1600 could not be prepared after registration: shader 0x249aa1600 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249aa4800 could not be prepared after registration: shader 0x249aa4800 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249aa5e00 could not be prepared after registration: shader 0x249aa5e00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request)
[shader-disk-cache] (10 s): 0 hits, 519 misses, 526 writes (504.5 MiB), totals: 0 hits, 2331 misses, 2322 writes
[shader-disk-cache] (10 s): 0 hits, 449 misses, 456 writes (447.4 MiB), totals: 0 hits, 2780 misses, 2778 writes
[shader-disk-cache] (10 s): 0 hits, 394 misses, 386 writes (371.6 MiB), totals: 0 hits, 3174 misses, 3164 writes
[shader-disk-cache] (10 s): 0 hits, 249 misses, 247 writes (325.2 MiB), totals: 0 hits, 3423 misses, 3411 writes
[shader-disk-cache] (10 s): 0 hits, 261 misses, 263 writes (304.8 MiB), totals: 0 hits, 3684 misses, 3674 writes
[shader-disk-cache] (10 s): 0 hits, 247 misses, 257 writes (299.7 MiB), totals: 0 hits, 3931 misses, 3931 writes

(Note: the full RecompileRequest hex blobs that normally follow each shader failure line were stripped out of this
copy for readability -- they're multi-KB base64-looking dumps of shader bytecode with no readable content. The
original full files are still sitting at D:\AnyPS5\DemonsSouls\stdout.log and stderr.log if the maintainer wants
those raw and unedited.)

========================================
REPLY 2 - follow-up to their second comment

Note on APS5_CAPTURE_TRACE: I don't see that exact variable anywhere in the project's USAGE.md or in the repo's
file tree, and a web search for it didn't turn up anything concrete either, so I think that name may not be
right (same as the stray Kyty file path in the first reply - flagging rather than guessing). The real, documented
equivalent for capturing draws/dispatches is APS5_TRACE_SECONDS plus APS5_PROFILE_GPU, so I ran with those instead,
plus APS5_PM4_RING and APS5_STALL_WATCHDOG_SECS for good measure. Here's what actually happened - this is itself
informative:

  • No aps5-trace-*.json.gz or aps5-summary.jsonl file was produced at all.
  • No PM4 ring dump or stall-watchdog message ever printed to the console, even well past a minute into the hang.
  • The deadlock fired at the exact same counter (0x0000000200553EE0) as every previous run.

Per the project's own docs, APS5_TRACE_SECONDS/APS5_TRACE_FRAMES windows open and close at present events, and
write nothing if the window is still open when the title exits. Based on this run, it looks like Demon's Souls
never presents a single frame before hitting this stall - so there's no "final draw/dispatch" to capture, because
the stall happens before the engine ever gets that far. Combined with the stall watchdog (which watches the GPU
command queue for WAIT_REG_MEM/REWIND stalls) never firing either, this points to the block happening entirely on
the CPU/job-scheduler side, before anything is even submitted to the GPU for this job - consistent with your "shim
never increments the counter" theory, and maybe narrows it further since it suggests the GPU submission for this
particular RenderJob may never happen at all, rather than happening and then getting stuck.

Full untrimmed RecompileRequest for shader 0x2489bea00, as requested:

[Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x2489bea00 could not be prepared after registration: shader 0x2489bea00 stage 1: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value; chain: LoadAddressU32@pc=0x00000288(GetAddressResource(ReadConst(GetSrtResource, Immediate), ReadConst(GetSrtResource, Immediate)), IAdd32(ShiftLeftLogical32(Phi(Immediate, IAdd32(Phi(Immediate, IAdd32(Phi(Immediate, IAdd32), Immediate)), Immediate)), Immediate), Immediate), Immediate, Immediate)
RecompileRequest:
NVNQQRcAAAABAOqbSAIAAACYAQAAAAAAAP8D/L4iL9jOAACWvwMAoL8D/+uTCAAIAGuMao8D/wCH/wAAAABqfIgJAJC/wGvqgcFq/pBBCQD4AAAAAMAA6oEP/4y/wWr+kAAAR9cFURUCBAgI9AAAAPqEGgT0EAAA+oACBn6AA7a+fgSwvn4Esr5/wIy/AIA83AAAIgAQCgj0AAIA+hAEDPTgAQD6EAAQ9BAEAPoQDQT0KAMA+jULCPRQAQD6EAYM9AALAPoAAIC/EQgA9IAFAPo1CQj0wAAA+v8D6r4AAKDAf8CMv/lqCAZqBoaGcD+MvwcAQdUCVawACABB1QItXAAJAEHVAiVMACkCDj4GAEHVASsgBBECEj4oAA4+FAAMPggAQdUQACYECgBB1Q4OPgANAEHVAg4OAA4AQdUKDi4ADwBB1QYOHgAIERIQDABB1Q0MKgQBDBo+CQwcPgUMHj40Dg4IDBAYPgYNEj4AEBo+CBAcPgQQHj4MVRZ+Bw8SPgsbDhALHQwQCx8QEAlnFH4IAbzwBglmAQoJDAgKCQh8/wwIEM3MTD7yCAgecD+MvwkJDAYGA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AAAAYBEAAHARAAByEQAAcxEAAJgTAAC/EwAAhhQAAKMUAACkFAAAtRQAALsUAAC9FAAA4xQAAAIVAAAKAAAAAAAAABsAAAAAAAAAU1BWX0VYVF9kZXNjcmlwdG9yX2luZGV4aW5nIQAAAAAAAABTUFZfRVhUX2ZyYWdtZW50X3NoYWRlcl9pbnRlcmxvY2sTAAAAAAAAAFNQVl9FWFRfbWVzaF9zaGFkZXIaAAAAAAAAAFNQVl9FWFRfc2hhZGVyX2ltYWdlX2ludDY0IwAAAAAAAABTUFZfRVhUX3NoYWRlcl92aWV3cG9ydF9pbmRleF9sYXllchQAAAAAAAAAU1BWX0tIUl84Yml0X3N0b3JhZ2UWAAAAAAAAAFNQVl9LSFJfZmxvYXRfY29udHJvbHMjAAAAAAAAAFNQVl9LSFJfZnJhZ21lbnRfc2hhZGVyX2JhcnljZW50cmljHwAAAAAAAABTUFZfS0hSX3BoeXNpY2FsX3N0b3JhZ2VfYnVmZmVyFAAAAAAAAABTUFZfS0hSX3NoYWRlcl9jbG9jawEABAAAAAQAAEAAAAAABAAAAMAAAAGAAAAAgAAAAIAAAACAAAAAAHAAAAABAAAAAQAAgAAAAACAAAAgAAAAIAAAAAEgAAAAgAAAAIAAAAB4AAAAeBAAAIAAAACAAAAAAAAAAAAAAAAAAAAAgAAAAAABAQIAAAAAAAFADQMAAQE=

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6237013202 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/7203#issuecomment-6237013202). Originally posted by [samvighoss](https://github.com/samvighoss) on 2026-10-17T16:51:12Z. --- DEMON'S SOULS DEADLOCK - FOLLOW-UP FOR THE GITHUB ISSUE Prepared 2026-10-17 WHAT THEY ASKED FOR: 1. The full console log for one run, including the first deadlock lines and the minutes before them. 2. The exact AnyPS5 commit behind relinker/libraries v0.1.2. (Note: their reply also had a stray file path at the end - "C:\kyty-src19\src\graphics\guest_gpu\command_processor\pm4Handlers.cpp:2158" - that's a Kyty source path, not AnyPS5, and doesn't belong in this context. Ignoring it; flagging here in case it matters to you.) ======================================== SUGGESTED REPLY TO POST ON THE ISSUE ======================================== Exact commit behind relinker/libraries v0.1.2: a48c00660eae7afd204fdb7513a52380dddf5a04 (from the v0.1.2 tag on github.com/boykopovar/AnyPS5) Full console output from one clean run (fresh shader cache, same deadlock counter both times I've tried it: 0x0000000200553EE0). Trimmed the repeated deadlock line - it printed identically 2,419,965 times over about 2-3 minutes before I killed the process - full stdout log is below with everything before that point included, plus one copy of the deadlock line and the repeat count. Also attaching the matching stderr output from the same run below that, which shows several shaders failing the same "GetImageResource dword 0 is not a valid runtime value" error during shader compilation, before the deadlock happens - if that error is related to your "unimplemented shim path" theory, I'm seeing it on more than one shader this run, not just one. Happy to run it again with any extra flags/diagnostics you want. ======================================== STDOUT LOG (init through first deadlock line, then repeat count) ======================================== Transferring control to ELF entry point [MSG-Init] PS5 Mode: Standard - Debug Memory: 1.50 GiB [MSG-Init] Total Direct Memory: 13824.00 MiB - 0x0000000360000000 Bytes [MSG-Init] Total Available Direct Memory: 13824.00 MiB - 0x0000000360000000 Bytes [MSG-Init] Total Available Allocator Memory: 13821.56 MiB - 0x000000035fd90000 Bytes Memory Tracking Overhead: 2.44 MiB [src/Open.cpp:214 sceKernelOpen] path=/hostapp/misc/findWriteRepository.txt flags=0x601 nativeFlags=0x8301 mode=0777 [MSG-Init] Repository path: $/ = /app0 [MSG-Init] Repository write path: #/ = /devlog/app [src/Open.cpp:214 sceKernelOpen] path=/devlog/app/logs/demonssoul_ps5_2026-10-17-16-03-38_0.log flags=0x601 nativeFlags=0x8301 mode=0777 [src/Open.cpp:214 sceKernelOpen] path=/app0/playgo-chunkdefs.xml flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/gameversion.txt flags=0x0 nativeFlags=0x8000 mode=00 [MSG-Init] ParseBuildVersion: [MSG-Init] Build Version: LOCAL_BUILD [src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/defaultcmdlineargs.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/misc/gamecommandlineargs.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/packagecmdlineargs.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/devlog/app/commandlineargs.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00050 self=0000000002c0ece0 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00110 self=000000000300ee20 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a001d0 self=00000000067655f0 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00290 self=00000000047d4c10 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00350 self=0000000007739e20 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00410 self=00000000086ffa90 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a004d0 self=0000000008701c70 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00590 self=0000000008706e50 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00650 self=0000000005784150 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00710 self=0000000005786e70 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a007d0 self=0000000005785570 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00890 self=0000000005785970 [src/Thread.cpp:524 RunThread] RunThread entry=0x1408844b0 arg=0000000268a00950 self=0000000005785f70 [src/Open.cpp:214 sceKernelOpen] path=/devlog/app/devpsarcs/recentlycookedfiles.ps5.txt flags=0x0 nativeFlags=0x8000 mode=00 [MSG-Init] Starting Initialization: 32.4195ms [MSG-Init] CmdLine: +enableOccluderRandomClearColor=true +LoadCmdsFromFile=$/CoreData/EngineSupport/DebugMenu/DebugRenderMenu.txt +VSyncWindow=10% +TargetFramesPerSecond=60 +go_skipGameObjectCreationForXPR=true +physicsPerformShapeValidation=false +ResourceDependenciesFile=$/workspaces/****/cp11.cwks.****.dependencies +DebugMenuCreateItem=convar=launchExecutable,params={binary=/app0/DemonsSoul_PROSPERO_Release.elf},caption="Launch Release Elf",menu=Debug +footIkEnablePhysicsRaycasts=true +renderStatsYOffsetPercent=0.1 +cp11_defaultLoadout=$/misc/loadouts/misc/goldenpath.txt +sound_screamEnableACVLR2=true +cp11_cutscenes_cinematicSkipMode=OnlyHost +DebugMenuLoadConVars +StartupScript=$/scripts/cp11/cp11main.script [src/VulkanDevice.cpp:898 VulkanDevice] VulkanDevice constructor window=0000000000000000 [src/VulkanDevice.cpp:907 VulkanDevice] Vulkan loader loaded library=00007ffef2f30000 [src/VulkanDevice.cpp:941 VulkanDevice] Vulkan instance created instance=0000000009469860 [src/VulkanDevice.cpp:952 VulkanDevice] Physical device count=1 [src/VulkanDevice.cpp:985 VulkanDevice] Physical device candidate=0000000009575690 name=NVIDIA GeForce RTX 5060 Ti api=0x40415f type=2 [src/VulkanDevice.cpp:1032 VulkanDevice] Physical device selected physical=0000000009575690 queueFamily=0 [src/VulkanDevice.cpp:1045 VulkanDevice] Selected GPU name=NVIDIA GeForce RTX 5060 Ti vendor=0x10de device=0x2d04 subgroup=32 [src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 0 size=16052.0 MiB flags=0x1 [src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 1 size=32710.4 MiB flags=0x0 [src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 2 size=214.0 MiB flags=0x1 [src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 0 heap=1 flags=0x0 [src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 1 heap=0 flags=0x1 [src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 2 heap=1 flags=0x6 [src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 3 heap=1 flags=0xe [src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 4 heap=2 flags=0x7 [src/VulkanDevice.cpp:1111 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0 [src/VulkanDevice.cpp:1379 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1 [src/VulkanDevice.cpp:1573 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 1 [src/VulkanDevice.cpp:1640 VulkanDevice] Vulkan device ready device=0000000025ea00d0 queue=0000000025de14d0 family=0 [src/Thread.cpp:524 RunThread] RunThread entry=0x141ffe720 arg=00000001435a1150 self=000000010e149e80 [src/Thread.cpp:524 RunThread] RunThread entry=0x141ffe720 arg=00000001435a1260 self=000000010e148980 [src/Thread.cpp:524 RunThread] RunThread entry=0x141ffe720 arg=00000001435a1370 self=000000010e14a780 [src/Thread.cpp:524 RunThread] RunThread entry=0x141ffe720 arg=00000001435a1480 self=000000010e14a980 [src/VulkanDevice.cpp:898 VulkanDevice] VulkanDevice constructor window=000000011c64fc30 [src/VulkanDevice.cpp:907 VulkanDevice] Vulkan loader loaded library=00007ffef2f30000 [src/VulkanDevice.cpp:923 VulkanDevice] Presentation window context=00000001015abd70 extent=1920x1080 extensions=2 [src/VulkanDevice.cpp:941 VulkanDevice] Vulkan instance created instance=000000011547c020 [src/VulkanDevice.cpp:946 VulkanDevice] Vulkan surface created surface=00000001205244e0 window=00000001015abd70 [src/VulkanDevice.cpp:952 VulkanDevice] Physical device count=1 [src/VulkanDevice.cpp:985 VulkanDevice] Physical device candidate=000000010dc224c0 name=NVIDIA GeForce RTX 5060 Ti api=0x40415f type=2 [src/VulkanDevice.cpp:1032 VulkanDevice] Physical device selected physical=000000010dc224c0 queueFamily=0 [src/VulkanDevice.cpp:1045 VulkanDevice] Selected GPU name=NVIDIA GeForce RTX 5060 Ti vendor=0x10de device=0x2d04 subgroup=32 [src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 0 size=16052.0 MiB flags=0x1 [src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 1 size=32710.4 MiB flags=0x0 [src/VulkanDevice.cpp:1047 VulkanDevice] Memory heap 2 size=214.0 MiB flags=0x1 [src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 0 heap=1 flags=0x0 [src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 1 heap=0 flags=0x1 [src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 2 heap=1 flags=0x6 [src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 3 heap=1 flags=0xe [src/VulkanDevice.cpp:1048 VulkanDevice] Memory type 4 heap=2 flags=0x7 [src/VulkanDevice.cpp:1111 VulkanDevice] Shader clock driver=4 narrowSubgroupClock=0 [src/VulkanDevice.cpp:1379 VulkanDevice] Vulkan features tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1 [src/VulkanDevice.cpp:1573 VulkanDevice] Wave32 programs run on subgroups of 32: compute 1, mesh 1 [src/VulkanDevice.cpp:1640 VulkanDevice] Vulkan device ready device=000000002a0f00d0 queue=0000000029d814d0 family=0 [src/VulkanDevice.cpp:1678 VulkanDevice] Surface capabilities drawable=1484x835 min=1484x835 max=1484x835 minImages=2 maxImages=8 usage=0x9f [src/VulkanDevice.cpp:1723 VulkanDevice] Swapchain created swapchain=000000002a720ad0 extent=1484x835 images=2 [src/PadInput.cpp:53 openController] Pad: connected game controller: Xbox Series X Controller (type 2, sensors accel=0 gyro=0, touchpads=0, led=0, trigger rumble=0) [src/Open.cpp:214 sceKernelOpen] path=/app0/workspaces/_ps5/cp11.cwks._ps5.dependencies flags=0x0 nativeFlags=0x8000 mode=00 [MSG-Init] Resource dependency file loaded: $/workspaces/****/cp11.cwks.****.dependencies [MSG-Init] ResourcePool::RecordResourceDependencies() took 1.1569s [src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=00000002684fe0a0 self=000000011a0c0880 [src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=0000000142ad4760 self=000000011a0c0b80 [src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=0000000142ad4860 self=000000011a0c0a80 [src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=0000000142ad4960 self=000000011a0c0480 [src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=00000002684fd6e0 self=000000011a0c0c80 [src/Thread.cpp:524 RunThread] RunThread entry=0x141225b60 arg=00000002684fd610 self=0000000106c01020 [src/Open.cpp:214 sceKernelOpen] path=/app0/sound/banks/groupmix/cp11_groupmix.gmx flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/sound/banks/buss/cp11_buss.bus flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/sound/banks/buss/cp11_buss_acv.irpack flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/sound/distmodel.dml flags=0x0 nativeFlags=0x8000 mode=00 [src/Thread.cpp:524 RunThread] RunThread entry=0x141f6d610 arg=000000020129ddb8 self=000000019cb45bc0 [src/Thread.cpp:524 RunThread] RunThread entry=0x141f65c70 arg=0000000143598468 self=000000019cb461c0 [src/Thread.cpp:524 RunThread] RunThread entry=0x141f662c0 arg=0000000143598490 self=000000019cb451c0 [src/Open.cpp:214 sceKernelOpen] path=/app0/misc/renderconfig_ps5_high.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/misc/renderconfig_ps5_perf.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/misc/renderconfig_ps5_charactercreator.txt flags=0x0 nativeFlags=0x8000 mode=00 [MSG-Init] Finished Initialization: 6.1790s [MSG-Init] Starting Script: $/scripts/cp11/_cmn/cp11main.cgpr : 6.1800s [src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenu.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenuibl.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenugi.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenulighting.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenudynamic.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenupostfx.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugrendermenudebug.txt flags=0x0 nativeFlags=0x8000 mode=00 [src/Open.cpp:214 sceKernelOpen] path=/app0/coredata/enginesupport/debugmenu/debugcp11menuprofile.txt flags=0x0 nativeFlags=0x8000 mode=00 [00:00:10.99 ERROR-General] DebugMenuCreateItem could not find concommand "cpuMarkerLevel" [00:00:10.99 ERROR-General] DebugMenuCreateItem could not find concommand "profileLoading_Print" [MSG-Init] Starting main loop: 11.0166s [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x305a00000 256x256 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=29 vk=83 [src/Texture.cpp:748 Texture] Texture address=0x305a00000 256x256 mips=1 viewed from storage image (vk=83) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x24a170000 256x256 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=13 vk=76 [src/Texture.cpp:748 Texture] Texture address=0x24a170000 256x256 mips=1 viewed from storage image (vk=76) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x24a1a0000 256x256 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=13 vk=76 [src/Texture.cpp:748 Texture] Texture address=0x24a1a0000 256x256 mips=1 viewed from storage image (vk=76) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x249250000 48x24 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=7 vk=70 [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x276900000 64x64 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=71 vk=97 [src/Texture.cpp:748 Texture] Texture address=0x276900000 64x64 mips=1 viewed from storage image (vk=97) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x249230000 64x64 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=71 vk=97 [src/Texture.cpp:748 Texture] Texture address=0x249230000 64x64 mips=1 viewed from storage image (vk=97) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x2ad470000 1024x512 mips=1 mip=0 layers=0 base=0 dim=1 tile=4 format=22 vk=100 [src/Texture.cpp:748 Texture] Texture address=0x2ad470000 1024x512 mips=1 viewed from storage image (vk=100) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x2ad680000 512x256 mips=9 mip=0 layers=0 base=0 dim=1 tile=3 format=22 vk=100 [src/Texture.cpp:748 Texture] Texture address=0x2ad680000 512x256 mips=9 viewed from storage image (vk=100) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x24a1d0000 64x8 mips=7 mip=0 layers=1 base=0 dim=2 tile=7 format=29 vk=83 [src/Texture.cpp:748 Texture] Texture address=0x24a1d0000 64x8 mips=7 viewed from storage image (vk=83) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x24a200000 64x64 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=56 vk=37 [src/Texture.cpp:748 Texture] Texture address=0x24a200000 64x64 mips=1 viewed from storage image (vk=37) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x303000000 256x256 mips=1 mip=0 layers=3 base=0 dim=4 tile=3 format=71 vk=97 [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x303800000 256x256 mips=1 mip=0 layers=3 base=0 dim=4 tile=3 format=22 vk=100 [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x302400000 256x256 mips=1 mip=0 layers=3 base=0 dim=4 tile=3 format=71 vk=97 [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x302c00000 256x256 mips=1 mip=0 layers=3 base=0 dim=4 tile=3 format=22 vk=100 [src/Texture.cpp:748 Texture] Texture address=0x303000000 256x256 mips=1 viewed from storage image (vk=97) [src/Texture.cpp:748 Texture] Texture address=0x303800000 256x256 mips=1 viewed from storage image (vk=100) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27a280000 2560x1440 mips=1 mip=0 layers=0 base=0 dim=1 tile=4 format=22 vk=100 [src/Texture.cpp:748 Texture] Texture address=0x27a280000 2560x1440 mips=1 viewed from storage image (vk=100) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27e510000 2560x1440 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=29 vk=83 [src/Texture.cpp:748 Texture] Texture address=0x27e510000 2560x1440 mips=1 viewed from storage image (vk=83) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x2accf0000 1280x720 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=22 vk=100 [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27fd60000 1280x720 mips=9 mip=0 layers=0 base=0 dim=1 tile=3 format=64 vk=103 [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27f810000 1280x720 mips=9 mip=0 layers=0 base=0 dim=1 tile=3 format=22 vk=100 [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27f410000 1280x720 mips=1 mip=0 layers=0 base=0 dim=1 tile=4 format=22 vk=100 [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x2807b0000 1024x1024 mips=1 mip=0 layers=3 base=0 dim=2 tile=4 format=22 vk=100 [src/Texture.cpp:561 Texture] Texture address=0x2807b0000 1024x1024 mips=1 layers=4 depth copy of storage image (vk=100 -> 126) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x289a40000 2560x1440 mips=1 mip=0 layers=0 base=0 dim=1 tile=7 format=14 vk=16 [src/Texture.cpp:748 Texture] Texture address=0x27f810000 1280x720 mips=9 viewed from storage image (vk=100) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x249270000 32x16 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=71 vk=97 [src/Texture.cpp:748 Texture] Texture address=0x27fd60000 1280x720 mips=9 viewed from storage image (vk=103) [src/Texture.cpp:748 Texture] Texture address=0x27f810000 1280x720 mips=9 viewed from storage image (vk=100) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x2a7880000 214x120 mips=1 mip=0 layers=71 base=0 dim=4 tile=3 format=71 vk=97 [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x282af0000 27x15 mips=1 mip=0 layers=8 base=0 dim=4 tile=3 format=20 vk=98 [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27f7f0000 214x120 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=13 vk=76 [src/Texture.cpp:748 Texture] Texture address=0x27f7f0000 214x120 mips=1 viewed from storage image (vk=76) [src/Texture.cpp:1087 StorageTexture] StorageTexture address=0x27f800000 214x120 mips=1 mip=0 layers=0 base=0 dim=1 tile=3 format=13 vk=76 [src/Texture.cpp:748 Texture] Texture address=0x27f800000 214x120 mips=1 viewed from storage image (vk=76) [00:00:14.09 ERROR-JobSystem] DeadLock Detection: Job RenderJob [25469] waiting on counter [0x0000000200553EE0] = 0 to be Equal 1. Time since commit 2.0000s [... repeated identically 2,419,965 times total, same thread/counter, over roughly 2-3 minutes until the process was killed ...] ======================================== STDERR LOG (shader compile warnings from the same run - several shaders hitting the same error) ======================================== [time] scheduler tick raised to 0.5 ms (was 0.50 ms, now 0.50 ms, timed waits fine) [memory] configured flexible memory: 0x1c000000 bytes (448 MiB) [write-watch] Windows direct host imports use comparisons; separate shared aliases retain guest write tracking [shader-disk-cache] D:\AnyPS5\DemonsSouls\shader_cache\ce0513dbc5744e08 (source version ce0513dbc5744e08, format 30) [write-watch] Windows direct host imports use comparisons; separate shared aliases retain guest write tracking [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x2489bea00 could not be prepared after registration: shader 0x2489bea00 stage 1: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249841f00 could not be prepared after registration: shader 0x249841f00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249840100 could not be prepared after registration: shader 0x249840100 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249846000 could not be prepared after registration: shader 0x249846000 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249844000 could not be prepared after registration: shader 0x249844000 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249849e00 could not be prepared after registration: shader 0x249849e00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249848000 could not be prepared after registration: shader 0x249848000 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x24984df00 could not be prepared after registration: shader 0x24984df00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x24984bf00 could not be prepared after registration: shader 0x24984bf00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [shader-disk-cache] (10 s): 0 hits, 1043 misses, 1038 writes (1554.8 MiB), 0 load failures, 0 write failures [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249856a00 could not be prepared after registration: shader 0x249856a00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [SAVEDATA:native] dirNameSearch user=268435456 pattern=(all) hit=0 set=0 -> 0x00000000 [mouse] video driver windows: guest 1920x1080 presented at 1484x835, delta scale 1.2938 x 1.2934 [gpu] sampled texture cache budget 9298 MiB: device-local heap 0 has a VK_EXT_memory_budget budget of 15284 MiB and uses 62 MiB, 0 MiB of it sampled textures (0 MiB in the cache) and 0 MiB cached storage images; storage image cache budget 4013 MiB [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x24984ff00 could not be prepared after registration: shader 0x24984ff00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [shader-disk-cache] (10 s): 0 hits, 769 misses, 758 writes (698.5 MiB), totals: 0 hits, 1812 misses, 1796 writes [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249a79700 could not be prepared after registration: shader 0x249a79700 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249a7ae00 could not be prepared after registration: shader 0x249a7ae00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249aa2d00 could not be prepared after registration: shader 0x249aa2d00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249aa1600 could not be prepared after registration: shader 0x249aa1600 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249aa4800 could not be prepared after registration: shader 0x249aa4800 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x249aa5e00 could not be prepared after registration: shader 0x249aa5e00 stage 0: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value (full RecompileRequest hex blob omitted here, available on request) [shader-disk-cache] (10 s): 0 hits, 519 misses, 526 writes (504.5 MiB), totals: 0 hits, 2331 misses, 2322 writes [shader-disk-cache] (10 s): 0 hits, 449 misses, 456 writes (447.4 MiB), totals: 0 hits, 2780 misses, 2778 writes [shader-disk-cache] (10 s): 0 hits, 394 misses, 386 writes (371.6 MiB), totals: 0 hits, 3174 misses, 3164 writes [shader-disk-cache] (10 s): 0 hits, 249 misses, 247 writes (325.2 MiB), totals: 0 hits, 3423 misses, 3411 writes [shader-disk-cache] (10 s): 0 hits, 261 misses, 263 writes (304.8 MiB), totals: 0 hits, 3684 misses, 3674 writes [shader-disk-cache] (10 s): 0 hits, 247 misses, 257 writes (299.7 MiB), totals: 0 hits, 3931 misses, 3931 writes (Note: the full RecompileRequest hex blobs that normally follow each shader failure line were stripped out of this copy for readability -- they're multi-KB base64-looking dumps of shader bytecode with no readable content. The original full files are still sitting at D:\AnyPS5\DemonsSouls\stdout.log and stderr.log if the maintainer wants those raw and unedited.) ======================================== REPLY 2 - follow-up to their second comment ======================================== Note on APS5_CAPTURE_TRACE: I don't see that exact variable anywhere in the project's USAGE.md or in the repo's file tree, and a web search for it didn't turn up anything concrete either, so I think that name may not be right (same as the stray Kyty file path in the first reply - flagging rather than guessing). The real, documented equivalent for capturing draws/dispatches is APS5_TRACE_SECONDS plus APS5_PROFILE_GPU, so I ran with those instead, plus APS5_PM4_RING and APS5_STALL_WATCHDOG_SECS for good measure. Here's what actually happened - this is itself informative: - No aps5-trace-*.json.gz or aps5-summary.jsonl file was produced at all. - No PM4 ring dump or stall-watchdog message ever printed to the console, even well past a minute into the hang. - The deadlock fired at the exact same counter (0x0000000200553EE0) as every previous run. Per the project's own docs, APS5_TRACE_SECONDS/APS5_TRACE_FRAMES windows open and close at *present* events, and write nothing if the window is still open when the title exits. Based on this run, it looks like Demon's Souls never presents a single frame before hitting this stall - so there's no "final draw/dispatch" to capture, because the stall happens before the engine ever gets that far. Combined with the stall watchdog (which watches the GPU command queue for WAIT_REG_MEM/REWIND stalls) never firing either, this points to the block happening entirely on the CPU/job-scheduler side, before anything is even submitted to the GPU for this job - consistent with your "shim never increments the counter" theory, and maybe narrows it further since it suggests the GPU submission for this particular RenderJob may never happen at all, rather than happening and then getting stuck. Full untrimmed RecompileRequest for shader 0x2489bea00, as requested: [Shaders/ShaderRegistry.cpp:912 operator()] Shader 0x2489bea00 could not be prepared after registration: shader 0x2489bea00 stage 1: ShaderRecompiler::Recompile: GetImageResource dword 0 is not a valid runtime value; chain: LoadAddressU32@pc=0x00000288(GetAddressResource(ReadConst(GetSrtResource, Immediate), ReadConst(GetSrtResource, Immediate)), IAdd32(ShiftLeftLogical32(Phi(Immediate, IAdd32(Phi(Immediate, IAdd32(Phi(Immediate, IAdd32), Immediate)), Immediate)), Immediate), Immediate), Immediate, Immediate) RecompileRequest: NVNQQRcAAAABAOqbSAIAAACYAQAAAAAAAP8D/L4iL9jOAACWvwMAoL8D/+uTCAAIAGuMao8D/wCH/wAAAABqfIgJAJC/wGvqgcFq/pBBCQD4AAAAAMAA6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AAAACAAAAAAHAAAAABAAAAAQAAgAAAAACAAAAgAAAAIAAAAAEgAAAAgAAAAIAAAAB4AAAAeBAAAIAAAACAAAAAAAAAAAAAAAAAAAAAgAAAAAABAQIAAAAAAAFADQMAAQE=
MarcZX10 commented 2026-10-17 16:54:30 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-17T16:54:30Z.


Thanks, this gives the requested untrimmed startup log and the exact v0.1.2 source revision (a48c00660eae7afd204fdb7513a52380dddf5a04). The shader preparation errors occur before the first reported wait, but the log alone does not show whether they cause this deadlock.

The useful next piece is the focused trace from one fresh-cache run with APS5_CAPTURE_TRACE=1: please include the trace around the last draw/dispatch before the first wait on counter 0x0000000200553EE0, plus the associated shader identity. No need to repeat the multi-minute identical wait lines. That should let us distinguish a missing submission/completion from a shader-preparation failure.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6237071332 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/7203#issuecomment-6237071332). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-17T16:54:30Z. --- Thanks, this gives the requested untrimmed startup log and the exact v0.1.2 source revision (`a48c00660eae7afd204fdb7513a52380dddf5a04`). The shader preparation errors occur before the first reported wait, but the log alone does not show whether they cause this deadlock. The useful next piece is the focused trace from one fresh-cache run with `APS5_CAPTURE_TRACE=1`: please include the trace around the last draw/dispatch before the first wait on counter `0x0000000200553EE0`, plus the associated shader identity. No need to repeat the multi-minute identical wait lines. That should let us distinguish a missing submission/completion from a shader-preparation failure.
samvighoss commented 2026-10-17 17:01:54 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by samvighoss on 2026-10-17T17:01:54Z.


DEMON'S SOULS DEADLOCK - DIGGING FOR A SHADER/COUNTER LINK
Prepared 2026-10-17

WHAT I WENT LOOKING FOR:
Whether the specific stuck counter (0x0000000200553EE0) can be tied to one specific failed shader,
to answer their point that the log alone doesn't prove the shader errors cause the deadlock.

========================================
WHAT I FOUND

  1. The deadlock message itself is NOT something AnyPS5 generates. Every AnyPS5-internal log line is
    tagged with its own source file ([Shaders/ShaderRegistry.cpp:912], [src/VulkanDevice.cpp:898], etc).
    The deadlock line - "[ERROR-JobSystem] DeadLock Detection: Job RenderJob [...] waiting on counter
    [...]" - has no such tag. It matches the format of Demon's Souls' OWN engine debug logging (same
    style as other game-native lines like "[ERROR-General] DebugMenuCreateItem could not find
    concommand"). In other words: this is Bluepoint's own job-system deadlock detector, built into the
    original PS5 game code, firing for real. It's not an AnyPS5 error message - it's the game itself
    noticing something never signaled it.

  2. I ran it three separate times (two normal launches, one with trace flags). Across all three:

    • The stuck counter address was identical every time: 0x0000000200553EE0
    • The exact SAME 17 shader addresses failed to prepare every time, in the same order, with the
      same "GetImageResource dword 0 is not a valid runtime value" error (0x2489bea00, 0x249841f00,
      0x249840100, 0x249846000, 0x249844000, 0x249849e00, 0x249848000, 0x24984df00, 0x24984bf00,
      0x249856a00, 0x24984ff00, 0x249a79700, 0x249a7ae00, 0x249aa2d00, 0x249aa1600, 0x249aa4800,
      0x249aa5e00)
    • The only thing that changes between runs is the RenderJob's ticket number itself (24204 one run,
      25469 another) - that's clearly just a sequential counter, not an identifier tied to a job type.
  3. What this does and doesn't prove:

    • It DOES show both the deadlock and the shader failures are fully deterministic for this build/
      dump - not timing flukes, not random memory layout differences. That tracks with the PS5's guest
      virtual addresses typically being fixed/direct-mapped rather than randomized.
    • It does NOT prove the shaders cause the deadlock. I have no way from the logs alone to see which
      draw call or job actually owns counter 0x0000000200553EE0, or whether any of those 17 shaders
      feed into whatever render pass that counter belongs to. That link would need either the
      maintainer's own knowledge of their job-counter allocation scheme, or a debugger attached to a
      local build - both outside what I can do from here.
    • Circumstantial support: right before the first deadlock line, the log shows a dense burst of
      StorageTexture/Texture setup calls (consistent with the engine building render targets for the
      very first frame), which is the kind of activity you'd expect right before the first real
      RenderJob gets submitted. So timing-wise it's plausible this is the first frame's main render
      pass. That's a reasonable inference, not a proven fact.

========================================
DRAFT REPLY TO POST

Dug into this a bit further on my end. A couple of findings that might help narrow it down:

  • The deadlock message itself isn't coming from AnyPS5's own logging - it has no AnyPS5 source tag,
    and matches the format of the game's own other debug lines. This looks like Demon's Souls' own
    built-in job-system deadlock detector firing for real, which lines up with your "shim never
    increments the counter" theory - something your code stands in for isn't completing the signal the
    game itself is waiting on.

  • I ran it three times total (across two different sessions). The stuck counter address
    (0x0000000200553EE0) and the full set of 17 failing shader addresses are identical, in the same
    order, every single time. So both are fully deterministic for this dump/build - this isn't a race
    condition or timing-dependent.

  • I don't have a way from the logs alone to tell whether any of those 17 shaders are actually what
    counter 0x0000000200553EE0 is waiting on, or if it's an unrelated path. If there's a flag or a
    debug build that logs which draw/dispatch owns a given job counter, that would let us close the
    loop. Otherwise, happy to try any other specific experiment (disabling GPU work, trying a different
    resolution/renderer config, etc.) if you think it would narrow down which of the two issues - or
    whether they're the same issue - is the real blocker.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6237197045 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/7203#issuecomment-6237197045). Originally posted by [samvighoss](https://github.com/samvighoss) on 2026-10-17T17:01:54Z. --- DEMON'S SOULS DEADLOCK - DIGGING FOR A SHADER/COUNTER LINK Prepared 2026-10-17 WHAT I WENT LOOKING FOR: Whether the specific stuck counter (0x0000000200553EE0) can be tied to one specific failed shader, to answer their point that the log alone doesn't prove the shader errors cause the deadlock. ======================================== WHAT I FOUND ======================================== 1. The deadlock message itself is NOT something AnyPS5 generates. Every AnyPS5-internal log line is tagged with its own source file ([Shaders/ShaderRegistry.cpp:912], [src/VulkanDevice.cpp:898], etc). The deadlock line - "[ERROR-JobSystem] DeadLock Detection: Job RenderJob [...] waiting on counter [...]" - has no such tag. It matches the format of Demon's Souls' OWN engine debug logging (same style as other game-native lines like "[ERROR-General] DebugMenuCreateItem could not find concommand"). In other words: this is Bluepoint's own job-system deadlock detector, built into the original PS5 game code, firing for real. It's not an AnyPS5 error message - it's the game itself noticing something never signaled it. 2. I ran it three separate times (two normal launches, one with trace flags). Across all three: - The stuck counter address was identical every time: 0x0000000200553EE0 - The exact SAME 17 shader addresses failed to prepare every time, in the same order, with the same "GetImageResource dword 0 is not a valid runtime value" error (0x2489bea00, 0x249841f00, 0x249840100, 0x249846000, 0x249844000, 0x249849e00, 0x249848000, 0x24984df00, 0x24984bf00, 0x249856a00, 0x24984ff00, 0x249a79700, 0x249a7ae00, 0x249aa2d00, 0x249aa1600, 0x249aa4800, 0x249aa5e00) - The only thing that changes between runs is the RenderJob's ticket number itself (24204 one run, 25469 another) - that's clearly just a sequential counter, not an identifier tied to a job type. 3. What this does and doesn't prove: - It DOES show both the deadlock and the shader failures are fully deterministic for this build/ dump - not timing flukes, not random memory layout differences. That tracks with the PS5's guest virtual addresses typically being fixed/direct-mapped rather than randomized. - It does NOT prove the shaders cause the deadlock. I have no way from the logs alone to see which draw call or job actually owns counter 0x0000000200553EE0, or whether any of those 17 shaders feed into whatever render pass that counter belongs to. That link would need either the maintainer's own knowledge of their job-counter allocation scheme, or a debugger attached to a local build - both outside what I can do from here. - Circumstantial support: right before the first deadlock line, the log shows a dense burst of StorageTexture/Texture setup calls (consistent with the engine building render targets for the very first frame), which is the kind of activity you'd expect right before the first real RenderJob gets submitted. So timing-wise it's plausible this is the first frame's main render pass. That's a reasonable inference, not a proven fact. ======================================== DRAFT REPLY TO POST ======================================== Dug into this a bit further on my end. A couple of findings that might help narrow it down: - The deadlock message itself isn't coming from AnyPS5's own logging - it has no AnyPS5 source tag, and matches the format of the game's own other debug lines. This looks like Demon's Souls' own built-in job-system deadlock detector firing for real, which lines up with your "shim never increments the counter" theory - something your code stands in for isn't completing the signal the game itself is waiting on. - I ran it three times total (across two different sessions). The stuck counter address (0x0000000200553EE0) and the full set of 17 failing shader addresses are identical, in the same order, every single time. So both are fully deterministic for this dump/build - this isn't a race condition or timing-dependent. - I don't have a way from the logs alone to tell whether any of those 17 shaders are actually what counter 0x0000000200553EE0 is waiting on, or if it's an unrelated path. If there's a flag or a debug build that logs which draw/dispatch owns a given job counter, that would let us close the loop. Otherwise, happy to try any other specific experiment (disabling GPU work, trying a different resolution/renderer config, etc.) if you think it would narrow down which of the two issues - or whether they're the same issue - is the real blocker.
MarcZX10 commented 2026-10-17 17:02:06 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-17T17:02:06Z.


Thanks for the three-run comparison. The stable counter address and identical shader failures confirm both observations are reproducible for this build, but they do not by themselves show that the shader failures own or prevent the signal for this counter. Likewise, the untagged ERROR-JobSystem prefix is not enough to attribute the detector to guest code; AnyPS5 and guest logging can use different paths and formats. The focused trace is still the key evidence: please attach the APS5_CAPTURE_TRACE=1 output from the run, covering the last draw/dispatch before the first wait on 0x0000000200553EE0, with the associated shader identity if available. If the trace is too large, a short excerpt around that wait and the trace event IDs is enough to start.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6237199529 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/7203#issuecomment-6237199529). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-17T17:02:06Z. --- Thanks for the three-run comparison. The stable counter address and identical shader failures confirm both observations are reproducible for this build, but they do not by themselves show that the shader failures own or prevent the signal for this counter. Likewise, the untagged `ERROR-JobSystem` prefix is not enough to attribute the detector to guest code; AnyPS5 and guest logging can use different paths and formats. The focused trace is still the key evidence: please attach the `APS5_CAPTURE_TRACE=1` output from the run, covering the last draw/dispatch before the first wait on `0x0000000200553EE0`, with the associated shader identity if available. If the trace is too large, a short excerpt around that wait and the trace event IDs is enough to start.
MarcZX10 commented 2026-10-17 17:10:44 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-17T17:10:44Z.


I checked what the current trace switches record so we can keep the next capture focused. APS5_CAPTURE_TRACE=1 writes capture-trace.log with packet submission/queue/offset records and draw verdicts; it does not record guest RenderJob counter ownership or shader identity. APS5_TRACE_GPU=1 adds PM4 wait addresses and values to stderr. If you can reproduce once with both enabled, the useful excerpt is around the first occurrence of the stuck counter and the preceding submission/draw records. This may only help if that counter is observed by a PM4 wait; if it is a guest job-system counter, the current traces may not expose its producer. Please avoid attaching the whole multi-minute repeated-wait section.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6237310703 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/7203#issuecomment-6237310703). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-17T17:10:44Z. --- I checked what the current trace switches record so we can keep the next capture focused. `APS5_CAPTURE_TRACE=1` writes `capture-trace.log` with packet submission/queue/offset records and draw verdicts; it does not record guest `RenderJob` counter ownership or shader identity. `APS5_TRACE_GPU=1` adds PM4 wait addresses and values to stderr. If you can reproduce once with both enabled, the useful excerpt is around the first occurrence of the stuck counter and the preceding submission/draw records. This may only help if that counter is observed by a PM4 wait; if it is a guest job-system counter, the current traces may not expose its producer. Please avoid attaching the whole multi-minute repeated-wait section.
samvighoss commented 2026-10-17 17:14:18 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by samvighoss on 2026-10-17T17:14:18Z.


DEMON'S SOULS DEADLOCK - REAL HANG DUMP RESULT
Prepared 2026-10-17

WHAT I TRIED THIS TIME:
They asked again for APS5_CAPTURE_TRACE=1 - still not a real flag, checked again, still nothing in
the docs or the repo under that name. Second time they've asked for it, so flagging it plainly rather
than quietly trying to guess what they actually mean a second time.

Instead I used two flags that ARE real and documented, and that I hadn't tried yet: APS5_PM4_RING=64
(keeps the last 64 GPU command-buffer submissions per queue) and APS5_HANG_DUMP_SECS=20 (forces a full
crash-style report after 20 seconds, whether or not the title actually crashes). Unlike the present-
anchored trace we tried last time, neither of these depends on a frame ever being presented - this was
the right tool to actually get what they're asking for.

========================================
RESULT

It worked exactly as documented - a full "FATAL: timed dump after 20 s (APS5_HANG_DUMP_SECS); aborting"
report fired, with a complete abort()/thread dump covering every thread in the process (hundreds of
lines). So the mechanism itself is confirmed working.

But the actual payoff - the per-queue PM4 ring section - is empty. Zero GPU command-buffer submissions
recorded, on any queue, at the moment of the dump. I checked the entire file end to end to make sure I
wasn't missing it.

That's now the THIRD independent diagnostic in a row that comes back the same way:

  1. The present-anchored trace (APS5_TRACE_SECONDS/PROFILE_GPU) recorded nothing, because no frame is
    ever presented.
  2. The PM4 stall watchdog (APS5_STALL_WATCHDOG_SECS) never fired, meaning no GPU queue was ever stuck
    in a WAIT_REG_MEM/REWIND.
  3. The PM4 ring dump itself (APS5_PM4_RING) shows no submissions at all for any queue.

All three independently say the same thing: nothing was ever actually submitted to the GPU for
whatever this render job is. That points pretty hard at "missing submission," not "a shader failed to
prepare and something downstream is waiting on a completion signal from a dispatch that did happen."

One honest caveat, matching their own pushback: I can't rule out that the relevant submission would
show up on a queue I'm not seeing correctly, or that this job doesn't actually touch the GPU command
processor at all (i.e. it's a pure CPU-side job dependency with no GPU leg whatsoever, in which case
"no PM4 submissions" is expected either way and doesn't prove anything new). I don't have visibility
into their internal job-to-counter-to-GPU-queue mapping to settle that fully from the outside.

Also noting: this run had a fully warm shader cache (3931 hits, 0 misses per the shader-disk-cache log
line right before the dump) and the same 17 shaders still failed to prepare anyway - so the shader
failures aren't a cold-cache-only artifact, they happen every time regardless of cache state.

On their point about the ERROR-JobSystem tag: fair pushback, conceded. I can't actually prove from log
formatting alone that it's guest code and not AnyPS5's own logging using a different convention - that
was an inference, not a verified fact, and I shouldn't have presented it as more certain than it is.

========================================
DRAFT REPLY TO POST

Fair point on the ERROR-JobSystem tag - that was an inference on my part, not something I can actually
prove just from the log format. Retracting the confidence on that one.

On APS5_CAPTURE_TRACE - I still can't find that flag anywhere in the docs or the repo, checked again.
What I used instead, since it doesn't depend on a frame ever presenting: APS5_PM4_RING=64 together with
APS5_HANG_DUMP_SECS=20, which forces a full crash-style report after 20 seconds regardless of whether
the title actually crashes.

It worked - full report, confirmed the mechanism functions - but the per-queue PM4 ring section came
back completely empty. Zero submissions on any queue at the time of the dump. That's now three separate
diagnostics in a row (the present-anchored trace, the stall watchdog, and now the PM4 ring itself) all
saying nothing ever reached the GPU for this job. I think that's about as far as I can push this from
the outside without visibility into how job counters map to your GPU queues internally - if there's a
specific build flag or debug hook that would show that mapping, I'm glad to try it.

Full report is about 400 lines (mostly a per-thread stack dump); happy to attach the whole thing if
useful, or just the sections that matter.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6237366516 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/7203#issuecomment-6237366516). Originally posted by [samvighoss](https://github.com/samvighoss) on 2026-10-17T17:14:18Z. --- DEMON'S SOULS DEADLOCK - REAL HANG DUMP RESULT Prepared 2026-10-17 WHAT I TRIED THIS TIME: They asked again for APS5_CAPTURE_TRACE=1 - still not a real flag, checked again, still nothing in the docs or the repo under that name. Second time they've asked for it, so flagging it plainly rather than quietly trying to guess what they actually mean a second time. Instead I used two flags that ARE real and documented, and that I hadn't tried yet: APS5_PM4_RING=64 (keeps the last 64 GPU command-buffer submissions per queue) and APS5_HANG_DUMP_SECS=20 (forces a full crash-style report after 20 seconds, whether or not the title actually crashes). Unlike the present- anchored trace we tried last time, neither of these depends on a frame ever being presented - this was the right tool to actually get what they're asking for. ======================================== RESULT ======================================== It worked exactly as documented - a full "FATAL: timed dump after 20 s (APS5_HANG_DUMP_SECS); aborting" report fired, with a complete abort()/thread dump covering every thread in the process (hundreds of lines). So the mechanism itself is confirmed working. But the actual payoff - the per-queue PM4 ring section - is empty. Zero GPU command-buffer submissions recorded, on any queue, at the moment of the dump. I checked the entire file end to end to make sure I wasn't missing it. That's now the THIRD independent diagnostic in a row that comes back the same way: 1. The present-anchored trace (APS5_TRACE_SECONDS/PROFILE_GPU) recorded nothing, because no frame is ever presented. 2. The PM4 stall watchdog (APS5_STALL_WATCHDOG_SECS) never fired, meaning no GPU queue was ever stuck in a WAIT_REG_MEM/REWIND. 3. The PM4 ring dump itself (APS5_PM4_RING) shows no submissions at all for any queue. All three independently say the same thing: nothing was ever actually submitted to the GPU for whatever this render job is. That points pretty hard at "missing submission," not "a shader failed to prepare and something downstream is waiting on a completion signal from a dispatch that did happen." One honest caveat, matching their own pushback: I can't rule out that the relevant submission would show up on a queue I'm not seeing correctly, or that this job doesn't actually touch the GPU command processor at all (i.e. it's a pure CPU-side job dependency with no GPU leg whatsoever, in which case "no PM4 submissions" is expected either way and doesn't prove anything new). I don't have visibility into their internal job-to-counter-to-GPU-queue mapping to settle that fully from the outside. Also noting: this run had a fully warm shader cache (3931 hits, 0 misses per the shader-disk-cache log line right before the dump) and the same 17 shaders still failed to prepare anyway - so the shader failures aren't a cold-cache-only artifact, they happen every time regardless of cache state. On their point about the ERROR-JobSystem tag: fair pushback, conceded. I can't actually prove from log formatting alone that it's guest code and not AnyPS5's own logging using a different convention - that was an inference, not a verified fact, and I shouldn't have presented it as more certain than it is. ======================================== DRAFT REPLY TO POST ======================================== Fair point on the ERROR-JobSystem tag - that was an inference on my part, not something I can actually prove just from the log format. Retracting the confidence on that one. On APS5_CAPTURE_TRACE - I still can't find that flag anywhere in the docs or the repo, checked again. What I used instead, since it doesn't depend on a frame ever presenting: APS5_PM4_RING=64 together with APS5_HANG_DUMP_SECS=20, which forces a full crash-style report after 20 seconds regardless of whether the title actually crashes. It worked - full report, confirmed the mechanism functions - but the per-queue PM4 ring section came back completely empty. Zero submissions on any queue at the time of the dump. That's now three separate diagnostics in a row (the present-anchored trace, the stall watchdog, and now the PM4 ring itself) all saying nothing ever reached the GPU for this job. I think that's about as far as I can push this from the outside without visibility into how job counters map to your GPU queues internally - if there's a specific build flag or debug hook that would show that mapping, I'm glad to try it. Full report is about 400 lines (mostly a per-thread stack dump); happy to attach the whole thing if useful, or just the sections that matter.
MarcZX10 commented 2026-10-17 17:16:28 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-17T17:16:28Z.


Thanks, this is a much more useful boundary. I also need to correct my earlier request: APS5_CAPTURE_TRACE is not a flag in this tree, so asking you to use it was wrong; the documented hang dump and PM4 ring were the appropriate tools here. An empty ring plus no watchdog hit supports that no PM4 submission/stall was captured before the hang, but it still cannot distinguish a CPU-only dependency from a path that never reached queue submission, or tie the 17 shader failures to this counter. If convenient, could you attach only the stack frames for the waiting RenderJob and any worker that appears to produce/signal the counter from the timed dump? That may show whether the wait is in guest job scheduling or an AnyPS5 queue/compile path. I would avoid treating this as a shader fix until that relationship is visible.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6237406706 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/7203#issuecomment-6237406706). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-17T17:16:28Z. --- Thanks, this is a much more useful boundary. I also need to correct my earlier request: `APS5_CAPTURE_TRACE` is not a flag in this tree, so asking you to use it was wrong; the documented hang dump and PM4 ring were the appropriate tools here. An empty ring plus no watchdog hit supports that no PM4 submission/stall was captured before the hang, but it still cannot distinguish a CPU-only dependency from a path that never reached queue submission, or tie the 17 shader failures to this counter. If convenient, could you attach only the stack frames for the waiting `RenderJob` and any worker that appears to produce/signal the counter from the timed dump? That may show whether the wait is in guest job scheduling or an AnyPS5 queue/compile path. I would avoid treating this as a shader fix until that relationship is visible.
samvighoss commented 2026-10-17 17:30:07 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by samvighoss on 2026-10-17T17:30:07Z.


DEMON'S SOULS DEADLOCK - WORKER THREAD STACKS FROM THE TIMED DUMP
Prepared 2026-10-17

WHAT THEY ASKED FOR:
Only the stack frames for the waiting RenderJob and any worker that appears to produce/signal the
counter, pulled from the same timed hang dump - to see if the wait sits in guest job scheduling or an
AnyPS5 queue/compile path. They also corrected their own earlier APS5_CAPTURE_TRACE request (it's not
a real flag - they confirmed that themselves) and said not to treat this as a shader fix until the
relationship to the counter is actually visible. Agreed - nothing here should be read as "the fix is
X," just what the data actually shows.

========================================
THE 13 FIBER WORKER THREADS (BPE JobWorkerThread CPU0-12)

This is the game's own job-worker pool - 13 OS threads, each running Bluepoint's fiber scheduler.
Pulled every one of them from the dump:

thread 21132 'BPE JobWorkerThread CPU0': rip app.exe+0x87eb8e
#0 app.exe+0x87e94c #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619
thread 25436 'BPE JobWorkerThread CPU1': rip app.exe+0x87f074
#0 app.exe+0x87e968 #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619
thread 25780 'BPE JobWorkerThread CPU2': rip app.exe+0x87ee45
#0 app.exe+0x87e968 #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619
thread 26584 'BPE JobWorkerThread CPU3': rip app.exe+0x87f02b
#0 app.exe+0x87e968 #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619
thread 8608 'BPE JobWorkerThread CPU4': rip ntdll.dll+0x1647c4 (no further frames resolved)
thread 3532 'BPE JobWorkerThread CPU5': rip app.exe+0x87f074
#0 app.exe+0x87e968 #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619
thread 21860 'BPE JobWorkerThread CPU6': rip app.exe+0x87f074
#0 app.exe+0x87e968 #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619
thread 23628 'BPE JobWorkerThread CPU7': rip app.exe+0x87f02b
#0 app.exe+0x87e968 #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619
thread 5688 'BPE JobWorkerThread CPU8': rip app.exe+0x87ef02
#0 app.exe+0x87e968 #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619
thread 14960 'BPE JobWorkerThread CPU9': rip app.exe+0x87eb96
#0 app.exe+0x87e94c #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619
thread 13480 'BPE JobWorkerThread CPU10': rip app.exe+0x87ef02
#0 app.exe+0x87e968 #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619
thread 23968 'BPE JobWorkerThread CPU11': rip app.exe+0x87eb96
#0 app.exe+0x87e94c #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619
thread 7512 'BPE JobWorkerThread CPU12': rip app.exe+0x87f074
#0 app.exe+0x87e968 #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619

HONEST READ: all 13 are in the exact same generic fiber-scheduler loop (app.exe+0x875046 ->
libSceFiber.prx+0x22e2 -> +0x1619), with only a few bytes of difference in exactly where each one
was caught inside that loop. None of them look different from each other. This is almost certainly
a structural limitation, not a dead end I'm missing something in: in a fiber-based job system, a
blocked fiber's actual "I'm waiting on counter X" state lives inside the fiber's own saved context,
not in the OS thread's visible call stack once it's yielded back to the scheduler. So an OS-level
stack dump like this one genuinely cannot tell which (if any) of these 13 threads is currently hosting
the specific blocked fiber - an idle worker and a worker whose current fiber is blocked on
0x0000000200553EE0 look identical from the outside. That's a tooling limitation worth knowing about
rather than something to keep digging at with this method.

========================================
THE ONE THREAD DOING ANYTHING ELSE AT ALL

Out of every thread in the entire dump (100+), exactly one was not sitting idle in a wait syscall at
the moment of the snapshot:

thread 5464 '': rip 0x00007fffe2e55c20 nvgpucomp64.dll+0x3c65c20
(no further stack frames resolved - likely optimized driver code without frame pointers)

This is an unnamed thread caught mid-execution inside NVIDIA's own closed-source shader compiler
(nvgpucomp64.dll) at the exact instant of the dump. That's circumstantial, not proof: it tells us a
pipeline/shader compile was actively in flight on the driver side right then, but the compiler is
closed-source so there's no symbol to say which shader, and nothing ties it to counter
0x0000000200553EE0 specifically. Flagging it because it's the only thread in the whole dump doing
real work instead of idling, not because I can connect it definitively.

========================================
BOTTOM LINE

Can't point to a specific thread/stack that's "the one waiting on the counter" or "the one that should
signal it" - the fiber system hides that from an OS-level dump, and the one active thread we found is
inside closed-source driver code with no further detail available. If there's a fiber-aware debug flag
or a way to dump job/fiber state directly (rather than OS threads), that would likely succeed where this
approach hits a wall. Agreed on not treating this as pointing to a shader fix - the data just doesn't
show that relationship one way or the other yet.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6237653324 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/7203#issuecomment-6237653324). Originally posted by [samvighoss](https://github.com/samvighoss) on 2026-10-17T17:30:07Z. --- DEMON'S SOULS DEADLOCK - WORKER THREAD STACKS FROM THE TIMED DUMP Prepared 2026-10-17 WHAT THEY ASKED FOR: Only the stack frames for the waiting RenderJob and any worker that appears to produce/signal the counter, pulled from the same timed hang dump - to see if the wait sits in guest job scheduling or an AnyPS5 queue/compile path. They also corrected their own earlier APS5_CAPTURE_TRACE request (it's not a real flag - they confirmed that themselves) and said not to treat this as a shader fix until the relationship to the counter is actually visible. Agreed - nothing here should be read as "the fix is X," just what the data actually shows. ======================================== THE 13 FIBER WORKER THREADS (BPE JobWorkerThread CPU0-12) ======================================== This is the game's own job-worker pool - 13 OS threads, each running Bluepoint's fiber scheduler. Pulled every one of them from the dump: thread 21132 'BPE JobWorkerThread CPU0': rip app.exe+0x87eb8e #0 app.exe+0x87e94c #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619 thread 25436 'BPE JobWorkerThread CPU1': rip app.exe+0x87f074 #0 app.exe+0x87e968 #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619 thread 25780 'BPE JobWorkerThread CPU2': rip app.exe+0x87ee45 #0 app.exe+0x87e968 #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619 thread 26584 'BPE JobWorkerThread CPU3': rip app.exe+0x87f02b #0 app.exe+0x87e968 #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619 thread 8608 'BPE JobWorkerThread CPU4': rip ntdll.dll+0x1647c4 (no further frames resolved) thread 3532 'BPE JobWorkerThread CPU5': rip app.exe+0x87f074 #0 app.exe+0x87e968 #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619 thread 21860 'BPE JobWorkerThread CPU6': rip app.exe+0x87f074 #0 app.exe+0x87e968 #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619 thread 23628 'BPE JobWorkerThread CPU7': rip app.exe+0x87f02b #0 app.exe+0x87e968 #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619 thread 5688 'BPE JobWorkerThread CPU8': rip app.exe+0x87ef02 #0 app.exe+0x87e968 #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619 thread 14960 'BPE JobWorkerThread CPU9': rip app.exe+0x87eb96 #0 app.exe+0x87e94c #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619 thread 13480 'BPE JobWorkerThread CPU10': rip app.exe+0x87ef02 #0 app.exe+0x87e968 #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619 thread 23968 'BPE JobWorkerThread CPU11': rip app.exe+0x87eb96 #0 app.exe+0x87e94c #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619 thread 7512 'BPE JobWorkerThread CPU12': rip app.exe+0x87f074 #0 app.exe+0x87e968 #1 app.exe+0x875046 #2 libSceFiber.prx+0x22e2 #3 libSceFiber.prx+0x1619 HONEST READ: all 13 are in the exact same generic fiber-scheduler loop (app.exe+0x875046 -> libSceFiber.prx+0x22e2 -> +0x1619), with only a few bytes of difference in exactly where each one was caught inside that loop. None of them look different from each other. This is almost certainly a structural limitation, not a dead end I'm missing something in: in a fiber-based job system, a blocked fiber's actual "I'm waiting on counter X" state lives inside the fiber's own saved context, not in the OS thread's visible call stack once it's yielded back to the scheduler. So an OS-level stack dump like this one genuinely cannot tell which (if any) of these 13 threads is currently hosting the specific blocked fiber - an idle worker and a worker whose current fiber is blocked on 0x0000000200553EE0 look identical from the outside. That's a tooling limitation worth knowing about rather than something to keep digging at with this method. ======================================== THE ONE THREAD DOING ANYTHING ELSE AT ALL ======================================== Out of every thread in the entire dump (100+), exactly one was not sitting idle in a wait syscall at the moment of the snapshot: thread 5464 '': rip 0x00007fffe2e55c20 nvgpucomp64.dll+0x3c65c20 (no further stack frames resolved - likely optimized driver code without frame pointers) This is an unnamed thread caught mid-execution inside NVIDIA's own closed-source shader compiler (nvgpucomp64.dll) at the exact instant of the dump. That's circumstantial, not proof: it tells us a pipeline/shader compile was actively in flight on the driver side right then, but the compiler is closed-source so there's no symbol to say which shader, and nothing ties it to counter 0x0000000200553EE0 specifically. Flagging it because it's the only thread in the whole dump doing real work instead of idling, not because I can connect it definitively. ======================================== BOTTOM LINE ======================================== Can't point to a specific thread/stack that's "the one waiting on the counter" or "the one that should signal it" - the fiber system hides that from an OS-level dump, and the one active thread we found is inside closed-source driver code with no further detail available. If there's a fiber-aware debug flag or a way to dump job/fiber state directly (rather than OS threads), that would likely succeed where this approach hits a wall. Agreed on not treating this as pointing to a shader fix - the data just doesn't show that relationship one way or the other yet.
MarcZX10 commented 2026-10-17 17:46:56 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-17T17:46:56Z.


Thanks, this provides the exact v0.1.2 commit and the full run leading into the repeated wait. The GetImageResource dword 0 shader preparation errors occur before the deadlock, but the log alone does not establish that they leave the render counter unsignaled; I would keep those as a correlation until the counter producer is identified. The stable wait at 0x0000000200553EE0 is useful. Could you capture the first occurrence with any available job/counter owner or producer diagnostics (rather than the repeated identical wait lines), and, if possible, note whether the counter value or its backing memory changes after the first wait? That should narrow whether the missing signal is in a shim path or whether the waiting job is observing work that never gets submitted. I will not infer a counter fix from the address alone.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6237955872 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/7203#issuecomment-6237955872). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-17T17:46:56Z. --- Thanks, this provides the exact v0.1.2 commit and the full run leading into the repeated wait. The `GetImageResource dword 0` shader preparation errors occur before the deadlock, but the log alone does not establish that they leave the render counter unsignaled; I would keep those as a correlation until the counter producer is identified. The stable wait at `0x0000000200553EE0` is useful. Could you capture the first occurrence with any available job/counter owner or producer diagnostics (rather than the repeated identical wait lines), and, if possible, note whether the counter value or its backing memory changes after the first wait? That should narrow whether the missing signal is in a shim path or whether the waiting job is observing work that never gets submitted. I will not infer a counter fix from the address alone.
MarcZX10 commented 2026-10-17 17:47:25 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-17T17:47:25Z.


One useful diagnostic is already present in the exact v0.1.2 source: APS5_TRACE_FIBER logs named fiber initialization, switches (with guest return-address chains), and returns. It does not log the counter a fiber is waiting on, so it cannot identify the blocked fiber by itself, but a bounded capture around the first stall could show which fiber switches stop and whether a particular guest path is involved. The documented APS5_TRACE_GPU output is separate and records PM4 queue/wait activity; it would only help connect this if its wait addresses include 0x0000000200553EE0. The OS stacks you supplied are therefore a real limitation, but there is still a targeted emulator-side trace to try before adding instrumentation.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6237964308 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/7203#issuecomment-6237964308). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-17T17:47:25Z. --- One useful diagnostic is already present in the exact v0.1.2 source: `APS5_TRACE_FIBER` logs named fiber initialization, switches (with guest return-address chains), and returns. It does not log the counter a fiber is waiting on, so it cannot identify the blocked fiber by itself, but a bounded capture around the first stall could show which fiber switches stop and whether a particular guest path is involved. The documented `APS5_TRACE_GPU` output is separate and records PM4 queue/wait activity; it would only help connect this if its wait addresses include `0x0000000200553EE0`. The OS stacks you supplied are therefore a real limitation, but there is still a targeted emulator-side trace to try before adding instrumentation.
MarcZX10 commented 2026-10-17 18:30:16 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-17T18:30:16Z.


Thanks for pulling every worker stack from the same timed dump. This confirms the OS-level snapshot cannot distinguish the yielded fiber that waits on the render counter, and the NVIDIA compiler thread is only concurrent activity without a link to that counter. I do not see enough evidence to change the scheduler or shader path yet. A fiber-aware snapshot that identifies the waiting job and its counter producer would be the next useful signal if one becomes available.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6238598879 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/7203#issuecomment-6238598879). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-17T18:30:16Z. --- Thanks for pulling every worker stack from the same timed dump. This confirms the OS-level snapshot cannot distinguish the yielded fiber that waits on the render counter, and the NVIDIA compiler thread is only concurrent activity without a link to that counter. I do not see enough evidence to change the scheduler or shader path yet. A fiber-aware snapshot that identifies the waiting job and its counter producer would be the next useful signal if one becomes available.
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#7203
No description provided.