[GAME STATUS]: Resident Evil Requiem (Menus) #1929

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

@⁠Crispy81 on GitHub · 2026-10-27 01:44 UTC · original

Game title

Resident Evil Requiem

Game ID / serial

PPSA31246

KytyPS5 version

0.3.0 986721f

Compatibility status

Logo

Last working build / first broken build

No response

Result details

Game boots and makes it to the pre main menu questions, age verification,etc.

Then it crashes with no error message.

Steps to reproduce the result

Open Translator
Boot Game
Answer questions

Expected behavior

Game would render the main menu.

OS

Windows 11 Pro 26H2

CPU

AMD Ryzen 7 7700X

GPU

AMD Radeon 9070XT

RAM / VRAM

32GB DDR5 RAM, 16GB VRAM

Log file upload

_kyty.txt

Screenshots/video

Image Image Image

Extra notes

Default settings.

**@⁠Crispy81** on GitHub · 2026-10-27 01:44 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929) ### Game title Resident Evil Requiem ### Game ID / serial PPSA31246 ### KytyPS5 version 0.3.0 986721f ### Compatibility status Logo ### Last working build / first broken build _No response_ ### Result details Game boots and makes it to the pre main menu questions, age verification,etc. Then it crashes with no error message. ### Steps to reproduce the result Open Translator Boot Game Answer questions ### Expected behavior Game would render the main menu. ### OS Windows 11 Pro 26H2 ### CPU AMD Ryzen 7 7700X ### GPU AMD Radeon 9070XT ### RAM / VRAM 32GB DDR5 RAM, 16GB VRAM ### Log file upload [_kyty.txt](https://github.com/user-attachments/files/33994084/_kyty.txt) ### Screenshots/video <img width="1923" height="1115" alt="Image" src="https://github.com/user-attachments/assets/63539544-3ce4-4a01-91b2-4be4223ced2a" /> <img width="1920" height="1107" alt="Image" src="https://github.com/user-attachments/assets/73ed4564-24b3-4cca-8075-65a5d27b51e5" /> <img width="545" height="461" alt="Image" src="https://github.com/user-attachments/assets/95cc7878-4bfc-4019-8a8f-ac6184b0770e" /> ### Extra notes Default settings.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:09:19 +00:00
Author
Owner

@⁠Nawid3333 on GitHub · 2026-10-27 17:53 UTC · original

@⁠Crispy81 Your log ends in the middle of a shader recompiler line (ShaderRecompiler CS phase end: hash=0xbf3870f00b0a8e75 CF) with no error block, so the emulator stopped while it was translating that compute shader, without reaching its own error handler. On Windows, a stack overflow during shader translation looks like this: shader translation runs on the GPU thread, which gets Windows' default 1 MiB stack. Ghost of Yotei (#1599) stopped the same way and got past it with a build of #1609 (an open PR that gives that thread a larger stack).

Two things would tell whether that is it here:

  1. The exit code, if the launcher or a terminal shows one when the game closes: -1073741571 (0xC00000FD) is a stack overflow. For Ghost of Yotei the terminal printed it and Windows recorded no crash event, so the Event Viewer may show nothing.
  2. A Windows build of today's main with #1609: https://github.com/Nawid3333/KytyPS5/actions/runs/40550422370 (artifact KytyPS5-Windows-x64; downloading it needs a GitHub login). Does RE Requiem get past this point with it?
**@⁠Nawid3333** on GitHub · 2026-10-27 17:53 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-6449564401) @⁠Crispy81 Your log ends in the middle of a shader recompiler line (`ShaderRecompiler CS phase end: hash=0xbf3870f00b0a8e75 CF`) with no error block, so the emulator stopped while it was translating that compute shader, without reaching its own error handler. On Windows, a stack overflow during shader translation looks like this: shader translation runs on the GPU thread, which gets Windows' default 1 MiB stack. Ghost of Yotei (#1599) stopped the same way and got past it with a build of #1609 (an open PR that gives that thread a larger stack). Two things would tell whether that is it here: 1. The exit code, if the launcher or a terminal shows one when the game closes: `-1073741571` (`0xC00000FD`) is a stack overflow. For Ghost of Yotei the terminal printed it and Windows recorded no crash event, so the Event Viewer may show nothing. 2. A Windows build of today's main with #1609: https://github.com/Nawid3333/KytyPS5/actions/runs/40550422370 (artifact `KytyPS5-Windows-x64`; downloading it needs a GitHub login). Does RE Requiem get past this point with it?
Author
Owner

@⁠Crispy81 on GitHub · 2026-10-27 21:32 UTC · original

Tried your fork. Results are that it makes it to the main menu, then after starting new game the opening cutscene starts to play and then device lost error.

Image

vkQueueSubmit failed: ErrorDeviceLost (-4), tick=49856 debug_op=0 debug_submit=5905 args=576,1,1,65,0x0000002106970a00
--- Build ---
Fork build Nawid3333/KytyPS5 7fa8d3a
--- Fatal Error ---
Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\commandScheduler.cpp:385

_kyty.txt

**@⁠Crispy81** on GitHub · 2026-10-27 21:32 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-6454102745) Tried your fork. Results are that it makes it to the main menu, then after starting new game the opening cutscene starts to play and then device lost error. <img width="1920" height="1112" alt="Image" src="https://github.com/user-attachments/assets/b139ea66-5c8c-4554-8ebc-64385b97c8d7" /> vkQueueSubmit failed: ErrorDeviceLost (-4), tick=49856 debug_op=0 debug_submit=5905 args=576,1,1,65,0x0000002106970a00 --- Build --- Fork build Nawid3333/KytyPS5 7fa8d3a --- Fatal Error --- Not implemented (result != vk::Result::eSuccess) in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\commandScheduler.cpp:385 [_kyty.txt](https://github.com/user-attachments/files/34048034/_kyty.txt)
Author
Owner

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

Re tested on build f399d48

Total GPU driver crash:

Shaders: VS 18 | PS 83 | CS 112 | GS 7 | LS 0 | HS 0 | TES 0
--- Build ---
Official build KytyPS5-2026-11-09-f399d48
--- Error ---
vkQueueSubmit failed: ErrorDeviceLost, tick=8329
in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\commandScheduler.cpp:341
--- Build ---
Official build KytyPS5-2026-11-09-f399d48
--- Error ---
vkAcquireNextImageKHR failed: ErrorDeviceLost
in D:\a\KytyPS5\KytyPS5\src\graphics\presentation\window\swapchain.cpp:593

**@⁠Crispy81** on GitHub · 2026-11-09 21:27 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-6751908469) Re tested on build f399d48 Total GPU driver crash: Shaders: VS 18 | PS 83 | CS 112 | GS 7 | LS 0 | HS 0 | TES 0 --- Build --- Official build KytyPS5-2026-11-09-f399d48 --- Error --- vkQueueSubmit failed: ErrorDeviceLost, tick=8329 in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\commandScheduler.cpp:341 --- Build --- Official build KytyPS5-2026-11-09-f399d48 --- Error --- vkAcquireNextImageKHR failed: ErrorDeviceLost in D:\a\KytyPS5\KytyPS5\src\graphics\presentation\window\swapchain.cpp:593
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-09 21:45 UTC · original

