[GAME STATUS]: Pumpkin Jack #2162

Open
opened 2026-11-26 10:16:04 +00:00 by github-bot · 11 comments
Owner

@⁠Ekt0re on GitHub · 2026-11-07 18:15 UTC · original

Game title

Pumpkin Jack

Game ID / serial

PPSA03446

KytyPS5 version

KytyPS5-2026-11-07-589bd14

Compatibility status

Logo

Last working build / first broken build

No response

Result details

The game starts, and the following crash occurs during the logo screen.


--- Guest fault context ---
thread: RHIThread
rax=0000002012af0000 rbx=0000002054a30100 rcx=00007ffae7b7c467 rdx=0000000000000000
rsi=0000000000000000 rdi=000000014000a9d1 rbp=0000002054a31ab0 rsp=0000002054a317e0
r8 =0000000000000001 r9 =0000000000000001 r10=00007ffb3ba90000 r11=00007ffb3bab1631
r12=0000000000000000 r13=0000000000000000 r14=0000002054a317e8 r15=0000002054a30000
code (pc-48 .. pc+48, fault at byte 48):
 37 4c 8d b5 38 fd ff ff 4c 8d 4d d0 48 89 da 4c
 89 f7 ff 73 58 41 52 ff 73 48 50 e8 0a c0 fe ff
 48 83 c4 20 4c 89 f7 e8 0e c0 fe ff 48 8b 4b 28
 48 89 01 41 ff 4f 10 75 11 31 ff 31 f6 e8 08 26
 b9 00 0f 1f 84 00 00 00 00 00 48 8b 7b 08 31 f6
 31 d2 e8 a3 25 b9 00 eb f1 ba 2e 00 00 00 e9--- Guest fault context ---
thread: (host thread)
rax=000000e38ba1ef90 rbx=0000000000000000 rcx=000000ff5df91e08 rdx=000001004fa5f7e8
rsi=0000000000000000 rdi=0000000000000000 rbp=000001004fa5f890 rsp=000001004fa5f710
r8 =000001004fa5fa18 r9 =0000000000010700 r10=0000000000000001 r11=fffffffff6c2ae22
r12=0000000000000000 r13=0000000000000000 r14=0000000000000000 r15=0000000000000000
 7f
stack:code (pc-48 .. pc+48, fault at byte 48):
 89 54 24 70 4c 89 44 24 68 48 89 4c 24
  0000000000000000 00000007ec56bcb0 0000002054a30100 00000010e1245280
  0000000000000001 0000010001000000 0000154d0000387f 0000000000000000
  0000387e0000387f 0000000800010000 000000e200000040 0000000000000001
  0000002012af0000 0000002012af0100 000000400000387f 0000002012bd20c0
  000000000000154d 0000002012c27400 000000000000154d 0000002012c2c940
  000000000000387f 0000002012c48e00 000000000000154d 0000002012c63900
  0000000000000001 0000002012c63a00 000000000000387e 0000002012c71c00
  0000000000003882 0000002053b80000 000000400000387e 0000002012af0100
 60 48 8b
 4c 24 60 48 89 4c 24 40 e8 c1 ff ff ff 48 8b 54
 24 48 48 89 44 24 58 48 8b 44 24 58 48 8b 40 08
 48 8b 40 08 48 89 02 c7 42 08 00 00 00 00--- Build ---
Source build 589bd14-dirty
--- Error ---
Unhandled host exception: type=1 code=3221225477 pc=0x00000009041565e6 access=2 address=0x00007ffae7b7c467
 in D:/Progetti/KytyPS5/src/loader/runtimeLinker.cpp:718
 48 8b
 44 24 58 48 8b 40 08 48 89 42 10 48 8b 02 48 89
 44 24 50 48 8b 44 24 50 80 78 19 00 0f 95 c0 34
stack:
  00000000005a0000 00007ffb7ce25591 0000000000000000 0000000000000000
  0000000000000000 0000000000000000 000001004fa5f9a0 000001004fa5f7e8
  000000ff5df91e08 000001004fa5f7e8 000000ff5df91c28 000000ff5df91e08
  000000ff5df91e08 000001004fa5fa18 000001004fa5f7e8 000000014008f8d7
  000001004fa5fa40 000001004fa5fa40 0000000000000000 0000000000000000
  000001004fa5f9f0 000000ff5df91e08 000001004fa5f9f0 000000ff5df91e08
  000000ff5df91e08 000001004fa5fa18 000001004fa5f9f0 0000001561000000
  0000000000030000 fffffffffffffffe 000063d9d398bbd7 000000014008bd3c
--- Build ---
Source build 589bd14-dirty
--- Error ---
Unhandled host exception: type=1 code=3221225477 pc=0x0000000140079502 access=1 address=0x000000e38ba1ef98
 in D:/Progetti/KytyPS5/src/loader/runtimeLinker.cpp:718

Steps to reproduce the result

Launch the game from kytyPS5.

Expected behavior

Be able to access the main menu.

OS

Windows 11 Pro, 26H2

CPU

13th Gen Intel(R) Core(TM) i7-13700K (3.40 GHz)

GPU

NVIDIA GeForce RTX 4070 Ti

RAM / VRAM

32 GB DDR5 / 12 GB VRAM

Log file upload

_kyty.txt

Screenshots/video

No response

Extra notes

No response

