[GAME STATUS]: Demon's Souls (Logo) #2341

Open
opened 2026-11-26 10:18:35 +00:00 by github-bot · 5 comments
Owner

@⁠tehzap on GitHub · 2026-11-17 06:43 UTC · original

Game title

Demon's Souls

Game ID / serial

PPSA01341

KytyPS5 version

0.3.0 1e87171 (Official build KytyPS5-2026-11-16-1e87171)

Compatibility status

Logo

Last working build / first broken build

No response

Result details

Game boots into the Logo, then crashes.

--- Build ---
Official build KytyPS5-2026-11-16-1e87171
--- Error ---
Unhandled host exception: type=1 code=3221225477 pc=0x00007ffec5e4410c access=1 address=0x0000000000000001
in D:\a\KytyPS5\KytyPS5\src\loader\runtimeLinker.cpp:719

Steps to reproduce the result

  1. Open KytyPS5.
  2. Boot Game.
  3. Reach the Logo.

Expected behavior

Game would stay on the Title Screen and proceed to the Main Menu / gameplay without crashing.

OS

Windows 11 Pro 25H2

CPU

AMD Ryzen 5 7600

GPU

AMD Radeon RX 6800 XT, Driver 26.7.1

RAM / VRAM

32 GB RAM / 16 GB VRAM

Log file upload

_kyty.txt

Screenshots/video

grafik

Extra notes

Game version: 01.007.000. Default settings.
The same game dump works flawlessly with chenxiao07's fork.

**@⁠tehzap** on GitHub · 2026-11-17 06:43 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2341) ### Game title Demon's Souls ### Game ID / serial PPSA01341 ### KytyPS5 version 0.3.0 1e87171 (Official build KytyPS5-2026-11-16-1e87171) ### Compatibility status Logo ### Last working build / first broken build _No response_ ### Result details Game boots into the Logo, then crashes. --- Build --- Official build KytyPS5-2026-11-16-1e87171 --- Error --- Unhandled host exception: type=1 code=3221225477 pc=0x00007ffec5e4410c access=1 address=0x0000000000000001 in D:\a\KytyPS5\KytyPS5\src\loader\runtimeLinker.cpp:719 ### Steps to reproduce the result 1. Open KytyPS5. 2. Boot Game. 3. Reach the Logo. ### Expected behavior Game would stay on the Title Screen and proceed to the Main Menu / gameplay without crashing. ### OS Windows 11 Pro 25H2 ### CPU AMD Ryzen 5 7600 ### GPU AMD Radeon RX 6800 XT, Driver 26.7.1 ### RAM / VRAM 32 GB RAM / 16 GB VRAM ### Log file upload [_kyty.txt](https://github.com/user-attachments/files/34956444/_kyty.txt) ### Screenshots/video <img width="2546" height="1423" alt="grafik" src="https://github.com/user-attachments/assets/33b2a5d1-53a6-4588-90c5-46ab0f998578" /> ### Extra notes Game version: 01.007.000. Default settings. The same game dump works flawlessly with chenxiao07's fork.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:18:35 +00:00
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-17 21:19 UTC · original

@⁠tehzap Thanks for the log. This looks like the crash in #821 (Demon's Souls on RDNA2 cards): an access violation at address 0x1 with the program counter in host code (0x7ffe..., where Windows loads DLLs), and no error before it in your log. There, AMD's Windows driver for RDNA2 crashed while KytyPS5 created one of its own texture tiling compute shaders, because those shaders select whole vectors with specialization constants. #1152 rewrites those selects and was confirmed with Demon's Souls on an RX 6700 XT.

Test build: official 2638b1b + #1152: Windows build (artifact KytyPS5-Windows-x64).

Could you check whether Demon's Souls gets past the logo with it?

