[GAME STATUS]: #1215

Open
opened 2026-11-26 09:48:04 +00:00 by github-bot · 28 comments
Owner

@⁠kwnsdl1 on GitHub · 2026-10-08 16:20 UTC · original

Game title

SILENT HILL 2

Game ID / serial

PPSA08709

KytyPS5 version

KytyPS5-2026-10-08-58978d1

Compatibility status

Logo

Last working build / first broken build

No response

Result details

--- Build ---
Official build KytyPS5-2026-10-08-58978d1
--- Fatal Error ---
Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\masterSemaphore.cpp:53

C:\Users\K\Downloads\KytyPS5-2026-10-08-58978d1-Windows-x64>

Steps to reproduce the result

--- Build ---
Official build KytyPS5-2026-10-08-58978d1
--- Fatal Error ---
Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\masterSemaphore.cpp:53

Expected behavior

--- Build ---
Official build KytyPS5-2026-10-08-58978d1
--- Fatal Error ---
Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\masterSemaphore.cpp:53

OS

WIN11

CPU

AMD RYZEN7 3700X

GPU

RTX2080 TI

RAM / VRAM

32GB / DDR4

Log file upload

--- Build ---
Official build KytyPS5-2026-10-08-58978d1
--- Fatal Error ---
Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\masterSemaphore.cpp:53

Screenshots/video

No response

Extra notes

No response

**@⁠kwnsdl1** on GitHub · 2026-10-08 16:20 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215) ### Game title SILENT HILL 2 ### Game ID / serial PPSA08709 ### KytyPS5 version KytyPS5-2026-10-08-58978d1 ### Compatibility status Logo ### Last working build / first broken build _No response_ ### Result details --- Build --- Official build KytyPS5-2026-10-08-58978d1 --- Fatal Error --- Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\masterSemaphore.cpp:53 C:\Users\K\Downloads\KytyPS5-2026-10-08-58978d1-Windows-x64> ### Steps to reproduce the result --- Build --- Official build KytyPS5-2026-10-08-58978d1 --- Fatal Error --- Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\masterSemaphore.cpp:53 ### Expected behavior --- Build --- Official build KytyPS5-2026-10-08-58978d1 --- Fatal Error --- Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\masterSemaphore.cpp:53 ### OS WIN11 ### CPU AMD RYZEN7 3700X ### GPU RTX2080 TI ### RAM / VRAM 32GB / DDR4 ### Log file upload --- Build --- Official build KytyPS5-2026-10-08-58978d1 --- Fatal Error --- Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\masterSemaphore.cpp:53 ### Screenshots/video _No response_ ### Extra notes _No response_
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:48:04 +00:00
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-22 22:08 UTC · original

Re tested on build a0b083c

Shaders: VS 63 | PS 180 | CS 363 | GS 15 | LS 0 | HS 0 | TES 0
--- Build ---
Official build KytyPS5-2026-11-22-a0b083c
--- Fatal Error ---
Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\cache\streamBuffer.cpp:89

_kyty.zip

@⁠Nawid3333 please diagnose.

**@⁠Crispy81** on GitHub · 2026-11-22 22:08 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7086588516) Re tested on build a0b083c Shaders: VS 63 | PS 180 | CS 363 | GS 15 | LS 0 | HS 0 | TES 0 --- Build --- Official build KytyPS5-2026-11-22-a0b083c --- Fatal Error --- Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\cache\streamBuffer.cpp:89 [_kyty.zip](https://github.com/user-attachments/files/35245793/_kyty.zip) @⁠Nawid3333 please diagnose.
Author
Owner

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

The log shows what fails. Right before the error, Kyty shrinks two very large buffer ranges to the mapped memory behind them, and then the failing buffer creation prints the VMA budget:

Memory: clamped buffer range addr=0x000000326f920580 size=0x0000000bffffffe8 to 0x00000000322bfa80
Memory: clamped buffer range addr=0x00000030aed21e00 size=0x00000003fffffff4 to 0x00000001f2ebe200
VMA heap 0: usage=751575040, budget=15922995200, allocation=604045312, blocks=738197504
VMA heap 1: usage=9733894144, budget=16168480768, allocation=8149987424, blocks=9236054016
  • The requested sizes are 0xfffffffe × 12 and 0xfffffffd × 4 bytes, so these descriptors have almost the full 32-bit record count. Kyty caps only a record count of exactly 0xffffffff (to 256 MiB, FindBuffers in descriptors.cpp); these two count as finite.
  • After the clamp the second range is still 0x1f2ebe200 bytes (7.8 GiB). On our RX 9070 XT the AMD driver reports maxBufferSize and maxMemoryAllocationSize of 2 GiB, and Kyty checks neither limit, so vmaCreateBuffer in streamBuffer.cpp:89 cannot create a host buffer of that size.
  • Since 6abe0f57e (2026-11-20), finite descriptors of 1 GiB or more are bound up to their last committed range across unmapped holes; before, the clamp stopped at the first hole. So the range may be much larger now than in older builds.

Could you run the same steps with these two official builds and attach both _kyty.txt?

  • KytyPS5-2026-11-20-a1fc5ae (the last build without 6abe0f57e)
  • KytyPS5-2026-11-20-a21fd80 (the first build with it)

The Memory: clamped buffer range lines will show whether this range is smaller in a1fc5ae and whether the game gets further there.

**@⁠Nawid3333** on GitHub · 2026-11-22 22:19 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7086722294) The log shows what fails. Right before the error, Kyty shrinks two very large buffer ranges to the mapped memory behind them, and then the failing buffer creation prints the VMA budget: ``` Memory: clamped buffer range addr=0x000000326f920580 size=0x0000000bffffffe8 to 0x00000000322bfa80 Memory: clamped buffer range addr=0x00000030aed21e00 size=0x00000003fffffff4 to 0x00000001f2ebe200 VMA heap 0: usage=751575040, budget=15922995200, allocation=604045312, blocks=738197504 VMA heap 1: usage=9733894144, budget=16168480768, allocation=8149987424, blocks=9236054016 ``` - The requested sizes are 0xfffffffe × 12 and 0xfffffffd × 4 bytes, so these descriptors have almost the full 32-bit record count. Kyty caps only a record count of exactly 0xffffffff (to 256 MiB, `FindBuffers` in descriptors.cpp); these two count as finite. - After the clamp the second range is still 0x1f2ebe200 bytes (7.8 GiB). On our RX 9070 XT the AMD driver reports `maxBufferSize` and `maxMemoryAllocationSize` of 2 GiB, and Kyty checks neither limit, so `vmaCreateBuffer` in streamBuffer.cpp:89 cannot create a host buffer of that size. - Since 6abe0f57e (2026-11-20), finite descriptors of 1 GiB or more are bound up to their last committed range across unmapped holes; before, the clamp stopped at the first hole. So the range may be much larger now than in older builds. Could you run the same steps with these two official builds and attach both `_kyty.txt`? - KytyPS5-2026-11-20-a1fc5ae (the last build without 6abe0f57e) - KytyPS5-2026-11-20-a21fd80 (the first build with it) The `Memory: clamped buffer range` lines will show whether this range is smaller in a1fc5ae and whether the game gets further there.
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-22 22:29 UTC · original