**@⁠Ekt0re** on GitHub · 2026-11-07 18:15 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2162) ### Game title Pumpkin Jack ### Game ID / serial PPSA03446 ### KytyPS5 version KytyPS5-2026-11-07-589bd14 ### Compatibility status Logo ### Last working build / first broken build _No response_ ### Result details The game starts, and the following crash occurs during the logo screen. ``` --- Guest fault context --- thread: RHIThread rax=0000002012af0000 rbx=0000002054a30100 rcx=00007ffae7b7c467 rdx=0000000000000000 rsi=0000000000000000 rdi=000000014000a9d1 rbp=0000002054a31ab0 rsp=0000002054a317e0 r8 =0000000000000001 r9 =0000000000000001 r10=00007ffb3ba90000 r11=00007ffb3bab1631 r12=0000000000000000 r13=0000000000000000 r14=0000002054a317e8 r15=0000002054a30000 code (pc-48 .. pc+48, fault at byte 48): 37 4c 8d b5 38 fd ff ff 4c 8d 4d d0 48 89 da 4c 89 f7 ff 73 58 41 52 ff 73 48 50 e8 0a c0 fe ff 48 83 c4 20 4c 89 f7 e8 0e c0 fe ff 48 8b 4b 28 48 89 01 41 ff 4f 10 75 11 31 ff 31 f6 e8 08 26 b9 00 0f 1f 84 00 00 00 00 00 48 8b 7b 08 31 f6 31 d2 e8 a3 25 b9 00 eb f1 ba 2e 00 00 00 e9--- Guest fault context --- thread: (host thread) rax=000000e38ba1ef90 rbx=0000000000000000 rcx=000000ff5df91e08 rdx=000001004fa5f7e8 rsi=0000000000000000 rdi=0000000000000000 rbp=000001004fa5f890 rsp=000001004fa5f710 r8 =000001004fa5fa18 r9 =0000000000010700 r10=0000000000000001 r11=fffffffff6c2ae22 r12=0000000000000000 r13=0000000000000000 r14=0000000000000000 r15=0000000000000000 7f stack:code (pc-48 .. pc+48, fault at byte 48): 89 54 24 70 4c 89 44 24 68 48 89 4c 24 0000000000000000 00000007ec56bcb0 0000002054a30100 00000010e1245280 0000000000000001 0000010001000000 0000154d0000387f 0000000000000000 0000387e0000387f 0000000800010000 000000e200000040 0000000000000001 0000002012af0000 0000002012af0100 000000400000387f 0000002012bd20c0 000000000000154d 0000002012c27400 000000000000154d 0000002012c2c940 000000000000387f 0000002012c48e00 000000000000154d 0000002012c63900 0000000000000001 0000002012c63a00 000000000000387e 0000002012c71c00 0000000000003882 0000002053b80000 000000400000387e 0000002012af0100 60 48 8b 4c 24 60 48 89 4c 24 40 e8 c1 ff ff ff 48 8b 54 24 48 48 89 44 24 58 48 8b 44 24 58 48 8b 40 08 48 8b 40 08 48 89 02 c7 42 08 00 00 00 00--- Build --- Source build 589bd14-dirty --- Error --- Unhandled host exception: type=1 code=3221225477 pc=0x00000009041565e6 access=2 address=0x00007ffae7b7c467 in D:/Progetti/KytyPS5/src/loader/runtimeLinker.cpp:718 48 8b 44 24 58 48 8b 40 08 48 89 42 10 48 8b 02 48 89 44 24 50 48 8b 44 24 50 80 78 19 00 0f 95 c0 34 stack: 00000000005a0000 00007ffb7ce25591 0000000000000000 0000000000000000 0000000000000000 0000000000000000 000001004fa5f9a0 000001004fa5f7e8 000000ff5df91e08 000001004fa5f7e8 000000ff5df91c28 000000ff5df91e08 000000ff5df91e08 000001004fa5fa18 000001004fa5f7e8 000000014008f8d7 000001004fa5fa40 000001004fa5fa40 0000000000000000 0000000000000000 000001004fa5f9f0 000000ff5df91e08 000001004fa5f9f0 000000ff5df91e08 000000ff5df91e08 000001004fa5fa18 000001004fa5f9f0 0000001561000000 0000000000030000 fffffffffffffffe 000063d9d398bbd7 000000014008bd3c --- Build --- Source build 589bd14-dirty --- Error --- Unhandled host exception: type=1 code=3221225477 pc=0x0000000140079502 access=1 address=0x000000e38ba1ef98 in D:/Progetti/KytyPS5/src/loader/runtimeLinker.cpp:718 ``` ### Steps to reproduce the result Launch the game from kytyPS5. ### Expected behavior Be able to access the main menu. ### OS Windows 11 Pro, 26H2 ### CPU 13th Gen Intel(R) Core(TM) i7-13700K (3.40 GHz) ### GPU NVIDIA GeForce RTX 4070 Ti ### RAM / VRAM 32 GB DDR5 / 12 GB VRAM ### Log file upload [_kyty.txt](https://github.com/user-attachments/files/34526029/_kyty.txt) ### Screenshots/video _No response_ ### Extra notes _No response_
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:16:04 +00:00
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-07 22:22 UTC · original

@⁠Ekt0re a test build for this crash. In your log the faulting thread runs on the game's fiber Psr::buildManyBottomLevelBvh, whose stack is the 6144-byte context at 0x2054a30300, and rbx = 0x2054a30100 points at game data 0x200 bytes below that stack. The value the game read there (rcx = 0x00007ffae7b7c467) lies in the range of Windows DLLs, not in the game's memory.

