[GAME STATUS]: NHL 27 #1101

Open
opened 2026-11-26 09:42:58 +00:00 by github-bot · 47 comments
Owner

@⁠Friskky1 on GitHub · 2026-10-06 07:15 UTC · original

Game title

NHL 27

Game ID / serial

PPSA34063

KytyPS5 version

KytyPS5-2026-10-05-cdb64bf

Compatibility status

Doesn't boot

Last working build / first broken build

No response

Result details

Image

Try to open up NHL27, black screen loads then crashes

Steps to reproduce the result

  1. Boot up game
  2. Crashes.

Expected behavior

Should load into the game like a normal PS5 would

OS

Win 11 Pro. 25H2

CPU

Ryzen 7 9700x

GPU

9060xt 16gb

RAM / VRAM

32gb DDR5 6000MHz

Log file upload

_kyty.txt

Screenshots/video

No response

Extra notes

No response

**@⁠Friskky1** on GitHub · 2026-10-06 07:15 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101) ### Game title NHL 27 ### Game ID / serial PPSA34063 ### KytyPS5 version KytyPS5-2026-10-05-cdb64bf ### Compatibility status Doesn't boot ### Last working build / first broken build _No response_ ### Result details <img width="1350" height="75" alt="Image" src="https://github.com/user-attachments/assets/ec727a45-b90a-4499-947b-67670cd535f0" /> Try to open up NHL27, black screen loads then crashes ### Steps to reproduce the result 1. Boot up game 2. Crashes. ### Expected behavior Should load into the game like a normal PS5 would ### OS Win 11 Pro. 25H2 ### CPU Ryzen 7 9700x ### GPU 9060xt 16gb ### RAM / VRAM 32gb DDR5 6000MHz ### Log file upload [_kyty.txt](https://github.com/user-attachments/files/33091873/_kyty.txt) ### Screenshots/video _No response_ ### Extra notes _No response_
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:42:58 +00:00
github-bot referenced this issue from a commit 2026-11-26 09:57:54 +00:00
Author
Owner

@⁠Friskky1 on GitHub · 2026-10-07 04:30 UTC · original

@⁠NevesHenry Still more errors, game wont launch, same probkem. log posted below.

_kyty.txt

**@⁠Friskky1** on GitHub · 2026-10-07 04:30 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6030958853) @⁠NevesHenry Still more errors, game wont launch, same probkem. log posted below. [_kyty.txt](https://github.com/user-attachments/files/33137763/_kyty.txt)
Author
Owner

@⁠NevesHenry on GitHub · 2026-10-07 14:37 UTC · original

Thanks for the new log. It isn't related to #1109: even in your first log, before that change, the game never got as far as calling sceKernelAioWaitRequests. It crashes earlier.

Both logs (cdb64bf and bb98f26) stop at the same spot. The last line before the error is PipelineTrace: vkCreateComputePipelines begin for compute shader 0x78c54d3e0d985799, after the same 26 compute pipelines were created fine, and the "done" line never comes. The crash address is outside the emulator, at the same offset both times (...ab9c), so it looks like the AMD Vulkan driver crashes while compiling that one shader. #539 (Black Myth: Wukong on an RX 9070 XT) crashed at the same offset in the driver with a different shader.

To find out what in that shader trips the driver, the shader itself is needed. Could you run it once from a command prompt in the KytyPS5 folder:

kyty_emulator.exe --game "D:\PS5 Games\NHL 27\PPSA34063-app0" --shader-validation true --graphics-debug-dump true --printf-direction File

and attach:

  • the two files with 78c54d3e0d985799 in the name, one in _Shaders (.spv) and one in _Shaders\original (.bin)
  • the new _kyty.txt
  • your AMD driver version (Adrenalin)

If it now stops with "SPIR-V validation failed" instead, that log alone already points to the problem.

**@⁠NevesHenry** on GitHub · 2026-10-07 14:37 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6040281123) Thanks for the new log. It isn't related to #1109: even in your first log, before that change, the game never got as far as calling `sceKernelAioWaitRequests`. It crashes earlier. Both logs (cdb64bf and bb98f26) stop at the same spot. The last line before the error is `PipelineTrace: vkCreateComputePipelines begin` for compute shader `0x78c54d3e0d985799`, after the same 26 compute pipelines were created fine, and the "done" line never comes. The crash address is outside the emulator, at the same offset both times (`...ab9c`), so it looks like the AMD Vulkan driver crashes while compiling that one shader. #539 (Black Myth: Wukong on an RX 9070 XT) crashed at the same offset in the driver with a different shader. To find out what in that shader trips the driver, the shader itself is needed. Could you run it once from a command prompt in the KytyPS5 folder: ``` kyty_emulator.exe --game "D:\PS5 Games\NHL 27\PPSA34063-app0" --shader-validation true --graphics-debug-dump true --printf-direction File ``` and attach: - the two files with `78c54d3e0d985799` in the name, one in `_Shaders` (`.spv`) and one in `_Shaders\original` (`.bin`) - the new `_kyty.txt` - your AMD driver version (Adrenalin) If it now stops with "SPIR-V validation failed" instead, that log alone already points to the problem.
Author
Owner

@⁠Friskky1 on GitHub · 2026-10-07 17:25 UTC · original

_kyty.zip

the 3 file attachments are in the zip its the only way i can upload the .spv and .bin

and my amd driver version is: 26.8.1

**@⁠Friskky1** on GitHub · 2026-10-07 17:25 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6043153802) [_kyty.zip](https://github.com/user-attachments/files/33168734/_kyty.zip) the 3 file attachments are in the zip its the only way i can upload the .spv and .bin and my amd driver version is: 26.8.1
Author
Owner

@⁠overlordxrz-source on GitHub · 2026-10-09 09:53 UTC · original

Thanks for the dump. The SPIR-V for 0x78c54d3e0d985799 passes spirv-val (Vulkan 1.3), so the crash is inside the AMD driver's compiler (null write in vkCreateComputePipelines). The shader is unusually large (about 66k words, very heavy on packed-half math). The SPIR-V emitter has changed a lot since d2413fc. Could you retest on the latest build (7b9997b or newer) and say whether it still stops at the same vkCreateComputePipelines begin line?

**@⁠overlordxrz-source** on GitHub · 2026-10-09 09:53 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6078583422) Thanks for the dump. The SPIR-V for `0x78c54d3e0d985799` passes `spirv-val` (Vulkan 1.3), so the crash is inside the AMD driver's compiler (null write in `vkCreateComputePipelines`). The shader is unusually large (about 66k words, very heavy on packed-half math). The SPIR-V emitter has changed a lot since d2413fc. Could you retest on the latest build (7b9997b or newer) and say whether it still stops at the same `vkCreateComputePipelines begin` line?
Author
Owner

@⁠Friskky1 on GitHub · 2026-10-09 17:25 UTC · original

_kyty.txt

Yea from what i can understand from the log file it does still stop at vkCreateComputePipelines double check for me though since i have very very little knowledge on what im looking at.

**@⁠Friskky1** on GitHub · 2026-10-09 17:25 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6085858015) [_kyty.txt](https://github.com/user-attachments/files/33261034/_kyty.txt) Yea from what i can understand from the log file it does still stop at `vkCreateComputePipelines` double check for me though since i have very very little knowledge on what im looking at.
Author
Owner

@⁠fozter on GitHub · 2026-10-10 13:38 UTC · original · edited 2026-10-10 13:40 UTC

Image

Screenshot shows how far i get at the moment.

Logs: _kyty.zip

Kyty version = 2026-10-10-307fdcf
AMD Ryzen 5 7600X
DDR5 32GB
Nvidia RTX 3060 Ti 8GB
Windows 11 25H2

**@⁠fozter** on GitHub · 2026-10-10 13:38 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6098075462) · edited 2026-10-10 13:40 UTC <img width="1282" height="750" alt="Image" src="https://github.com/user-attachments/assets/b3ae29a5-b127-49c7-9c4f-49d617563cb4" /> Screenshot shows how far i get at the moment. Logs: [_kyty.zip](https://github.com/user-attachments/files/33282948/_kyty.zip) Kyty version = 2026-10-10-307fdcf AMD Ryzen 5 7600X DDR5 32GB Nvidia RTX 3060 Ti 8GB Windows 11 25H2
Author
Owner

@⁠Lyezech on GitHub · 2026-10-10 16:36 UTC · original

Does not boot on my system

Logs: _kyty.txt
Nothing produced in _Shaders with logging set to file and log folder set to _Shaders

Version: 2026-10-10-307fdcf-Windows-x64
AMD Ryzen 9800x3d
DDR5 32GB 3000MHz
Nvidia RTX 5080
Windows 11 26H2

**@⁠Lyezech** on GitHub · 2026-10-10 16:36 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6099768064) Does not boot on my system Logs: [_kyty.txt](https://github.com/user-attachments/files/33286123/_kyty.txt) Nothing produced in _Shaders with logging set to file and log folder set to _Shaders Version: 2026-10-10-307fdcf-Windows-x64 AMD Ryzen 9800x3d DDR5 32GB 3000MHz Nvidia RTX 5080 Windows 11 26H2
Author
Owner

@⁠Friskky1 on GitHub · 2026-10-10 18:57 UTC · original

@⁠fozter You get a lot further in the boot than i do and your on a Ryzen CPU as well but Nvidia GPU so it may be my graphics card then.

**@⁠Friskky1** on GitHub · 2026-10-10 18:57 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6101053065) @⁠fozter You get a lot further in the boot than i do and your on a Ryzen CPU as well but Nvidia GPU so it may be my graphics card then.
Author
Owner

@⁠Lyezech on GitHub · 2026-10-11 01:16 UTC · original

2026-10-10-f63d3be-Windows-x64

Splash screen now loads, crashes before title screen
AMD Ryzen 9800x3d
DDR5 32GB 3000MHz
Nvidia RTX 5080
Windows 11 26H2

_kyty.zip (over file size limit for .txt)