Shaders: VS 85 | PS 183 | CS 364 | GS 18 | LS 0 | HS 0 | TES 0
--- Build ---
Official build KytyPS5-2026-11-20-a1fc5ae
--- Error ---
vkQueueSubmit failed: ErrorDeviceLost, tick=29794
in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\commandScheduler.cpp:341

_kyty.zip

Shaders: VS 84 | PS 177 | CS 298 | GS 18 | LS 0 | HS 0 | TES 0
--- Build ---
Official build KytyPS5-2026-11-20-a21fd80
--- Error ---
TextureCache: unresolvable equal-address image overlap, address=0x00000030adc90000 requested=1x1 cached=1x1 requested_size=0x0000000000800000 cached_size=0x0000000000400000 type=10/10 tile=27/27
in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\cache\textureCache.cpp:852

_kyty.zip

**@⁠Crispy81** on GitHub · 2026-11-22 22:29 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7086860270) Shaders: VS 85 | PS 183 | CS 364 | GS 18 | LS 0 | HS 0 | TES 0 --- Build --- Official build KytyPS5-2026-11-20-a1fc5ae --- Error --- vkQueueSubmit failed: ErrorDeviceLost, tick=29794 in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\commandScheduler.cpp:341 [_kyty.zip](https://github.com/user-attachments/files/35246027/_kyty.zip) Shaders: VS 84 | PS 177 | CS 298 | GS 18 | LS 0 | HS 0 | TES 0 --- Build --- Official build KytyPS5-2026-11-20-a21fd80 --- Error --- TextureCache: unresolvable equal-address image overlap, address=0x00000030adc90000 requested=1x1 cached=1x1 requested_size=0x0000000000800000 cached_size=0x0000000000400000 type=10/10 tile=27/27 in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\cache\textureCache.cpp:852 [_kyty.zip](https://github.com/user-attachments/files/35246093/_kyty.zip)
Author
Owner

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

Thanks for running both. Neither build gets as far as a0b083c, so the comparison cannot show the size change:

  • a1fc5ae stops at the device loss (commandScheduler.cpp:341). Its log has only the first clamp line (size=0x0000000010000000 to 0x0000000001abff00), none for the two large ranges.
  • a21fd80 stops at the texture overlap (textureCache.cpp:852) and has no clamp line at all.

a0b083c got past both points in your run, so its stop is the one left: the 0x1f2ebe200-byte (7.8 GiB) host buffer for one binding, above the driver's 2 GiB buffer limit. No more runs needed for now.

**@⁠Nawid3333** on GitHub · 2026-11-22 22:38 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7086967929) Thanks for running both. Neither build gets as far as a0b083c, so the comparison cannot show the size change: - a1fc5ae stops at the device loss (commandScheduler.cpp:341). Its log has only the first clamp line (`size=0x0000000010000000 to 0x0000000001abff00`), none for the two large ranges. - a21fd80 stops at the texture overlap (textureCache.cpp:852) and has no clamp line at all. a0b083c got past both points in your run, so its stop is the one left: the 0x1f2ebe200-byte (7.8 GiB) host buffer for one binding, above the driver's 2 GiB buffer limit. No more runs needed for now.
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-23 03:06 UTC · original

I made a fix for the stop at streamBuffer.cpp:89. Kyty now reads the device's buffer size limits (maxBufferSize and maxMemoryAllocationSize; both are 2 GiB on our RX 9070 XT, the GPU in your log) and keeps each descriptor and vertex buffer window below them, so the 0x1f2ebe200-byte (7.8 GiB) range is bound as a window of just under 2 GiB instead of failing to create one host buffer of that size.

Could you run SILENT HILL 2 with this build and attach _kyty.txt?

The fix does not cover every case: shader reads past the end of a shortened window return zeros, and a request that spans two cached windows still merges them into one buffer, which can be above the limit. The log will show whether the game gets further, and where it stops next.

**@⁠Nawid3333** on GitHub · 2026-11-23 03:06 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7090472326) I made a fix for the stop at streamBuffer.cpp:89. Kyty now reads the device's buffer size limits (`maxBufferSize` and `maxMemoryAllocationSize`; both are 2 GiB on our RX 9070 XT, the GPU in your log) and keeps each descriptor and vertex buffer window below them, so the 0x1f2ebe200-byte (7.8 GiB) range is bound as a window of just under 2 GiB instead of failing to create one host buffer of that size. Could you run SILENT HILL 2 with this build and attach `_kyty.txt`? - Windows build of branch `fix/buffer-window-device-limit` (a8a91b0e9, a0b083c plus the fix): https://github.com/Nawid3333/KytyPS5/actions/runs/45099888956, artifact `KytyPS5-Windows-x64` (the download needs a GitHub login) The fix does not cover every case: shader reads past the end of a shortened window return zeros, and a request that spans two cached windows still merges them into one buffer, which can be above the limit. The log will show whether the game gets further, and where it stops next.
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-23 03:13 UTC · original

Shaders: VS 63 | PS 180 | CS 366 | GS 15 | LS 0 | HS 0 | TES 0
--- Build ---
Fork build Nawid3333/KytyPS5 a8a91b0
--- Fatal Error ---
Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\cache\streamBuffer.cpp:89

_kyty.zip