@⁠Crispy81 Thanks for retesting. Two things would show whether one of today's changes caused this:

  1. The _kyty.txt of this run. The error line does not say where in the game it stopped: is it the same place where 7fa8d3a stopped (right after New Game), or earlier?
  2. The same steps with the build just before it, KytyPS5-2026-11-09-b30f2d6. f399d48 adds two commits to it: f399d4818 (guest threads run with the console's floating-point settings, my change) and 5b454a61d (keyboard bindings for touch pad swipes). If b30f2d6 gets further, f399d4818 is the cause and I'll look into it.
**@⁠Nawid3333** on GitHub · 2026-11-09 21:45 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-6752286631) @⁠Crispy81 Thanks for retesting. Two things would show whether one of today's changes caused this: 1. The `_kyty.txt` of this run. The error line does not say where in the game it stopped: is it the same place where 7fa8d3a stopped (right after New Game), or earlier? 2. The same steps with the build just before it, [KytyPS5-2026-11-09-b30f2d6](https://github.com/KytyPS5/KytyPS5/releases/tag/KytyPS5-2026-11-09-b30f2d6). f399d48 adds two commits to it: f399d4818 (guest threads run with the console's floating-point settings, my change) and 5b454a61d (keyboard bindings for touch pad swipes). If b30f2d6 gets further, f399d4818 is the cause and I'll look into it.
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-09 21:51 UTC · original

Crashes while trying to load the main menu, by the looks of it.

_kyty.txt

**@⁠Crispy81** on GitHub · 2026-11-09 21:51 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-6752426164) Crashes while trying to load the main menu, by the looks of it. [_kyty.txt](https://github.com/user-attachments/files/34601554/_kyty.txt)
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-09 21:59 UTC · original

Also tested on build b30f2d6, same result and same error.

**@⁠Crispy81** on GitHub · 2026-11-09 21:59 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-6752570652) Also tested on build b30f2d6, same result and same error.
Author
Owner

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

@⁠Crispy81 Thanks, the log and the b30f2d6 run help. Since b30f2d6 fails the same way, the crash already happens without the two commits that f399d48 adds on top of it. With 7fa8d3a the game reached the main menu and lost the device after New Game; with b30f2d6 and f399d48 it loses the device while the main menu loads, so the crash comes earlier now. Your attached log and the error you pasted show different ticks (8105 and 8329) but the same ErrorDeviceLost.

Here are two test builds of today's main (6fd43ac65, which includes f399d48). They are the same except for one commit:

  1. Main: https://github.com/Nawid3333/KytyPS5/actions/runs/42706379190 (window title Fork build Nawid3333/KytyPS5 6fd43ac)
  2. Main + a wave32 pixel shader change: https://github.com/Nawid3333/KytyPS5/actions/runs/42690871472 (window title Fork build Nawid3333/KytyPS5 0e6f64f)

Download KytyPS5-Windows-x64 at the bottom of each page (this needs a GitHub login).

Why build 2: the game compiles some of its pixel shaders for waves of 32 lanes (4 in this log, 18 in your 10-27 log). Your GPU reports a default of 64 lanes (Vulkan subgroup: default=64 min=32 max=64 in your log). On our RX 9070 XT, a test shader of this kind ran in waves of 64 lanes when the pipeline did not ask for a size, and half of its pixels then got a wrong lane index. Asking for 32 fixed the test. Build 2 asks for 32 when the GPU supports it. We don't know yet whether this is what crashes RE Requiem.

Please do the same steps with each build (main menu, then New Game if it gets there), attach the _kyty.txt and say where it stopped.

**@⁠Nawid3333** on GitHub · 2026-11-09 22:17 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-6752941838) @⁠Crispy81 Thanks, the log and the b30f2d6 run help. Since b30f2d6 fails the same way, the crash already happens without the two commits that f399d48 adds on top of it. With 7fa8d3a the game reached the main menu and lost the device after New Game; with b30f2d6 and f399d48 it loses the device while the main menu loads, so the crash comes earlier now. Your attached log and the error you pasted show different ticks (8105 and 8329) but the same `ErrorDeviceLost`. Here are two test builds of today's main (6fd43ac65, which includes f399d48). They are the same except for one commit: 1. Main: https://github.com/Nawid3333/KytyPS5/actions/runs/42706379190 (window title `Fork build Nawid3333/KytyPS5 6fd43ac`) 2. Main + a wave32 pixel shader change: https://github.com/Nawid3333/KytyPS5/actions/runs/42690871472 (window title `Fork build Nawid3333/KytyPS5 0e6f64f`) Download `KytyPS5-Windows-x64` at the bottom of each page (this needs a GitHub login). Why build 2: the game compiles some of its pixel shaders for waves of 32 lanes (4 in this log, 18 in your 10-27 log). Your GPU reports a default of 64 lanes (`Vulkan subgroup: default=64 min=32 max=64` in your log). On our RX 9070 XT, a test shader of this kind ran in waves of 64 lanes when the pipeline did not ask for a size, and half of its pixels then got a wrong lane index. Asking for 32 fixed the test. Build 2 asks for 32 when the GPU supports it. We don't know yet whether this is what crashes RE Requiem. Please do the same steps with each build (main menu, then New Game if it gets there), attach the `_kyty.txt` and say where it stopped.
Author
Owner

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

Fork build Nawid3333/KytyPS5 6fd43ac - same result, same error.

_kyty.txt

Fork build Nawid3333/KytyPS5 0e6f64f - same result, same error.

_kyty.txt

**@⁠Crispy81** on GitHub · 2026-11-09 22:29 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-6753196733) Fork build Nawid3333/KytyPS5 6fd43ac - same result, same error. [_kyty.txt](https://github.com/user-attachments/files/34602653/_kyty.txt) Fork build Nawid3333/KytyPS5 0e6f64f - same result, same error. [_kyty.txt](https://github.com/user-attachments/files/34602759/_kyty.txt)
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-09 23:19 UTC · original · edited 2026-11-09 23:20 UTC

@⁠Crispy81 Thanks, so the wave32 change does not prevent the crash. With 7fa8d3a (main of 10-27 plus a bigger GPU-thread stack) the game reached the main menu and lost the device after New Game; from b30f2d6 on it loses the device already while the main menu loads. These three builds should show which change moved the crash earlier. Please do the same steps with each (main menu, then New Game if it gets there), attach the _kyty.txt and say where it stopped:

  1. Official build KytyPS5-2026-11-09-e129252: https://github.com/KytyPS5/KytyPS5/releases/tag/KytyPS5-2026-11-09-e129252 (the zip is under Assets)
  2. Today's main (6fd43ac) with only 0c2546e85 ("shader: lower whole-wave OR scans to subgroup reductions") reverted: https://github.com/Nawid3333/KytyPS5/actions/runs/42715631705 (window title Fork build Nawid3333/KytyPS5 4a7fc74)
  3. Today's main (6fd43ac) with only b30f2d6c9 ("graphics: draw runs of indirect draws of consecutive records as one multi-draw") reverted: https://github.com/Nawid3333/KytyPS5/actions/runs/42715638075 (window title Fork build Nawid3333/KytyPS5 52d5184)

For 2 and 3, download KytyPS5-Windows-x64 at the bottom of the page.

Why these: shortly before the device is lost, your logs of the newer builds compile two large pixel shaders with subgroup reductions that 7fa8d3a did not emit for the same shaders, and 0c2546e85 is the commit that adds those subgroup reductions. b30f2d6c9 changes how consecutive indirect draws are submitted. e129252 is the last official build before b30f2d6: if it also stops at the main menu, the bug started earlier than b30f2d6.

**@⁠Nawid3333** on GitHub · 2026-11-09 23:19 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-6754118135) · edited 2026-11-09 23:20 UTC @⁠Crispy81 Thanks, so the wave32 change does not prevent the crash. With 7fa8d3a (main of 10-27 plus a bigger GPU-thread stack) the game reached the main menu and lost the device after New Game; from b30f2d6 on it loses the device already while the main menu loads. These three builds should show which change moved the crash earlier. Please do the same steps with each (main menu, then New Game if it gets there), attach the `_kyty.txt` and say where it stopped: 1. Official build KytyPS5-2026-11-09-e129252: https://github.com/KytyPS5/KytyPS5/releases/tag/KytyPS5-2026-11-09-e129252 (the zip is under Assets) 2. Today's main (6fd43ac) with only 0c2546e85 ("shader: lower whole-wave OR scans to subgroup reductions") reverted: https://github.com/Nawid3333/KytyPS5/actions/runs/42715631705 (window title `Fork build Nawid3333/KytyPS5 4a7fc74`) 3. Today's main (6fd43ac) with only b30f2d6c9 ("graphics: draw runs of indirect draws of consecutive records as one multi-draw") reverted: https://github.com/Nawid3333/KytyPS5/actions/runs/42715638075 (window title `Fork build Nawid3333/KytyPS5 52d5184`) For 2 and 3, download `KytyPS5-Windows-x64` at the bottom of the page. Why these: shortly before the device is lost, your logs of the newer builds compile two large pixel shaders with subgroup reductions that 7fa8d3a did not emit for the same shaders, and 0c2546e85 is the commit that adds those subgroup reductions. b30f2d6c9 changes how consecutive indirect draws are submitted. e129252 is the last official build before b30f2d6: if it also stops at the main menu, the bug started earlier than b30f2d6.
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-10 00:01 UTC · original

  1. Crashed; same error.