Image
**@⁠Lyezech** on GitHub · 2026-10-11 01:16 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6104109731) 2026-10-10-f63d3be-Windows-x64 Splash screen now loads, crashes before title screen AMD Ryzen 9800x3d DDR5 32GB 3000MHz Nvidia RTX 5080 Windows 11 26H2 [_kyty.zip](https://github.com/user-attachments/files/33294402/_kyty.zip) (over file size limit for .txt) <img width="1280" height="720" alt="Image" src="https://github.com/user-attachments/assets/68425113-4ae9-4849-9a67-f91705065d99" />
Author
Owner

@⁠fozter on GitHub · 2026-10-11 21:23 UTC · original

Image

Logs: _kyty.zip
Version: 2026-10-11-e51de54

Getting further now.
Tried to do a quick game and it crashes right after choosing teams.

**@⁠fozter** on GitHub · 2026-10-11 21:23 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6113922451) <img width="1282" height="751" alt="Image" src="https://github.com/user-attachments/assets/f5340967-726e-4031-a18b-d0ec3cd05537" /> Logs: [_kyty.zip](https://github.com/user-attachments/files/33313948/_kyty.zip) Version: 2026-10-11-e51de54 Getting further now. Tried to do a quick game and it crashes right after choosing teams.
Author
Owner

@⁠Friskky1 on GitHub · 2026-10-11 21:28 UTC · original

Still cant even boot to main loading screen for me.

_kyty.txt

**@⁠Friskky1** on GitHub · 2026-10-11 21:28 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6113969248) Still cant even boot to main loading screen for me. [_kyty.txt](https://github.com/user-attachments/files/33314003/_kyty.txt)
Author
Owner

@⁠overlordxrz-source on GitHub · 2026-10-12 02:26 UTC · original

@⁠fozter thanks for the log, it's really useful.

Good news first: on e51de54, NHL 27 now gets past the earlier freeze. The pixel shader 0x5e6035a35f5015cf, where Lyezech's f63d3be log stalled, compiles normally in your log.

New stop: right after you pick teams, the compute shader 0x8ff7afec7c5ab786 fails to compile:

SPIR-V emission failed: hash=0x8ff7afec7c5ab786 stage=4 opcode=ImageSampleRaw reason=has a nonconstant sample texel offset

The shader samples a texture with a texel offset that is only known at runtime. Vulkan doesn't allow that kind of offset on a normal sample, so Kyty currently gives up on the shader and the game exits. The fix is to apply the offset to the texture coordinates instead. TheCruZ's #1220 does this. It was written before main's recent texel-offset change, so I've rebased its runtime path onto current main and asked TheCruZ on #1220 how he'd like to land it. I'll link the PR here once it's up. I can't say yet whether that's the only thing between team selection and the game, so a retest once it's in will tell us.

@⁠Friskky1 your log is from the same build but stops somewhere else. On the RX 9060 XT it crashes inside the AMD driver while creating the compute pipeline for shader 0x78c54d3e0d985799 (a null write in a driver DLL, before team selection). That same shader builds fine on fozter's RTX 3060 Ti, so it's a separate, AMD-specific problem.

**@⁠overlordxrz-source** on GitHub · 2026-10-12 02:26 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6116650524) @⁠fozter thanks for the log, it's really useful. Good news first: on e51de54, NHL 27 now gets past the earlier freeze. The pixel shader `0x5e6035a35f5015cf`, where Lyezech's f63d3be log stalled, compiles normally in your log. **New stop:** right after you pick teams, the compute shader `0x8ff7afec7c5ab786` fails to compile: ``` SPIR-V emission failed: hash=0x8ff7afec7c5ab786 stage=4 opcode=ImageSampleRaw reason=has a nonconstant sample texel offset ``` The shader samples a texture with a texel offset that is only known at runtime. Vulkan doesn't allow that kind of offset on a normal sample, so Kyty currently gives up on the shader and the game exits. The fix is to apply the offset to the texture coordinates instead. TheCruZ's #1220 does this. It was written before main's recent texel-offset change, so I've rebased its runtime path onto current main and asked TheCruZ on #1220 how he'd like to land it. I'll link the PR here once it's up. I can't say yet whether that's the only thing between team selection and the game, so a retest once it's in will tell us. @⁠Friskky1 your log is from the same build but stops somewhere else. On the RX 9060 XT it crashes inside the AMD driver while creating the compute pipeline for shader `0x78c54d3e0d985799` (a null write in a driver DLL, before team selection). That same shader builds fine on fozter's RTX 3060 Ti, so it's a separate, AMD-specific problem.
Author
Owner

@⁠overlordxrz-source on GitHub · 2026-10-12 05:23 UTC · original

@⁠fozter @⁠Friskky1 heads-up: Nmzik's 984cfcebd ("shader: emit native texel offsets using sample execution context", on main since Oct 11) changes how nonconstant sample texel offsets are emitted. That's exactly the SPIR-V failure in compute shader 0x8ff7afec7c5ab786. Could you try NHL 27 on the latest main CI build and post the new log tail (~300 lines of _kyty.txt), or say whether it gets past that shader now?

**@⁠overlordxrz-source** on GitHub · 2026-10-12 05:23 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6118282923) @⁠fozter @⁠Friskky1 heads-up: Nmzik's 984cfcebd ("shader: emit native texel offsets using sample execution context", on main since Oct 11) changes how nonconstant sample texel offsets are emitted. That's exactly the SPIR-V failure in compute shader 0x8ff7afec7c5ab786. Could you try NHL 27 on the latest main CI build and post the new log tail (~300 lines of `_kyty.txt`), or say whether it gets past that shader now?
Author
Owner

@⁠fozter on GitHub · 2026-10-12 14:51 UTC · original

20. @⁠fozter @⁠Friskky1 heads-up: Nmzik's 984cfce ("shader: emit native texel offsets using sample execution context", on main since Oct 11) changes how nonconstant sample texel offsets are emitted. That's exactly the SPIR-V failure in compute shader 0x8ff7afec7c5ab786. Could you try NHL 27 on the latest main CI build and post the new log tail (~300 lines of _kyty.txt), or say whether it gets past that shader now?

I still get:
SPIR-V emission failed: hash=0x8ff7afec7c5ab786 stage=4 opcode=ImageSampleRaw reason=has a nonconstant sample texel offset
On build 2026-10-12-df5b9b9

_kyty.txt

**@⁠fozter** on GitHub · 2026-10-12 14:51 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6126677758) > 20\. [@⁠fozter](https://github.com/fozter) [@⁠Friskky1](https://github.com/Friskky1) heads-up: Nmzik's [984cfce](https://github.com/KytyPS5/KytyPS5/commit/984cfcebd141b211aa9e0a8cde63b0ebe652d07a) ("shader: emit native texel offsets using sample execution context", on main since Oct 11) changes how nonconstant sample texel offsets are emitted. That's exactly the SPIR-V failure in compute shader 0x8ff7afec7c5ab786. Could you try NHL 27 on the latest main CI build and post the new log tail (~300 lines of `_kyty.txt`), or say whether it gets past that shader now? I still get: `SPIR-V emission failed: hash=0x8ff7afec7c5ab786 stage=4 opcode=ImageSampleRaw reason=has a nonconstant sample texel offset` On build 2026-10-12-df5b9b9 [_kyty.txt](https://github.com/user-attachments/files/33343094/_kyty.txt)
Author
Owner

@⁠overlordxrz-source on GitHub · 2026-10-12 17:26 UTC · original

@⁠fozter thanks for checking. So 984cfce doesn't cover compute shader 0x8ff7afec7c5ab786: your df5b9b9 log still ends with the nonconstant texel offset failure.

#1446 handles exactly that case. It moves the sample coordinates by the runtime offset instead of passing it as a Vulkan offset, and it merges cleanly onto current main. Could you try its CI build and post the new log tail (~300 lines of _kyty.txt), or say how far NHL 27 gets?

Builds (Linux / Windows / macOS): https://github.com/KytyPS5/KytyPS5/actions/runs/38226266320

**@⁠overlordxrz-source** on GitHub · 2026-10-12 17:26 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6129222752) @⁠fozter thanks for checking. So 984cfce doesn't cover compute shader 0x8ff7afec7c5ab786: your df5b9b9 log still ends with the nonconstant texel offset failure. #1446 handles exactly that case. It moves the sample coordinates by the runtime offset instead of passing it as a Vulkan offset, and it merges cleanly onto current main. Could you try its CI build and post the new log tail (~300 lines of `_kyty.txt`), or say how far NHL 27 gets? Builds (Linux / Windows / macOS): https://github.com/KytyPS5/KytyPS5/actions/runs/38226266320
Author
Owner

@⁠Friskky1 on GitHub · 2026-10-12 17:37 UTC · original

20. @⁠fozter @⁠Friskky1 heads-up: Nmzik's 984cfce ("shader: emit native texel offsets using sample execution context", on main since Oct 11) changes how nonconstant sample texel offsets are emitted. That's exactly the SPIR-V failure in compute shader 0x8ff7afec7c5ab786. Could you try NHL 27 on the latest main CI build and post the new log tail (~300 lines of _kyty.txt), or say whether it gets past that shader now?

_kyty.txt

Not sure what you mean by latest CI build, but i did try again on version: 2026-10-12-df5b9b9