**@⁠Crispy81** on GitHub · 2026-11-23 03:13 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7090563905) Shaders: VS 63 | PS 180 | CS 366 | GS 15 | LS 0 | HS 0 | TES 0 --- Build --- Fork build Nawid3333/KytyPS5 a8a91b0 --- Fatal Error --- Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\cache\streamBuffer.cpp:89 [_kyty.zip](https://github.com/user-attachments/files/35252373/_kyty.zip)
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-23 06:29 UTC · original

Thanks. The fix build still stops at streamBuffer.cpp:89, where creating the host buffer fails. One path that can still ask for a buffer above the limit: when a request overlaps buffers that are already cached, Kyty merges them into one buffer that covers all of them, and that merge has no size check. Several windows that are each below 2 GiB can add up to more than that.

Could you run SILENT HILL 2 with this build the same way and attach _kyty.txt? It is the fix build plus log lines, nothing else changed:

  • BufferCache: buffer above the device limit when a merged buffer is larger than the limit, with the request, the merged range and one line per cached buffer it merges;

  • Buffer: vmaCreateBuffer failed when the host buffer cannot be created, with the result, its size, usage and guest address, and the limit.

  • Windows build of branch lab/1215-merge-diag (0e1efb3f7, a8a91b0e9 plus the log lines): https://github.com/Nawid3333/KytyPS5/actions/runs/45119948412, artifact KytyPS5-Windows-x64 (the download needs a GitHub login)

**@⁠Nawid3333** on GitHub · 2026-11-23 06:29 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7093388923) Thanks. The fix build still stops at streamBuffer.cpp:89, where creating the host buffer fails. One path that can still ask for a buffer above the limit: when a request overlaps buffers that are already cached, Kyty merges them into one buffer that covers all of them, and that merge has no size check. Several windows that are each below 2 GiB can add up to more than that. Could you run SILENT HILL 2 with this build the same way and attach `_kyty.txt`? It is the fix build plus log lines, nothing else changed: - `BufferCache: buffer above the device limit` when a merged buffer is larger than the limit, with the request, the merged range and one line per cached buffer it merges; - `Buffer: vmaCreateBuffer failed` when the host buffer cannot be created, with the result, its size, usage and guest address, and the limit. - Windows build of branch `lab/1215-merge-diag` (0e1efb3f7, a8a91b0e9 plus the log lines): https://github.com/Nawid3333/KytyPS5/actions/runs/45119948412, artifact `KytyPS5-Windows-x64` (the download needs a GitHub login)
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-23 07:09 UTC · original

There is only a Linux artifact. No windows.

**@⁠Crispy81** on GitHub · 2026-11-23 07:09 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7094037678) There is only a Linux artifact. No windows.
Author
Owner

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

Sorry, that was my doing: I re-ran the run's Linux job (it had failed on a download), and the run page now shows only the files of that second attempt. The Windows build of the first attempt is still there:

**@⁠Nawid3333** on GitHub · 2026-11-23 07:26 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7094330574) Sorry, that was my doing: I re-ran the run's Linux job (it had failed on a download), and the run page now shows only the files of that second attempt. The Windows build of the first attempt is still there: - first attempt: https://github.com/Nawid3333/KytyPS5/actions/runs/45119948412/attempts/1, artifact `KytyPS5-Windows-x64` - or the artifact's own link: https://github.com/Nawid3333/KytyPS5/actions/runs/45119948412/artifacts/14794911059
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-23 07:31 UTC · original

Shaders: VS 63 | PS 180 | CS 364 | GS 15 | LS 0 | HS 0 | TES 0
--- Build ---
Fork build Nawid3333/KytyPS5 0e1efb3
--- Error ---
vkQueueSubmit failed: ErrorDeviceLost, tick=34478
in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\commandScheduler.cpp:339

_kyty.zip

**@⁠Crispy81** on GitHub · 2026-11-23 07:31 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7094414403) Shaders: VS 63 | PS 180 | CS 364 | GS 15 | LS 0 | HS 0 | TES 0 --- Build --- Fork build Nawid3333/KytyPS5 0e1efb3 --- Error --- vkQueueSubmit failed: ErrorDeviceLost, tick=34478 in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\commandScheduler.cpp:339 [_kyty.zip](https://github.com/user-attachments/files/35264133/_kyty.zip)
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-23 09:08 UTC · original

Thank you, that log shows what happens. The window I capped at the buffer limit (0x7fbf8000 bytes, 0x7fbfc000 after page alignment) was merged with a buffer the cache already held (0x24570000 bytes) into one host buffer of 0x8223c000 bytes, above the limit, and the log reports the device loss a few lines later.

This build ends such a capped window where the merge would pass the limit, so the merged buffer stays within it. It still logs every buffer above the limit:

Could you run it the same way and attach the _kyty.txt again?

**@⁠Nawid3333** on GitHub · 2026-11-23 09:08 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7096264251) Thank you, that log shows what happens. The window I capped at the buffer limit (0x7fbf8000 bytes, 0x7fbfc000 after page alignment) was merged with a buffer the cache already held (0x24570000 bytes) into one host buffer of 0x8223c000 bytes, above the limit, and the log reports the device loss a few lines later. This build ends such a capped window where the merge would pass the limit, so the merged buffer stays within it. It still logs every buffer above the limit: - https://github.com/Nawid3333/KytyPS5/actions/runs/45136288436/artifacts/14802872790 (Windows, build `ad91d4b`) Could you run it the same way and attach the `_kyty.txt` again?
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-23 10:51 UTC · original

Shaders: VS 63 | PS 180 | CS 363 | GS 15 | LS 0 | HS 0 | TES 0
--- Build ---
Fork build Nawid3333/KytyPS5 ad91d4b
--- Error ---
vkQueueSubmit failed: ErrorDeviceLost, tick=30411
in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\commandScheduler.cpp:339

_kyty.zip

**@⁠Crispy81** on GitHub · 2026-11-23 10:51 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7098613270) Shaders: VS 63 | PS 180 | CS 363 | GS 15 | LS 0 | HS 0 | TES 0 --- Build --- Fork build Nawid3333/KytyPS5 ad91d4b --- Error --- vkQueueSubmit failed: ErrorDeviceLost, tick=30411 in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\commandScheduler.cpp:339 [_kyty.zip](https://github.com/user-attachments/files/35271678/_kyty.zip)
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-23 12:08 UTC · original

Thank you. This log has no buffer above the device limit line, so the capped windows now stay within the limit. The device is still lost later (vkQueueSubmit failed: ErrorDeviceLost, tick=30411), and no line before it names a cause.

The build below adds a device-loss report on top of the same change. When the device is lost it prints [DEVLOST] lines: the last GPU command the queue started and the last one it finished (AMD markers), the recorded commands around the first unfinished one, and the fault address if the driver reports one:

Could you run it the same way and attach the _kyty.txt again?

**@⁠Nawid3333** on GitHub · 2026-11-23 12:08 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7100551895) Thank you. This log has no `buffer above the device limit` line, so the capped windows now stay within the limit. The device is still lost later (`vkQueueSubmit failed: ErrorDeviceLost, tick=30411`), and no line before it names a cause. The build below adds a device-loss report on top of the same change. When the device is lost it prints `[DEVLOST]` lines: the last GPU command the queue started and the last one it finished (AMD markers), the recorded commands around the first unfinished one, and the fault address if the driver reports one: - https://github.com/Nawid3333/KytyPS5/actions/runs/45162629975/artifacts/14817405145 (Windows, build `6e634ad`) Could you run it the same way and attach the `_kyty.txt` again?
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-23 13:35 UTC · original