_kyty.txt

  1. Crashed; same error.

_kyty.txt

  1. Crashed; same error.

_kyty.txt

Think they're all different ticks though, didn't really take notice.

**@⁠Crispy81** on GitHub · 2026-11-10 00:01 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-6754842914) 1. Crashed; same error. [_kyty.txt](https://github.com/user-attachments/files/34604787/_kyty.txt) 2. Crashed; same error. [_kyty.txt](https://github.com/user-attachments/files/34604864/_kyty.txt) 3. Crashed; same error. [_kyty.txt](https://github.com/user-attachments/files/34604954/_kyty.txt) Think they're all different ticks though, didn't really take notice.
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-10 04:18 UTC · original

@⁠Crispy81 Thanks for the three runs. I compared them with all the logs you posted in this thread, and I have to correct my last reading. The tick in the error counts GPU submissions, so a higher tick does not mean the game got further. A better hint is how many shaders the log reports before the error:

  • 7fa8d3a (main of 10-27 plus a bigger GPU-thread stack): 576; the game got past New Game before the device was lost.
  • The 11-09 builds (e129252, f399d48, 6fd43ac, 0e6f64f, 4a7fc74, 52d5184): 220 to 231. You saw f399d48 crash while the main menu loaded, and the same for 6fd43ac and 0e6f64f.

So b30f2d6c9 is not needed for this crash: e129252 (made before it) and 52d5184 (with it reverted) lose the device too, at the same count of 231 as 6fd43ac and 0e6f64f, which contain it. Each count comes from a single run, so a small difference like 220 against 231 may just be chance. The bigger difference is between 7fa8d3a and all the 11-09 builds, so the next place to look is the 236 commits between 7fa8d3a's base (0685bffb2, 10-27) and e129252 (11-09).

These three builds split that range into four equal parts. Each is upstream main of that day plus the same bigger GPU-thread stack as 7fa8d3a, so the stack is not a difference between them:

  1. Main of 10-31 (ec74662): https://github.com/Nawid3333/KytyPS5/actions/runs/42748790101 (window title Fork build Nawid3333/KytyPS5 263f8b8)
  2. Main of 11-03 (5489c84): https://github.com/Nawid3333/KytyPS5/actions/runs/42748797647 (window title Fork build Nawid3333/KytyPS5 f34676e)
  3. Main of 11-06 (7c34acd): https://github.com/Nawid3333/KytyPS5/actions/runs/42752060292 (window title Fork build Nawid3333/KytyPS5 66731a1)

Download KytyPS5-Windows-x64 at the bottom of each page (this needs a GitHub login). Please do the same steps with each (main menu, then New Game if it gets there), attach the _kyty.txt, and say for each whether the main menu appeared and whether the game went on after New Game.

If you still have 7fa8d3a, one more run of it would also help: it shows whether that build gets to New Game every time, which this comparison relies on.

**@⁠Nawid3333** on GitHub · 2026-11-10 04:18 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-6758860188) @⁠Crispy81 Thanks for the three runs. I compared them with all the logs you posted in this thread, and I have to correct my last reading. The tick in the error counts GPU submissions, so a higher tick does not mean the game got further. A better hint is how many shaders the log reports before the error: - 7fa8d3a (main of 10-27 plus a bigger GPU-thread stack): 576; the game got past New Game before the device was lost. - The 11-09 builds (e129252, f399d48, 6fd43ac, 0e6f64f, 4a7fc74, 52d5184): 220 to 231. You saw f399d48 crash while the main menu loaded, and the same for 6fd43ac and 0e6f64f. So b30f2d6c9 is not needed for this crash: e129252 (made before it) and 52d5184 (with it reverted) lose the device too, at the same count of 231 as 6fd43ac and 0e6f64f, which contain it. Each count comes from a single run, so a small difference like 220 against 231 may just be chance. The bigger difference is between 7fa8d3a and all the 11-09 builds, so the next place to look is the 236 commits between 7fa8d3a's base (0685bffb2, 10-27) and e129252 (11-09). These three builds split that range into four equal parts. Each is upstream main of that day plus the same bigger GPU-thread stack as 7fa8d3a, so the stack is not a difference between them: 1. Main of 10-31 (ec74662): https://github.com/Nawid3333/KytyPS5/actions/runs/42748790101 (window title `Fork build Nawid3333/KytyPS5 263f8b8`) 2. Main of 11-03 (5489c84): https://github.com/Nawid3333/KytyPS5/actions/runs/42748797647 (window title `Fork build Nawid3333/KytyPS5 f34676e`) 3. Main of 11-06 (7c34acd): https://github.com/Nawid3333/KytyPS5/actions/runs/42752060292 (window title `Fork build Nawid3333/KytyPS5 66731a1`) Download `KytyPS5-Windows-x64` at the bottom of each page (this needs a GitHub login). Please do the same steps with each (main menu, then New Game if it gets there), attach the `_kyty.txt`, and say for each whether the main menu appeared and whether the game went on after New Game. If you still have 7fa8d3a, one more run of it would also help: it shows whether that build gets to New Game every time, which this comparison relies on.
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-10 05:14 UTC · original

Fork build 263f8b8 apparently contains a virus and/or malware, so didn't test yet.

Image

Fork build f34676e makes it to the main menu. Start a new game and then crashes with devicelost.

_kyty.txt

Fork build 66731a1 Doesn't make it to the main menu, devicelost error.

_kyty.txt