**@⁠Friskky1** on GitHub · 2026-10-12 17:37 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6129395528) > 20\. [@⁠fozter](https://github.com/fozter) [@⁠Friskky1](https://github.com/Friskky1) heads-up: Nmzik's [984cfce](https://github.com/KytyPS5/KytyPS5/commit/984cfcebd141b211aa9e0a8cde63b0ebe652d07a) ("shader: emit native texel offsets using sample execution context", on main since Oct 11) changes how nonconstant sample texel offsets are emitted. That's exactly the SPIR-V failure in compute shader 0x8ff7afec7c5ab786. Could you try NHL 27 on the latest main CI build and post the new log tail (~300 lines of `_kyty.txt`), or say whether it gets past that shader now? [_kyty.txt](https://github.com/user-attachments/files/33348259/_kyty.txt) Not sure what you mean by latest CI build, but i did try again on version: 2026-10-12-df5b9b9
Author
Owner

@⁠fozter on GitHub · 2026-10-12 18:20 UTC · original

@⁠overlordxrz-source

Okay, i tried with PR1446-CI-5b30248f
Logs: _kyty.txt

As seen on the screenshots below i get to the screen where i press "Start Game"
The 2nd screenshot is what happens after i press "Start Game".
It slowly drops from ~10 fps down to 0 fps and about 20 seconds after that the game crashes.

Image Image
**@⁠fozter** on GitHub · 2026-10-12 18:20 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6130075040) @⁠overlordxrz-source Okay, i tried with PR1446-CI-5b30248f Logs: [_kyty.txt](https://github.com/user-attachments/files/33349520/_kyty.txt) As seen on the screenshots below i get to the screen where i press "Start Game" The 2nd screenshot is what happens after i press "Start Game". It slowly drops from ~10 fps down to 0 fps and about 20 seconds after that the game crashes. <img width="1282" height="751" alt="Image" src="https://github.com/user-attachments/assets/97241fc7-33ba-4968-90c7-462d7d4d6b80" /> <img width="1282" height="751" alt="Image" src="https://github.com/user-attachments/assets/78372181-683a-4a22-a489-d51a3367009d" />
Author
Owner

@⁠fozter on GitHub · 2026-10-12 19:01 UTC · original

@⁠overlordxrz-source
I took some help of Opus 5.5 to investigate a bit further in hope of helping out a bit:

Here is how far NHL 27 gets on top of #1446 now, and how to reproduce it. Tested on Windows 11 with an RTX 3060 Ti (driver 617.42) on current main (df5b9b92) plus a local copy of the #1446 change. The patch stack below applies cleanly on #1446 head 5b30248f, in this order:

Investigation and patches were done with AI assistance (Claude).

Patch Fixes
#1446 compute shader 0x8ff7afec7c5ab786, "nonconstant sample texel offset"
0002-pm4-warn-and-skip-unknown-CP-markers.patch intermittent unknown marker at 00107: 0x11 exit on the team/sides screens
0003-shader-cfg-accept-jump-table-load-overwriting-selector.patch unsupported dynamic S_SETPC_B64 at pc 0x00000774, compute shader 0xad738baf31b6e28b. This is where my #1446 log ended.
0004-spirv-cross-lane-reads-from-lanes-the-host-subgroup-lacks.patch GPU hang (device lost) in the first gameplay frame, PS 0x1da1fd2871174330
0005-pm4-accept-legacy-LS-resource-registers.patch unknown sh reg at 009dc: 0x14a (SPI_SHADER_PGM_RSRC1_LS) about 90 s into the match

patches.zip

Route to the crash: title → Continue without saving → accept → quick settings → main menu → PLAY NOW → pick sides → START GAME.

0003, S_SETPC. The subtractive dword jump table already handled by ResolveSetpcDwordJumpTable, except the table load overwrites its own index register (s_load_dword s19, s[22:23], s19). Code-table loads are skipped during translation, so the selector is still intact at the setpc. Includes a regression test (TestNewShaderRecompilerSetpcDwordJumpTableAliasedSelector). shader_cfg_tests passes, and the new test fails with the game's exact error without the fix.

0004, device loss in PS 0x1da1fd2871174330. Found with local VK_NV_device_diagnostic_checkpoints (a marker per draw/dispatch) and VK_EXT_device_fault:

  • Top and bottom of pipe stop at one draw: RectList, 3 vertices × 3108 instances, VS 0x126d611593f8bf08 + this PS.
  • The fault reports only instruction pointers, no invalid addresses, so it's a shader hang (TDR).
  • The PS is wave64 and walks a per-tile light list using the WaveActiveMin idiom: s_orn2_saveexec, v_cndmask -1, DPP row_shr v_min_u32 (bound_ctrl=0), v_permlanex16, v_readlane 31 and 63. It loops until each lane has consumed its list. If the reduction returns a value no lane holds, nobody advances and the loop never ends.
  • On NVIDIA a fragment subgroup is 32 wide (lane_count is 1 for PS), and it can be missing lanes the guest wave has (helper pixels that skip subgroup operations, partially filled warps). Lane 63 doesn't exist, and shuffles/ballots from missing lanes give undefined data or zero, which ends up in the min.

The patch:

  • v_readlane wraps the lane by the subgroup size and falls back to the highest lane that is present.
  • DPP16 with FI=0 and BOUND_CTRL=0 no longer writes from a disabled source lane, per the ISA. DPP8 is unchanged.
  • In pixel shaders, DPP/permlane reads from a lane the subgroup doesn't have become no-write/own value. That is the identity for min/max/add scans.

Compute codegen is unchanged. shader_recompiler_compute_tests passes, including the GPU readback cases on this card. With the patch that draw no longer hangs.

0005, LS registers. The toolkit restores SPI_SHADER_PGM_RSRC1/2_LS (0x14a/0x14b) via SET_SH_REG_INDIRECT. The merged LS-HS stage takes its resources from the HS registers (which Kyty already handles), so I ignore these the way PGM_RSRC4_HS and PGM_CHKSUM_HS are ignored. Note: I haven't seen a run get past this point with the fix yet, because of the next item.

Still open: intermittent device loss in PS 0x5a965ca556e5c6e1. It happened in 2 of the last 3 runs; the third run got through to the 0x14a error. The draw is a full-screen quad (DrawIndex 6, VS 0x9b7c569b2c731b1f). The same draw ran 3 times fine in the same frame and hung on the 4th. Again the fault has only instruction pointers: 80 warps clustered in one ~21 KB code region. The shader's only loop walks a linked list and is capped at 6 iterations (s_cmp_lt_u32 s15, 6), so the guest code itself can't spin.

**@⁠fozter** on GitHub · 2026-10-12 19:01 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6130726185) @⁠overlordxrz-source I took some help of Opus 5.5 to investigate a bit further in hope of helping out a bit: Here is how far NHL 27 gets on top of #1446 now, and how to reproduce it. Tested on Windows 11 with an RTX 3060 Ti (driver 617.42) on current main (`df5b9b92`) plus a local copy of the #1446 change. The patch stack below applies cleanly on #1446 head `5b30248f`, in this order: _**Investigation and patches were done with AI assistance (Claude).**_ | Patch | Fixes | |---|---| | #1446 | compute shader `0x8ff7afec7c5ab786`, "nonconstant sample texel offset" | | `0002-pm4-warn-and-skip-unknown-CP-markers.patch` | intermittent `unknown marker at 00107: 0x11` exit on the team/sides screens | | `0003-shader-cfg-accept-jump-table-load-overwriting-selector.patch` | `unsupported dynamic S_SETPC_B64 at pc 0x00000774`, compute shader `0xad738baf31b6e28b`. This is where my #1446 log ended. | | `0004-spirv-cross-lane-reads-from-lanes-the-host-subgroup-lacks.patch` | GPU hang (device lost) in the first gameplay frame, PS `0x1da1fd2871174330` | | `0005-pm4-accept-legacy-LS-resource-registers.patch` | `unknown sh reg at 009dc: 0x14a` (`SPI_SHADER_PGM_RSRC1_LS`) about 90 s into the match | [patches.zip](https://github.com/user-attachments/files/33350590/patches.zip) Route to the crash: title → Continue without saving → accept → quick settings → main menu → PLAY NOW → pick sides → START GAME. **0003, S_SETPC.** The subtractive dword jump table already handled by `ResolveSetpcDwordJumpTable`, except the table load overwrites its own index register (`s_load_dword s19, s[22:23], s19`). Code-table loads are skipped during translation, so the selector is still intact at the setpc. Includes a regression test (`TestNewShaderRecompilerSetpcDwordJumpTableAliasedSelector`). `shader_cfg_tests` passes, and the new test fails with the game's exact error without the fix. **0004, device loss in PS `0x1da1fd2871174330`.** Found with local VK_NV_device_diagnostic_checkpoints (a marker per draw/dispatch) and VK_EXT_device_fault: - Top and bottom of pipe stop at one draw: RectList, 3 vertices × 3108 instances, VS `0x126d611593f8bf08` + this PS. - The fault reports only instruction pointers, no invalid addresses, so it's a shader hang (TDR). - The PS is wave64 and walks a per-tile light list using the WaveActiveMin idiom: `s_orn2_saveexec`, `v_cndmask` -1, DPP `row_shr` `v_min_u32` (bound_ctrl=0), `v_permlanex16`, `v_readlane` 31 and 63. It loops until each lane has consumed its list. If the reduction returns a value no lane holds, nobody advances and the loop never ends. - On NVIDIA a fragment subgroup is 32 wide (`lane_count` is 1 for PS), and it can be missing lanes the guest wave has (helper pixels that skip subgroup operations, partially filled warps). Lane 63 doesn't exist, and shuffles/ballots from missing lanes give undefined data or zero, which ends up in the min. The patch: - `v_readlane` wraps the lane by the subgroup size and falls back to the highest lane that is present. - DPP16 with FI=0 and BOUND_CTRL=0 no longer writes from a disabled source lane, per the ISA. DPP8 is unchanged. - In pixel shaders, DPP/permlane reads from a lane the subgroup doesn't have become no-write/own value. That is the identity for min/max/add scans. Compute codegen is unchanged. `shader_recompiler_compute_tests` passes, including the GPU readback cases on this card. With the patch that draw no longer hangs. **0005, LS registers.** The toolkit restores `SPI_SHADER_PGM_RSRC1/2_LS` (0x14a/0x14b) via `SET_SH_REG_INDIRECT`. The merged LS-HS stage takes its resources from the HS registers (which Kyty already handles), so I ignore these the way `PGM_RSRC4_HS` and `PGM_CHKSUM_HS` are ignored. Note: I haven't seen a run get past this point with the fix yet, because of the next item. **Still open: intermittent device loss in PS `0x5a965ca556e5c6e1`.** It happened in 2 of the last 3 runs; the third run got through to the 0x14a error. The draw is a full-screen quad (DrawIndex 6, VS `0x9b7c569b2c731b1f`). The same draw ran 3 times fine in the same frame and hung on the 4th. Again the fault has only instruction pointers: 80 warps clustered in one ~21 KB code region. The shader's only loop walks a linked list and is capped at 6 iterations (`s_cmp_lt_u32 s15, 6`), so the guest code itself can't spin.
Author
Owner

@⁠overlordxrz-source on GitHub · 2026-10-12 19:16 UTC · original

@⁠fozter thanks, that's a big step: with #1446, NHL 27 gets past the texel-offset shader and reaches Start Game. Your log shows the next stop right after it:

shader CFG build failed: unsupported dynamic S_SETPC_B64 at pc 0x00000774

in compute shader 0xad738baf31b6e28b. That's an indirect jump through a table Kyty doesn't recognise yet. Could you run once more on the same #1446 build with shader logging enabled (the same setting hackerinfo89 used for the #1004 dumps) and attach the log for 0xad738baf31b6e28b? The disassembly around pc 0x774 is what we need to add this pattern.

**@⁠overlordxrz-source** on GitHub · 2026-10-12 19:16 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6130958364) @⁠fozter thanks, that's a big step: with #1446, NHL 27 gets past the texel-offset shader and reaches Start Game. Your log shows the next stop right after it: ``` shader CFG build failed: unsupported dynamic S_SETPC_B64 at pc 0x00000774 ``` in compute shader `0xad738baf31b6e28b`. That's an indirect jump through a table Kyty doesn't recognise yet. Could you run once more on the same #1446 build with shader logging enabled (the same setting hackerinfo89 used for the #1004 dumps) and attach the log for `0xad738baf31b6e28b`? The disassembly around pc 0x774 is what we need to add this pattern.
Author
Owner

@⁠fozter on GitHub · 2026-10-12 21:19 UTC · original · edited 2026-10-12 21:21 UTC

@⁠overlordxrz-source
Got it.
Hopefully i did it right shader_0xad738baf31b6e28b_pr1446.txt