**@⁠Nawid3333** on GitHub · 2026-11-17 21:19 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2341#issuecomment-6961315020) @⁠tehzap Thanks for the log. This looks like the crash in #821 (Demon's Souls on RDNA2 cards): an access violation at address `0x1` with the program counter in host code (`0x7ffe...`, where Windows loads DLLs), and no error before it in your log. There, AMD's Windows driver for RDNA2 crashed while KytyPS5 created one of its own texture tiling compute shaders, because those shaders select whole vectors with specialization constants. #1152 rewrites those selects and was confirmed with Demon's Souls on an RX 6700 XT. Test build: official `2638b1b` + #1152: [Windows build](https://github.com/Nawid3333/KytyPS5/actions/runs/44174297365) (artifact `KytyPS5-Windows-x64`). Could you check whether Demon's Souls gets past the logo with it?
Author
Owner

@⁠tehzap on GitHub · 2026-11-18 07:09 UTC · original

Thanks! I tested the build (Fork build Nawid3333/KytyPS5 9148cf6) and can confirm that it gets past the logo/title screen now and reaches the Character Creation, where the game then crashes.

Initialized: Config
Initialized: Log
Initialized: Pthread
Initialized: Profiler
Initialized: Network
Initialized: Memory
Initialized: FileSystem
Initialized: Controller
Initialized: Audio
Vulkan pipeline cache: loading _PipelineCache\PPSA01341.bin
Vulkan pipeline cache: loaded 2.85 MB from _PipelineCache\PPSA01341.bin
Shader cache: compiling shaders and pipelines from _PipelineCache\PPSA01341.shaders (5.5 MB) with 6 threads
--- Build ---
Fork build Nawid3333/KytyPS5 9148cf6
--- Fatal Error ---
Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\pipeline\shaders.cpp:394

When trying to launch the game a second time afterwards, it immediately crashes on startup while compiling
shaders from _PipelineCache\PPSA01341.shaders:

Shader cache: compiling shaders and pipelines from _PipelineCache\PPSA01341.shaders (5.4 MB) with 6 threads
--- Build ---
Fork build Nawid3333/KytyPS5 9148cf6
--- Fatal Error ---
Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\pipeline\shaders.cpp:394

I attached both logs below (_kyty - initial.txt for the Character Creation crash and _kyty - second.txt for the subsequent startup crash).
_kyty - initial.txt
_kyty - second.txt

**@⁠tehzap** on GitHub · 2026-11-18 07:09 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2341#issuecomment-6971712007) Thanks! I tested the build (`Fork build Nawid3333/KytyPS5 9148cf6`) and can confirm that it gets past the logo/title screen now and reaches the Character Creation, where the game then crashes. ```text Initialized: Config Initialized: Log Initialized: Pthread Initialized: Profiler Initialized: Network Initialized: Memory Initialized: FileSystem Initialized: Controller Initialized: Audio Vulkan pipeline cache: loading _PipelineCache\PPSA01341.bin Vulkan pipeline cache: loaded 2.85 MB from _PipelineCache\PPSA01341.bin Shader cache: compiling shaders and pipelines from _PipelineCache\PPSA01341.shaders (5.5 MB) with 6 threads --- Build --- Fork build Nawid3333/KytyPS5 9148cf6 --- Fatal Error --- Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\pipeline\shaders.cpp:394 ``` When trying to launch the game a second time afterwards, it immediately crashes on startup while compiling shaders from `_PipelineCache\PPSA01341.shaders`: ```text Shader cache: compiling shaders and pipelines from _PipelineCache\PPSA01341.shaders (5.4 MB) with 6 threads --- Build --- Fork build Nawid3333/KytyPS5 9148cf6 --- Fatal Error --- Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\pipeline\shaders.cpp:394 ``` I attached both logs below (`_kyty - initial.txt` for the Character Creation crash and `_kyty - second.txt` for the subsequent startup crash). [_kyty - initial.txt](https://github.com/user-attachments/files/35012513/_kyty.-.initial.txt) [_kyty - second.txt](https://github.com/user-attachments/files/35012514/_kyty.-.second.txt)
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-18 13:32 UTC · original