**@⁠Crispy81** on GitHub · 2026-11-10 05:14 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-6759638292) Fork build 263f8b8 apparently contains a virus and/or malware, so didn't test yet. <img width="443" height="69" alt="Image" src="https://github.com/user-attachments/assets/42e0dbe7-67a0-4374-bdfd-a95f3007a783" /> Fork build f34676e makes it to the main menu. Start a new game and then crashes with devicelost. [_kyty.txt](https://github.com/user-attachments/files/34612816/_kyty.txt) Fork build 66731a1 Doesn't make it to the main menu, devicelost error. [_kyty.txt](https://github.com/user-attachments/files/34612924/_kyty.txt)
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-10 17:37 UTC · original

@⁠Crispy81 Thanks, these two logs settle the first step. Shaders reported before the error:

  • f34676e (main of 11-03): 318. As you wrote, it reached the main menu and New Game before the device was lost.
  • 66731a1 (main of 11-06): 231, like e129252, 6fd43ac, 0e6f64f and 52d5184 (the 11-09 builds report 220 to 231), and no main menu.

So the change that stops the game before the main menu is one of the 59 commits between those two (5489c84 to 7c34acd), and 263f8b8 is not needed any more.

About the virus warning on 263f8b8: I downloaded the same KytyPS5-Windows-x64 artifact from that run and scanned it with Windows Defender here; it reports no threats. These builds are unsigned programs fresh from GitHub's build machines, and scanners sometimes flag such files by heuristics (Defender did that today to an emulator build I compiled myself). If your browser blocks one of the new downloads, skip it and tell me which one.

Three builds inside the range. Each is upstream main at that commit plus the same bigger GPU-thread stack as before:

  1. c174ade (commit 28 of the 59): https://github.com/Nawid3333/KytyPS5/actions/runs/42860612899 (window title Fork build Nawid3333/KytyPS5 bdc15dc)
  2. 953c488 (commit 51): https://github.com/Nawid3333/KytyPS5/actions/runs/42860620469 (window title Fork build Nawid3333/KytyPS5 67f56ad)
  3. a0268f1 (commit 57): https://github.com/Nawid3333/KytyPS5/actions/runs/42860627645 (window title Fork build Nawid3333/KytyPS5 17353f8)

They are not evenly spaced on purpose: the last commits of the range change how textures and null images are set up for shaders, and the same shaders come out slightly larger in the 66731a1 log than in the f34676e log, so that end is the more likely one.

Download KytyPS5-Windows-x64 at the bottom of each page. Same steps as before with each (wait for the main menu, then New Game if it gets there). Please attach the _kyty.txt and say for each whether the main menu appeared.

**@⁠Nawid3333** on GitHub · 2026-11-10 17:37 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-6774562924) @⁠Crispy81 Thanks, these two logs settle the first step. Shaders reported before the error: - f34676e (main of 11-03): 318. As you wrote, it reached the main menu and New Game before the device was lost. - 66731a1 (main of 11-06): 231, like e129252, 6fd43ac, 0e6f64f and 52d5184 (the 11-09 builds report 220 to 231), and no main menu. So the change that stops the game before the main menu is one of the 59 commits between those two (5489c84 to 7c34acd), and 263f8b8 is not needed any more. About the virus warning on 263f8b8: I downloaded the same `KytyPS5-Windows-x64` artifact from that run and scanned it with Windows Defender here; it reports no threats. These builds are unsigned programs fresh from GitHub's build machines, and scanners sometimes flag such files by heuristics (Defender did that today to an emulator build I compiled myself). If your browser blocks one of the new downloads, skip it and tell me which one. Three builds inside the range. Each is upstream main at that commit plus the same bigger GPU-thread stack as before: 1. c174ade (commit 28 of the 59): https://github.com/Nawid3333/KytyPS5/actions/runs/42860612899 (window title `Fork build Nawid3333/KytyPS5 bdc15dc`) 2. 953c488 (commit 51): https://github.com/Nawid3333/KytyPS5/actions/runs/42860620469 (window title `Fork build Nawid3333/KytyPS5 67f56ad`) 3. a0268f1 (commit 57): https://github.com/Nawid3333/KytyPS5/actions/runs/42860627645 (window title `Fork build Nawid3333/KytyPS5 17353f8`) They are not evenly spaced on purpose: the last commits of the range change how textures and null images are set up for shaders, and the same shaders come out slightly larger in the 66731a1 log than in the f34676e log, so that end is the more likely one. Download `KytyPS5-Windows-x64` at the bottom of each page. Same steps as before with each (wait for the main menu, then New Game if it gets there). Please attach the `_kyty.txt` and say for each whether the main menu appeared.
Author
Owner

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

Fork 1 - failed to reach main menu; device lost.

_kyty.txt

Fork 2 - Failed to reach main menu; device lost.

_kyty.txt

Fork 3 - Failed to reach main menu; device lost.

_kyty.txt

**@⁠Crispy81** on GitHub · 2026-11-10 21:51 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-6780218514) Fork 1 - failed to reach main menu; device lost. [_kyty.txt](https://github.com/user-attachments/files/34652587/_kyty.txt) Fork 2 - Failed to reach main menu; device lost. [_kyty.txt](https://github.com/user-attachments/files/34652691/_kyty.txt) Fork 3 - Failed to reach main menu; device lost. [_kyty.txt](https://github.com/user-attachments/files/34652774/_kyty.txt)
Author
Owner

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

@⁠Crispy81 Thanks, that halves it. All three logs report 231 shaders before vkQueueSubmit failed: ErrorDeviceLost (bdc15dc, 67f56ad, 17353f8), the same count as most other builds that do not reach the main menu (two of the 11-09 logs report 220); f34676e reported 318. So the change is already in c174ade, and it is one of the first 28 commits of the range (5489c84 to c174ade). My guess about the last commits was wrong.

One more thing the logs show: the 231 shaders of the bdc15dc log are the first 231 of the f34676e log, in the same order, with the same hashes and sizes. So up to that point these 28 commits did not change which shaders are built or how large they are, and the difference is most likely in what the emulator does at run time. Commit 28 itself (c174ade, "renderer: back global load base pages before compute dispatches") is such a change, so please try this build first:

  1. 65fd1f6 (commit 27 of the 28, the one right before c174ade): https://github.com/Nawid3333/KytyPS5/actions/runs/42911296254 (window title Fork build Nawid3333/KytyPS5 c62fb11)

If it reaches the main menu, commit 28 is the one and the builds below are not needed. If it fails like the others, these three split the rest:

  1. 6d38913 (commit 5): https://github.com/Nawid3333/KytyPS5/actions/runs/42909487637 (window title Fork build Nawid3333/KytyPS5 f7d15d9)
  2. 5e23613 (commit 10): https://github.com/Nawid3333/KytyPS5/actions/runs/42909499610 (window title Fork build Nawid3333/KytyPS5 07090a1)
  3. 6832e5b (commit 14): https://github.com/Nawid3333/KytyPS5/actions/runs/42909510905 (window title Fork build Nawid3333/KytyPS5 444fc08)

Each is upstream main at that commit plus the bigger GPU-thread stack, as before (build 1 also has the one added include it needs to compile). Nine of the first ten commits of the range remove checks and traces from the renderer, the texture cache, video out and the shader code (the tenth only changes tests), and commit 13 changes how lookup data is bound for indirect samplers; that is why builds 2 to 4 sit in the first half. If build 2 already fails, builds 3 and 4 are not needed.

Download KytyPS5-Windows-x64 at the bottom of each page. Same steps as before (wait for the main menu, then New Game if it gets there), and please attach the _kyty.txt of each build you try and say whether the main menu appeared.

**@⁠Nawid3333** on GitHub · 2026-11-10 22:36 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-6781183839) @⁠Crispy81 Thanks, that halves it. All three logs report 231 shaders before `vkQueueSubmit failed: ErrorDeviceLost` (bdc15dc, 67f56ad, 17353f8), the same count as most other builds that do not reach the main menu (two of the 11-09 logs report 220); f34676e reported 318. So the change is already in c174ade, and it is one of the first 28 commits of the range (5489c84 to c174ade). My guess about the last commits was wrong. One more thing the logs show: the 231 shaders of the bdc15dc log are the first 231 of the f34676e log, in the same order, with the same hashes and sizes. So up to that point these 28 commits did not change which shaders are built or how large they are, and the difference is most likely in what the emulator does at run time. Commit 28 itself (c174ade, "renderer: back global load base pages before compute dispatches") is such a change, so please try this build first: 1. 65fd1f6 (commit 27 of the 28, the one right before c174ade): https://github.com/Nawid3333/KytyPS5/actions/runs/42911296254 (window title `Fork build Nawid3333/KytyPS5 c62fb11`) If it reaches the main menu, commit 28 is the one and the builds below are not needed. If it fails like the others, these three split the rest: 2. 6d38913 (commit 5): https://github.com/Nawid3333/KytyPS5/actions/runs/42909487637 (window title `Fork build Nawid3333/KytyPS5 f7d15d9`) 3. 5e23613 (commit 10): https://github.com/Nawid3333/KytyPS5/actions/runs/42909499610 (window title `Fork build Nawid3333/KytyPS5 07090a1`) 4. 6832e5b (commit 14): https://github.com/Nawid3333/KytyPS5/actions/runs/42909510905 (window title `Fork build Nawid3333/KytyPS5 444fc08`) Each is upstream main at that commit plus the bigger GPU-thread stack, as before (build 1 also has the one added include it needs to compile). Nine of the first ten commits of the range remove checks and traces from the renderer, the texture cache, video out and the shader code (the tenth only changes tests), and commit 13 changes how lookup data is bound for indirect samplers; that is why builds 2 to 4 sit in the first half. If build 2 already fails, builds 3 and 4 are not needed. Download `KytyPS5-Windows-x64` at the bottom of each page. Same steps as before (wait for the main menu, then New Game if it gets there), and please attach the `_kyty.txt` of each build you try and say whether the main menu appeared.
Author
Owner

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