**@⁠fozter** on GitHub · 2026-10-12 21:19 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6132803244) · edited 2026-10-12 21:21 UTC @⁠overlordxrz-source Got it. Hopefully i did it right [shader_0xad738baf31b6e28b_pr1446.txt](https://github.com/user-attachments/files/33356991/shader_0xad738baf31b6e28b_pr1446.txt)
Author
Owner

@⁠overlordxrz-source on GitHub · 2026-10-13 06:41 UTC · original

@⁠fozter thanks for the dump. It confirms your 0003 diagnosis exactly: s_getpc_b64 s22 at 0x53c, then s_load_dword s19, s[22:23], s19 at 0x558 overwrites the selector before s_setpc_b64 s22 at 0x774. I also went through 0002-0005 against main df5b9b92 and #1446. All four apply cleanly, separately and stacked. Since you wrote them and can reproduce NHL 27, I think they're best as PRs from you (with the AI note, per the README), one per fix:

  1. 0003 first. It's the smallest and clearest: the subtractive table resolver was stricter than the 64-bit one about the load overwriting the selector, and your test fails on main with the same unsupported dynamic S_SETPC_B64 error. It needs to become a proper commit (author line).
  2. 0002 narrowed: main exits on unknown marker ids on purpose, so a blanket "warn and skip" will likely be rejected (open #1430 does the same thing). A case 0x11: break; with the log line from the side-select screen is easier to merge.
  3. 0004 split: the DPP change (no write from an inactive source lane when FI=0 and BOUND_CTRL=0) matches AMD's documented behaviour and could stand alone. The PS-only fallbacks fit min/max reductions but would double-count for adds. Could you check whether the DPP part alone stops the 0x1da1fd28 hang? There's also a small conflict with open #761 in one header.
  4. 0005 once a run gets past the 0x14a point (the 0x5a965ca5 hang usually hits first).

Happy to review each PR when it's up.

**@⁠overlordxrz-source** on GitHub · 2026-10-13 06:41 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6139874319) @⁠fozter thanks for the dump. It confirms your 0003 diagnosis exactly: `s_getpc_b64 s22` at 0x53c, then `s_load_dword s19, s[22:23], s19` at 0x558 overwrites the selector before `s_setpc_b64 s22` at 0x774. I also went through 0002-0005 against main df5b9b92 and #1446. All four apply cleanly, separately and stacked. Since you wrote them and can reproduce NHL 27, I think they're best as PRs from you (with the AI note, per the README), one per fix: 1. 0003 first. It's the smallest and clearest: the subtractive table resolver was stricter than the 64-bit one about the load overwriting the selector, and your test fails on main with the same `unsupported dynamic S_SETPC_B64` error. It needs to become a proper commit (author line). 2. 0002 narrowed: main exits on unknown marker ids on purpose, so a blanket "warn and skip" will likely be rejected (open #1430 does the same thing). A `case 0x11: break;` with the log line from the side-select screen is easier to merge. 3. 0004 split: the DPP change (no write from an inactive source lane when FI=0 and BOUND_CTRL=0) matches AMD's documented behaviour and could stand alone. The PS-only fallbacks fit min/max reductions but would double-count for adds. Could you check whether the DPP part alone stops the 0x1da1fd28 hang? There's also a small conflict with open #761 in one header. 4. 0005 once a run gets past the 0x14a point (the 0x5a965ca5 hang usually hits first). Happy to review each PR when it's up.
Author
Owner

@⁠fozter on GitHub · 2026-10-13 12:26 UTC · original

@⁠overlordxrz-source Glad to be of help!
I don't feel comfortable enough to push those myself, i simply don't have enough knowledge of coding to understand them myself even tho claude probably got it right.

You (or anyone else reading this) are free to use the findings to push this project forward or for your/their own use case.

overlordxrz-source, If there's any build you would like me to try and attach logs/screenshots im happy to help out

**@⁠fozter** on GitHub · 2026-10-13 12:26 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6145509432) @⁠overlordxrz-source Glad to be of help! I don't feel comfortable enough to push those myself, i simply don't have enough knowledge of coding to understand them myself even tho claude probably got it right. You (or anyone else reading this) are free to use the findings to push this project forward or for your/their own use case. overlordxrz-source, If there's any build you would like me to try and attach logs/screenshots im happy to help out
Author
Owner

@⁠overlordxrz-source on GitHub · 2026-10-13 22:25 UTC · original

@⁠fozter thanks, that's very generous. I've filed two of your patches with you as the commit author:

  • 0003 (setpc dword jump table whose load overwrites its selector) is #1485, with your code exactly as you wrote it.
  • 0002 is #1486, narrowed to case 0x11: break;. Any other unknown marker still exits, which is the version the maintainers are more likely to take.

If you have time, could you try a build of main + #1446 + #1485 + #1486 and attach the _kyty.txt from wherever it stops next? It's the KytyPS5-Windows-x64 artifact of the latest run on the nhl-27-test branch of my fork: https://github.com/overlordxrz-source/KytyPS5/actions/runs/38465107933 (open the run, then Artifacts at the bottom). If 0x11 shows up again on the team/side screens, the log around it would help too.

One question on 0004: does the DPP-only part (no write when the source lane is inactive and bound_ctrl is off) stop the hang in PS 0x1da1fd28 by itself, without the pixel-shader missing-lane fallbacks? If it does, I'll file that part on its own with a test. I'm holding 0004 and 0005 until then.

**@⁠overlordxrz-source** on GitHub · 2026-10-13 22:25 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6156522384) @⁠fozter thanks, that's very generous. I've filed two of your patches with you as the commit author: - 0003 (setpc dword jump table whose load overwrites its selector) is #1485, with your code exactly as you wrote it. - 0002 is #1486, narrowed to `case 0x11: break;`. Any other unknown marker still exits, which is the version the maintainers are more likely to take. If you have time, could you try a build of main + #1446 + #1485 + #1486 and attach the `_kyty.txt` from wherever it stops next? It's the `KytyPS5-Windows-x64` artifact of the latest run on the `nhl-27-test` branch of my fork: https://github.com/overlordxrz-source/KytyPS5/actions/runs/38465107933 (open the run, then Artifacts at the bottom). If 0x11 shows up again on the team/side screens, the log around it would help too. One question on 0004: does the DPP-only part (no write when the source lane is inactive and `bound_ctrl` is off) stop the hang in PS `0x1da1fd28` by itself, without the pixel-shader missing-lane fallbacks? If it does, I'll file that part on its own with a test. I'm holding 0004 and 0005 until then.
Author
Owner

@⁠fozter on GitHub · 2026-10-14 10:29 UTC · original

@⁠overlordxrz-source Great! Here are both things you asked for:

Full log for the build you mentioned: _kyty.zip
There was no 0x11 exit this time. It crashed about 15s into the loading screen after "START GAME"

--- Fatal Error ---
Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\masterSemaphore.cpp:53

The answer to this question was assisted by Claude:
No, the DPP part alone does not stop the 0x1da1fd28 hang. I bisected 0004. Each variant was a full rebuild, run to the first gameplay frame with the device-fault diagnostics on. The hang is deterministic in the failing variants: the last completed checkpoint is always the same RectList DrawIndexAuto (3 verts x 3108 instances, VS 0x126d611593f8bf08 + PS 0x1da1fd2871174330), and the fault addresses are instruction pointers only.

0004 variant result at that draw
DPP gate only (no write from an inactive source lane when FI=0 and BOUND_CTRL=0) still hangs
readlane changes only still hangs
DPP gate + readlane still hangs
DPP gate + PS missing-lane DPP/permlane handling still hangs
readlane + PS missing-lane handling (no DPP gate) passes
full 0004 passes

So for this game the PS-only fallbacks (readlane + missing-lane handling) are what fixes the hang. The DPP gate matches the ISA and could still go in as its own correctness fix, but it doesn't fix this hang by itself.

**@⁠fozter** on GitHub · 2026-10-14 10:29 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6166304893) @⁠overlordxrz-source Great! Here are both things you asked for: 1. Full log for the build you mentioned: [_kyty.zip](https://github.com/user-attachments/files/33429776/_kyty.zip) There was no 0x11 exit this time. It crashed about 15s into the loading screen after "START GAME" ``` --- Fatal Error --- Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\masterSemaphore.cpp:53 ``` 2. **The answer to this question was assisted by Claude**: No, the DPP part alone does not stop the `0x1da1fd28` hang. I bisected 0004. Each variant was a full rebuild, run to the first gameplay frame with the device-fault diagnostics on. The hang is deterministic in the failing variants: the last completed checkpoint is always the same RectList `DrawIndexAuto` (3 verts x 3108 instances, VS `0x126d611593f8bf08` + PS `0x1da1fd2871174330`), and the fault addresses are instruction pointers only. | 0004 variant | result at that draw | |---|---| | DPP gate only (no write from an inactive source lane when FI=0 and BOUND_CTRL=0) | still hangs | | readlane changes only | still hangs | | DPP gate + readlane | still hangs | | DPP gate + PS missing-lane DPP/permlane handling | still hangs | | readlane + PS missing-lane handling (no DPP gate) | **passes** | | full 0004 | **passes** | So for this game the PS-only fallbacks (readlane + missing-lane handling) are what fixes the hang. The DPP gate matches the ISA and could still go in as its own correctness fix, but it doesn't fix this hang by itself.
Author
Owner

@⁠fozter on GitHub · 2026-10-15 13:18 UTC · original · edited 2026-10-15 13:20 UTC

If i got it right, github.com/KytyPS5/KytyPS5@0643f0754d solves the problem with the dark lit players seen here #1495

**@⁠fozter** on GitHub · 2026-10-15 13:18 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6193018258) · edited 2026-10-15 13:20 UTC If i got it right, https://github.com/KytyPS5/KytyPS5/commit/0643f0754d7772091176322d0698fffc474c7b50 solves the problem with the dark lit players seen here https://git.gtahub.st/github/KytyPS5--KytyPS5/pulls/1495
Author
Owner

@⁠pinkton on GitHub · 2026-10-15 16:02 UTC · original · edited 2026-10-15 16:17 UTC

I noticed that the game never seemed to save. I'll admit, I used AI to help understand and find the issue, but I've managed to get it to now save, so you don't have to set up the controller settings each time. Haven't tested anything else game wise as yet (Franchise, Be a Pro, etc), but could help other games? Though I'm not sure what/where.

Each time I've loaded up with build-#df5b9b9, it failed to load the save game. On retrying, it kept failing, so went and created a new save. Rinse and repeat on reboot on failure to load.
Using AI and a debug harness it created, I ran over multiple times, tweaking the checks until it found some NIDs that aren't created. I asked for a summary;

_The game writes the index contents through kAt6VDbHmro, which is not in Kyty's libkernel table.
UnresolvedImportStub returns 0 (success) for anything outside its HTTP/SSL/Net failure list,
so the call reports success and writes nothing. The index stays empty, the next boot treats the
profile as corrupt, offers to overwrite it, and writes DATA again without an index.

kAt6VDbHmro is sceKernelWritev and WlyEA-sLDf0 is sceKernelTruncate; neither had an
implementation or a registration. 30Rh4ixbKy4 (sceKernelFdatasync) was also unregistered.

Why the two save files behaved differently — which is what hid this — is that DATA goes through
sceKernelPwritev (mBd4AfLP+u8), which Kyty implements, so the bulk of the save looked perfect.
Only the small index file uses the vectored-write import._

I take no credit, other than running AI at it to find issues and generally looking to help out.

Not sure if a patch file is the best/right way, first time publicly commenting!

save-fix.patch

edit Oh, I forgot, also managed to prevent immediate fails on some vulkan XIDs that were fatal erroring and crashing out. I have, once, managed to get it to play a bot v bot match at 5 FPS. Not sure if that's actually a good thing to ignore so wanted to highlight the finding.