Kyty runs a fiber directly on the game's context, so its own code also runs on that small stack: on Windows, handling a memory fault that Kyty resolves on purpose needs about 4.5 KB below the stack pointer, and a log line about 2 KB (measured with a 6144-byte fiber). That can write into the game's memory below the context.

Test build: https://github.com/Nawid3333/KytyPS5/actions/runs/42418654239 (artifact KytyPS5-Windows-x64; the window title shows Fork build Nawid3333/KytyPS5 828b97f). Commit 828b97fad = main (27f290e95) + the Windows build fix from #2165 + a test-only change that runs every fiber whose context is smaller than 64 KiB on its own stack of the context size + 1 MiB (larger contexts stay the stack). Branch test/2162-fiber-own-stack on https://github.com/Nawid3333/KytyPS5 if you build from source. Not a PR yet.

Could you start Pumpkin Jack with it and tell me whether it gets past the logo screen? If it stops, please attach _kyty.txt; it contains a line lab fiber own stack: ... for each fiber that gets its own stack.

**@⁠Nawid3333** on GitHub · 2026-11-07 22:22 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2162#issuecomment-6713808008) @⁠Ekt0re a test build for this crash. In your log the faulting thread runs on the game's fiber `Psr::buildManyBottomLevelBvh`, whose stack is the 6144-byte context at 0x2054a30300, and `rbx = 0x2054a30100` points at game data 0x200 bytes below that stack. The value the game read there (`rcx = 0x00007ffae7b7c467`) lies in the range of Windows DLLs, not in the game's memory. Kyty runs a fiber directly on the game's context, so its own code also runs on that small stack: on Windows, handling a memory fault that Kyty resolves on purpose needs about 4.5 KB below the stack pointer, and a log line about 2 KB (measured with a 6144-byte fiber). That can write into the game's memory below the context. Test build: https://github.com/Nawid3333/KytyPS5/actions/runs/42418654239 (artifact `KytyPS5-Windows-x64`; the window title shows `Fork build Nawid3333/KytyPS5 828b97f`). Commit 828b97fad = main (27f290e95) + the Windows build fix from #2165 + a test-only change that runs every fiber whose context is smaller than 64 KiB on its own stack of the context size + 1 MiB (larger contexts stay the stack). Branch `test/2162-fiber-own-stack` on https://github.com/Nawid3333/KytyPS5 if you build from source. Not a PR yet. Could you start Pumpkin Jack with it and tell me whether it gets past the logo screen? If it stops, please attach `_kyty.txt`; it contains a line `lab fiber own stack: ...` for each fiber that gets its own stack.
Author
Owner

@⁠Ekt0re on GitHub · 2026-11-08 00:31 UTC · original

@⁠Ekt0re a test build for this crash. In your log the faulting thread runs on the game's fiber Psr::buildManyBottomLevelBvh, whose stack is the 6144-byte context at 0x2054a30300, and rbx = 0x2054a30100 points at game data 0x200 bytes below that stack. The value the game read there (rcx = 0x00007ffae7b7c467) lies in the range of Windows DLLs, not in the game's memory.

Kyty runs a fiber directly on the game's context, so its own code also runs on that small stack: on Windows, handling a memory fault that Kyty resolves on purpose needs about 4.5 KB below the stack pointer, and a log line about 2 KB (measured with a 6144-byte fiber). That can write into the game's memory below the context.

Test build: https://github.com/Nawid3333/KytyPS5/actions/runs/42418654239 (artifact KytyPS5-Windows-x64; the window title shows Fork build Nawid3333/KytyPS5 828b97f). Commit 828b97fad = main (27f290e95) + the Windows build fix from #2165 + a test-only change that runs every fiber whose context is smaller than 64 KiB on its own stack of the context size + 1 MiB (larger contexts stay the stack). Branch test/2162-fiber-own-stack on https://github.com/Nawid3333/KytyPS5 if you build from source. Not a PR yet.

Could you start Pumpkin Jack with it and tell me whether it gets past the logo screen? If it stops, please attach _kyty.txt; it contains a line lab fiber own stack: ... for each fiber that gets its own stack.
I'll try it tomorrow morning! I'll let you know how it goes.

**@⁠Ekt0re** on GitHub · 2026-11-08 00:31 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2162#issuecomment-6715084165) > @⁠Ekt0re a test build for this crash. In your log the faulting thread runs on the game's fiber `Psr::buildManyBottomLevelBvh`, whose stack is the 6144-byte context at 0x2054a30300, and `rbx = 0x2054a30100` points at game data 0x200 bytes below that stack. The value the game read there (`rcx = 0x00007ffae7b7c467`) lies in the range of Windows DLLs, not in the game's memory. > > Kyty runs a fiber directly on the game's context, so its own code also runs on that small stack: on Windows, handling a memory fault that Kyty resolves on purpose needs about 4.5 KB below the stack pointer, and a log line about 2 KB (measured with a 6144-byte fiber). That can write into the game's memory below the context. > > Test build: https://github.com/Nawid3333/KytyPS5/actions/runs/42418654239 (artifact `KytyPS5-Windows-x64`; the window title shows `Fork build Nawid3333/KytyPS5 828b97f`). Commit 828b97fad = main (27f290e95) + the Windows build fix from #2165 + a test-only change that runs every fiber whose context is smaller than 64 KiB on its own stack of the context size + 1 MiB (larger contexts stay the stack). Branch `test/2162-fiber-own-stack` on https://github.com/Nawid3333/KytyPS5 if you build from source. Not a PR yet. > > Could you start Pumpkin Jack with it and tell me whether it gets past the logo screen? If it stops, please attach `_kyty.txt`; it contains a line `lab fiber own stack: ...` for each fiber that gets its own stack. > I'll try it tomorrow morning! I'll let you know how it goes.
Author
Owner