Fork 1 makes it to the main menu and can start new game, then device lost after that while loading.

_kyty.txt

**@⁠Crispy81** on GitHub · 2026-11-11 00:09 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-6782882883) Fork 1 makes it to the main menu and can start new game, then device lost after that while loading. [_kyty.txt](https://github.com/user-attachments/files/34658737/_kyty.txt)
Author
Owner

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

@⁠Crispy81 Thanks, that settles the bisect. The 65fd1f6 build reaches the main menu and its log has the same 318 shaders as the f34676e one, so the change that stops the menu is c174ade ("renderer: back global load base pages before compute dispatches"). That code is unchanged on current main.

What the two logs show at the point where the c174ade build stops: the emulator prints Accessed non-GPU cached memory at ... for every page a shader read before the page had a host buffer (such a read returns zero, in BVH shaders all ones, and the page gets its buffer afterwards). In the 65fd1f6 log there are 38 of these lines before that point, all at 0xec09.., 0xec0a.. and 0xec0d..; in the bdc15dc (c174ade) log there are none, because the commit gives those pages a buffer before the dispatch. Then, right after VS 0191b448fc066e89 is compiled, 65fd1f6 prints 21 lines (four pages from 0xec0d6e0000 to 0xec0d6f8000 and 17 between 0x1d005e4000 and 0x1d007e0000), compiles 14 more programs, prints 14 more lines and goes on like that in further rounds. bdc15dc prints 14 lines there, all between 0x1d005e8000 and 0x1d007e0000, 8 of them pages that 65fd1f6 only reaches one to four rounds later, compiles the same 14 programs and then loses the device. So with the commit the shaders read real data from the 0xec.. pages at once and go on into pages of the 0x1d00.. range that still read zero, earlier than they do without it. The logs do not show what then loses the device.

Four builds for that, all on current main (7d4e0d9) plus the bigger GPU-thread stack. Each of them asks the driver what happened when the device is lost (VK_EXT_device_fault) and prints lines starting with [lab-fault]: the address the GPU faulted on and the emulator buffer it lies in. Please try them in this order:

  1. Report: https://github.com/Nawid3333/KytyPS5/actions/runs/42939766663 (window title Fork build Nawid3333/KytyPS5 8e41321). Current main with only the added log lines. It should lose the device like before; its [lab-fault] lines are what I need most.
  2. Wide backing: https://github.com/Nawid3333/KytyPS5/actions/runs/42942851049 (window title Fork build Nawid3333/KytyPS5 af15b69). As build 1, and when a shader has read a page without a buffer, the emulator gives buffers to all mapped memory in the 32 MiB block around that page instead of to that page alone, so the data behind it is there for the next dispatch. This is the fix candidate. If it reaches the main menu, builds 3 and 4 are not needed.
  3. Guard + ones: https://github.com/Nawid3333/KytyPS5/actions/runs/42942480472 (window title Fork build Nawid3333/KytyPS5 d7afe71). As build 1, with two changes: a shader's address is looked up in the page table only when it lies inside guest memory (on main the table index has no bound), and a read from a page without a buffer returns all ones instead of zero in every shader (main does this only in BVH shaders, because list walks do not end on zero entries).
  4. No backing: https://github.com/Nawid3333/KytyPS5/actions/runs/42939777651 (window title Fork build Nawid3333/KytyPS5 9c06525). Current main with the commit's backing switched off; this one should reach the main menu like 65fd1f6.

Each build also prints lines starting with [lab-bases] (the shader, the base address and which of its three pages had a buffer), and build 2 prints [lab-wide] lines. Download KytyPS5-Windows-x64 at the bottom of each page, same steps as before, and please attach the _kyty.txt of each build you try and say whether the main menu appeared.

The device loss while loading after New Game in the 65fd1f6 build is a later stop; I will look at it in that log once the menu works on main again.

**@⁠Nawid3333** on GitHub · 2026-11-11 02:29 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-6785228856) @⁠Crispy81 Thanks, that settles the bisect. The 65fd1f6 build reaches the main menu and its log has the same 318 shaders as the f34676e one, so the change that stops the menu is c174ade ("renderer: back global load base pages before compute dispatches"). That code is unchanged on current main. What the two logs show at the point where the c174ade build stops: the emulator prints `Accessed non-GPU cached memory at ...` for every page a shader read before the page had a host buffer (such a read returns zero, in BVH shaders all ones, and the page gets its buffer afterwards). In the 65fd1f6 log there are 38 of these lines before that point, all at `0xec09..`, `0xec0a..` and `0xec0d..`; in the bdc15dc (c174ade) log there are none, because the commit gives those pages a buffer before the dispatch. Then, right after VS `0191b448fc066e89` is compiled, 65fd1f6 prints 21 lines (four pages from `0xec0d6e0000` to `0xec0d6f8000` and 17 between `0x1d005e4000` and `0x1d007e0000`), compiles 14 more programs, prints 14 more lines and goes on like that in further rounds. bdc15dc prints 14 lines there, all between `0x1d005e8000` and `0x1d007e0000`, 8 of them pages that 65fd1f6 only reaches one to four rounds later, compiles the same 14 programs and then loses the device. So with the commit the shaders read real data from the `0xec..` pages at once and go on into pages of the `0x1d00..` range that still read zero, earlier than they do without it. The logs do not show what then loses the device. Four builds for that, all on current main (7d4e0d9) plus the bigger GPU-thread stack. Each of them asks the driver what happened when the device is lost (VK_EXT_device_fault) and prints lines starting with `[lab-fault]`: the address the GPU faulted on and the emulator buffer it lies in. Please try them in this order: 1. Report: https://github.com/Nawid3333/KytyPS5/actions/runs/42939766663 (window title `Fork build Nawid3333/KytyPS5 8e41321`). Current main with only the added log lines. It should lose the device like before; its `[lab-fault]` lines are what I need most. 2. Wide backing: https://github.com/Nawid3333/KytyPS5/actions/runs/42942851049 (window title `Fork build Nawid3333/KytyPS5 af15b69`). As build 1, and when a shader has read a page without a buffer, the emulator gives buffers to all mapped memory in the 32 MiB block around that page instead of to that page alone, so the data behind it is there for the next dispatch. This is the fix candidate. If it reaches the main menu, builds 3 and 4 are not needed. 3. Guard + ones: https://github.com/Nawid3333/KytyPS5/actions/runs/42942480472 (window title `Fork build Nawid3333/KytyPS5 d7afe71`). As build 1, with two changes: a shader's address is looked up in the page table only when it lies inside guest memory (on main the table index has no bound), and a read from a page without a buffer returns all ones instead of zero in every shader (main does this only in BVH shaders, because list walks do not end on zero entries). 4. No backing: https://github.com/Nawid3333/KytyPS5/actions/runs/42939777651 (window title `Fork build Nawid3333/KytyPS5 9c06525`). Current main with the commit's backing switched off; this one should reach the main menu like 65fd1f6. Each build also prints lines starting with `[lab-bases]` (the shader, the base address and which of its three pages had a buffer), and build 2 prints `[lab-wide]` lines. Download `KytyPS5-Windows-x64` at the bottom of each page, same steps as before, and please attach the `_kyty.txt` of each build you try and say whether the main menu appeared. The device loss while loading after New Game in the 65fd1f6 build is a later stop; I will look at it in that log once the menu works on main again.
Author
Owner

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