Shaders: VS 63 | PS 180 | CS 361 | GS 15 | LS 0 | HS 0 | TES 0
--- Guest fault context ---
thread: Foreground Worker #0
rax=00000107fffffef8 rbx=0000000000000000 rcx=0000000000000000 rdx=0000003294dc0000
rsi=000000007fffffff rdi=00000138082eff58 rbp=00000007efa6ba50 rsp=00000007efa6ba20
r8 =0000003294dc8180 r9 =0000003013701280 r10=0000000000000100 r11=0000000000000000
r12=0000003013530928 r13=0000003013530868 r14=00000030082f0060 r15=0000000000000001
code (pc-48 .. pc+48, fault at byte 48):
01 00 00 49 c7 86 d8 0b 00 00 00 00 00 00 e9 83
00 00 00 48 89 f0 48 c1 e0 08 48 8d 04 f0 d1 ee
49 8b 8c 06 18 0b 00 00 4a 8d 3c 30 4c 8d 79 01
4d 89 bc 06 18 0b 00 00 48 89 94 cf 20 0b 00 00
ba 20 00 00 00 48 29 f2 49 39 d7 75 49 4c 89 fa
4d 8d a4 06 18 0b 00 00 48 8d 04 c8 41 bd 06 00
stack:
00000000ffffffff 0000003294dc0080 0000003013530928 0000003013530868
0000000000000000 00000030082f0060 00000007efa6ba80 00000009052e5c11
00000009052e5bb0 0000000908411698 0000000000009000 0000003294dc0080
00000007efa6bad0 0000000905369846 00000007efa6bad0 00000cf3052761ff
deadbeef00000007 0000003013530860 0000000000000000 0000003013530868
00000030135307c0 0000003013530928 00000007efa6bb30 00000009053757ed
0000003013530930 0000003013530878 00000007efa6bb60 0000003013530928
0000003013530918 0000003013620720 0000000000000000 00000009080eaff0
--- Build ---
Fork build Nawid3333/KytyPS5 6e634ad
--- Error ---
Unhandled host exception: type=1 code=3221225477 pc=0x00000009052e854e access=2 address=0x00000138082f0a70
in D:\a\KytyPS5\KytyPS5\src\loader\runtimeLinker.cpp:693

_kyty.zip

**@⁠Crispy81** on GitHub · 2026-11-23 13:35 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7102743026) Shaders: VS 63 | PS 180 | CS 361 | GS 15 | LS 0 | HS 0 | TES 0 --- Guest fault context --- thread: Foreground Worker #0 rax=00000107fffffef8 rbx=0000000000000000 rcx=0000000000000000 rdx=0000003294dc0000 rsi=000000007fffffff rdi=00000138082eff58 rbp=00000007efa6ba50 rsp=00000007efa6ba20 r8 =0000003294dc8180 r9 =0000003013701280 r10=0000000000000100 r11=0000000000000000 r12=0000003013530928 r13=0000003013530868 r14=00000030082f0060 r15=0000000000000001 code (pc-48 .. pc+48, fault at byte 48): 01 00 00 49 c7 86 d8 0b 00 00 00 00 00 00 e9 83 00 00 00 48 89 f0 48 c1 e0 08 48 8d 04 f0 d1 ee 49 8b 8c 06 18 0b 00 00 4a 8d 3c 30 4c 8d 79 01 4d 89 bc 06 18 0b 00 00 48 89 94 cf 20 0b 00 00 ba 20 00 00 00 48 29 f2 49 39 d7 75 49 4c 89 fa 4d 8d a4 06 18 0b 00 00 48 8d 04 c8 41 bd 06 00 stack: 00000000ffffffff 0000003294dc0080 0000003013530928 0000003013530868 0000000000000000 00000030082f0060 00000007efa6ba80 00000009052e5c11 00000009052e5bb0 0000000908411698 0000000000009000 0000003294dc0080 00000007efa6bad0 0000000905369846 00000007efa6bad0 00000cf3052761ff deadbeef00000007 0000003013530860 0000000000000000 0000003013530868 00000030135307c0 0000003013530928 00000007efa6bb30 00000009053757ed 0000003013530930 0000003013530878 00000007efa6bb60 0000003013530928 0000003013530918 0000003013620720 0000000000000000 00000009080eaff0 --- Build --- Fork build Nawid3333/KytyPS5 6e634ad --- Error --- Unhandled host exception: type=1 code=3221225477 pc=0x00000009052e854e access=2 address=0x00000138082f0a70 in D:\a\KytyPS5\KytyPS5\src\loader\runtimeLinker.cpp:693 [_kyty.zip](https://github.com/user-attachments/files/35278663/_kyty.zip)
Author
Owner

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

Thank you. This run had no device loss, so there is no [DEVLOST] report (the only [DEVLOST] line is the start-up line that lists what the build can report). It stopped in the game's own code instead: at pc=0x00000009052e854e (eboot.bin + 0x52e854e, thread Foreground Worker #0) the game writes to [r14 + rax + 0xb18] with rax = 0x107fffffef8 = 0xffffffff * 0x108. So it indexed an array of 0x108-byte entries with 0xffffffff (a 32-bit -1), zero-extended, and the write went far past the array. The log has no stub call or error before the fault that explains that value, and none of your earlier logs of this game had this fault.

Could you run the same build once more the same way and attach the log again? If the device loss comes back, the [DEVLOST] report shows where it happens; if this fault comes back at the same pc, it is not a one-off.

**@⁠Nawid3333** on GitHub · 2026-11-23 14:23 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7103924403) Thank you. This run had no device loss, so there is no `[DEVLOST]` report (the only `[DEVLOST]` line is the start-up line that lists what the build can report). It stopped in the game's own code instead: at `pc=0x00000009052e854e` (eboot.bin + `0x52e854e`, thread `Foreground Worker #0`) the game writes to `[r14 + rax + 0xb18]` with `rax = 0x107fffffef8 = 0xffffffff * 0x108`. So it indexed an array of `0x108`-byte entries with `0xffffffff` (a 32-bit -1), zero-extended, and the write went far past the array. The log has no stub call or error before the fault that explains that value, and none of your earlier logs of this game had this fault. Could you run the same build once more the same way and attach the log again? If the device loss comes back, the `[DEVLOST]` report shows where it happens; if this fault comes back at the same `pc`, it is not a one-off.
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-23 21:27 UTC · original

Shaders: VS 63 | PS 180 | CS 368 | GS 15 | LS 0 | HS 0 | TES 0
--- Build ---
Fork build Nawid3333/KytyPS5 6e634ad
--- Fatal Error ---
Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\cache\streamBuffer.cpp:94

_kyty.zip