Image
**@⁠pinkton** on GitHub · 2026-10-15 16:02 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6196485717) · edited 2026-10-15 16:17 UTC I noticed that the game never seemed to save. I'll admit, I used AI to help understand and find the issue, but I've managed to get it to now save, so you don't have to set up the controller settings each time. Haven't tested anything else game wise as yet (Franchise, Be a Pro, etc), but could help other games? Though I'm not sure what/where. Each time I've loaded up with build-#df5b9b9, it failed to load the save game. On retrying, it kept failing, so went and created a new save. Rinse and repeat on reboot on failure to load. Using AI and a debug harness it created, I ran over multiple times, tweaking the checks until it found some NIDs that aren't created. I asked for a summary; > _The game writes the index contents through `kAt6VDbHmro`, which is not in Kyty's libkernel table. > `UnresolvedImportStub` returns **0 (success)** for anything outside its HTTP/SSL/Net failure list, > so the call reports success and writes nothing. The index stays empty, the next boot treats the > profile as corrupt, offers to overwrite it, and writes DATA again without an index. > > `kAt6VDbHmro` is `sceKernelWritev` and `WlyEA-sLDf0` is `sceKernelTruncate`; neither had an > implementation or a registration. `30Rh4ixbKy4` (`sceKernelFdatasync`) was also unregistered. > > Why the two save files behaved differently — which is what hid this — is that DATA goes through > `sceKernelPwritev` (`mBd4AfLP+u8`), which Kyty implements, so the bulk of the save looked perfect. > Only the small index file uses the vectored-write import._ I take no credit, other than running AI at it to find issues and generally looking to help out. Not sure if a patch file is the best/right way, first time publicly commenting! [save-fix.patch](https://github.com/user-attachments/files/33502698/save-fix.patch) *edit* Oh, I forgot, also managed to prevent immediate fails on some vulkan XIDs that were fatal erroring and crashing out. I have, once, managed to get it to play a bot v bot match at 5 FPS. Not sure if that's actually a good thing to ignore so wanted to highlight the finding. <img width="1330" height="807" alt="Image" src="https://github.com/user-attachments/assets/50dbc982-5206-41b0-bdb8-2e44f1abf197" />
Author
Owner

@⁠pinkton on GitHub · 2026-10-15 17:00 UTC · original

28. If i got it right, 0643f07 solves the problem with the dark lit players seen here #1495 (comment)

I noticed you provided screenshots on the PR itself, but wanted to echo findings. Watching bots have at it at 5 -7 FPS is pretty cool now that you can see them correctly!

**@⁠pinkton** on GitHub · 2026-10-15 17:00 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6197659814) > 28\. If i got it right, [0643f07](https://github.com/KytyPS5/KytyPS5/commit/0643f0754d7772091176322d0698fffc474c7b50) solves the problem with the dark lit players seen here [#1495 (comment)](https://git.gtahub.st/github/KytyPS5--KytyPS5/pulls/1495) I noticed you provided screenshots on the PR itself, but wanted to echo findings. Watching bots have at it at 5 -7 FPS is pretty cool now that you can see them correctly!
Author
Owner

@⁠overlordxrz-source on GitHub · 2026-10-15 18:20 UTC · original

@⁠pinkton thanks for digging into the saves, that's a great find. The empty index explains why the profile looked corrupt on every boot. A patch file is perfectly fine for a first comment.

Two of the three missing calls were already in open PRs, so I've folded your fix into those:

  • sceKernelTruncate and sceKernelFdatasync are now in #1170. I rebased it onto current main and added sceKernelFdatasync the way your patch does (same handler as sceKernelFsync), with you credited as co-author on that commit.
  • sceKernelWritev is in #1401 by HamsterCL. It's the same fix for EA SPORTS FC 27's settings save.

With both merged, your save fix is covered. When a build of main + #1170 + #1401 is available, could you retest saving and reloading in NHL 27?

@⁠fozter @⁠pinkton thanks for confirming that 0643f0754 ("read a back face as 0 in the front-face VGPR", shadowbeat070's commit in #1495) fixes the dark players. That one is #1495's to land.

AI-assisted: yes

**@⁠overlordxrz-source** on GitHub · 2026-10-15 18:20 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6199203601) @⁠pinkton thanks for digging into the saves, that's a great find. The empty index explains why the profile looked corrupt on every boot. A patch file is perfectly fine for a first comment. Two of the three missing calls were already in open PRs, so I've folded your fix into those: - `sceKernelTruncate` and `sceKernelFdatasync` are now in #1170. I rebased it onto current main and added `sceKernelFdatasync` the way your patch does (same handler as `sceKernelFsync`), with you credited as co-author on that commit. - `sceKernelWritev` is in #1401 by HamsterCL. It's the same fix for EA SPORTS FC 27's settings save. With both merged, your save fix is covered. When a build of main + #1170 + #1401 is available, could you retest saving and reloading in NHL 27? @⁠fozter @⁠pinkton thanks for confirming that 0643f0754 ("read a back face as 0 in the front-face VGPR", shadowbeat070's commit in #1495) fixes the dark players. That one is #1495's to land. AI-assisted: yes
Author
Owner

@⁠overlordxrz-source on GitHub · 2026-10-16 00:18 UTC · original

@⁠pinkton sceKernelTruncate is now on main (56d3ce98, thanks Nmzik), and sceKernelWritev is registered there too. sceKernelFdatasync is still not registered on main. Could you retry an NHL 27 save on current main? If it still fails, the log line after the save attempt will show whether Fdatasync is the remaining gap, and I'll send it as its own PR.

AI-assisted: yes

**@⁠overlordxrz-source** on GitHub · 2026-10-16 00:18 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6205075247) @⁠pinkton `sceKernelTruncate` is now on `main` (56d3ce98, thanks Nmzik), and `sceKernelWritev` is registered there too. `sceKernelFdatasync` is still not registered on `main`. Could you retry an NHL 27 save on current `main`? If it still fails, the log line after the save attempt will show whether Fdatasync is the remaining gap, and I'll send it as its own PR. AI-assisted: yes
Author
Owner

@⁠overlordxrz-source on GitHub · 2026-10-16 00:41 UTC · original