Fork 1 - failed to load main menu, device lost.
_kyty.txt

Fork 2 - Failed to load main menu; device lost.
_kyty.txt

Fork 3 - Failed to load main menu; device lost.
_kyty.txt

Fork 4 - Failed to load main menu; device lost.
_kyty.txt

**@⁠Crispy81** on GitHub · 2026-11-11 03:43 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-6786363746) Fork 1 - failed to load main menu, device lost. [_kyty.txt](https://github.com/user-attachments/files/34668846/_kyty.txt) Fork 2 - Failed to load main menu; device lost. [_kyty.txt](https://github.com/user-attachments/files/34668909/_kyty.txt) Fork 3 - Failed to load main menu; device lost. [_kyty.txt](https://github.com/user-attachments/files/34669008/_kyty.txt) Fork 4 - Failed to load main menu; device lost. [_kyty.txt](https://github.com/user-attachments/files/34669073/_kyty.txt)
Author
Owner

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

@⁠Crispy81 Thanks for running all four. All of them stop at the same place as before (231 shaders compiled), so neither the wide backing nor the two changes of build 3 is the fix, and switching the commit's backing off (build 4) does not bring the menu back the way 65fd1f6 does.

What the four logs add:

  • The driver names no address. Every log has [lab-fault] device lost; status=0 addresses=0 vendor_infos=0 and the description Device lost detected, so VK_EXT_device_fault is enabled and the GPU did not stop on an address the driver could report.
  • In all four logs, and in the bdc15dc log from the bisect, the last line the renderer prints is the compile of PS 0x3a48231e1461e757. After it there are only controller and mouse lines (plus three Equeue wait lines in the d7afe71 and bdc15dc logs) until vkQueueSubmit returns the lost device. In the 65fd1f6 log the same compile is followed by more Accessed non-GPU cached memory lines and the run goes on.
  • Build 2 gave buffers to 16.3 MiB of mapped memory at 0x1d00000000 (its [lab-wide] lines) and lost the device all the same, so pages without a buffer are not what stops it.

No fault address and a renderer that goes quiet before the loss fit a draw or a compute dispatch that does not finish better than a bad address, but the logs cannot say which one. One build for that:

https://github.com/Nawid3333/KytyPS5/actions/runs/43014836754 (window title Fork build Nawid3333/KytyPS5 3224005). It is build 1 moved to today's main (bc934ef). Since build 1, main changed how shaders look up guest memory pages and when written pages are uploaded again (0ec2cd5, b510053), so this build may already behave differently. On top of that it keeps a record of each draw and each compute dispatch the game sends (shader hashes and counts). Where the driver has VK_AMD_buffer_marker (the start of the log says [lab-work] VK_AMD_buffer_marker: enabled or not available), the GPU also writes a mark before and after each of them. When the device is lost, the build prints lines starting with [lab-work]: the draws and dispatches the GPU had not finished.

Download KytyPS5-Windows-x64 at the bottom of the page, same steps as before. Please say whether the main menu appears, and attach its _kyty.txt either way.

**@⁠Nawid3333** on GitHub · 2026-11-11 13:48 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-6797564689) @⁠Crispy81 Thanks for running all four. All of them stop at the same place as before (231 shaders compiled), so neither the wide backing nor the two changes of build 3 is the fix, and switching the commit's backing off (build 4) does not bring the menu back the way 65fd1f6 does. What the four logs add: - The driver names no address. Every log has `[lab-fault] device lost; status=0 addresses=0 vendor_infos=0` and the description `Device lost detected`, so VK_EXT_device_fault is enabled and the GPU did not stop on an address the driver could report. - In all four logs, and in the bdc15dc log from the bisect, the last line the renderer prints is the compile of PS `0x3a48231e1461e757`. After it there are only controller and mouse lines (plus three `Equeue wait` lines in the d7afe71 and bdc15dc logs) until `vkQueueSubmit` returns the lost device. In the 65fd1f6 log the same compile is followed by more `Accessed non-GPU cached memory` lines and the run goes on. - Build 2 gave buffers to 16.3 MiB of mapped memory at `0x1d00000000` (its `[lab-wide]` lines) and lost the device all the same, so pages without a buffer are not what stops it. No fault address and a renderer that goes quiet before the loss fit a draw or a compute dispatch that does not finish better than a bad address, but the logs cannot say which one. One build for that: https://github.com/Nawid3333/KytyPS5/actions/runs/43014836754 (window title `Fork build Nawid3333/KytyPS5 3224005`). It is build 1 moved to today's main (bc934ef). Since build 1, main changed how shaders look up guest memory pages and when written pages are uploaded again (0ec2cd5, b510053), so this build may already behave differently. On top of that it keeps a record of each draw and each compute dispatch the game sends (shader hashes and counts). Where the driver has VK_AMD_buffer_marker (the start of the log says `[lab-work] VK_AMD_buffer_marker: enabled` or `not available`), the GPU also writes a mark before and after each of them. When the device is lost, the build prints lines starting with `[lab-work]`: the draws and dispatches the GPU had not finished. Download `KytyPS5-Windows-x64` at the bottom of the page, same steps as before. Please say whether the main menu appears, and attach its `_kyty.txt` either way.
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-19 15:02 UTC · original