**@⁠Crispy81** on GitHub · 2026-11-23 21:27 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7114477220) Shaders: VS 63 | PS 180 | CS 368 | GS 15 | LS 0 | HS 0 | TES 0 --- Build --- Fork build Nawid3333/KytyPS5 6e634ad --- Fatal Error --- Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\cache\streamBuffer.cpp:94 [_kyty.zip](https://github.com/user-attachments/files/35300175/_kyty.zip)
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-23 23:49 UTC · original

Thank you. This run had no device loss, and the fault in the game's code at pc=0x00000009052e854e did not come back. It stopped when the emulator could not allocate one buffer:

  • vmaCreateBuffer failed: result=ErrorOutOfDeviceMemory size=0x000000002cc59000 usage=1 is a 716 MiB one-off host buffer. The emulator makes such a buffer when a single upload is larger than its 512 MiB staging ring. Two places do that, a batch of buffer uploads and a texture upload, and the log does not show which one this was. The allocation failed although the memory budget the emulator tracks still allowed it.

  • The new build sends batches of buffer uploads through the staging ring in pieces, so that path no longer makes a buffer of that size. It keeps the buffer fixes and the [DEVLOST] report from the last build, on current main.

  • KytyPS5-Windows-x64 (build 53398ee)

Could you play the same part with it and attach the _kyty.txt (zipped)? If it stops at the same vmaCreateBuffer line, it was the texture upload.

**@⁠Nawid3333** on GitHub · 2026-11-23 23:49 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7117399425) Thank you. This run had no device loss, and the fault in the game's code at `pc=0x00000009052e854e` did not come back. It stopped when the emulator could not allocate one buffer: - `vmaCreateBuffer failed: result=ErrorOutOfDeviceMemory size=0x000000002cc59000 usage=1` is a 716 MiB one-off host buffer. The emulator makes such a buffer when a single upload is larger than its 512 MiB staging ring. Two places do that, a batch of buffer uploads and a texture upload, and the log does not show which one this was. The allocation failed although the memory budget the emulator tracks still allowed it. - The new build sends batches of buffer uploads through the staging ring in pieces, so that path no longer makes a buffer of that size. It keeps the buffer fixes and the `[DEVLOST]` report from the last build, on current `main`. - [KytyPS5-Windows-x64](https://github.com/Nawid3333/KytyPS5/actions/runs/45281951236/artifacts/14873880243) (build `53398ee`) Could you play the same part with it and attach the `_kyty.txt` (zipped)? If it stops at the same `vmaCreateBuffer` line, it was the texture upload.
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-24 00:18 UTC · original

Shaders: VS 63 | PS 180 | CS 369 | GS 15 | LS 0 | HS 0 | TES 0
[DEVLOST] ===== vkQueueSubmit returned ErrorDeviceLost ; last known finished tick=18446744073709551615 ; recorded commands=2799718 =====
[DEVLOST] device fault: "Device lost detected" addresses=0 vendor_infos=0
[DEVLOST] AMD markers: last started #2799717 dispatch-indirect tick=132091 hash0=0x046cdad9eacdb702 hash1=0x0000000907fa7300 | last finished #2799716 dispatch tick=132089 hash0=0xc9edae4a111f2db2 hash1=0x0000000907f8e800
[DEVLOST] recorded commands #2799705..#2799718:
[DEVLOST] #2799705 draw tick=132086 hash0=0x08e5e57624c72935 hash1=0x0000000000000000
[DEVLOST] #2799706 draw tick=132086 hash0=0x08e5e57624c72935 hash1=0x7a742fbf6d168f42
[DEVLOST] #2799707 draw tick=132086 hash0=0x08e5e57624c72935 hash1=0x4f27ce8987452129
[DEVLOST] #2799708 kyty-internal site=tiler.cpp:307
[DEVLOST] #2799709 dispatch tick=132086 hash0=0x2fde88dffa0ac296 hash1=0x0000001580ebc400
[DEVLOST] #2799710 dispatch tick=132086 hash0=0x738bf1f40880ca85 hash1=0x0000001780f75500
[DEVLOST] #2799711 dispatch tick=132086 hash0=0xe02c80129f01d382 hash1=0x0000001640f35200
[DEVLOST] #2799712 dispatch tick=132088 hash0=0x92aa3241e64cd3c4 hash1=0x0000000907f7f900
[DEVLOST] #2799713 dispatch tick=132088 hash0=0x9046ad409aa3b545 hash1=0x0000000907f8f300
[DEVLOST] #2799714 dispatch tick=132089 hash0=0xa88928de76907399 hash1=0x00000009080a9b00
[DEVLOST] #2799715 dispatch tick=132089 hash0=0xb4cbd0fe45a1af90 hash1=0x0000000907f8f000
[DEVLOST] #2799716 dispatch tick=132089 hash0=0xc9edae4a111f2db2 hash1=0x0000000907f8e800
[DEVLOST] #2799717 dispatch-indirect tick=132091 hash0=0x046cdad9eacdb702 hash1=0x0000000907fa7300 <== first unfinished
[DEVLOST] #2799718 dispatch tick=132091 hash0=0x92c1e59ddfd8090b hash1=0x00000009080b1e00
[DEVLOST] ===== end =====
--- Build ---
Fork build Nawid3333/KytyPS5 53398ee
--- Error ---
vkQueueSubmit failed: ErrorDeviceLost, tick=132092
in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\commandScheduler.cpp:341

_kyty.zip

**@⁠Crispy81** on GitHub · 2026-11-24 00:18 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7117930450) Shaders: VS 63 | PS 180 | CS 369 | GS 15 | LS 0 | HS 0 | TES 0 [DEVLOST] ===== vkQueueSubmit returned ErrorDeviceLost ; last known finished tick=18446744073709551615 ; recorded commands=2799718 ===== [DEVLOST] device fault: "Device lost detected" addresses=0 vendor_infos=0 [DEVLOST] AMD markers: last started #2799717 dispatch-indirect tick=132091 hash0=0x046cdad9eacdb702 hash1=0x0000000907fa7300 | last finished #2799716 dispatch tick=132089 hash0=0xc9edae4a111f2db2 hash1=0x0000000907f8e800 [DEVLOST] recorded commands #2799705..#2799718: [DEVLOST] #2799705 draw tick=132086 hash0=0x08e5e57624c72935 hash1=0x0000000000000000 [DEVLOST] #2799706 draw tick=132086 hash0=0x08e5e57624c72935 hash1=0x7a742fbf6d168f42 [DEVLOST] #2799707 draw tick=132086 hash0=0x08e5e57624c72935 hash1=0x4f27ce8987452129 [DEVLOST] #2799708 kyty-internal site=tiler.cpp:307 [DEVLOST] #2799709 dispatch tick=132086 hash0=0x2fde88dffa0ac296 hash1=0x0000001580ebc400 [DEVLOST] #2799710 dispatch tick=132086 hash0=0x738bf1f40880ca85 hash1=0x0000001780f75500 [DEVLOST] #2799711 dispatch tick=132086 hash0=0xe02c80129f01d382 hash1=0x0000001640f35200 [DEVLOST] #2799712 dispatch tick=132088 hash0=0x92aa3241e64cd3c4 hash1=0x0000000907f7f900 [DEVLOST] #2799713 dispatch tick=132088 hash0=0x9046ad409aa3b545 hash1=0x0000000907f8f300 [DEVLOST] #2799714 dispatch tick=132089 hash0=0xa88928de76907399 hash1=0x00000009080a9b00 [DEVLOST] #2799715 dispatch tick=132089 hash0=0xb4cbd0fe45a1af90 hash1=0x0000000907f8f000 [DEVLOST] #2799716 dispatch tick=132089 hash0=0xc9edae4a111f2db2 hash1=0x0000000907f8e800 [DEVLOST] #2799717 dispatch-indirect tick=132091 hash0=0x046cdad9eacdb702 hash1=0x0000000907fa7300 <== first unfinished [DEVLOST] #2799718 dispatch tick=132091 hash0=0x92c1e59ddfd8090b hash1=0x00000009080b1e00 [DEVLOST] ===== end ===== --- Build --- Fork build Nawid3333/KytyPS5 53398ee --- Error --- vkQueueSubmit failed: ErrorDeviceLost, tick=132092 in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\commandScheduler.cpp:341 [_kyty.zip](https://github.com/user-attachments/files/35304834/_kyty.zip)
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-24 12:23 UTC · original