@⁠fozter a Windows test build of nhl-27-test-2 (main + #1485 + #1515) is here for your NHL 27 retest: https://github.com/overlordxrz-source/KytyPS5/actions/runs/38828934290

AI-assisted: yes

**@⁠overlordxrz-source** on GitHub · 2026-10-16 00:41 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6205359190) @⁠fozter a Windows test build of `nhl-27-test-2` (main + #1485 + #1515) is here for your NHL 27 retest: https://github.com/overlordxrz-source/KytyPS5/actions/runs/38828934290 AI-assisted: yes
Author
Owner

@⁠lerenardnrv on GitHub · 2026-10-16 11:37 UTC · original

29. @⁠fozter a Windows test build of nhl-27-test-2 (main + #1485 + #1515) is here for your NHL 27 retest: https://github.com/overlordxrz-source/KytyPS5/actions/runs/38828934290
AI-assisted: yes

Hi! Thanks for providing the nhl-27-test-2 build.

I tested it on my PC with an NVIDIA RTX 5070. The game now gets past the initial launch screen and reaches the “Press any button to start” screen, which is an improvement compared to the previous build.

However, when I try to continue, the game crashes with the following error:
--- Error ---
Unhandled host exception: type=1 code=3221225477 pc=0x00000009095696b0 access=1 address=0x0000000000000100
in D:\a\KytyPS5\KytyPS5\src\loader\runtimeLinker.cpp:711
Shaders: VS 46 | PS 63 | CS 162
Shaders: VS 46 | PS 63 | CS 163
Shaders: VS 46 | PS 63 | CS 164

It seems that the game gets further than before, but crashes when trying to proceed past the initial screen.

Is this a known issue with the current test build? Is there anything else I could try to get past this screen?

Thanks for your work on improving NHL 27 compatibility!

**@⁠lerenardnrv** on GitHub · 2026-10-16 11:37 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6214645859) > 29\. [@⁠fozter](https://github.com/fozter) a Windows test build of `nhl-27-test-2` (main + [#1485](https://git.gtahub.st/github/KytyPS5--KytyPS5/pulls/1485) + [#1515](https://git.gtahub.st/github/KytyPS5--KytyPS5/pulls/1515)) is here for your NHL 27 retest: https://github.com/overlordxrz-source/KytyPS5/actions/runs/38828934290 > AI-assisted: yes Hi! Thanks for providing the nhl-27-test-2 build. I tested it on my PC with an NVIDIA RTX 5070. The game now gets past the initial launch screen and reaches the “Press any button to start” screen, which is an improvement compared to the previous build. However, when I try to continue, the game crashes with the following error: --- Error --- Unhandled host exception: type=1 code=3221225477 pc=0x00000009095696b0 access=1 address=0x0000000000000100 in D:\a\KytyPS5\KytyPS5\src\loader\runtimeLinker.cpp:711 Shaders: VS 46 | PS 63 | CS 162 Shaders: VS 46 | PS 63 | CS 163 Shaders: VS 46 | PS 63 | CS 164 It seems that the game gets further than before, but crashes when trying to proceed past the initial screen. Is this a known issue with the current test build? Is there anything else I could try to get past this screen? Thanks for your work on improving NHL 27 compatibility!
Author
Owner

@⁠fozter on GitHub · 2026-10-16 14:52 UTC · original

@⁠overlordxrz-source For me it still crashes after pressing "start game", it take about 1-2 minutes now until it actually crashes after pressing it.

--- Build ---
Fork build overlordxrz-source/KytyPS5 fbd9826
--- Fatal Error ---
Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\masterSemaphore.cpp:53

Full log: _kyty.zip

**@⁠fozter** on GitHub · 2026-10-16 14:52 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6218142141) @⁠overlordxrz-source For me it still crashes after pressing "start game", it take about 1-2 minutes now until it actually crashes after pressing it. ``` --- Build --- Fork build overlordxrz-source/KytyPS5 fbd9826 --- Fatal Error --- Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\masterSemaphore.cpp:53 ``` Full log: [_kyty.zip](https://github.com/user-attachments/files/33551467/_kyty.zip)
Author
Owner

@⁠overlordxrz-source on GitHub · 2026-10-16 18:26 UTC · original

@⁠fozter @⁠lerenardnrv thanks for testing nhl-27-test-2.

A new Windows test build, nhl-27-test-3, is here: https://github.com/overlordxrz-source/KytyPS5/actions/runs/38942412631
It's current main (d7974dc7) plus #1485 and #1515. Since test-2, main has picked up scalar buffer reads across sparse guest mappings (d7974dc7), a wave-minimum lowering for sparse fragment subgroups (302240da), the add-on and entitlement work, and the renderer sync changes from #1495. I can't say any of these fixes your crashes, so a retest would really help.

@⁠fozter your log shows real progress: PS 0x1da1fd28, PS 0x5a965ca5, CS 0xad738baf and PS 0x572a1c62 all compile and the game keeps going, compiling about 115 more shaders (the last one is VS 0x0d41096ab852bc73) before the device is lost. The log has no per-draw trace, so it doesn't say which draw hung. Could you retest on test-3? If it still ends at masterSemaphore.cpp:53, could you run it once with your checkpoint / device-fault diagnostics and post the draw and the VS/PS (or CS) hashes at top and bottom of pipe, plus the full log?

@⁠lerenardnrv the runtimeLinker.cpp:711 line is just where Kyty reports any crash it can't handle. Here the game's own code read address 0x100 (a null pointer plus an offset), so the real cause is earlier. fozter gets past that screen on the same build, so it may depend on your setup. Could you retest on test-3, and if it still crashes, attach:

  • the full log: in the launcher set Printf output to File, run until the crash, then zip and attach _kyty.txt
  • the --- Guest fault context --- block printed just before the error (thread, registers, code bytes, stack), if it isn't in the log
  • whether you started from an existing NHL 27 save or a fresh one, whether any add-ons/DLC are installed, and the game version (APP_VER near the top of the log)

AI-assisted: yes

**@⁠overlordxrz-source** on GitHub · 2026-10-16 18:26 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6222075265) @⁠fozter @⁠lerenardnrv thanks for testing `nhl-27-test-2`. A new Windows test build, `nhl-27-test-3`, is here: https://github.com/overlordxrz-source/KytyPS5/actions/runs/38942412631 It's current `main` (d7974dc7) plus #1485 and #1515. Since test-2, `main` has picked up scalar buffer reads across sparse guest mappings (d7974dc7), a wave-minimum lowering for sparse fragment subgroups (302240da), the add-on and entitlement work, and the renderer sync changes from #1495. I can't say any of these fixes your crashes, so a retest would really help. @⁠fozter your log shows real progress: PS `0x1da1fd28`, PS `0x5a965ca5`, CS `0xad738baf` and PS `0x572a1c62` all compile and the game keeps going, compiling about 115 more shaders (the last one is VS `0x0d41096ab852bc73`) before the device is lost. The log has no per-draw trace, so it doesn't say which draw hung. Could you retest on test-3? If it still ends at `masterSemaphore.cpp:53`, could you run it once with your checkpoint / device-fault diagnostics and post the draw and the VS/PS (or CS) hashes at top and bottom of pipe, plus the full log? @⁠lerenardnrv the `runtimeLinker.cpp:711` line is just where Kyty reports any crash it can't handle. Here the game's own code read address 0x100 (a null pointer plus an offset), so the real cause is earlier. fozter gets past that screen on the same build, so it may depend on your setup. Could you retest on test-3, and if it still crashes, attach: - the full log: in the launcher set `Printf output` to `File`, run until the crash, then zip and attach `_kyty.txt` - the `--- Guest fault context ---` block printed just before the error (thread, registers, code bytes, stack), if it isn't in the log - whether you started from an existing NHL 27 save or a fresh one, whether any add-ons/DLC are installed, and the game version (`APP_VER` near the top of the log) AI-assisted: yes
Author
Owner

@⁠lerenardnrv on GitHub · 2026-10-16 18:43 UTC · original

@⁠fozter @⁠lerenardnrv thanks for testing nhl-27-test-2.

A new Windows test build, nhl-27-test-3, is here: https://github.com/overlordxrz-source/KytyPS5/actions/runs/38942412631 It's current main (d7974dc) plus #1485 and #1515. Since test-2, main has picked up scalar buffer reads across sparse guest mappings (d7974dc), a wave-minimum lowering for sparse fragment subgroups (302240d), the add-on and entitlement work, and the renderer sync changes from #1495. I can't say any of these fixes your crashes, so a retest would really help.

@⁠fozter your log shows real progress: PS 0x1da1fd28, PS 0x5a965ca5, CS 0xad738baf and PS 0x572a1c62 all compile and the game keeps going, compiling about 115 more shaders (the last one is VS 0x0d41096ab852bc73) before the device is lost. The log has no per-draw trace, so it doesn't say which draw hung. Could you retest on test-3? If it still ends at masterSemaphore.cpp:53, could you run it once with your checkpoint / device-fault diagnostics and post the draw and the VS/PS (or CS) hashes at top and bottom of pipe, plus the full log?

@⁠lerenardnrv the runtimeLinker.cpp:711 line is just where Kyty reports any crash it can't handle. Here the game's own code read address 0x100 (a null pointer plus an offset), so the real cause is earlier. fozter gets past that screen on the same build, so it may depend on your setup. Could you retest on test-3, and if it still crashes, attach:

  • the full log: in the launcher set Printf output to File, run until the crash, then zip and attach _kyty.txt
  • the --- Guest fault context --- block printed just before the error (thread, registers, code bytes, stack), if it isn't in the log
  • whether you started from an existing NHL 27 save or a fresh one, whether any add-ons/DLC are installed, and the game version (APP_VER near the top of the log)

AI-assisted: yes

Thanks for your response and explanation! I’ll test it out this evening and keep you posted.

**@⁠lerenardnrv** on GitHub · 2026-10-16 18:43 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6222360379) > [@⁠fozter](https://github.com/fozter) [@⁠lerenardnrv](https://github.com/lerenardnrv) thanks for testing `nhl-27-test-2`. > > A new Windows test build, `nhl-27-test-3`, is here: https://github.com/overlordxrz-source/KytyPS5/actions/runs/38942412631 It's current `main` ([d7974dc](https://github.com/KytyPS5/KytyPS5/commit/d7974dc76357565e58a88887060f8300dc8a3966)) plus [#1485](https://git.gtahub.st/github/KytyPS5--KytyPS5/pulls/1485) and [#1515](https://git.gtahub.st/github/KytyPS5--KytyPS5/pulls/1515). Since test-2, `main` has picked up scalar buffer reads across sparse guest mappings ([d7974dc](https://github.com/KytyPS5/KytyPS5/commit/d7974dc76357565e58a88887060f8300dc8a3966)), a wave-minimum lowering for sparse fragment subgroups ([302240d](https://github.com/KytyPS5/KytyPS5/commit/302240da70f267f80eaa8507d32689ff7c0e9dbb)), the add-on and entitlement work, and the renderer sync changes from [#1495](https://git.gtahub.st/github/KytyPS5--KytyPS5/pulls/1495). I can't say any of these fixes your crashes, so a retest would really help. > > [@⁠fozter](https://github.com/fozter) your log shows real progress: PS `0x1da1fd28`, PS `0x5a965ca5`, CS `0xad738baf` and PS `0x572a1c62` all compile and the game keeps going, compiling about 115 more shaders (the last one is VS `0x0d41096ab852bc73`) before the device is lost. The log has no per-draw trace, so it doesn't say which draw hung. Could you retest on test-3? If it still ends at `masterSemaphore.cpp:53`, could you run it once with your checkpoint / device-fault diagnostics and post the draw and the VS/PS (or CS) hashes at top and bottom of pipe, plus the full log? > > [@⁠lerenardnrv](https://github.com/lerenardnrv) the `runtimeLinker.cpp:711` line is just where Kyty reports any crash it can't handle. Here the game's own code read address 0x100 (a null pointer plus an offset), so the real cause is earlier. fozter gets past that screen on the same build, so it may depend on your setup. Could you retest on test-3, and if it still crashes, attach: > > * the full log: in the launcher set `Printf output` to `File`, run until the crash, then zip and attach `_kyty.txt` > * the `--- Guest fault context ---` block printed just before the error (thread, registers, code bytes, stack), if it isn't in the log > * whether you started from an existing NHL 27 save or a fresh one, whether any add-ons/DLC are installed, and the game version (`APP_VER` near the top of the log) > > AI-assisted: yes Thanks for your response and explanation! I’ll test it out this evening and keep you posted.
Author
Owner

@⁠pinkton on GitHub · 2026-10-16 21:00 UTC · original

@⁠overlordxrz-source - Just tried a couple runs on test-3 on linux. The first run stalled on the initial X to start page, with the second getting through to team selection. FPS generally is worse, to the point that it's stalling on 0 FPS but hasn't crashed out, because I can't skip the dialogs more often than not.
Interestingly, no characters, backgrounds or lighting displayed, other than the menu buttons/display itself with tessellation (dis/en)abled, as screenshot, when I did manage to get through.

Image

It does appear that the save issue has disappeared, having only manually entered controller settings once after a few successful runs though

**@⁠pinkton** on GitHub · 2026-10-16 21:00 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6224604464) @⁠overlordxrz-source - Just tried a couple runs on test-3 on linux. The first run stalled on the initial X to start page, with the second getting through to team selection. FPS generally is worse, to the point that it's stalling on 0 FPS but hasn't crashed out, because I can't skip the dialogs more often than not. Interestingly, no characters, backgrounds or lighting displayed, other than the menu buttons/display itself with tessellation (dis/en)abled, as screenshot, when I did manage to get through. <img width="1574" height="720" alt="Image" src="https://github.com/user-attachments/assets/69db5e9d-f5cf-4e31-8f30-4e15d3620064" /> It does appear that the save issue has disappeared, having only manually entered controller settings once after a few successful runs though
Author
Owner

@⁠fozter on GitHub · 2026-10-16 21:48 UTC · original · edited 2026-10-16 22:03 UTC

@⁠overlordxrz-source Okay, i ran test-3.
I tried a couple of runs but it crashed every time at "X to start" screen.

--- Fatal Error ---
Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\masterSemaphore.cpp:53

Full log: _kyty.zip

Edit: Okay, it seems like i get the same outcome as @⁠pinkton. After maybe 6 trials i finally get to the main menu>play now>choose teams>start game, much of the screen is black like in the image pinkton attached.
Game crashed about 2-3 minutes after pressing "start game" and i got the same masterSemaphore.cpp:53 error.
Full log for that trial here: _kyty.zip

