Shader resource tracking crash on Demon's Souls (PPSA01342) — GetImageResource dword 0 not a valid runtime value #855

Closed
opened 2026-11-26 09:35:09 +00:00 by github-bot · 7 comments
Owner

@⁠OokiBoi on GitHub · 2026-09-26 19:57 UTC · original

Game title

Demon's Souls

Game ID / serial

PPSA01342

KytyPS5 version

Official build KytyPS5-2026-09-26-f1f930e

Compatibility status

Doesn't boot

Last working build / first broken build

No response

Result details

Game crashes during the initial shader compilation pass, before reaching the title screen. Fails while compiling compute shaders (crash occurs partway through, at CS index 95 out of the batch shown in the log).

Error Log:
shader resource tracking: hash=0xfb0becc9db83db77 stage=compute pc=0x00001044 GetImageResource dword 0 is not a valid runtime value in D:\a\KytyPS5\KytyPS5\src\graphics\shader\recompiler\ir\passes\ResourceTracking.cpp:168

Steps to reproduce the result

  1. Boot Demon's Souls (PPSA01342) on the above build
  2. Let shader compilation proceed
  3. Crash occurs during compute shader compilation

Expected behavior

The shaders should complete compilation.

OS

Windows 11 Pro

CPU

AMD Ryzen 5 9800X3D

GPU

AMD Radeon RX 9070 XT

RAM / VRAM

48 GB DDR5 RAM, 16 GB VRAM

Log file upload

Initialized: Config
Initialized: Log
Initialized: Timer
Initialized: Pthread
Initialized: Profiler
Initialized: Network
Initialized: Memory
Initialized: FileSystem
Initialized: Controller
Initialized: Audio
Vulkan pipeline cache: initializing _PipelineCache\PPSA01342.bin
Vulkan pipeline cache: initialized empty
Initialized: Graphics
Title ID: PPSA01342
version = 13
AJM codec=1, name=ATRAC9 decoder
Shaders: VS 0 | PS 0 | CS 1 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 0 | PS 0 | CS 2 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 0 | PS 0 | CS 3 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 0 | PS 0 | CS 4 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 0 | PS 0 | CS 5 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 0 | PS 0 | CS 6 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 0 | PS 0 | CS 7 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 0 | PS 0 | CS 8 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 0 | PS 0 | CS 9 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 0 | PS 0 | CS 10 | GS 0 | LS 0 | HS 0 | TES 0
Shader: emitted zero-position clip guard
Shaders: VS 1 | PS 0 | CS 10 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 11 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 12 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 13 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 14 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 15 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 16 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 17 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 18 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 19 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 20 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 21 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 22 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 23 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 24 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 25 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 26 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 27 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 28 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 29 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 30 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 31 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 32 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 33 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 34 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 35 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 36 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 37 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 38 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 39 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 40 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 41 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 42 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 43 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 44 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 45 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 46 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 47 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 48 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 49 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 50 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 51 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 52 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 53 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 54 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 55 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 56 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 57 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 58 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 59 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 60 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 61 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 62 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 63 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 64 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 65 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 66 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 67 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 68 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 69 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 70 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 71 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 72 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 73 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 74 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 75 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 76 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 77 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 78 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 79 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 80 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 81 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 82 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 83 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 84 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 85 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 86 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 87 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 88 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 0 | CS 89 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 1 | CS 89 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 2 | PS 1 | CS 89 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 2 | PS 1 | CS 90 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 2 | PS 1 | CS 91 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 2 | PS 1 | CS 92 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 2 | PS 1 | CS 93 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 2 | PS 1 | CS 94 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 2 | PS 1 | CS 95 | GS 0 | LS 0 | HS 0 | TES 0
--- Build ---
Official build KytyPS5-2026-09-26-f1f930e
--- Error ---
shader resource tracking: hash=0xfb0becc9db83db77 stage=compute pc=0x00001044 GetImageResource dword 0 is not a valid runtime value in D:\a\KytyPS5\KytyPS5\src\graphics\shader\recompiler\ir\passes\ResourceTracking.cpp:168