@⁠Crispy81 Thank you. This run lost the device at the same point in the log as your last runs, with no vmaCreateBuffer failure this time. The [DEVLOST] report shows where the GPU stopped: an indirect dispatch of compute shader 0x046cdad9eacdb702 (#2799717) started and never finished; the dispatch before it finished. Its group counts come from GPU memory, and the report does not print them.

This build adds them: KytyPS5-Windows-x64 (its window title shows Fork build Nawid3333/KytyPS5 f992279). Before each indirect dispatch the GPU copies its group counts, and the report prints them for the dispatch that did not finish, if that copy is still readable after the loss. It also logs one line each time a large upload is split. Could you play the same part with it and attach the _kyty.txt zipped?

**@⁠Nawid3333** on GitHub · 2026-11-24 12:23 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7131373666) @⁠Crispy81 Thank you. This run lost the device at the same point in the log as your last runs, with no `vmaCreateBuffer` failure this time. The `[DEVLOST]` report shows where the GPU stopped: an indirect dispatch of compute shader `0x046cdad9eacdb702` (#2799717) started and never finished; the dispatch before it finished. Its group counts come from GPU memory, and the report does not print them. This build adds them: [KytyPS5-Windows-x64](https://github.com/Nawid3333/KytyPS5/actions/runs/45387579599/artifacts/14918582177) (its window title shows `Fork build Nawid3333/KytyPS5 f992279`). Before each indirect dispatch the GPU copies its group counts, and the report prints them for the dispatch that did not finish, if that copy is still readable after the loss. It also logs one line each time a large upload is split. Could you play the same part with it and attach the `_kyty.txt` zipped?
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-24 13:00 UTC · original

Shaders: VS 63 | PS 179 | CS 369 | GS 15 | LS 0 | HS 0 | TES 0
[DEVLOST] ===== vkQueueSubmit returned ErrorDeviceLost ; last known finished tick=18446744073709551615 ; recorded commands=584191 =====
[DEVLOST] device fault: "Device lost detected" addresses=0 vendor_infos=0
[DEVLOST] AMD markers: last started #584190 dispatch-indirect tick=34077 hash0=0x046cdad9eacdb702 hash1=0x0000000907fa7300 | last finished #584189 dispatch tick=34076 hash0=0xc9edae4a111f2db2 hash1=0x0000000907f8e800
[DEVLOST] recorded commands #584178..#584191:
[DEVLOST] #584178 draw tick=34074 hash0=0x08e5e57624c72935 hash1=0x0000000000000000
[DEVLOST] #584179 draw tick=34074 hash0=0x08e5e57624c72935 hash1=0x7a742fbf6d168f42
[DEVLOST] #584180 draw tick=34074 hash0=0x08e5e57624c72935 hash1=0x4f27ce8987452129
[DEVLOST] #584181 kyty-internal site=tiler.cpp:307
[DEVLOST] #584182 dispatch tick=34074 hash0=0x2fde88dffa0ac296 hash1=0x0000001580e83800
[DEVLOST] #584183 dispatch tick=34074 hash0=0x738bf1f40880ca85 hash1=0x0000001780fa0000
[DEVLOST] #584184 dispatch tick=34074 hash0=0xe02c80129f01d382 hash1=0x0000001640e0b000
[DEVLOST] #584185 dispatch tick=34076 hash0=0x92aa3241e64cd3c4 hash1=0x0000000907f7f900
[DEVLOST] #584186 dispatch tick=34076 hash0=0x9046ad409aa3b545 hash1=0x0000000907f8f300
[DEVLOST] #584187 dispatch tick=34076 hash0=0xa88928de76907399 hash1=0x00000009080a9b00
[DEVLOST] #584188 dispatch tick=34076 hash0=0xb4cbd0fe45a1af90 hash1=0x0000000907f8f000
[DEVLOST] #584189 dispatch tick=34076 hash0=0xc9edae4a111f2db2 hash1=0x0000000907f8e800
[DEVLOST] #584190 dispatch-indirect tick=34077 hash0=0x046cdad9eacdb702 hash1=0x0000000907fa7300 <== first unfinished
[DEVLOST] #584191 dispatch tick=34078 hash0=0x92c1e59ddfd8090b hash1=0x00000009080b1e00
[DEVLOST] dispatch-indirect arguments copied on the GPU before each dispatch-indirect (4096 slots):
[DEVLOST] #584190 dispatch-indirect hash0=0x046cdad9eacdb702 guest=0x00000030ae9e0120 buffer=0x00000140f3e5bcf0+0x2640120 words=0x00000400 0xffffffff 0xffffffff <== first unfinished
[DEVLOST] #583929 dispatch-indirect hash0=0x24b59062710921ce guest=0x0000001e41810020 buffer=0x00000140e7ae1ce0+0x20 words=0x00000000 0x00000001 0x00000001
[DEVLOST] #583928 dispatch-indirect hash0=0x82485c7dce1a1c54 guest=0x0000001e41810000 buffer=0x00000140e7ae1ce0+0x0 words=0x00000000 0x00000001 0x00000001
[DEVLOST] #583925 dispatch-indirect hash0=0x0e71c324d4f260d1 guest=0x0000001e41fb0000 buffer=0x00000140f509f500+0x0 words=0x00000000 0x00000001 0x00000001
[DEVLOST] #583922 dispatch-indirect hash0=0x14f23bc5949eeb52 guest=0x0000001e41fb0000 buffer=0x00000140f509f500+0x0 words=0x00000000 0x00000001 0x00000001
[DEVLOST] #583918 dispatch-indirect hash0=0xdf5fc6a505331977 guest=0x0000001e41810000 buffer=0x00000140e7ae1ce0+0x0 words=0x00000000 0x00000001 0x00000001
[DEVLOST] #583910 dispatch-indirect hash0=0x24b59062710921ce guest=0x0000001e41f00020 buffer=0x000001402c63d8e0+0x20 words=0x00000000 0x00000001 0x00000001
[DEVLOST] #583909 dispatch-indirect hash0=0x82485c7dce1a1c54 guest=0x0000001e41f00000 buffer=0x000001402c63d8e0+0x0 words=0x00000000 0x00000001 0x00000001
[DEVLOST] #583906 dispatch-indirect hash0=0x579223036d77a48a guest=0x0000001e41fb0000 buffer=0x00000140f509f500+0x0 words=0x00000001 0x00000001 0x00000001
[DEVLOST] ===== end =====
--- Build ---
Fork build Nawid3333/KytyPS5 f992279
--- Error ---
vkQueueSubmit failed: ErrorDeviceLost, tick=34078
in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\commandScheduler.cpp:341

_kyty.zip

**@⁠Crispy81** on GitHub · 2026-11-24 13:00 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7132207959) Shaders: VS 63 | PS 179 | CS 369 | GS 15 | LS 0 | HS 0 | TES 0 [DEVLOST] ===== vkQueueSubmit returned ErrorDeviceLost ; last known finished tick=18446744073709551615 ; recorded commands=584191 ===== [DEVLOST] device fault: "Device lost detected" addresses=0 vendor_infos=0 [DEVLOST] AMD markers: last started #584190 dispatch-indirect tick=34077 hash0=0x046cdad9eacdb702 hash1=0x0000000907fa7300 | last finished #584189 dispatch tick=34076 hash0=0xc9edae4a111f2db2 hash1=0x0000000907f8e800 [DEVLOST] recorded commands #584178..#584191: [DEVLOST] #584178 draw tick=34074 hash0=0x08e5e57624c72935 hash1=0x0000000000000000 [DEVLOST] #584179 draw tick=34074 hash0=0x08e5e57624c72935 hash1=0x7a742fbf6d168f42 [DEVLOST] #584180 draw tick=34074 hash0=0x08e5e57624c72935 hash1=0x4f27ce8987452129 [DEVLOST] #584181 kyty-internal site=tiler.cpp:307 [DEVLOST] #584182 dispatch tick=34074 hash0=0x2fde88dffa0ac296 hash1=0x0000001580e83800 [DEVLOST] #584183 dispatch tick=34074 hash0=0x738bf1f40880ca85 hash1=0x0000001780fa0000 [DEVLOST] #584184 dispatch tick=34074 hash0=0xe02c80129f01d382 hash1=0x0000001640e0b000 [DEVLOST] #584185 dispatch tick=34076 hash0=0x92aa3241e64cd3c4 hash1=0x0000000907f7f900 [DEVLOST] #584186 dispatch tick=34076 hash0=0x9046ad409aa3b545 hash1=0x0000000907f8f300 [DEVLOST] #584187 dispatch tick=34076 hash0=0xa88928de76907399 hash1=0x00000009080a9b00 [DEVLOST] #584188 dispatch tick=34076 hash0=0xb4cbd0fe45a1af90 hash1=0x0000000907f8f000 [DEVLOST] #584189 dispatch tick=34076 hash0=0xc9edae4a111f2db2 hash1=0x0000000907f8e800 [DEVLOST] #584190 dispatch-indirect tick=34077 hash0=0x046cdad9eacdb702 hash1=0x0000000907fa7300 <== first unfinished [DEVLOST] #584191 dispatch tick=34078 hash0=0x92c1e59ddfd8090b hash1=0x00000009080b1e00 [DEVLOST] dispatch-indirect arguments copied on the GPU before each dispatch-indirect (4096 slots): [DEVLOST] #584190 dispatch-indirect hash0=0x046cdad9eacdb702 guest=0x00000030ae9e0120 buffer=0x00000140f3e5bcf0+0x2640120 words=0x00000400 0xffffffff 0xffffffff <== first unfinished [DEVLOST] #583929 dispatch-indirect hash0=0x24b59062710921ce guest=0x0000001e41810020 buffer=0x00000140e7ae1ce0+0x20 words=0x00000000 0x00000001 0x00000001 [DEVLOST] #583928 dispatch-indirect hash0=0x82485c7dce1a1c54 guest=0x0000001e41810000 buffer=0x00000140e7ae1ce0+0x0 words=0x00000000 0x00000001 0x00000001 [DEVLOST] #583925 dispatch-indirect hash0=0x0e71c324d4f260d1 guest=0x0000001e41fb0000 buffer=0x00000140f509f500+0x0 words=0x00000000 0x00000001 0x00000001 [DEVLOST] #583922 dispatch-indirect hash0=0x14f23bc5949eeb52 guest=0x0000001e41fb0000 buffer=0x00000140f509f500+0x0 words=0x00000000 0x00000001 0x00000001 [DEVLOST] #583918 dispatch-indirect hash0=0xdf5fc6a505331977 guest=0x0000001e41810000 buffer=0x00000140e7ae1ce0+0x0 words=0x00000000 0x00000001 0x00000001 [DEVLOST] #583910 dispatch-indirect hash0=0x24b59062710921ce guest=0x0000001e41f00020 buffer=0x000001402c63d8e0+0x20 words=0x00000000 0x00000001 0x00000001 [DEVLOST] #583909 dispatch-indirect hash0=0x82485c7dce1a1c54 guest=0x0000001e41f00000 buffer=0x000001402c63d8e0+0x0 words=0x00000000 0x00000001 0x00000001 [DEVLOST] #583906 dispatch-indirect hash0=0x579223036d77a48a guest=0x0000001e41fb0000 buffer=0x00000140f509f500+0x0 words=0x00000001 0x00000001 0x00000001 [DEVLOST] ===== end ===== --- Build --- Fork build Nawid3333/KytyPS5 f992279 --- Error --- vkQueueSubmit failed: ErrorDeviceLost, tick=34078 in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\commandScheduler.cpp:341 [_kyty.zip](https://github.com/user-attachments/files/35332072/_kyty.zip)
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-24 14:34 UTC · original