@⁠Ekt0re on GitHub · 2026-11-08 12:53 UTC · original

@⁠Nawid3333 Hi, I ran a test using the version you mentioned. The game crashed again during the startup logos, but at a different point than in the main game. (I was able to compile many more shaders!)

The main branch, game compiles up to:

Shaders: VS 12 | PS 18 | CS 20 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 13 | PS 18 | CS 20 | GS 1 | LS 0 | HS 0 | TES 0
AMD CPU compatibility: trapping vrsqrtps (first at 0x902def082)
--- Guest fault context ---
thread: RHIThread
rax=0000002022d80000 rbx=0000002054b30100 rcx=00007ffc8a9dc467 rdx=0000000000000000
rsi=0000000000000000 rdi=000000014000a9e1 rbp=0000002054b31ab0 rsp=0000002054b317e0
r8 =0000000000000001 r9 =0000000000000001 r10=00007ffcec7b0000 r11=00007ffcec7d1631
r12=0000000000000000 r13=0000000000000000 r14=0000002054b317e8 r15=0000002054b30000
code (pc-48 .. pc+48, fault at byte 48):
37 4c 8d b5 38 fd ff ff 4c 8d 4d d0 48 89 da 4c
89 f7 ff 73 58 41 52 ff 73 48 50 e8 0a c0 fe ff
48 83 c4 20 4c 89 f7 e8 0e c0 fe ff 48 8b 4b 28
48 89 01 41 ff 4f 10 75 11 31 ff 31 f6 e8 08 26
b9 00 0f 1f 84 00 00 00 00 00 48 8b 7b 08 31 f6
31 d2 e8 a3 25 b9 00 eb f1 ba 2e 00 00 00 e9 7f
stack:
0000000000000000 00000007ec56bcb0 0000002054b30100 00000010e1243900
0000000000000001 0000010001000000 0000154d0000387f 0000000000000000
0000387e0000387f 0000000800010000 000000e200000040 0000000000000001
0000002022d80000 0000002022d80100 000000400000387f 0000002022e620c0
000000000000154d 0000002022eb7400 000000000000154d 0000002022ebc940
000000000000387f 0000002022ed8e00 000000000000154d 0000002022ef3900
0000000000000001 0000002022ef3a00 000000000000387e 0000002022f01c00
0000000000003882 0000002053bc0000 000000400000387e 0000002022d80100
--- Build ---
Source build 9852d51-dirty
--- Error ---
Unhandled host exception: type=1 code=3221225477 pc=0x00000009041565e6 access=2 address=0x00007ffc8a9dc467
in D:/Progetti/KytyPS5/src/loader/runtimeLinker.cpp:718

Your branch:

Shaders: VS 41 | PS 55 | CS 36 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 41 | PS 56 | CS 36 | GS 1 | LS 0 | HS 0 | TES 0
--- Build ---
Fork build Nawid3333/KytyPS5 828b97f
--- Fatal Error ---
Error: condition (index >= source_count) is true in D:\a\KytyPS5\KytyPS5\src\graphics\shader\recompiler\ir\passes\ResourceMaterialization.cpp:897

I am attaching the log file:

_kyty.txt