Screenshots/video

No response

Extra notes

This looks related to the broader class of resource-tracking failures currently affecting other titles (e.g. issues #507 and #548 for GTA V, #824 for Killzone: Liberation) on recent builds — the tracker's ValidateRuntimeValue/similar logic appears unable to statically resolve certain dynamically-indexed image/buffer descriptors. This report is for the GetImageResource (rather than GetBufferResource) variant of the same crash, on a title that doesn't yet appear to have a tracked issue.

**@⁠OokiBoi** on GitHub · 2026-09-26 19:57 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/855) ### Game title Demon's Souls ### Game ID / serial PPSA01342 ### KytyPS5 version Official build KytyPS5-2026-09-26-f1f930e ### Compatibility status Doesn't boot ### Last working build / first broken build _No response_ ### Result details Game crashes during the initial shader compilation pass, before reaching the title screen. Fails while compiling compute shaders (crash occurs partway through, at CS index 95 out of the batch shown in the log). Error Log: shader resource tracking: hash=0xfb0becc9db83db77 stage=compute pc=0x00001044 GetImageResource dword 0 is not a valid runtime value in D:\a\KytyPS5\KytyPS5\src\graphics\shader\recompiler\ir\passes\ResourceTracking.cpp:168 ### Steps to reproduce the result 1. Boot Demon's Souls (PPSA01342) on the above build 2. Let shader compilation proceed 3. Crash occurs during compute shader compilation ### Expected behavior The shaders should complete compilation. ### OS Windows 11 Pro ### CPU AMD Ryzen 5 9800X3D ### GPU AMD Radeon RX 9070 XT ### RAM / VRAM 48 GB DDR5 RAM, 16 GB VRAM ### Log file upload Initialized: Config Initialized: Log Initialized: Timer Initialized: Pthread Initialized: Profiler Initialized: Network Initialized: Memory Initialized: FileSystem Initialized: Controller Initialized: Audio Vulkan pipeline cache: initializing _PipelineCache\PPSA01342.bin Vulkan pipeline cache: initialized empty Initialized: Graphics Title ID: PPSA01342 version = 13 AJM codec=1, name=ATRAC9 decoder Shaders: VS 0 | PS 0 | CS 1 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 0 | PS 0 | CS 2 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 0 | PS 0 | CS 3 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 0 | PS 0 | CS 4 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 0 | PS 0 | CS 5 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 0 | PS 0 | CS 6 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 0 | PS 0 | CS 7 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 0 | PS 0 | CS 8 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 0 | PS 0 | CS 9 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 0 | PS 0 | CS 10 | GS 0 | LS 0 | HS 0 | TES 0 Shader: emitted zero-position clip guard Shaders: VS 1 | PS 0 | CS 10 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 11 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 12 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 13 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 14 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 15 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 16 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 17 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 18 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 19 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 20 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 21 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 22 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 23 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 24 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 25 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 26 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 27 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 28 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 29 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 30 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 31 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 32 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 33 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 34 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 35 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 36 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 37 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 38 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 39 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 40 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 41 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 42 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 43 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 44 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 45 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 46 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 47 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 48 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 49 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 50 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 51 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 52 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 53 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 54 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 55 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 56 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 57 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 58 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 59 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 60 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 61 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 62 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 63 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 64 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 65 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 66 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 67 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 68 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 69 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 70 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 71 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 72 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 73 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 74 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 75 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 76 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 77 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 78 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 79 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 80 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 81 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 82 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 83 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 84 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 85 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 86 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 87 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 88 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 0 | CS 89 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 1 | CS 89 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 2 | PS 1 | CS 89 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 2 | PS 1 | CS 90 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 2 | PS 1 | CS 91 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 2 | PS 1 | CS 92 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 2 | PS 1 | CS 93 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 2 | PS 1 | CS 94 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 2 | PS 1 | CS 95 | GS 0 | LS 0 | HS 0 | TES 0 --- Build --- Official build KytyPS5-2026-09-26-f1f930e --- Error --- shader resource tracking: hash=0xfb0becc9db83db77 stage=compute pc=0x00001044 GetImageResource dword 0 is not a valid runtime value in D:\a\KytyPS5\KytyPS5\src\graphics\shader\recompiler\ir\passes\ResourceTracking.cpp:168 ### Screenshots/video _No response_ ### Extra notes This looks related to the broader class of resource-tracking failures currently affecting other titles (e.g. issues #507 and #548 for GTA V, #824 for Killzone: Liberation) on recent builds — the tracker's ValidateRuntimeValue/similar logic appears unable to statically resolve certain dynamically-indexed image/buffer descriptors. This report is for the GetImageResource (rather than GetBufferResource) variant of the same crash, on a title that doesn't yet appear to have a tracked issue.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:35:09 +00:00
Author
Owner