@⁠Crispy81 Thank you, this report points at the cause of the device loss. The first command that did not finish is an indirect dispatch of compute shader 0x046cdad9eacdb702, and its group counts were 0x400 0xffffffff 0xffffffff, i.e. 1024 × 4294967295 × 4294967295 groups. A dispatch that large cannot finish. The game cannot mean those counts, so something went wrong in Kyty before this dispatch.

This build reports which commands wrote those words, what guest memory held when the dispatch was recorded, and the code of the shaders involved: KytyPS5-Windows-x64 (window title Fork build Nawid3333/KytyPS5 1cedc79). Could you play the same part with it and attach the _kyty.txt zipped?

**@⁠Nawid3333** on GitHub · 2026-11-24 14:34 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7134594249) @⁠Crispy81 Thank you, this report points at the cause of the device loss. The first command that did not finish is an indirect dispatch of compute shader `0x046cdad9eacdb702`, and its group counts were `0x400 0xffffffff 0xffffffff`, i.e. 1024 × 4294967295 × 4294967295 groups. A dispatch that large cannot finish. The game cannot mean those counts, so something went wrong in Kyty before this dispatch. This build reports which commands wrote those words, what guest memory held when the dispatch was recorded, and the code of the shaders involved: [KytyPS5-Windows-x64](https://github.com/Nawid3333/KytyPS5/actions/runs/45409792882/artifacts/14930377800) (window title `Fork build Nawid3333/KytyPS5 1cedc79`). Could you play the same part with it and attach the `_kyty.txt` zipped?
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-24 21:04 UTC · original

_kyty.zip

**@⁠Crispy81** on GitHub · 2026-11-24 21:04 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7144441636) [_kyty.zip](https://github.com/user-attachments/files/35375805/_kyty.zip)
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-25 20:49 UTC · original

@⁠Crispy81 Thanks, this log names the last shader bound to write those group counts: compute shader 0xc9edae4a111f2db2. Its code writes the X count and the word after Z, but never Y or Z. On runs where a word it reads is 0, it also writes -1 into a second buffer whose address it reads from memory; if that address overlaps the arguments, Y and Z read 0xffffffff as logged.

This build logs that address and the shader's buffer whenever they change (up to 512 lines) and every 4096th run of the shader: KytyPS5-Windows-x64 (window title Fork build Nawid3333/KytyPS5 647048f). Could you play the same part with it and attach the _kyty.txt zipped?

**@⁠Nawid3333** on GitHub · 2026-11-25 20:49 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7174246372) @⁠Crispy81 Thanks, this log names the last shader bound to write those group counts: compute shader `0xc9edae4a111f2db2`. Its code writes the X count and the word after Z, but never Y or Z. On runs where a word it reads is 0, it also writes `-1` into a second buffer whose address it reads from memory; if that address overlaps the arguments, Y and Z read `0xffffffff` as logged. This build logs that address and the shader's buffer whenever they change (up to 512 lines) and every 4096th run of the shader: [KytyPS5-Windows-x64](https://github.com/Nawid3333/KytyPS5/actions/runs/45689107547/artifacts/15059163425) (window title `Fork build Nawid3333/KytyPS5 647048f`). Could you play the same part with it and attach the `_kyty.txt` zipped?
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-25 21:07 UTC · original