@⁠tehzap Thanks, that confirms the tiler change (#1152) for Demon's Souls on the RX 6800 XT.

The new stop is probably in AMD's driver again, now on one of the game's own compute shaders. In _kyty - initial.txt the last shader line before the crash is the translation of compute shader 0x3bcd5b00b85a5447 (SPIR-V EmitProgram words=43647); the next step is creating its pipeline, and the exception is in host code that the log does not name (pc=0x00007ffe7062f2e7 ... address=0x0000000000000028). On the second start KytyPS5 recompiles the stored shaders first, and there the driver returns an error for a compute pipeline (shaders.cpp:394).

Could you zip and attach _PipelineCache\PPSA01341.shaders? It holds the translated shaders, so I can compile them on an RDNA2 GPU here without the game and find the one the driver rejects. Your AMD driver version would help too.

After that, deleting _PipelineCache\PPSA01341.shaders should let the game start again (it will probably stop at the same point in character creation).

**@⁠Nawid3333** on GitHub · 2026-11-18 13:32 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2341#issuecomment-6980080357) @⁠tehzap Thanks, that confirms the tiler change (#1152) for Demon's Souls on the RX 6800 XT. The new stop is probably in AMD's driver again, now on one of the game's own compute shaders. In `_kyty - initial.txt` the last shader line before the crash is the translation of compute shader `0x3bcd5b00b85a5447` (`SPIR-V EmitProgram words=43647`); the next step is creating its pipeline, and the exception is in host code that the log does not name (`pc=0x00007ffe7062f2e7 ... address=0x0000000000000028`). On the second start KytyPS5 recompiles the stored shaders first, and there the driver returns an error for a compute pipeline (`shaders.cpp:394`). Could you zip and attach `_PipelineCache\PPSA01341.shaders`? It holds the translated shaders, so I can compile them on an RDNA2 GPU here without the game and find the one the driver rejects. Your AMD driver version would help too. After that, deleting `_PipelineCache\PPSA01341.shaders` should let the game start again (it will probably stop at the same point in character creation).
Author
Owner

@⁠tehzap on GitHub · 2026-11-18 16:17 UTC · original

Thanks a lot for your support.

Here is the zipped PPSA01341.shaders file from _PipelineCache.
My driver version is AMD Software: Adrenalin Edition 26.10.1

PPSA01341.zip

**@⁠tehzap** on GitHub · 2026-11-18 16:17 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2341#issuecomment-6984389670) Thanks a lot for your support. Here is the zipped `PPSA01341.shaders` file from `_PipelineCache`. My driver version is AMD Software: Adrenalin Edition `26.10.1` [PPSA01341.zip](https://github.com/user-attachments/files/35038214/PPSA01341.zip)
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-19 14:16 UTC · original

@⁠tehzap Thanks for the store, it had what was needed. The crash is in AMD's shader compiler for RDNA2: creating the pipeline of the game's compute shader 0x3bcd5b00b85a5447 crashes inside the driver. I reproduced it with driver 26.10.1 on the Ryzen 7600X's integrated GPU (RDNA2, like your RX 6800 XT), outside of KytyPS5 with only that shader; on an RX 9070 XT (RDNA4, a different compiler) the same shader compiles.

Cut down to 1.8 KB of SPIR-V, the crash needs two things in one loop: a subgroup shuffle whose lane index is itself the result of a shuffle, and an image sample result carried to the next loop iteration. Without either one it compiles. This goes to AMD as a driver bug report, with the small shader as the reproducer.

KytyPS5 translates the game's shader as it is, so there is no fix on this side yet. When there is a build that avoids it, I'll post it here.

**@⁠Nawid3333** on GitHub · 2026-11-19 14:16 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2341#issuecomment-7011690747) @⁠tehzap Thanks for the store, it had what was needed. The crash is in AMD's shader compiler for RDNA2: creating the pipeline of the game's compute shader `0x3bcd5b00b85a5447` crashes inside the driver. I reproduced it with driver 26.10.1 on the Ryzen 7600X's integrated GPU (RDNA2, like your RX 6800 XT), outside of KytyPS5 with only that shader; on an RX 9070 XT (RDNA4, a different compiler) the same shader compiles. Cut down to 1.8 KB of SPIR-V, the crash needs two things in one loop: a subgroup shuffle whose lane index is itself the result of a shuffle, and an image sample result carried to the next loop iteration. Without either one it compiles. This goes to AMD as a driver bug report, with the small shader as the reproducer. KytyPS5 translates the game's shader as it is, so there is no fix on this side yet. When there is a build that avoids it, I'll post it here.
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#2341
No description provided.