@⁠Nmzik on GitHub · 2026-09-27 12:33 UTC · original

Image Image Latest build v01.004
**@⁠Nmzik** on GitHub · 2026-09-27 12:33 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/855#issuecomment-5855849387) <img width="1592" height="893" alt="Image" src="https://github.com/user-attachments/assets/7be12b92-63b0-4fec-9e41-d833e631ecdd" /> <img width="1601" height="891" alt="Image" src="https://github.com/user-attachments/assets/fe885dda-f29d-42b5-9dcb-10f0aff15ac2" /> Latest build v01.004
Author
Owner

@⁠jon2236 on GitHub · 2026-09-27 17:18 UTC · original

Image Image Latest build v01.004

is v01.007 working? can you share the build link that you are using to boot your game?

**@⁠jon2236** on GitHub · 2026-09-27 17:18 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/855#issuecomment-5858032381) > <img alt="Image" width="1592" height="893" src="https://private-user-images.githubusercontent.com/691945/659689381-7be12b92-63b0-4fec-9e41-d833e631ecdd.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTA1Mjk2NzIsIm5iZiI6MTc5MDUyOTM3MiwicGF0aCI6Ii82OTE5NDUvNjU5Njg5MzgxLTdiZTEyYjkyLTYzYjAtNGZlYy05ZTQxLWQ4MzNlNjMxZWNkZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwOTI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDkyN1QxNzE2MTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kMjJiYzNmZGFjOTBiZjhiZmUwMjFhN2NjMDY0NDY1Mjg1Nzg4YWYzNmVlYzE0YTJjYWFjNTkwMmI2OTM1MTYwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.BMcSWKAcE5oVwWtbGaxoPGVojeI_c4KSQiJxqE5X7vs"> <img alt="Image" width="1601" height="891" src="https://private-user-images.githubusercontent.com/691945/659689380-fe885dda-f29d-42b5-9dcb-10f0aff15ac2.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTA1Mjk2NzIsIm5iZiI6MTc5MDUyOTM3MiwicGF0aCI6Ii82OTE5NDUvNjU5Njg5MzgwLWZlODg1ZGRhLWYyOWQtNDJiNS05ZGNiLTEwZjBhZmYxNWFjMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwOTI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDkyN1QxNzE2MTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04N2RlNzM5YWU1MDQyMzFkZjUwZjAzYWQ2NDZmNzI1MGE5MmRkY2NiYzhmODc3ZmFjNTc4Y2U4ZDY2MDM4ZDg3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.PwOcZKbvgxbQx76bdQMow6Vb96yJ6DMVDehqEZ9VduM"> Latest build v01.004 is v01.007 working? can you share the build link that you are using to boot your game?
Author
Owner

@⁠TarkusR on GitHub · 2026-09-27 18:13 UTC · original

Image Image Latest build v01.004

The issue is on the 1.005 and 1.007 versions of the game, the 1.005 introduced pssr for ps5 pro so every version after that will have the same issue.