**@⁠Ekt0re** on GitHub · 2026-11-08 12:53 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2162#issuecomment-6721735543) @⁠Nawid3333 Hi, I ran a test using the version you mentioned. The game crashed again during the startup logos, but at a different point than in the main game. (I was able to compile many more shaders!) **The main branch, game compiles up to:** > > Shaders: VS 12 | PS 18 | CS 20 | GS 1 | LS 0 | HS 0 | TES 0 > Shaders: VS 13 | PS 18 | CS 20 | GS 1 | LS 0 | HS 0 | TES 0 > AMD CPU compatibility: trapping vrsqrtps (first at 0x902def082) > --- Guest fault context --- > thread: RHIThread > rax=0000002022d80000 rbx=0000002054b30100 rcx=00007ffc8a9dc467 rdx=0000000000000000 > rsi=0000000000000000 rdi=000000014000a9e1 rbp=0000002054b31ab0 rsp=0000002054b317e0 > r8 =0000000000000001 r9 =0000000000000001 r10=00007ffcec7b0000 r11=00007ffcec7d1631 > r12=0000000000000000 r13=0000000000000000 r14=0000002054b317e8 r15=0000002054b30000 > code (pc-48 .. pc+48, fault at byte 48): > 37 4c 8d b5 38 fd ff ff 4c 8d 4d d0 48 89 da 4c > 89 f7 ff 73 58 41 52 ff 73 48 50 e8 0a c0 fe ff > 48 83 c4 20 4c 89 f7 e8 0e c0 fe ff 48 8b 4b 28 > 48 89 01 41 ff 4f 10 75 11 31 ff 31 f6 e8 08 26 > b9 00 0f 1f 84 00 00 00 00 00 48 8b 7b 08 31 f6 > 31 d2 e8 a3 25 b9 00 eb f1 ba 2e 00 00 00 e9 7f > stack: > 0000000000000000 00000007ec56bcb0 0000002054b30100 00000010e1243900 > 0000000000000001 0000010001000000 0000154d0000387f 0000000000000000 > 0000387e0000387f 0000000800010000 000000e200000040 0000000000000001 > 0000002022d80000 0000002022d80100 000000400000387f 0000002022e620c0 > 000000000000154d 0000002022eb7400 000000000000154d 0000002022ebc940 > 000000000000387f 0000002022ed8e00 000000000000154d 0000002022ef3900 > 0000000000000001 0000002022ef3a00 000000000000387e 0000002022f01c00 > 0000000000003882 0000002053bc0000 000000400000387e 0000002022d80100 > --- Build --- > Source build 9852d51-dirty > --- Error --- > Unhandled host exception: type=1 code=3221225477 pc=0x00000009041565e6 access=2 address=0x00007ffc8a9dc467 > in D:/Progetti/KytyPS5/src/loader/runtimeLinker.cpp:718 **Your branch:** ``` Shaders: VS 41 | PS 55 | CS 36 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 41 | PS 56 | CS 36 | GS 1 | LS 0 | HS 0 | TES 0 --- Build --- Fork build Nawid3333/KytyPS5 828b97f --- Fatal Error --- Error: condition (index >= source_count) is true in D:\a\KytyPS5\KytyPS5\src\graphics\shader\recompiler\ir\passes\ResourceMaterialization.cpp:897 ``` **I am attaching the log file:** [_kyty.txt](https://github.com/user-attachments/files/34543526/_kyty.txt)
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-08 15:52 UTC · original

@⁠Ekt0re thank you, that is real progress: in your log the eight Psr::buildManyBottomLevelBvh fibers ran on their own stacks, there is no guest fault any more, and the game compiled 41 VS / 56 PS shaders instead of 13 / 18.