_kyty.zip

**@⁠Crispy81** on GitHub · 2026-11-25 21:07 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7174640769) [_kyty.zip](https://github.com/user-attachments/files/35433847/_kyty.zip)
Author
Owner

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

@⁠Crispy81 Thanks, this log rules that out: the second buffer starts right after the buffer that holds the group counts, so its -1 stores never reach them. The counts are the last of the ten 32-byte records 0xc9edae4a111f2db2 writes X into (guest 0x30ae9f0120), and they read 0x400 0xffffffff 0xffffffff both on the GPU and in guest memory.

Next: did the earlier, finished runs of 0x046cdad9eacdb702 read the same Y and Z, and what do the other nine records hold? This build's [DEVLOST] report shows both: KytyPS5-Windows-x64 (window title Fork build Nawid3333/KytyPS5 21d855d). Could you play the same part with it and attach the _kyty.txt zipped?

**@⁠Nawid3333** on GitHub · 2026-11-25 22:37 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7176585131) @⁠Crispy81 Thanks, this log rules that out: the second buffer starts right after the buffer that holds the group counts, so its `-1` stores never reach them. The counts are the last of the ten 32-byte records `0xc9edae4a111f2db2` writes X into (guest `0x30ae9f0120`), and they read `0x400 0xffffffff 0xffffffff` both on the GPU and in guest memory. Next: did the earlier, finished runs of `0x046cdad9eacdb702` read the same Y and Z, and what do the other nine records hold? This build's `[DEVLOST]` report shows both: [KytyPS5-Windows-x64](https://github.com/Nawid3333/KytyPS5/actions/runs/45707145045/artifacts/15066404278) (window title `Fork build Nawid3333/KytyPS5 21d855d`). Could you play the same part with it and attach the `_kyty.txt` zipped?
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-25 22:42 UTC · original

_kyty.zip

**@⁠Crispy81** on GitHub · 2026-11-25 22:42 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7176697567) [_kyty.zip](https://github.com/user-attachments/files/35436180/_kyty.zip)
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-26 19:01 UTC · original

@⁠Crispy81 Thanks. This r9 run had no device loss; it stopped earlier, when a 2 GiB game buffer could not be allocated (vmaCreateBuffer failed: ErrorOutOfDeviceMemory size=0x7fbf8000, streamBuffer.cpp:94) with 9.7 of 16.2 GB of video memory in use. It is the buffer that held the hung dispatch's arguments in r8. On an RX 9070 XT here the driver allocates a buffer of that size even with 9.7 GB already in use, so this depends on the moment, not on a fixed limit.

r10 is r9 plus the retry from the Valhalla build: when a buffer cannot be allocated, textures the current frame does not use are released and the allocation is tried again. run 45874667422 (artifact KytyPS5-Windows-x64, window title ends in 34cf796). Could you play it the same way and attach _kyty.txt?

**@⁠Nawid3333** on GitHub · 2026-11-26 19:01 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7201108934) @⁠Crispy81 Thanks. This r9 run had no device loss; it stopped earlier, when a 2 GiB game buffer could not be allocated (`vmaCreateBuffer failed: ErrorOutOfDeviceMemory size=0x7fbf8000`, `streamBuffer.cpp:94`) with 9.7 of 16.2 GB of video memory in use. It is the buffer that held the hung dispatch's arguments in r8. On an RX 9070 XT here the driver allocates a buffer of that size even with 9.7 GB already in use, so this depends on the moment, not on a fixed limit. r10 is r9 plus the retry from the Valhalla build: when a buffer cannot be allocated, textures the current frame does not use are released and the allocation is tried again. [run 45874667422](https://github.com/Nawid3333/KytyPS5/actions/runs/45874667422/attempts/1) (artifact `KytyPS5-Windows-x64`, window title ends in `34cf796`). Could you play it the same way and attach `_kyty.txt`?
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-26 23:44 UTC · original

_kyty.zip

**@⁠Crispy81** on GitHub · 2026-11-26 23:44 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1215#issuecomment-7205820936) [_kyty.zip](https://github.com/user-attachments/files/35488045/_kyty.zip)
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#1215
No description provided.