Main menu appears in this fork

image

Starting new game then causes lost device.

Shaders: VS 22 | PS 126 | CS 141 | GS 22 | LS 0 | HS 0 | TES 0
Vulkan pipeline cache: saved 5.64 MB to _PipelineCache\PPSA31246.bin
--- Build ---
Fork build Nawid3333/KytyPS5 3224005
--- Error ---
vkQueueSubmit failed: ErrorDeviceLost, tick=76482
in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\commandScheduler.cpp:344

_kyty.zip

**@⁠Crispy81** on GitHub · 2026-11-19 15:02 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-7012897064) Main menu appears in this fork <img width="1922" height="1113" alt="image" src="https://github.com/user-attachments/assets/b2739f92-ebde-4141-b754-727b3dd3780f" /> Starting new game then causes lost device. Shaders: VS 22 | PS 126 | CS 141 | GS 22 | LS 0 | HS 0 | TES 0 Vulkan pipeline cache: saved 5.64 MB to _PipelineCache\PPSA31246.bin --- Build --- Fork build Nawid3333/KytyPS5 3224005 --- Error --- vkQueueSubmit failed: ErrorDeviceLost, tick=76482 in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\commandScheduler.cpp:344 [_kyty.zip](https://github.com/user-attachments/files/35093770/_kyty.zip)
Author
Owner

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

@⁠Crispy81 Thanks, the main menu with this build is new: every build of the last round lost the device before the menu.

For the loss after starting a new game, the build's report names the work the GPU did not finish:

[lab-work] id=972183 kind=D tick=76477 state=done marker=ended hashes=0xf23db5abda1d5408,0x0dcde952329c979f args=0,0,2 age_ms=20029
[lab-work] id=972184 kind=D tick=76477 state=done marker=begun hashes=0xf23db5abda1d5408,0xc932a6d991d896a3 args=0,0,2 age_ms=20029

The GPU started draw 972184 (vertex shader 0xf23db5abda1d5408, pixel shader 0xc932a6d991d896a3) and never reached its end mark, and it is the only started draw or dispatch without one (state=done does not mean finished here: the report's semaphore line shows known_tick=18446744073709551615, so every submission counts as done; the marks are what the GPU wrote). The draw before it uses the same vertex shader with another pixel shader and finished. Both are indirect draws (args=...,2): the game writes their vertex and instance counts into GPU memory, so the log has no counts. The driver again reports no fault address.

So either the pixel shader never finishes (0xc932a6d991d896a3 has a loop, and a loop whose exit condition never becomes true hangs the draw like this), or the draw's counts in memory are far too large. The shader is what I can check without the game: could you zip and attach _PipelineCache\PPSA31246.shaders from this run? With it I can run that pixel shader outside the game and see what its loop waits for.

**@⁠Nawid3333** on GitHub · 2026-11-19 15:35 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-7013797885) @⁠Crispy81 Thanks, the main menu with this build is new: every build of the last round lost the device before the menu. For the loss after starting a new game, the build's report names the work the GPU did not finish: ``` [lab-work] id=972183 kind=D tick=76477 state=done marker=ended hashes=0xf23db5abda1d5408,0x0dcde952329c979f args=0,0,2 age_ms=20029 [lab-work] id=972184 kind=D tick=76477 state=done marker=begun hashes=0xf23db5abda1d5408,0xc932a6d991d896a3 args=0,0,2 age_ms=20029 ``` The GPU started draw 972184 (vertex shader `0xf23db5abda1d5408`, pixel shader `0xc932a6d991d896a3`) and never reached its end mark, and it is the only started draw or dispatch without one (`state=done` does not mean finished here: the report's semaphore line shows `known_tick=18446744073709551615`, so every submission counts as done; the marks are what the GPU wrote). The draw before it uses the same vertex shader with another pixel shader and finished. Both are indirect draws (`args=...,2`): the game writes their vertex and instance counts into GPU memory, so the log has no counts. The driver again reports no fault address. So either the pixel shader never finishes (`0xc932a6d991d896a3` has a loop, and a loop whose exit condition never becomes true hangs the draw like this), or the draw's counts in memory are far too large. The shader is what I can check without the game: could you zip and attach `_PipelineCache\PPSA31246.shaders` from this run? With it I can run that pixel shader outside the game and see what its loop waits for.
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-19 20:27 UTC · original · edited 2026-11-21 00:26 UTC

PPSA31246.zip

@⁠Nawid3333 - have you examined the zip file?