**@⁠fozter** on GitHub · 2026-10-16 21:48 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6225325884) · edited 2026-10-16 22:03 UTC @⁠overlordxrz-source Okay, i ran test-3. I tried a couple of runs but it crashed every time at "X to start" screen. ``` --- Fatal Error --- Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\masterSemaphore.cpp:53 ``` Full log: [_kyty.zip](https://github.com/user-attachments/files/33581007/_kyty.zip) Edit: Okay, it seems like i get the same outcome as @⁠pinkton. After maybe 6 trials i finally get to the main menu>play now>choose teams>start game, much of the screen is black like in the image pinkton attached. Game crashed about 2-3 minutes after pressing "start game" and i got the same masterSemaphore.cpp:53 error. Full log for that trial here: [_kyty.zip](https://github.com/user-attachments/files/33581238/_kyty.zip)
Author
Owner

@⁠lerenardnrv on GitHub · 2026-10-17 04:34 UTC · original

@⁠fozter @⁠lerenardnrv thanks for testing nhl-27-test-2.

A new Windows test build, nhl-27-test-3, is here: https://github.com/overlordxrz-source/KytyPS5/actions/runs/38942412631 It's current main (d7974dc) plus #1485 and #1515. Since test-2, main has picked up scalar buffer reads across sparse guest mappings (d7974dc), a wave-minimum lowering for sparse fragment subgroups (302240d), the add-on and entitlement work, and the renderer sync changes from #1495. I can't say any of these fixes your crashes, so a retest would really help.

@⁠fozter your log shows real progress: PS 0x1da1fd28, PS 0x5a965ca5, CS 0xad738baf and PS 0x572a1c62 all compile and the game keeps going, compiling about 115 more shaders (the last one is VS 0x0d41096ab852bc73) before the device is lost. The log has no per-draw trace, so it doesn't say which draw hung. Could you retest on test-3? If it still ends at masterSemaphore.cpp:53, could you run it once with your checkpoint / device-fault diagnostics and post the draw and the VS/PS (or CS) hashes at top and bottom of pipe, plus the full log?

@⁠lerenardnrv the runtimeLinker.cpp:711 line is just where Kyty reports any crash it can't handle. Here the game's own code read address 0x100 (a null pointer plus an offset), so the real cause is earlier. fozter gets past that screen on the same build, so it may depend on your setup. Could you retest on test-3, and if it still crashes, attach:

  • the full log: in the launcher set Printf output to File, run until the crash, then zip and attach _kyty.txt
  • the --- Guest fault context --- block printed just before the error (thread, registers, code bytes, stack), if it isn't in the log
  • whether you started from an existing NHL 27 save or a fresh one, whether any add-ons/DLC are installed, and the game version (APP_VER near the top of the log)

AI-assisted: yes
I followed your instructions and set Printf output to File in the launcher, but no _kyty.txt file was generated after the crash.

I therefore manually created a text file containing the logs I could retrieve from the console.

Unfortunately, with nhl-27-test-3, the game now crashes even earlier than before: it crashes before reaching the “Press any button to start” screen.

I've attached the logs I was able to collect. I'm not sure if they contain all the information you requested, since the _kyty.txt file was never generated.

Could you please let me know if there's another way to generate the full log?

full log:
_kyty.zip

**@⁠lerenardnrv** on GitHub · 2026-10-17 04:34 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6229687708) > [@⁠fozter](https://github.com/fozter) [@⁠lerenardnrv](https://github.com/lerenardnrv) thanks for testing `nhl-27-test-2`. > > A new Windows test build, `nhl-27-test-3`, is here: https://github.com/overlordxrz-source/KytyPS5/actions/runs/38942412631 It's current `main` ([d7974dc](https://github.com/KytyPS5/KytyPS5/commit/d7974dc76357565e58a88887060f8300dc8a3966)) plus [#1485](https://git.gtahub.st/github/KytyPS5--KytyPS5/pulls/1485) and [#1515](https://git.gtahub.st/github/KytyPS5--KytyPS5/pulls/1515). Since test-2, `main` has picked up scalar buffer reads across sparse guest mappings ([d7974dc](https://github.com/KytyPS5/KytyPS5/commit/d7974dc76357565e58a88887060f8300dc8a3966)), a wave-minimum lowering for sparse fragment subgroups ([302240d](https://github.com/KytyPS5/KytyPS5/commit/302240da70f267f80eaa8507d32689ff7c0e9dbb)), the add-on and entitlement work, and the renderer sync changes from [#1495](https://git.gtahub.st/github/KytyPS5--KytyPS5/pulls/1495). I can't say any of these fixes your crashes, so a retest would really help. > > [@⁠fozter](https://github.com/fozter) your log shows real progress: PS `0x1da1fd28`, PS `0x5a965ca5`, CS `0xad738baf` and PS `0x572a1c62` all compile and the game keeps going, compiling about 115 more shaders (the last one is VS `0x0d41096ab852bc73`) before the device is lost. The log has no per-draw trace, so it doesn't say which draw hung. Could you retest on test-3? If it still ends at `masterSemaphore.cpp:53`, could you run it once with your checkpoint / device-fault diagnostics and post the draw and the VS/PS (or CS) hashes at top and bottom of pipe, plus the full log? > > [@⁠lerenardnrv](https://github.com/lerenardnrv) the `runtimeLinker.cpp:711` line is just where Kyty reports any crash it can't handle. Here the game's own code read address 0x100 (a null pointer plus an offset), so the real cause is earlier. fozter gets past that screen on the same build, so it may depend on your setup. Could you retest on test-3, and if it still crashes, attach: > > * the full log: in the launcher set `Printf output` to `File`, run until the crash, then zip and attach `_kyty.txt` > * the `--- Guest fault context ---` block printed just before the error (thread, registers, code bytes, stack), if it isn't in the log > * whether you started from an existing NHL 27 save or a fresh one, whether any add-ons/DLC are installed, and the game version (`APP_VER` near the top of the log) > > AI-assisted: yes I followed your instructions and set Printf output to File in the launcher, but no _kyty.txt file was generated after the crash. I therefore manually created a text file containing the logs I could retrieve from the console. Unfortunately, with nhl-27-test-3, the game now crashes even earlier than before: it crashes before reaching the “Press any button to start” screen. I've attached the logs I was able to collect. I'm not sure if they contain all the information you requested, since the _kyty.txt file was never generated. Could you please let me know if there's another way to generate the full log? full log: [_kyty.zip](https://github.com/user-attachments/files/33588624/_kyty.zip)
Author
Owner

@⁠fozter on GitHub · 2026-10-18 15:07 UTC · original · edited 2026-10-18 15:10 UTC

I tried main 2026-10-18-37df7f3 + #1485 and #1515. Seems like i get to the screen where the players are about to step out on the ice, then it crashes


--- Error ---
unknown sh reg at 00937: 0x14a
 in D:\PS5_GAMES\KytyPS5-test\src\graphics\guest_gpu\command_processor\pm4Handlers.cpp:2065
	Equeue wait received 1 events: ident = 0x00000000000013d7, filter = -15, flags = 0x0011, fflags = 0x00000000, data = 0x0000000000000000, udata = 0x0000000000000000
	Equeue wait received 1 events: ident = 0x00000000000261f7, filter = -15, flags = 0x0011, fflags = 0x00000000, data = 0x0000000000000000, udata = 0x0000000000000000
	Equeue wait received 1 events: ident = 0x00000000000061dc, filter = -15, flags = 0x0011, fflags = 0x00000000, data = 0x0000000000000000, udata = 0x0000000000000000
	Equeue wait: EAThread Timer Queue, caller = 0x0000000901285340, eq = 0x000000000000001d, ev = 0x00000007ed3bbe98, num = 1, timo = inf, thread_id = 29
	Equeue wait: EAThread Timer Queue, caller = 0x0000000901285340, eq = 0x0000000000000017, ev = 0x00000007edc23e28, num = 1, timo = inf, thread_id = 23

Full log: _kyty.zip

Image
**@⁠fozter** on GitHub · 2026-10-18 15:07 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6251472813) · edited 2026-10-18 15:10 UTC I tried main 2026-10-18-37df7f3 + #1485 and #1515. Seems like i get to the screen where the players are about to step out on the ice, then it crashes ``` --- Error --- unknown sh reg at 00937: 0x14a in D:\PS5_GAMES\KytyPS5-test\src\graphics\guest_gpu\command_processor\pm4Handlers.cpp:2065 Equeue wait received 1 events: ident = 0x00000000000013d7, filter = -15, flags = 0x0011, fflags = 0x00000000, data = 0x0000000000000000, udata = 0x0000000000000000 Equeue wait received 1 events: ident = 0x00000000000261f7, filter = -15, flags = 0x0011, fflags = 0x00000000, data = 0x0000000000000000, udata = 0x0000000000000000 Equeue wait received 1 events: ident = 0x00000000000061dc, filter = -15, flags = 0x0011, fflags = 0x00000000, data = 0x0000000000000000, udata = 0x0000000000000000 Equeue wait: EAThread Timer Queue, caller = 0x0000000901285340, eq = 0x000000000000001d, ev = 0x00000007ed3bbe98, num = 1, timo = inf, thread_id = 29 Equeue wait: EAThread Timer Queue, caller = 0x0000000901285340, eq = 0x0000000000000017, ev = 0x00000007edc23e28, num = 1, timo = inf, thread_id = 23 ``` Full log: [_kyty.zip](https://github.com/user-attachments/files/33630791/_kyty.zip) <img width="1280" height="750" alt="Image" src="https://github.com/user-attachments/assets/7df896c2-a59f-4b01-993e-07330a13d8b7" />
Author
Owner

@⁠pinkton on GitHub · 2026-10-18 16:34 UTC · original · edited 2026-10-18 16:43 UTC

So, I've been tinkering some more. Managed to get it "back" to a working state, and found/fixed another issue that was causing my XID 109/42 crashes.
The patch below is based on main 37df7f32 + PR1485 + PR1032 + PR1515, and a SPI_SHADER_PGM_LO_HS fix that came up out of the blue on my first run. I've also found that tessellation is required else things are dropped silently. I've played a bot game, and completed it. FPS still in the 5-8 range, but progress none the less.

One new fix (12 lines): NHL 27 aborted with unknown sh reg at 00b8e: 0x14a the moment a match started. 0x14A is SPI_SHADER_PGM_LO_HS at its hardware register slot (right after 0x148/0x149 for LS). Kyty only registered the AGC aliases at 0x108/0x109, so a title that programs the hull-shader address directly through SET_SH_REG_INDIRECT found a null handler and exited. The patch aliases 0x14A/0x14B onto the existing HS handlers.
Image

As before, this is AI assisted.

Complete patch file -
kyty-nhl27-rink-on-37df7f3.patch

SPI Shader patch file -

hs-pgm-hw-slot-on-main.patch

**@⁠pinkton** on GitHub · 2026-10-18 16:34 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6252354936) · edited 2026-10-18 16:43 UTC So, I've been tinkering some more. Managed to get it "back" to a working state, and found/fixed another issue that was causing my XID 109/42 crashes. The patch below is based on main 37df7f32 + PR1485 + PR1032 + PR1515, and a SPI_SHADER_PGM_LO_HS fix that came up out of the blue on my first run. I've also found that tessellation is required else things are dropped silently. I've played a bot game, and completed it. FPS still in the 5-8 range, but progress none the less. `One new fix (12 lines): NHL 27 aborted with unknown sh reg at 00b8e: 0x14a the moment a match started. 0x14A is SPI_SHADER_PGM_LO_HS at its hardware register slot (right after 0x148/0x149 for LS). Kyty only registered the AGC aliases at 0x108/0x109, so a title that programs the hull-shader address directly through SET_SH_REG_INDIRECT found a null handler and exited. The patch aliases 0x14A/0x14B onto the existing HS handlers. ` <img width="1280" height="720" alt="Image" src="https://github.com/user-attachments/assets/778c22e1-2fa0-4063-8e4f-0c6c27c16dbf" /> As before, this is AI assisted. Complete patch file - [kyty-nhl27-rink-on-37df7f3.patch](https://github.com/user-attachments/files/33632520/kyty-nhl27-rink-on-37df7f3.patch) SPI Shader patch file - [hs-pgm-hw-slot-on-main.patch](https://github.com/user-attachments/files/33632504/hs-pgm-hw-slot-on-main.patch)
Author
Owner

@⁠lerenardnrv on GitHub · 2026-10-19 00:53 UTC · original