**@⁠TarkusR** on GitHub · 2026-09-27 18:13 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/855#issuecomment-5858453632) > <img alt="Image" width="1592" height="893" src="https://private-user-images.githubusercontent.com/691945/659689381-7be12b92-63b0-4fec-9e41-d833e631ecdd.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTA1MzAwODcsIm5iZiI6MTc5MDUyOTc4NywicGF0aCI6Ii82OTE5NDUvNjU5Njg5MzgxLTdiZTEyYjkyLTYzYjAtNGZlYy05ZTQxLWQ4MzNlNjMxZWNkZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwOTI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDkyN1QxNzIzMDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04MTkwNzMxYmE5NTdlZGZkZjgzYzZjYmU3ZjZmNjg1ZWMyM2E2MDg3ZGQxZGQyZWI0MmE3YWRjZGY5YWE3MjlhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.o3ZlhxywDC4yvPKfzGISJSF7zdMIG287-hjU3FhX5h4"> <img alt="Image" width="1601" height="891" src="https://private-user-images.githubusercontent.com/691945/659689380-fe885dda-f29d-42b5-9dcb-10f0aff15ac2.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTA1MzAwODcsIm5iZiI6MTc5MDUyOTc4NywicGF0aCI6Ii82OTE5NDUvNjU5Njg5MzgwLWZlODg1ZGRhLWYyOWQtNDJiNS05ZGNiLTEwZjBhZmYxNWFjMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwOTI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDkyN1QxNzIzMDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zM2Q0NTFhZWJiNzM5MmMzYWRlNTE3NGI0YzZmNjUzODg4YzYyOWI3OTljOWFkODZhZDQ2OTBkZjlkZTc1ODNkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.gKhP_W_ciJFBRruKBWYvY-X1-zPTEAXRigLu8WV7mqA"> Latest build v01.004 The issue is on the 1.005 and 1.007 versions of the game, the 1.005 introduced pssr for ps5 pro so every version after that will have the same issue.
Author
Owner

@⁠TarkusR on GitHub · 2026-09-27 19:13 UTC · original · edited 2026-09-27 19:16 UTC

its an indirect image table issue, in this specific shader :

0x0ce0: V_READFIRSTLANE_B32 vcc_lo, v6
0x0fd0: S_MUL_I32 s0, vcc_lo, 0xe0
0x0fd8: S_BUFFER_LOAD_DWORDX2 vcc_lo, s8, s0 ; offset=4     <- the key, at record byte 4
0x0fec: S_LSHL_B32 s22, vcc_lo, 5
0x1018: S_BUFFER_LOAD_DWORDX8 s0, s16, s22                   <- table[key * 32]
0x1044: image_sample_l v6, v35, s0, s12

The texture is taken from a table indexed by a key that lives at byte 4 of a 224-byte record, the record chosen with readfirstlane. The tracker already handled this table but it requires the key to be the first dword of the record, also in the RDNA2 hardware the scalar unit just adds the immediate to the SGPR offset (RDNA2 ISA 7.2.1 if you want a source, offset = OFFSET + SOFFSET)

So basically the tracker should store the immediate in the table description instead of rejecting it and the materializer needs to read the key at record_offset +immediate instead of record_offset

i fixed this in PR #500 it was the material key immediate commit