**@⁠Crispy81** on GitHub · 2026-11-19 20:27 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-7021301834) · edited 2026-11-21 00:26 UTC [PPSA31246.zip](https://github.com/user-attachments/files/35108727/PPSA31246.zip) @⁠Nawid3333 - have you examined the zip file?
Author
Owner

@⁠taklaciwiz-maker on GitHub · 2026-11-21 21:07 UTC · original

In game on main 39936ff + one fix. Notes on the remaining problems.

Hardware: RTX 5070 (driver 621.24), Ryzen 5 7600X, Windows 11.

Device lost after "New Game": cause found

The loss after "New Game" is a GPU hang in a work-queue compute shader (0x9f2abc22a7d31401, and in other
runs 0x845c937f706651ae / 0xf6a62fe6cb77cd95):

  • Its queue buffer is reset each frame by a small fill dispatch.
  • Kyty dropped that fill as an "HTile clear", because the memory had been the HTile of a depth image that
    was still cached.
  • The queue then started with garbage counters and never finished.

Details and the fix are in PR #2502. With it the game plays without the hang: 5–12 FPS, several
sessions, the longest about 11 minutes.

Settings needed for a correct image

Both are Kyty.ini keys:

  • native_rt=true: without it, wet ground and roads render as flat white. With hardware ray queries,
    the reflections are drawn correctly. The software ray-query path seems to return wrong results here.
  • sync_raw_image_buffers=true: without it, wet-surface reflections show green, blue and pink blocks.
    • In RenderDoc the blocks come from a reflection cube (256×256×6, 5 mips, B10G11R11) full of garbage.
    • The garbage words decode as GPU machine code (0xbf8cc07f), so the memory once held shader code.
    • The game renders the cube faces as a colour target at 0x2273800000. A compute shader then copies
      that memory as a raw buffer into the cube at 0x221a800000.
    • Without the setting, the raw read loads stale guest memory instead of the rendered image.
    • With the setting, the blocks are gone.

Still broken

  1. Missing geometry (flat white rectangles on walls and sidewalks).
    • RenderDoc: no draw covers those pixels at all, not even a rejected one. Depth stays at the clear
      value.
    • I added a temporary dump of all mesh shader output triangles for one frame and compared it with a
      screenshot. The white areas have no triangles; neighbouring geometry is there.
    • So the geometry is lost before the mesh draws, in the game's GPU-driven object/cluster selection, or
      in the compute rasterizer for small triangles.
    • Ruled out: occlusion queries (Kyty writes "always visible"), tessellation (the game issues no patch
      draws), HiZ (built after culling) and the mesh null-primitive bit.
  2. Black patches.
    • Geometry and depth are correct, but the material-resolve draw writes albedo (0,0,0,1): the texture
      reads zero. Probably streaming (AMPR / PRT remaps).
    • I tried invalidating the caches in RenderContext::MapMemory. That made the black patches worse
      (textures refreshed to zero before data arrived), so I reverted it.
  3. Textures popping in and out in many places.
  4. Crash after ~11 minutes, in audio.
    • The log ends with Unhandled host exception type=1 code=0xC0000005 ... access=1(write) address=0x400 (runtimeLinker.cpp:693).
    • The thread is Wwise's AK::EventManager, in code that converts 16-bit PCM to float
      (vpmovsxwd / vcvtdq2ps / vmulps), with r9 = 0x400.
    • AJM decode batches are logged just before. Audio also crackles at times, so I suspect AJM decoding.
  5. tessellation_enabled=true makes it worse (characters missing, black silhouettes), although the game
    issues no patch draws. I left it off and did not look further.
  6. Performance. About 560 ms/s "CPU waiting on GPU", from the same synchronous buffer readbacks as
    GTA V (see my comment in #2277).

I can share RenderDoc captures (6–7 GB each), the mesh dump tool or the logs if that helps.

**@⁠taklaciwiz-maker** on GitHub · 2026-11-21 21:07 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-7069257419) **In game on main 39936ff + one fix. Notes on the remaining problems.** Hardware: RTX 5070 (driver 621.24), Ryzen 5 7600X, Windows 11. ## Device lost after "New Game": cause found The loss after "New Game" is a GPU hang in a work-queue compute shader (`0x9f2abc22a7d31401`, and in other runs `0x845c937f706651ae` / `0xf6a62fe6cb77cd95`): - Its queue buffer is reset each frame by a small fill dispatch. - Kyty dropped that fill as an "HTile clear", because the memory had been the HTile of a depth image that was still cached. - The queue then started with garbage counters and never finished. Details and the fix are in PR #2502. With it the game plays without the hang: 5–12 FPS, several sessions, the longest about 11 minutes. ## Settings needed for a correct image Both are `Kyty.ini` keys: - **`native_rt=true`**: without it, wet ground and roads render as flat white. With hardware ray queries, the reflections are drawn correctly. The software ray-query path seems to return wrong results here. - **`sync_raw_image_buffers=true`**: without it, wet-surface reflections show green, blue and pink blocks. - In RenderDoc the blocks come from a reflection cube (256×256×6, 5 mips, B10G11R11) full of garbage. - The garbage words decode as GPU machine code (`0xbf8cc07f`), so the memory once held shader code. - The game renders the cube faces as a colour target at `0x2273800000`. A compute shader then copies that memory as a **raw buffer** into the cube at `0x221a800000`. - Without the setting, the raw read loads stale guest memory instead of the rendered image. - With the setting, the blocks are gone. ## Still broken 1. **Missing geometry (flat white rectangles on walls and sidewalks).** - RenderDoc: no draw covers those pixels at all, not even a rejected one. Depth stays at the clear value. - I added a temporary dump of all mesh shader output triangles for one frame and compared it with a screenshot. The white areas have **no triangles**; neighbouring geometry is there. - So the geometry is lost before the mesh draws, in the game's GPU-driven object/cluster selection, or in the compute rasterizer for small triangles. - Ruled out: occlusion queries (Kyty writes "always visible"), tessellation (the game issues no patch draws), HiZ (built after culling) and the mesh null-primitive bit. 2. **Black patches.** - Geometry and depth are correct, but the material-resolve draw writes albedo (0,0,0,1): the texture reads zero. Probably streaming (AMPR / PRT remaps). - I tried invalidating the caches in `RenderContext::MapMemory`. That made the black patches **worse** (textures refreshed to zero before data arrived), so I reverted it. 3. **Textures popping in and out** in many places. 4. **Crash after ~11 minutes, in audio.** - The log ends with `Unhandled host exception type=1 code=0xC0000005 ... access=1(write) address=0x400` (`runtimeLinker.cpp:693`). - The thread is Wwise's `AK::EventManager`, in code that converts 16-bit PCM to float (`vpmovsxwd` / `vcvtdq2ps` / `vmulps`), with `r9 = 0x400`. - AJM decode batches are logged just before. Audio also crackles at times, so I suspect AJM decoding. 5. **`tessellation_enabled=true` makes it worse** (characters missing, black silhouettes), although the game issues no patch draws. I left it off and did not look further. 6. **Performance.** About 560 ms/s "CPU waiting on GPU", from the same synchronous buffer readbacks as GTA V (see my comment in #2277). I can share RenderDoc captures (6–7 GB each), the mesh dump tool or the logs if that helps.
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-25 03:14 UTC · original

Re-tested on build 3057d08

Shaders: VS 19 | PS 91 | CS 93 | GS 7 | LS 0 | HS 0 | TES 0
--- Build ---
Official build KytyPS5-2026-11-25-3057d08
--- Error ---
vkQueueSubmit failed: ErrorDeviceLost, tick=50728
in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\commandScheduler.cpp:339

_kyty.zip

**@⁠Crispy81** on GitHub · 2026-11-25 03:14 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-7151732884) Re-tested on build 3057d08 Shaders: VS 19 | PS 91 | CS 93 | GS 7 | LS 0 | HS 0 | TES 0 --- Build --- Official build KytyPS5-2026-11-25-3057d08 --- Error --- vkQueueSubmit failed: ErrorDeviceLost, tick=50728 in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\commandScheduler.cpp:339 [_kyty.zip](https://github.com/user-attachments/files/35391230/_kyty.zip)
Author
Owner

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

@⁠Crispy81 Yes, thanks. The store has the pixel shader the 3224005 log names as never finished (0xc932a6d991d896a3). Its only loop takes one lane per pass and clears every lane with the same value; if the driver leaves helper lanes out of that vote, which I have seen on RDNA4 in a test, such a lane is never cleared and the loop never ends. Likely, not proven yet. taklaciwiz-maker found a hang after New Game in Kyty's HTile clear handling (on an RTX 5070) and fixes it in #2502, which is not in 3057d08. Your 3057d08 run lost the device after 210 shader compiles (last: CS 0x33ac19ab49c1546b); official builds have no draw marks, so the log cannot name the draw. Did the main menu appear in that run?

**@⁠Nawid3333** on GitHub · 2026-11-26 21:19 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-7203608681) @⁠Crispy81 Yes, thanks. The store has the pixel shader the 3224005 log names as never finished (`0xc932a6d991d896a3`). Its only loop takes one lane per pass and clears every lane with the same value; if the driver leaves helper lanes out of that vote, which I have seen on RDNA4 in a test, such a lane is never cleared and the loop never ends. Likely, not proven yet. taklaciwiz-maker found a hang after New Game in Kyty's HTile clear handling (on an RTX 5070) and fixes it in #2502, which is not in 3057d08. Your 3057d08 run lost the device after 210 shader compiles (last: CS `0x33ac19ab49c1546b`); official builds have no draw marks, so the log cannot name the draw. Did the main menu appear in that run?
Author
Owner

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

No, it did not.

Re tested on build 61db2f8. Device lost before main menu.

_kyty.zip

**@⁠Crispy81** on GitHub · 2026-11-26 23:52 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1929#issuecomment-7205952959) No, it did not. Re tested on build 61db2f8. Device lost before main menu. [_kyty.zip](https://github.com/user-attachments/files/35488203/_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#1929
No description provided.