30. Alors, j'ai encore bricolé. J'ai réussi à le « ramener » à un état de fonctionnement et j'ai trouvé/résolu un autre problème qui causait mes plantages XID 109/42.
Le patch ci-dessous est basé sur les principaux 37df7f3 + PR1485 + PR1032 + PR1515, et un correctif SPI_SHADER_PGM_LO_HS qui est apparu à l'improviste lors de ma première exécution. J'ai également constaté que la tessellation est nécessaire, sinon les choses sont abandonnées silencieusement. J'ai joué à un jeu de bot et je l'ai terminé. Les FPS sont toujours dans la gamme 5-8, mais progressent néanmoins.
Un nouveau correctif (12 lignes) : NHL 27 abandonné avec un sh reg inconnu à 00b8e : 0x14a au moment où un match a commencé. 0x14A est SPI_SHADER_PGM_LO_HS à son emplacement de registre matériel (juste après 0x148/0x149 pour LS). Kyty n'a enregistré les alias AGC qu'à 0x108/0x109, donc un titre qui programme l'adresse hull-shader directement via SET_SH_REG_INDIRECT a trouvé un gestionnaire nul et s'est arrêté. Le patch affiche les alias 0x14A/0x14B sur les gestionnaires HS existants.
Image
Comme auparavant, cela est assisté par l’IA.
Fichier de correctif complet -
kyty-nhl27-rink-on-37df7f3.patch
Fichier de correctif SPI Shader -
hs-pgm-hw-slot-on-main.patch

Hi, where should I put these patch files? I’m new to emulators—thanks in advance!

**@⁠lerenardnrv** on GitHub · 2026-10-19 00:53 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6257348352) > 30\. Alors, j'ai encore bricolé. J'ai réussi à le « ramener » à un état de fonctionnement et j'ai trouvé/résolu un autre problème qui causait mes plantages XID 109/42. > Le patch ci-dessous est basé sur les principaux [37df7f3](https://github.com/KytyPS5/KytyPS5/commit/37df7f3278a41dde020a10daa74d8ae152ee8fb8) + PR1485 + PR1032 + PR1515, et un correctif SPI_SHADER_PGM_LO_HS qui est apparu à l'improviste lors de ma première exécution. J'ai également constaté que la tessellation est nécessaire, sinon les choses sont abandonnées silencieusement. J'ai joué à un jeu de bot et je l'ai terminé. Les FPS sont toujours dans la gamme 5-8, mais progressent néanmoins. > `Un nouveau correctif (12 lignes) : NHL 27 abandonné avec un sh reg inconnu à 00b8e : 0x14a au moment où un match a commencé. 0x14A est SPI_SHADER_PGM_LO_HS à son emplacement de registre matériel (juste après 0x148/0x149 pour LS). Kyty n'a enregistré les alias AGC qu'à 0x108/0x109, donc un titre qui programme l'adresse hull-shader directement via SET_SH_REG_INDIRECT a trouvé un gestionnaire nul et s'est arrêté. Le patch affiche les alias 0x14A/0x14B sur les gestionnaires HS existants. ` > <img alt="Image" width="1280" height="720" src="https://private-user-images.githubusercontent.com/10314808/677234260-778c22e1-2fa0-4063-8e4f-0c6c27c16dbf.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTIzNzEyNzAsIm5iZiI6MTc5MjM3MDk3MCwicGF0aCI6Ii8xMDMxNDgwOC82NzcyMzQyNjAtNzc4YzIyZTEtMmZhMC00MDYzLThlNGYtMGM2YzI3YzE2ZGJmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjEwMTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMDE5VDAwNDkzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkzNDAxYmNlOTYxYzQzNjY3OThlMmQ4NGY4ZDliOWJlOGEzZTczM2UyOWJhN2E5M2YzYjBkMzg2MDhjZTJjNDYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.Ua064j19QQnv7njHpDbHMtZETIAdSON_2mkXU8NbXR8"> > Comme auparavant, cela est assisté par l’IA. > Fichier de correctif complet - > [kyty-nhl27-rink-on-37df7f3.patch](https://github.com/user-attachments/files/33632520/kyty-nhl27-rink-on-37df7f3.patch) > Fichier de correctif SPI Shader - > [hs-pgm-hw-slot-on-main.patch](https://github.com/user-attachments/files/33632504/hs-pgm-hw-slot-on-main.patch) Hi, where should I put these patch files? I’m new to emulators—thanks in advance!
Author
Owner

@⁠MrToucann on GitHub · 2026-10-22 08:45 UTC · original

https://github.com/pengui07/KytyPS5-nhl

60 fps in free skate, 40-45 in matches, some visual bugs but definitely playable. We are currently sorting bugs and continuing to improve performance.

**@⁠MrToucann** on GitHub · 2026-10-22 08:45 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6336635178) https://github.com/pengui07/KytyPS5-nhl 60 fps in free skate, 40-45 in matches, some visual bugs but definitely playable. We are currently sorting bugs and continuing to improve performance.
Author
Owner

@⁠fozter on GitHub · 2026-10-22 16:48 UTC · original

@⁠MrToucann I tried that build and got way better FPS.
Too bad another issue appeared, it seems like the gear/clothing on players/audience turns white + those white artifacts you can see on the screenshot below.
Dont know if it has to do with Nvidia vs AMD GPU

Image
**@⁠fozter** on GitHub · 2026-10-22 16:48 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6346192844) @⁠MrToucann I tried that build and got way better FPS. Too bad another issue appeared, it seems like the gear/clothing on players/audience turns white + those white artifacts you can see on the screenshot below. Dont know if it has to do with Nvidia vs AMD GPU <img width="1280" height="750" alt="Image" src="https://github.com/user-attachments/assets/c2fddbf3-989f-4cc7-b4ee-7734b3ac875a" />
Author
Owner

@⁠MrToucann on GitHub · 2026-10-22 17:25 UTC · original

@⁠fozter There currently is less support for Nvidia cards as the dev team only has AMD cards. So expect to run into some Nvidia specific bugs, such as the one you sent. We have never had that bug, so more than likely related to that.

**@⁠MrToucann** on GitHub · 2026-10-22 17:25 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6346945902) @⁠fozter There currently is less support for Nvidia cards as the dev team only has AMD cards. So expect to run into some Nvidia specific bugs, such as the one you sent. We have never had that bug, so more than likely related to that.
Author
Owner

@⁠fozter on GitHub · 2026-10-23 07:25 UTC · original

@⁠MrToucann Adjusting KYTY_DBG_LOOP_CAP=1024 → 65536 solved it for me on my Nvidia 3060 ti

**@⁠fozter** on GitHub · 2026-10-23 07:25 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6359772735) @⁠MrToucann Adjusting KYTY_DBG_LOOP_CAP=1024 → 65536 solved it for me on my Nvidia 3060 ti
Author
Owner

@⁠MrToucann on GitHub · 2026-10-23 17:37 UTC · original

@⁠fozter awesome, hows it running now?

**@⁠MrToucann** on GitHub · 2026-10-23 17:37 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6370965851) @⁠fozter awesome, hows it running now?
Author
Owner

@⁠fozter on GitHub · 2026-10-24 12:27 UTC · original · edited 2026-10-24 12:39 UTC

@⁠MrToucann It's running pretty good, about 30-55 fps. Replays, referee calls etc can go lower tho, about 15-40 fps

**@⁠fozter** on GitHub · 2026-10-24 12:27 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6384201343) · edited 2026-10-24 12:39 UTC @⁠MrToucann It's running pretty good, about 30-55 fps. Replays, referee calls etc can go lower tho, about 15-40 fps
Author
Owner

@⁠ro2017hub on GitHub · 2026-11-01 13:00 UTC · original

19. So, I've been tinkering some more. Managed to get it "back" to a working state, and found/fixed another issue that was causing my XID 109/42 crashes.
The patch below is based on main 37df7f3 + PR1485 + PR1032 + PR1515, and a SPI_SHADER_PGM_LO_HS fix that came up out of the blue on my first run. I've also found that tessellation is required else things are dropped silently. I've played a bot game, and completed it. FPS still in the 5-8 range, but progress none the less.
One new fix (12 lines): NHL 27 aborted with unknown sh reg at 00b8e: 0x14a the moment a match started. 0x14A is SPI_SHADER_PGM_LO_HS at its hardware register slot (right after 0x148/0x149 for LS). Kyty only registered the AGC aliases at 0x108/0x109, so a title that programs the hull-shader address directly through SET_SH_REG_INDIRECT found a null handler and exited. The patch aliases 0x14A/0x14B onto the existing HS handlers.
Image
As before, this is AI assisted.
Complete patch file -
kyty-nhl27-rink-on-37df7f3.patch
SPI Shader patch file -
hs-pgm-hw-slot-on-main.patch

Thank you, is there a reason why the code from the patch file isn't part of the regular fork? Assuming i need to apply both patch files to the source code and build? Thank you for providing it!

**@⁠ro2017hub** on GitHub · 2026-11-01 13:00 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1101#issuecomment-6558289129) > 19\. So, I've been tinkering some more. Managed to get it "back" to a working state, and found/fixed another issue that was causing my XID 109/42 crashes. > The patch below is based on main [37df7f3](https://github.com/KytyPS5/KytyPS5/commit/37df7f3278a41dde020a10daa74d8ae152ee8fb8) + PR1485 + PR1032 + PR1515, and a SPI_SHADER_PGM_LO_HS fix that came up out of the blue on my first run. I've also found that tessellation is required else things are dropped silently. I've played a bot game, and completed it. FPS still in the 5-8 range, but progress none the less. > `One new fix (12 lines): NHL 27 aborted with unknown sh reg at 00b8e: 0x14a the moment a match started. 0x14A is SPI_SHADER_PGM_LO_HS at its hardware register slot (right after 0x148/0x149 for LS). Kyty only registered the AGC aliases at 0x108/0x109, so a title that programs the hull-shader address directly through SET_SH_REG_INDIRECT found a null handler and exited. The patch aliases 0x14A/0x14B onto the existing HS handlers. ` > <img alt="Image" width="1280" height="720" src="https://private-user-images.githubusercontent.com/10314808/677234260-778c22e1-2fa0-4063-8e4f-0c6c27c16dbf.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTM1MzgwNzksIm5iZiI6MTc5MzUzNzc3OSwicGF0aCI6Ii8xMDMxNDgwOC82NzcyMzQyNjAtNzc4YzIyZTEtMmZhMC00MDYzLThlNGYtMGM2YzI3YzE2ZGJmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTAxVDEyNTYxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQyNThiMmUxY2RjZGVkNWY3MzQxZTQ0ODVjZDk0MGQ3YTg4OTU1MTVkZGZjNGFhZDEzY2IzOTZjMTVjMzdkNTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.c-boiVPpfcfW7JDz6KEAtNTsaJV1npLQQHgsRsiGOQo"> > As before, this is AI assisted. > Complete patch file - > [kyty-nhl27-rink-on-37df7f3.patch](https://github.com/user-attachments/files/33632520/kyty-nhl27-rink-on-37df7f3.patch) > SPI Shader patch file - > [hs-pgm-hw-slot-on-main.patch](https://github.com/user-attachments/files/33632504/hs-pgm-hw-slot-on-main.patch) Thank you, is there a reason why the code from the patch file isn't part of the regular fork? Assuming i need to apply both patch files to the source code and build? Thank you for providing it!
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#1101
No description provided.