**@⁠TarkusR** on GitHub · 2026-09-27 19:13 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/855#issuecomment-5858923479) · edited 2026-09-27 19:16 UTC its an indirect image table issue, in this specific shader : ``` 0x0ce0: V_READFIRSTLANE_B32 vcc_lo, v6 0x0fd0: S_MUL_I32 s0, vcc_lo, 0xe0 0x0fd8: S_BUFFER_LOAD_DWORDX2 vcc_lo, s8, s0 ; offset=4 <- the key, at record byte 4 0x0fec: S_LSHL_B32 s22, vcc_lo, 5 0x1018: S_BUFFER_LOAD_DWORDX8 s0, s16, s22 <- table[key * 32] 0x1044: image_sample_l v6, v35, s0, s12 ``` The texture is taken from a table indexed by a key that lives at byte 4 of a 224-byte record, the record chosen with readfirstlane. The tracker already handled this table but it requires the key to be the first dword of the record, also in the RDNA2 hardware the scalar unit just adds the immediate to the SGPR offset (RDNA2 ISA 7.2.1 if you want a source, offset = OFFSET + SOFFSET) So basically the tracker should store the immediate in the table description instead of rejecting it and the materializer needs to read the key at record_offset +immediate instead of record_offset i fixed this in PR #500 it was the material key immediate commit
Author
Owner

@⁠UsernameApproved on GitHub · 2026-09-28 10:03 UTC · original

Why did the #500 PR got closed ?
I get the same error using game version 1.07 and latest Kyty build.

**@⁠UsernameApproved** on GitHub · 2026-09-28 10:03 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/855#issuecomment-5867761013) Why did the #500 PR got closed ? I get the same error using game version 1.07 and latest Kyty build.
Author
Owner

@⁠overlordxrz-source on GitHub · 2026-10-06 01:21 UTC · original

Investigated whether TarkusR's diagnosed fix (key at record byte 4, from closed #500) is still missing on current main (cdb64bf): it appears the concept already landed in evolved form. Tracking now folds a nonzero key-load immediate into selector_offset ("combines shader byte-offset additions with the scalar immediate", with the U32-wrap guard), and materialization probes from the "first aligned offset [which] includes the immediate added after shader U32 arithmetic". ResourceTrackingTests covers immediate-4, negative-immediate, split-offset, packed and overflowing variants — all passing locally (x86_64 macOS no-Qt Release build).

So the original GetImageResource dword 0 is not a valid runtime rejection for this pattern should be gone. If Demon's Souls v1.005+ still crashes on a current build, please post a fresh log — it would be a different failure signature worth a new look rather than this one. (Also noting Nmzik's opcode cherry-picks in this area from Oct 5.)

**@⁠overlordxrz-source** on GitHub · 2026-10-06 01:21 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/855#issuecomment-6007371481) Investigated whether TarkusR's diagnosed fix (key at record byte 4, from closed #500) is still missing on current main (`cdb64bf`): it appears the concept already landed in evolved form. Tracking now folds a nonzero key-load immediate into `selector_offset` ("combines shader byte-offset additions with the scalar immediate", with the U32-wrap guard), and materialization probes from the "first aligned offset [which] includes the immediate added after shader U32 arithmetic". `ResourceTrackingTests` covers immediate-4, negative-immediate, split-offset, packed and overflowing variants — all passing locally (x86_64 macOS no-Qt Release build). So the original `GetImageResource dword 0 is not a valid runtime` rejection for this pattern should be gone. If Demon's Souls v1.005+ still crashes on a current build, please post a fresh log — it would be a different failure signature worth a new look rather than this one. (Also noting Nmzik's opcode cherry-picks in this area from Oct 5.)
Author
Owner

@⁠Nmzik on GitHub · 2026-10-18 16:35 UTC · original · edited 2026-10-18 16:47 UTC

Duplicate of #1660.

Updated the duplicate reference to the newer game report retained for compatibility evidence. The original matching-failure discussion was #550; its logs and analysis remain available there and in this report. This redirect consolidates the evidence and does not mark the behavior as fixed.

**@⁠Nmzik** on GitHub · 2026-10-18 16:35 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/855#issuecomment-6252372678) · edited 2026-10-18 16:47 UTC Duplicate of #1660. Updated the duplicate reference to the newer game report retained for compatibility evidence. The original matching-failure discussion was #550; its logs and analysis remain available there and in this report. This redirect consolidates the evidence and does not mark the behavior as fixed.
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/KytyPS5--KytyPS5#855
No description provided.