The new stop (index >= source_count in ResourceMaterialization.cpp) is the same one that A Quiet Place: The Road Ahead hit (#1973), and open PR #2009 fixes it: when the shader recompiler removes an unused image instruction, its old resource entry stays behind with an index that the image renumbering does not know. The pixel shader in your log (hash 0x8edcabde23c6d75d) starts (after S_INST_PREFETCH) with S_ANDN2_B64 s30, exec_lo, exec_lo and S_CBRANCH_SCC0, which always jumps past its main part, so the recompiler removes all three image instructions in it (one IMAGE_LOAD, two image_sample_lz), and their entries are left behind.

Test build: https://github.com/Nawid3333/KytyPS5/actions/runs/42483609602 (artifact KytyPS5-Windows-x64; the window title shows Fork build Nawid3333/KytyPS5 a7771cb). Commit a7771cbe3 = the previous test build 828b97fad + #2009. Branch test/2162-fiber-2009 on https://github.com/Nawid3333/KytyPS5 if you build from source.

Could you start Pumpkin Jack with it again? Does it get past the logo screen now? If it stops, please attach _kyty.txt.

**@⁠Nawid3333** on GitHub · 2026-11-08 15:52 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2162#issuecomment-6723617681) @⁠Ekt0re thank you, that is real progress: in your log the eight `Psr::buildManyBottomLevelBvh` fibers ran on their own stacks, there is no guest fault any more, and the game compiled 41 VS / 56 PS shaders instead of 13 / 18. The new stop (`index >= source_count` in ResourceMaterialization.cpp) is the same one that A Quiet Place: The Road Ahead hit (#1973), and open PR #2009 fixes it: when the shader recompiler removes an unused image instruction, its old resource entry stays behind with an index that the image renumbering does not know. The pixel shader in your log (hash 0x8edcabde23c6d75d) starts (after `S_INST_PREFETCH`) with `S_ANDN2_B64 s30, exec_lo, exec_lo` and `S_CBRANCH_SCC0`, which always jumps past its main part, so the recompiler removes all three image instructions in it (one `IMAGE_LOAD`, two `image_sample_lz`), and their entries are left behind. Test build: https://github.com/Nawid3333/KytyPS5/actions/runs/42483609602 (artifact `KytyPS5-Windows-x64`; the window title shows `Fork build Nawid3333/KytyPS5 a7771cb`). Commit a7771cbe3 = the previous test build 828b97fad + #2009. Branch `test/2162-fiber-2009` on https://github.com/Nawid3333/KytyPS5 if you build from source. Could you start Pumpkin Jack with it again? Does it get past the logo screen now? If it stops, please attach `_kyty.txt`.
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-08 17:18 UTC · original

@⁠Ekt0re a newer build that replaces the previous one (a7771cb), so you only need to test this one:

  • Main now has its own fix for the index >= source_count stop (f27f4216d, the same case as #2009).
  • The fiber change is now a candidate fix instead of the test-only change: every fiber whose context is smaller than 64 KiB runs on its own stack (usable size: the context size + 64 KiB, rounded up to 16 KiB, plus a 16 KiB guard page; before: + 1 MiB), the stack is released only after the fiber has left it, and on Windows the thread's stack bounds follow each switch. A new test reproduces the mechanism of your crash: on main, an exception raised on a fiber with a 512-byte or 6144-byte context writes below that context; with this change it stays on the fiber's own stack.

Test build: https://github.com/Nawid3333/KytyPS5/actions/runs/42501636662 (artifact KytyPS5-Windows-x64; the window title shows Fork build Nawid3333/KytyPS5 f75f420). Commit f75f4209a = main (7816ac790) + the fiber fix. Branch test/2162-fiber-fix on https://github.com/Nawid3333/KytyPS5 if you build from source.

Could you start Pumpkin Jack with it? Does it get past the logo screen, and how far does it get? If it stops, please attach _kyty.txt.

**@⁠Nawid3333** on GitHub · 2026-11-08 17:18 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2162#issuecomment-6724571149) @⁠Ekt0re a newer build that replaces the previous one (a7771cb), so you only need to test this one: - Main now has its own fix for the `index >= source_count` stop (f27f4216d, the same case as #2009). - The fiber change is now a candidate fix instead of the test-only change: every fiber whose context is smaller than 64 KiB runs on its own stack (usable size: the context size + 64 KiB, rounded up to 16 KiB, plus a 16 KiB guard page; before: + 1 MiB), the stack is released only after the fiber has left it, and on Windows the thread's stack bounds follow each switch. A new test reproduces the mechanism of your crash: on main, an exception raised on a fiber with a 512-byte or 6144-byte context writes below that context; with this change it stays on the fiber's own stack. Test build: https://github.com/Nawid3333/KytyPS5/actions/runs/42501636662 (artifact `KytyPS5-Windows-x64`; the window title shows `Fork build Nawid3333/KytyPS5 f75f420`). Commit f75f4209a = main (7816ac790) + the fiber fix. Branch `test/2162-fiber-fix` on https://github.com/Nawid3333/KytyPS5 if you build from source. Could you start Pumpkin Jack with it? Does it get past the logo screen, and how far does it get? If it stops, please attach `_kyty.txt`.
Author
Owner

@⁠Ekt0re on GitHub · 2026-11-08 21:18 UTC · original

@⁠Ekt0re a newer build that replaces the previous one (a7771cb), so you only need to test this one:

  • Main now has its own fix for the index >= source_count stop (f27f421, the same case as shader: remap only the image resources of live image instructions (A Quiet Place: The Road Ahead) #2009).
  • The fiber change is now a candidate fix instead of the test-only change: every fiber whose context is smaller than 64 KiB runs on its own stack (usable size: the context size + 64 KiB, rounded up to 16 KiB, plus a 16 KiB guard page; before: + 1 MiB), the stack is released only after the fiber has left it, and on Windows the thread's stack bounds follow each switch. A new test reproduces the mechanism of your crash: on main, an exception raised on a fiber with a 512-byte or 6144-byte context writes below that context; with this change it stays on the fiber's own stack.

Test build: https://github.com/Nawid3333/KytyPS5/actions/runs/42501636662 (artifact KytyPS5-Windows-x64; the window title shows Fork build Nawid3333/KytyPS5 f75f420). Commit f75f420 = main (7816ac7) + the fiber fix. Branch test/2162-fiber-fix on https://github.com/Nawid3333/KytyPS5 if you build from source.

Could you start Pumpkin Jack with it? Does it get past the logo screen, and how far does it get? If it stops, please attach _kyty.txt.

Hey, hi. So there’s a problem: I’m currently away in another city, and I’m using an old PC that has very little RAM and doesn’t have a graphics card that supports Vulkan 1.3...

So I’ll try to run some tests—because I want to help out and I believe in this project—but until Thursday, I can only use a suboptimal setup... So I can’t promise anything ;)

**@⁠Ekt0re** on GitHub · 2026-11-08 21:18 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2162#issuecomment-6727252257) > [@⁠Ekt0re](https://github.com/Ekt0re) a newer build that replaces the previous one ([a7771cb](https://github.com/KytyPS5/KytyPS5/commit/a7771cbe3e02845c2b789ab509e8e671efe15089)), so you only need to test this one: > > * Main now has its own fix for the `index >= source_count` stop ([f27f421](https://github.com/KytyPS5/KytyPS5/commit/f27f4216db7a5c2533cb5c863e4b301fd7608351), the same case as [shader: remap only the image resources of live image instructions (A Quiet Place: The Road Ahead) #2009](https://git.gtahub.st/github/KytyPS5--KytyPS5/pulls/2009)). > * The fiber change is now a candidate fix instead of the test-only change: every fiber whose context is smaller than 64 KiB runs on its own stack (usable size: the context size + 64 KiB, rounded up to 16 KiB, plus a 16 KiB guard page; before: + 1 MiB), the stack is released only after the fiber has left it, and on Windows the thread's stack bounds follow each switch. A new test reproduces the mechanism of your crash: on main, an exception raised on a fiber with a 512-byte or 6144-byte context writes below that context; with this change it stays on the fiber's own stack. > > Test build: https://github.com/Nawid3333/KytyPS5/actions/runs/42501636662 (artifact `KytyPS5-Windows-x64`; the window title shows `Fork build Nawid3333/KytyPS5 f75f420`). Commit [f75f420](https://github.com/KytyPS5/KytyPS5/commit/f75f4209a10284fb62308b5a1a8f0b996a15c956) = main ([7816ac7](https://github.com/KytyPS5/KytyPS5/commit/7816ac79055182e238d13a5d6738ee7be588de9a)) + the fiber fix. Branch `test/2162-fiber-fix` on https://github.com/Nawid3333/KytyPS5 if you build from source. > > Could you start Pumpkin Jack with it? Does it get past the logo screen, and how far does it get? If it stops, please attach `_kyty.txt`. Hey, hi. So there’s a problem: I’m currently away in another city, and I’m using an old PC that has very little RAM and doesn’t have a graphics card that supports Vulkan 1.3... So I’ll try to run some tests—because I want to help out and I believe in this project—but until Thursday, I can only use a suboptimal setup... So I can’t promise anything ;)
Author
Owner

@⁠Ekt0re on GitHub · 2026-11-09 01:34 UTC · original

@⁠Nawid3333

Hi, after a sleepless night trying to build a custom version of your fix (to get it to run on my old laptop), I finally managed to get it to start up, and I can confirm that it managed to get past the previous crash.

After that, a new crash occurs (but this time I think it’s related to the hardware I’m using...)

Log:

Shaders: VS 63 | PS 103 | CS 56 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 63 | PS 104 | CS 56 | GS 0 | LS 0 | HS 0 | TES 0
--- Build ---
Source build f75f420-dirty
--- Error ---
vkQueueSubmit failed: ErrorDeviceLost, tick=1234
 in D:\Progetti\KytyPS5-FiberTest\src\graphics\host_gpu\renderer\commandScheduler.cpp:341

With just the first fix:
Shaders: VS 41 | PS 56 | CS 36 | GS 1 | LS 0 | HS 0 | TES 0

Here are the changes I made to build it on my computer:

diff --git a/src/graphics/host_gpu/renderer/pipeline/pipelineCache.cpp b/src/graphics/host_gpu/renderer/pipeline/pipelineCache.cpp
index 6d92b190..87b97e94 100644
--- a/src/graphics/host_gpu/renderer/pipeline/pipelineCache.cpp
+++ b/src/graphics/host_gpu/renderer/pipeline/pipelineCache.cpp
@@ -711,7 +711,15 @@ void PipelineCache::GetGraphicsPrograms(const CommandBuffer& command, DrawRender
 		                         .buffer_format != Prospero::BufferFormat::k32UInt);
 	}
 	if (mesh_active) {
-		EXIT_NOT_IMPLEMENTED(!m_graphics.mesh_shader_enabled);
+		if (!m_graphics.mesh_shader_enabled) {
+			static std::atomic_bool warned_no_mesh_shader = false;
+			if (!warned_no_mesh_shader.exchange(true, std::memory_order_relaxed)) {
+				Log::WriteToConsoleAndLog(
+				    "Warning: dropping mesh shader draws; the host GPU does not support mesh "
+				    "shaders.\n");
+			}
+			return;
+		}
 		auto& mesh              = vertex_info[0].mesh;
 		mesh.host_subgroup_size = m_graphics.subgroup_size;
 		const auto& limits      = m_graphics.mesh_shader_properties;
diff --git a/src/graphics/shader/recompiler/ir/Value.h b/src/graphics/shader/recompiler/ir/Value.h
index 8110a75e..72364588 100644
--- a/src/graphics/shader/recompiler/ir/Value.h
+++ b/src/graphics/shader/recompiler/ir/Value.h
@@ -177,7 +177,7 @@ private:
 	std::vector<Use>    uses;
 };
 
-static_assert(sizeof(Inst) <= 120, "Inst operand and backend storage unintentionally increased");
+static_assert(sizeof(Inst) <= 128, "Inst operand and backend storage unintentionally increased");
 
 // Called per operand by the IR passes and the resource walker; inline, as the build has no LTO.
 inline bool Value::IsIdentity() const {

I am attaching the log file:

_kyty.zip

**@⁠Ekt0re** on GitHub · 2026-11-09 01:34 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2162#issuecomment-6730143297) @⁠Nawid3333 Hi, after a sleepless night trying to build a custom version of your fix (to get it to run on my old laptop), I finally managed to get it to start up, and I can confirm that it managed to get past the previous crash. After that, a new crash occurs (but this time I think it’s related to the hardware I’m using...) **Log:** ``` Shaders: VS 63 | PS 103 | CS 56 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 63 | PS 104 | CS 56 | GS 0 | LS 0 | HS 0 | TES 0 --- Build --- Source build f75f420-dirty --- Error --- vkQueueSubmit failed: ErrorDeviceLost, tick=1234 in D:\Progetti\KytyPS5-FiberTest\src\graphics\host_gpu\renderer\commandScheduler.cpp:341 ``` **With just the first fix:** `Shaders: VS 41 | PS 56 | CS 36 | GS 1 | LS 0 | HS 0 | TES 0` **Here are the changes I made to build it on my computer:** ``` diff --git a/src/graphics/host_gpu/renderer/pipeline/pipelineCache.cpp b/src/graphics/host_gpu/renderer/pipeline/pipelineCache.cpp index 6d92b190..87b97e94 100644 --- a/src/graphics/host_gpu/renderer/pipeline/pipelineCache.cpp +++ b/src/graphics/host_gpu/renderer/pipeline/pipelineCache.cpp @@ -711,7 +711,15 @@ void PipelineCache::GetGraphicsPrograms(const CommandBuffer& command, DrawRender .buffer_format != Prospero::BufferFormat::k32UInt); } if (mesh_active) { - EXIT_NOT_IMPLEMENTED(!m_graphics.mesh_shader_enabled); + if (!m_graphics.mesh_shader_enabled) { + static std::atomic_bool warned_no_mesh_shader = false; + if (!warned_no_mesh_shader.exchange(true, std::memory_order_relaxed)) { + Log::WriteToConsoleAndLog( + "Warning: dropping mesh shader draws; the host GPU does not support mesh " + "shaders.\n"); + } + return; + } auto& mesh = vertex_info[0].mesh; mesh.host_subgroup_size = m_graphics.subgroup_size; const auto& limits = m_graphics.mesh_shader_properties; diff --git a/src/graphics/shader/recompiler/ir/Value.h b/src/graphics/shader/recompiler/ir/Value.h index 8110a75e..72364588 100644 --- a/src/graphics/shader/recompiler/ir/Value.h +++ b/src/graphics/shader/recompiler/ir/Value.h @@ -177,7 +177,7 @@ private: std::vector<Use> uses; }; -static_assert(sizeof(Inst) <= 120, "Inst operand and backend storage unintentionally increased"); +static_assert(sizeof(Inst) <= 128, "Inst operand and backend storage unintentionally increased"); // Called per operand by the IR passes and the resource walker; inline, as the build has no LTO. inline bool Value::IsIdentity() const { ``` **I am attaching the log file:** <!-- Failed to upload "_kyty.txt" --> [_kyty.zip](https://github.com/user-attachments/files/34559571/_kyty.zip)
Author
Owner

@⁠Ekt0re on GitHub · 2026-11-09 01:39 UTC · original

So, to sum up, I think this fix works and resolves the issue.

For now, though, I have no way to conduct a 100% thorough test. On Thursday, however, I’ll be able to run a test with a truly compatible configuration.

**@⁠Ekt0re** on GitHub · 2026-11-09 01:39 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2162#issuecomment-6730199086) So, to sum up, I think this fix works and resolves the issue. For now, though, I have no way to conduct a 100% thorough test. On Thursday, however, I’ll be able to run a test with a truly compatible configuration.
Author
Owner

@⁠Nmzik on GitHub · 2026-11-09 02:36 UTC · original

@⁠Ekt0re game is working fine :)

**@⁠Nmzik** on GitHub · 2026-11-09 02:36 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2162#issuecomment-6730894354) @⁠Ekt0re game is working fine :)
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-09 18:15 UTC · original

@⁠Ekt0re the fix is now PR #2188. Compared with the f75f420 build you ran, it has no guard page below each fiber stack; the rest is the same approach.

On Thursday, could you run the PR's Windows build on the supported GPU, without your local changes (the dropped mesh draws and the raised sizeof(Inst) assert), and post _kyty.txt if it stops? The build is under the PR's Checks: run https://github.com/KytyPS5/KytyPS5/actions/runs/42669455321, artifact KytyPS5-Windows-x64.

The crash needs a handled host exception on one of the game's small fibers, so it does not show on every PC; that fits nmzik's run working fine.

**@⁠Nawid3333** on GitHub · 2026-11-09 18:15 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2162#issuecomment-6747824615) @⁠Ekt0re the fix is now PR #2188. Compared with the f75f420 build you ran, it has no guard page below each fiber stack; the rest is the same approach. On Thursday, could you run the PR's Windows build on the supported GPU, without your local changes (the dropped mesh draws and the raised `sizeof(Inst)` assert), and post `_kyty.txt` if it stops? The build is under the PR's Checks: run https://github.com/KytyPS5/KytyPS5/actions/runs/42669455321, artifact `KytyPS5-Windows-x64`. The crash needs a handled host exception on one of the game's small fibers, so it does not show on every PC; that fits nmzik's run working fine.
Author
Owner

@⁠Ekt0re on GitHub · 2026-11-09 22:21 UTC · original

@⁠Ekt0re the fix is now PR #2188. Compared with the f75f420 build you ran, it has no guard page below each fiber stack; the rest is the same approach.

On Thursday, could you run the PR's Windows build on the supported GPU, without your local changes (the dropped mesh draws and the raised sizeof(Inst) assert), and post _kyty.txt if it stops? The build is under the PR's Checks: run https://github.com/KytyPS5/KytyPS5/actions/runs/42669455321, artifact KytyPS5-Windows-x64.

The crash needs a handled host exception on one of the game's small fibers, so it does not show on every PC; that fits nmzik's run working fine.

Sure, on Thursday night, when I get home, I'll test it all out on my setup with a compatible graphics card!

**@⁠Ekt0re** on GitHub · 2026-11-09 22:21 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2162#issuecomment-6753035707) > @⁠Ekt0re the fix is now PR #2188. Compared with the f75f420 build you ran, it has no guard page below each fiber stack; the rest is the same approach. > > On Thursday, could you run the PR's Windows build on the supported GPU, without your local changes (the dropped mesh draws and the raised `sizeof(Inst)` assert), and post `_kyty.txt` if it stops? The build is under the PR's Checks: run https://github.com/KytyPS5/KytyPS5/actions/runs/42669455321, artifact `KytyPS5-Windows-x64`. > > The crash needs a handled host exception on one of the game's small fibers, so it does not show on every PC; that fits nmzik's run working fine. > Sure, on Thursday night, when I get home, I'll test it all out on my setup with a compatible graphics card!
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#2162
No description provided.