[GAME STATUS]: ASTRO BOT - crashes when loading levels #745

Open
opened 2026-11-26 09:31:21 +00:00 by github-bot · 9 comments
Owner

@⁠justhere4thecake on GitHub · 2026-09-21 03:02 UTC · original

Game title

ASTRO BOT

Game ID / serial

PPSA21564

KytyPS5 version

2026-09-20-ba55ba5

Compatibility status

In game

Last working build / first broken build

2026-09-19-f100f78 (likely earlier as well)

Result details

Without any patches, the game will hang due to unimplemented MIMP instructions (see #281 and #657 among other tickets).

However, there is a patch floating around to get around said unimplemented instructions:

{
    "id": "PPSA21564",
    "name": "ASTRO BOT: non RT patch",
    "version": "01.007.000",
    "process": "eboot.bin",
    "source_sha256": "70d673f7c43edb189461a60f076e15baa73f9a82a579603e44372ae5b7225d3d",
    "mods": [
        {
            "name": "Select the existing non-tiled deferred-lighting renderer",
            "enabled": true,
            "memory": [
                {
                    "offset": "0x73eb993",
                    "off": "4584f60f84ed0800004531f64c8d3dea78a40141b430",
                    "on": "4584f6e9ee080000904531f64c8d3dea78a40141b430"
                }
            ]
        },
        {
            "name": "Disable GI probes and lighting shaders",
            "enabled": true,
            "memory": [
                {
                    "offset": "0x711d0b3",
                    "off": "0fb682800700008887e4050000",
                    "on": "b80000000090908887e4050000"
                }
            ]
        }
    ]
}

With this patch, the game manages to boot, play the intro FMV, get to the file select menu to start a new game, plays the in-engine intro cutscenes, and finally reaches gameplay in the intro level. Granted, performance is rather sluggish on my decent-but-not-quite-high-end hardware (ranging anywhere from 1 to 16 frames per second in-engine, and topping out around 40 when simply rendering FMVs), but the bulk of the game's code appears to be largely working.

However, once you get to the level select hub, attempting to select the first level (Sky Garden) will result in one of three things happening, seemingly at random:

  • The game crashes with an Unhandled host exception as soon as the controller begins to "rev up" to transition into the loading screen. This happens roughly around compiled shader 120 when using the reproduction steps below on an existing save.
  • The game gets past that first crash, and then softlocks in the loading screen tunnel. The game is technically still controllable in this state, but it will never progress. (Tested by leaving it run for well over ten minutes, far longer than real hardware would take to load this level and confirming via Task Manager that no data is being read off of my SSD)
  • The game gets past both of these and manages to start the level proper. So far I have only managed this on the specific commit ba55ba5 , but I might have just be getting unlucky on previous versions of KytyPS5.

Steps to reproduce the result

  1. Start ASTRO BOT with KytyPS5. In my case, since Windows Defender kept flagging the launcher as malware (which I'd rather not take a chance on despite double-checking the source code to be sure it's a false positive), I was using the command line in Windows: kyty_emulator.exe --game "G:\KytyPS5\Games\PPSA21564\eboot.bin" --game-patch "G:\KytyPS5\_Patches\PPSA21564.json"
  2. Either start a new save or load up a save if one is present. In this test case, I had a save already present with 0 Bots collected and nothing but the intro level completed.
  3. Once the hub loads, select the first galaxy (Gorilla Nebula).
  4. Go to the first level, Sky Garden, and then hold X for a few seconds to start it.
  5. Observe results. If you're using the command line, you can also monitor the shaders being compiled as a way of monitoring progress.

Expected behavior

After an animation of the controller twisting and flying into the level, a loading screen "tunnel" should appear for about 5 seconds, before transitioning to a white screen, and then the level itself starts. There should also be plenty of shaders compiled during this time and hard drive activity since the game is loading data.

OS

Windows 10 Pro 22H2

CPU

AMD Ryzen 5 3600X 6-Core

GPU

NVIDIA GeForce RTX 3060 Ti

RAM / VRAM

32 GB DDR4 RAM / 8 GB VRAM

Log file upload

[NOTE: This log comes directly from a console window rather than a file as I wasn't sure how to get KytyPS5 to produce said log file from command line.]

Initialized: Config
Initialized: Log
Initialized: Timer
Initialized: Pthread
Initialized: Profiler
Initialized: Network
Initialized: Memory
Initialized: FileSystem
Initialized: Controller
Initialized: Audio
Vulkan pipeline cache: initializing _PipelineCache\PPSA21564.bin
Vulkan pipeline cache: initialized empty
Initialized: Graphics
Title ID: PPSA21564
Game cheat: matched eboot.bin with source base 0x0
Successfully applied cheat: Select the existing non-tiled deferred-lighting renderer
Successfully applied cheat: Disable GI probes and lighting shaders
version = 13
Shaders: VS 0 | PS 0 | CS 1 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 0 | PS 0 | CS 2 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 0 | PS 1 | CS 2 | GS 0 | LS 0 | HS 0 | TES 0
Shader: emitted zero-position clip guard
Shaders: VS 1 | PS 1 | CS 2 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 1 | CS 3 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 1 | CS 4 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 1 | CS 5 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 1 | CS 6 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 1 | CS 7 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 1 | CS 8 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 1 | CS 9 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 1 | CS 10 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 1 | CS 11 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 1 | CS 12 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 1 | PS 1 | CS 13 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 2 | PS 1 | CS 13 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 2 | PS 1 | CS 14 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 2 | PS 1 | CS 15 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 2 | PS 2 | CS 15 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 3 | PS 2 | CS 15 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 3 | PS 3 | CS 15 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 4 | PS 3 | CS 15 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 4 | PS 4 | CS 15 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 5 | PS 4 | CS 15 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 5 | PS 4 | CS 16 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 5 | PS 5 | CS 16 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 6 | PS 5 | CS 16 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 6 | PS 6 | CS 16 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 6 | PS 6 | CS 16 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 6 | PS 7 | CS 16 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 7 | PS 7 | CS 16 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 7 | PS 8 | CS 16 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 8 | PS 8 | CS 16 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 8 | PS 9 | CS 16 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 9 | PS 9 | CS 16 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 9 | PS 9 | CS 17 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 9 | PS 10 | CS 17 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 10 | PS 10 | CS 17 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 10 | PS 11 | CS 17 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 10 | PS 12 | CS 17 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 10 | PS 13 | CS 17 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 10 | PS 14 | CS 17 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 11 | PS 14 | CS 17 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 11 | PS 15 | CS 17 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 12 | PS 15 | CS 17 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 12 | PS 15 | CS 18 | GS 1 | LS 0 | HS 0 | TES 0
AvPlayer video started playing
Shaders: VS 12 | PS 15 | CS 19 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 12 | PS 16 | CS 19 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 13 | PS 16 | CS 19 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 13 | PS 16 | CS 20 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 13 | PS 16 | CS 21 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 13 | PS 17 | CS 21 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 14 | PS 17 | CS 21 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 14 | PS 17 | CS 22 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 14 | PS 17 | CS 23 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 14 | PS 17 | CS 24 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 14 | PS 17 | CS 25 | GS 1 | LS 0 | HS 0 | TES 0
Warning: game uses occlusion queries, which are currently treated as always visible; GPU usage may be higher and FPS may be lower.
Shaders: VS 14 | PS 18 | CS 25 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 15 | PS 18 | CS 25 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 15 | PS 19 | CS 25 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 15 | PS 19 | CS 26 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 15 | PS 19 | CS 27 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 15 | PS 19 | CS 28 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 15 | PS 19 | CS 29 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 15 | PS 19 | CS 30 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 15 | PS 19 | CS 31 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 15 | PS 19 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 15 | PS 20 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 16 | PS 20 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 16 | PS 21 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 17 | PS 21 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0
AvPlayer video stopped
Shaders: VS 17 | PS 22 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 18 | PS 22 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 19 | PS 22 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 19 | PS 23 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 20 | PS 23 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 21 | PS 23 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 21 | PS 24 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 22 | PS 24 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 22 | PS 24 | CS 33 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 23 | PS 24 | CS 33 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 23 | PS 25 | CS 33 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 23 | PS 26 | CS 33 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 24 | PS 26 | CS 33 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 24 | PS 26 | CS 34 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 24 | PS 26 | CS 35 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 24 | PS 27 | CS 35 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 25 | PS 27 | CS 35 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 25 | PS 28 | CS 35 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 26 | PS 28 | CS 35 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 26 | PS 29 | CS 35 | GS 1 | LS 0 | HS 0 | TES 0
Shaders: VS 26 | PS 29 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0
Shaders: VS 26 | PS 30 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0
Shaders: VS 27 | PS 30 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0
Shaders: VS 27 | PS 31 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0
Shaders: VS 27 | PS 32 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0
Shaders: VS 27 | PS 33 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0
Shaders: VS 28 | PS 33 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0
Shaders: VS 28 | PS 34 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0
Shaders: VS 29 | PS 34 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0
Shaders: VS 30 | PS 34 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0
Shaders: VS 30 | PS 35 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0
Shaders: VS 31 | PS 35 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0
Shaders: VS 31 | PS 36 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0
Shaders: VS 31 | PS 37 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0
Shaders: VS 31 | PS 37 | CS 35 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 31 | PS 38 | CS 35 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 31 | PS 39 | CS 35 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 32 | PS 39 | CS 35 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 32 | PS 39 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 32 | PS 40 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 33 | PS 40 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 33 | PS 41 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 34 | PS 41 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 34 | PS 42 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 35 | PS 42 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 35 | PS 43 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 36 | PS 43 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 36 | PS 44 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 37 | PS 44 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 37 | PS 45 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 38 | PS 45 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 39 | PS 45 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 40 | PS 45 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 40 | PS 46 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 41 | PS 46 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 42 | PS 46 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 42 | PS 47 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 43 | PS 47 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 43 | PS 48 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 44 | PS 48 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 45 | PS 48 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 45 | PS 49 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 46 | PS 49 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 47 | PS 49 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 47 | PS 50 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 47 | PS 51 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 48 | PS 51 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 48 | PS 52 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 49 | PS 52 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 50 | PS 52 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 50 | PS 53 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 50 | PS 54 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 51 | PS 54 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 51 | PS 55 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 52 | PS 55 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 52 | PS 56 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 52 | PS 57 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 52 | PS 58 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 52 | PS 59 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 52 | PS 60 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 52 | PS 60 | CS 37 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 52 | PS 60 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 53 | PS 60 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 53 | PS 61 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 54 | PS 61 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 55 | PS 61 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 56 | PS 61 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 56 | PS 62 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 57 | PS 62 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 57 | PS 63 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 57 | PS 64 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 57 | PS 65 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 57 | PS 66 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 58 | PS 66 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 59 | PS 66 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 60 | PS 66 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 60 | PS 67 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 61 | PS 67 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 61 | PS 68 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 61 | PS 69 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 62 | PS 69 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 62 | PS 70 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 63 | PS 70 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 64 | PS 70 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 64 | PS 70 | CS 39 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 64 | PS 70 | CS 40 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 64 | PS 70 | CS 41 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 64 | PS 70 | CS 42 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 64 | PS 71 | CS 42 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 65 | PS 71 | CS 42 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 66 | PS 71 | CS 42 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 67 | PS 71 | CS 42 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 67 | PS 72 | CS 42 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 68 | PS 72 | CS 42 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 68 | PS 73 | CS 42 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 69 | PS 73 | CS 42 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 69 | PS 73 | CS 43 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 69 | PS 73 | CS 44 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 69 | PS 73 | CS 45 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 69 | PS 73 | CS 46 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 69 | PS 73 | CS 47 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 69 | PS 74 | CS 47 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 70 | PS 74 | CS 47 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 70 | PS 74 | CS 48 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 70 | PS 74 | CS 49 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 70 | PS 74 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 70 | PS 75 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 71 | PS 75 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 71 | PS 76 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 72 | PS 76 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 72 | PS 77 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 73 | PS 77 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 74 | PS 77 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 74 | PS 78 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 75 | PS 78 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 76 | PS 78 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 76 | PS 79 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 77 | PS 79 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 78 | PS 79 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 78 | PS 80 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 79 | PS 80 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 79 | PS 81 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 80 | PS 81 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 80 | PS 82 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 81 | PS 82 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 82 | PS 82 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 82 | PS 83 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 83 | PS 83 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 84 | PS 83 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 85 | PS 83 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 85 | PS 84 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 86 | PS 84 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 86 | PS 85 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 87 | PS 85 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 87 | PS 86 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 88 | PS 86 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 88 | PS 87 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 89 | PS 87 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 89 | PS 88 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 89 | PS 89 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 90 | PS 89 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 91 | PS 89 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 91 | PS 90 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 92 | PS 90 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 93 | PS 90 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 93 | PS 91 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 94 | PS 91 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 94 | PS 92 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 95 | PS 92 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 96 | PS 92 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 97 | PS 92 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 97 | PS 93 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 98 | PS 93 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 98 | PS 94 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 99 | PS 94 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 100 | PS 94 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 100 | PS 95 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 101 | PS 95 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 101 | PS 96 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 102 | PS 96 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 102 | PS 97 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 103 | PS 97 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 103 | PS 98 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 104 | PS 98 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 104 | PS 99 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 105 | PS 99 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 105 | PS 100 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 106 | PS 100 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 107 | PS 100 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 108 | PS 100 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 109 | PS 100 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 110 | PS 100 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 110 | PS 101 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 111 | PS 101 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 112 | PS 101 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 112 | PS 102 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 113 | PS 102 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 113 | PS 103 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 114 | PS 103 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 114 | PS 104 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 115 | PS 104 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 116 | PS 104 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 117 | PS 104 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 118 | PS 104 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 119 | PS 104 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 120 | PS 104 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 120 | PS 105 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0
Shaders: VS 120 | PS 105 | CS 50 | GS 4 | LS 0 | HS 0 | TES 0
--- Guest fault context ---
thread: RoomLoad_ATQT
rax=0000000000000000 rbx=00000003083b7c40 rcx=0000000000000000 rdx=00000003242931d0
rsi=00000003083b73a0 rdi=000000030228bb60 rbp=0000000324293050 rsp=0000000324292bc0
r8 =00000003242931d0 r9 =0000000324293150 r10=fffffffffffffff1 r11=fffffffffffffff0
r12=0000000000000000 r13=000000033ae0a360 r14=0000000000000000 r15=00000003083b73a0
code (pc-48 .. pc+48, fault at byte 48):
 48 83 7a 10 00 74 1e 48 8b 95 08 fc ff ff 83 7a
 20 00 7e 11 48 8b 95 08 fc ff ff 80 7a 26 00 0f
 84 c6 24 00 00 48 8b 9d 80 fc ff ff 48 8b 43 08
 0f b7 48 28 66 41 89 4d 5a 8b b3 d0 02 00 00 85
 f6 7e 33 48 8b bd 70 fc ff ff ba 10 00 00 00 48
 8b 07 ff 50 10 49 89 85 e8 01 00 00 48 89 c7 48
stack:
  000000032083c418 0000000000000000 0000000000000000 000000105e09a800
  0000000324293150 0000000324290000 0000000000000000 0000000000000000
  0000000000000000 0000000000000000 0000000000000000 0000000000000000
  000000ffbb91ce40 0000000324292cd0 00000000662beba0 0000000000000001
  fffffffffffffffe 0000000300000020 0000000300000398 00000003242931d0
  0000000000000000 000000033ae09e20 000000033ae09e10 000000033ae09e20
  0000000324292cf0 0000000140b5ef23 0000000300000398 0000000080020016
  0000000000000040 fffffffffffffffe 0000000000000000 000000091000a6f3
--- Build ---
Official build KytyPS5-2026-09-20-ba55ba5
--- Error ---
Unhandled host exception: type=1 code=3221225477 pc=0x000000090705147f access=1 address=0x0000000000000028
 in D:\a\KytyPS5\KytyPS5\src\loader\runtimeLinker.cpp:843

Screenshots/video

This frame is one of the last things the game renders before crash scenario no. 1 described above:
Image

This is what crash scenario no. 2 looks like:
Image

Extra notes

From my experimenting, it seems that clearing the _PipelineCache and _TempData folders makes loading levels slightly more likely to load properly, though by no means a guarantee. I suspect there's most likely a race condition somewhere.

I have also, on rare occasions, seen a similar crash for this function that's ran when simply loading the hub world, and may be caused by the same underlying issue:

thread: ProductNextLoad_ATQT
**@⁠justhere4thecake** on GitHub · 2026-09-21 03:02 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/745) ### Game title ASTRO BOT ### Game ID / serial PPSA21564 ### KytyPS5 version 2026-09-20-ba55ba5 ### Compatibility status In game ### Last working build / first broken build 2026-09-19-f100f78 (likely earlier as well) ### Result details Without any patches, the game will hang due to unimplemented MIMP instructions (see #281 and #657 among other tickets). However, there is a patch floating around to get around said unimplemented instructions: ```json { "id": "PPSA21564", "name": "ASTRO BOT: non RT patch", "version": "01.007.000", "process": "eboot.bin", "source_sha256": "70d673f7c43edb189461a60f076e15baa73f9a82a579603e44372ae5b7225d3d", "mods": [ { "name": "Select the existing non-tiled deferred-lighting renderer", "enabled": true, "memory": [ { "offset": "0x73eb993", "off": "4584f60f84ed0800004531f64c8d3dea78a40141b430", "on": "4584f6e9ee080000904531f64c8d3dea78a40141b430" } ] }, { "name": "Disable GI probes and lighting shaders", "enabled": true, "memory": [ { "offset": "0x711d0b3", "off": "0fb682800700008887e4050000", "on": "b80000000090908887e4050000" } ] } ] } ``` With this patch, the game manages to boot, play the intro FMV, get to the file select menu to start a new game, plays the in-engine intro cutscenes, and finally reaches gameplay in the intro level. Granted, performance is rather sluggish on my decent-but-not-quite-high-end hardware (ranging anywhere from 1 to 16 frames per second in-engine, and topping out around 40 when simply rendering FMVs), but the bulk of the game's code appears to be largely working. However, once you get to the level select hub, attempting to select the first level (Sky Garden) will result in one of three things happening, seemingly at random: - The game crashes with an `Unhandled host exception` as soon as the controller begins to "rev up" to transition into the loading screen. This happens roughly around compiled shader 120 when using the reproduction steps below on an existing save. - The game gets past that first crash, and then softlocks in the loading screen tunnel. The game is technically still controllable in this state, but it will never progress. (Tested by leaving it run for well over ten minutes, far longer than real hardware would take to load this level and confirming via Task Manager that no data is being read off of my SSD) - The game gets past both of these and manages to start the level proper. So far I have only managed this on the specific commit ba55ba5 , but I might have just be getting unlucky on previous versions of KytyPS5. ### Steps to reproduce the result 1. Start ASTRO BOT with KytyPS5. In my case, since Windows Defender kept flagging the launcher as malware (which I'd rather not take a chance on despite double-checking the source code to be sure it's a false positive), I was using the command line in Windows: `kyty_emulator.exe --game "G:\KytyPS5\Games\PPSA21564\eboot.bin" --game-patch "G:\KytyPS5\_Patches\PPSA21564.json"` 2. Either start a new save or load up a save if one is present. In this test case, I had a save already present with 0 Bots collected and nothing but the intro level completed. 3. Once the hub loads, select the first galaxy (Gorilla Nebula). 4. Go to the first level, Sky Garden, and then hold X for a few seconds to start it. 5. Observe results. If you're using the command line, you can also monitor the shaders being compiled as a way of monitoring progress. ### Expected behavior After an animation of the controller twisting and flying into the level, a loading screen "tunnel" should appear for about 5 seconds, before transitioning to a white screen, and then the level itself starts. There should also be plenty of shaders compiled during this time and hard drive activity since the game is loading data. ### OS Windows 10 Pro 22H2 ### CPU AMD Ryzen 5 3600X 6-Core ### GPU NVIDIA GeForce RTX 3060 Ti ### RAM / VRAM 32 GB DDR4 RAM / 8 GB VRAM ### Log file upload _[NOTE: This log comes directly from a console window rather than a file as I wasn't sure how to get KytyPS5 to produce said log file from command line.]_ ``` Initialized: Config Initialized: Log Initialized: Timer Initialized: Pthread Initialized: Profiler Initialized: Network Initialized: Memory Initialized: FileSystem Initialized: Controller Initialized: Audio Vulkan pipeline cache: initializing _PipelineCache\PPSA21564.bin Vulkan pipeline cache: initialized empty Initialized: Graphics Title ID: PPSA21564 Game cheat: matched eboot.bin with source base 0x0 Successfully applied cheat: Select the existing non-tiled deferred-lighting renderer Successfully applied cheat: Disable GI probes and lighting shaders version = 13 Shaders: VS 0 | PS 0 | CS 1 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 0 | PS 0 | CS 2 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 0 | PS 1 | CS 2 | GS 0 | LS 0 | HS 0 | TES 0 Shader: emitted zero-position clip guard Shaders: VS 1 | PS 1 | CS 2 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 1 | CS 3 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 1 | CS 4 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 1 | CS 5 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 1 | CS 6 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 1 | CS 7 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 1 | CS 8 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 1 | CS 9 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 1 | CS 10 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 1 | CS 11 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 1 | CS 12 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 1 | PS 1 | CS 13 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 2 | PS 1 | CS 13 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 2 | PS 1 | CS 14 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 2 | PS 1 | CS 15 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 2 | PS 2 | CS 15 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 3 | PS 2 | CS 15 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 3 | PS 3 | CS 15 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 4 | PS 3 | CS 15 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 4 | PS 4 | CS 15 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 5 | PS 4 | CS 15 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 5 | PS 4 | CS 16 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 5 | PS 5 | CS 16 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 6 | PS 5 | CS 16 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 6 | PS 6 | CS 16 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 6 | PS 6 | CS 16 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 6 | PS 7 | CS 16 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 7 | PS 7 | CS 16 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 7 | PS 8 | CS 16 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 8 | PS 8 | CS 16 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 8 | PS 9 | CS 16 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 9 | PS 9 | CS 16 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 9 | PS 9 | CS 17 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 9 | PS 10 | CS 17 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 10 | PS 10 | CS 17 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 10 | PS 11 | CS 17 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 10 | PS 12 | CS 17 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 10 | PS 13 | CS 17 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 10 | PS 14 | CS 17 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 11 | PS 14 | CS 17 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 11 | PS 15 | CS 17 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 12 | PS 15 | CS 17 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 12 | PS 15 | CS 18 | GS 1 | LS 0 | HS 0 | TES 0 AvPlayer video started playing Shaders: VS 12 | PS 15 | CS 19 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 12 | PS 16 | CS 19 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 13 | PS 16 | CS 19 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 13 | PS 16 | CS 20 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 13 | PS 16 | CS 21 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 13 | PS 17 | CS 21 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 14 | PS 17 | CS 21 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 14 | PS 17 | CS 22 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 14 | PS 17 | CS 23 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 14 | PS 17 | CS 24 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 14 | PS 17 | CS 25 | GS 1 | LS 0 | HS 0 | TES 0 Warning: game uses occlusion queries, which are currently treated as always visible; GPU usage may be higher and FPS may be lower. Shaders: VS 14 | PS 18 | CS 25 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 15 | PS 18 | CS 25 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 15 | PS 19 | CS 25 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 15 | PS 19 | CS 26 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 15 | PS 19 | CS 27 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 15 | PS 19 | CS 28 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 15 | PS 19 | CS 29 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 15 | PS 19 | CS 30 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 15 | PS 19 | CS 31 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 15 | PS 19 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 15 | PS 20 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 16 | PS 20 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 16 | PS 21 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 17 | PS 21 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0 AvPlayer video stopped Shaders: VS 17 | PS 22 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 18 | PS 22 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 19 | PS 22 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 19 | PS 23 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 20 | PS 23 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 21 | PS 23 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 21 | PS 24 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 22 | PS 24 | CS 32 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 22 | PS 24 | CS 33 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 23 | PS 24 | CS 33 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 23 | PS 25 | CS 33 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 23 | PS 26 | CS 33 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 24 | PS 26 | CS 33 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 24 | PS 26 | CS 34 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 24 | PS 26 | CS 35 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 24 | PS 27 | CS 35 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 25 | PS 27 | CS 35 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 25 | PS 28 | CS 35 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 26 | PS 28 | CS 35 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 26 | PS 29 | CS 35 | GS 1 | LS 0 | HS 0 | TES 0 Shaders: VS 26 | PS 29 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0 Shaders: VS 26 | PS 30 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0 Shaders: VS 27 | PS 30 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0 Shaders: VS 27 | PS 31 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0 Shaders: VS 27 | PS 32 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0 Shaders: VS 27 | PS 33 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0 Shaders: VS 28 | PS 33 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0 Shaders: VS 28 | PS 34 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0 Shaders: VS 29 | PS 34 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0 Shaders: VS 30 | PS 34 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0 Shaders: VS 30 | PS 35 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0 Shaders: VS 31 | PS 35 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0 Shaders: VS 31 | PS 36 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0 Shaders: VS 31 | PS 37 | CS 35 | GS 2 | LS 0 | HS 0 | TES 0 Shaders: VS 31 | PS 37 | CS 35 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 31 | PS 38 | CS 35 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 31 | PS 39 | CS 35 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 32 | PS 39 | CS 35 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 32 | PS 39 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 32 | PS 40 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 33 | PS 40 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 33 | PS 41 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 34 | PS 41 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 34 | PS 42 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 35 | PS 42 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 35 | PS 43 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 36 | PS 43 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 36 | PS 44 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 37 | PS 44 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 37 | PS 45 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 38 | PS 45 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 39 | PS 45 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 40 | PS 45 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 40 | PS 46 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 41 | PS 46 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 42 | PS 46 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 42 | PS 47 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 43 | PS 47 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 43 | PS 48 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 44 | PS 48 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 45 | PS 48 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 45 | PS 49 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 46 | PS 49 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 47 | PS 49 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 47 | PS 50 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 47 | PS 51 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 48 | PS 51 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 48 | PS 52 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 49 | PS 52 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 50 | PS 52 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 50 | PS 53 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 50 | PS 54 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 51 | PS 54 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 51 | PS 55 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 52 | PS 55 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 52 | PS 56 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 52 | PS 57 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 52 | PS 58 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 52 | PS 59 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 52 | PS 60 | CS 36 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 52 | PS 60 | CS 37 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 52 | PS 60 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 53 | PS 60 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 53 | PS 61 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 54 | PS 61 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 55 | PS 61 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 56 | PS 61 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 56 | PS 62 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 57 | PS 62 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 57 | PS 63 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 57 | PS 64 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 57 | PS 65 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 57 | PS 66 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 58 | PS 66 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 59 | PS 66 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 60 | PS 66 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 60 | PS 67 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 61 | PS 67 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 61 | PS 68 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 61 | PS 69 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 62 | PS 69 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 62 | PS 70 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 63 | PS 70 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 64 | PS 70 | CS 38 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 64 | PS 70 | CS 39 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 64 | PS 70 | CS 40 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 64 | PS 70 | CS 41 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 64 | PS 70 | CS 42 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 64 | PS 71 | CS 42 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 65 | PS 71 | CS 42 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 66 | PS 71 | CS 42 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 67 | PS 71 | CS 42 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 67 | PS 72 | CS 42 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 68 | PS 72 | CS 42 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 68 | PS 73 | CS 42 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 69 | PS 73 | CS 42 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 69 | PS 73 | CS 43 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 69 | PS 73 | CS 44 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 69 | PS 73 | CS 45 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 69 | PS 73 | CS 46 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 69 | PS 73 | CS 47 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 69 | PS 74 | CS 47 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 70 | PS 74 | CS 47 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 70 | PS 74 | CS 48 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 70 | PS 74 | CS 49 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 70 | PS 74 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 70 | PS 75 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 71 | PS 75 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 71 | PS 76 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 72 | PS 76 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 72 | PS 77 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 73 | PS 77 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 74 | PS 77 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 74 | PS 78 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 75 | PS 78 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 76 | PS 78 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 76 | PS 79 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 77 | PS 79 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 78 | PS 79 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 78 | PS 80 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 79 | PS 80 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 79 | PS 81 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 80 | PS 81 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 80 | PS 82 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 81 | PS 82 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 82 | PS 82 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 82 | PS 83 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 83 | PS 83 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 84 | PS 83 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 85 | PS 83 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 85 | PS 84 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 86 | PS 84 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 86 | PS 85 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 87 | PS 85 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 87 | PS 86 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 88 | PS 86 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 88 | PS 87 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 89 | PS 87 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 89 | PS 88 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 89 | PS 89 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 90 | PS 89 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 91 | PS 89 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 91 | PS 90 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 92 | PS 90 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 93 | PS 90 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 93 | PS 91 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 94 | PS 91 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 94 | PS 92 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 95 | PS 92 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 96 | PS 92 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 97 | PS 92 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 97 | PS 93 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 98 | PS 93 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 98 | PS 94 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 99 | PS 94 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 100 | PS 94 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 100 | PS 95 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 101 | PS 95 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 101 | PS 96 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 102 | PS 96 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 102 | PS 97 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 103 | PS 97 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 103 | PS 98 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 104 | PS 98 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 104 | PS 99 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 105 | PS 99 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 105 | PS 100 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 106 | PS 100 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 107 | PS 100 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 108 | PS 100 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 109 | PS 100 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 110 | PS 100 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 110 | PS 101 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 111 | PS 101 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 112 | PS 101 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 112 | PS 102 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 113 | PS 102 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 113 | PS 103 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 114 | PS 103 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 114 | PS 104 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 115 | PS 104 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 116 | PS 104 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 117 | PS 104 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 118 | PS 104 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 119 | PS 104 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 120 | PS 104 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 120 | PS 105 | CS 50 | GS 3 | LS 0 | HS 0 | TES 0 Shaders: VS 120 | PS 105 | CS 50 | GS 4 | LS 0 | HS 0 | TES 0 --- Guest fault context --- thread: RoomLoad_ATQT rax=0000000000000000 rbx=00000003083b7c40 rcx=0000000000000000 rdx=00000003242931d0 rsi=00000003083b73a0 rdi=000000030228bb60 rbp=0000000324293050 rsp=0000000324292bc0 r8 =00000003242931d0 r9 =0000000324293150 r10=fffffffffffffff1 r11=fffffffffffffff0 r12=0000000000000000 r13=000000033ae0a360 r14=0000000000000000 r15=00000003083b73a0 code (pc-48 .. pc+48, fault at byte 48): 48 83 7a 10 00 74 1e 48 8b 95 08 fc ff ff 83 7a 20 00 7e 11 48 8b 95 08 fc ff ff 80 7a 26 00 0f 84 c6 24 00 00 48 8b 9d 80 fc ff ff 48 8b 43 08 0f b7 48 28 66 41 89 4d 5a 8b b3 d0 02 00 00 85 f6 7e 33 48 8b bd 70 fc ff ff ba 10 00 00 00 48 8b 07 ff 50 10 49 89 85 e8 01 00 00 48 89 c7 48 stack: 000000032083c418 0000000000000000 0000000000000000 000000105e09a800 0000000324293150 0000000324290000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 000000ffbb91ce40 0000000324292cd0 00000000662beba0 0000000000000001 fffffffffffffffe 0000000300000020 0000000300000398 00000003242931d0 0000000000000000 000000033ae09e20 000000033ae09e10 000000033ae09e20 0000000324292cf0 0000000140b5ef23 0000000300000398 0000000080020016 0000000000000040 fffffffffffffffe 0000000000000000 000000091000a6f3 --- Build --- Official build KytyPS5-2026-09-20-ba55ba5 --- Error --- Unhandled host exception: type=1 code=3221225477 pc=0x000000090705147f access=1 address=0x0000000000000028 in D:\a\KytyPS5\KytyPS5\src\loader\runtimeLinker.cpp:843 ``` ### Screenshots/video This frame is one of the last things the game renders before crash scenario no. 1 described above: <img width="1920" height="1080" alt="Image" src="https://github.com/user-attachments/assets/ffad12a7-c5a2-4e49-96a7-40b3aacb0b3d" /> This is what crash scenario no. 2 looks like: <img width="1920" height="1080" alt="Image" src="https://github.com/user-attachments/assets/52564cd0-4adb-4244-a117-aa99e5c21e33" /> ### Extra notes From my experimenting, it seems that clearing the `_PipelineCache` and `_TempData` folders makes loading levels *slightly* more likely to load properly, though by no means a guarantee. I suspect there's most likely a race condition somewhere. I have also, on rare occasions, seen a similar crash for this function that's ran when simply loading the hub world, and may be caused by the same underlying issue: ``` thread: ProductNextLoad_ATQT ```
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:31:22 +00:00
Author
Owner

@⁠Rombond on GitHub · 2026-10-02 17:18 UTC · original · edited 2026-10-02 17:23 UTC

Same softlock in the loading tunnel on Linux (PPSA21567, v01.018)

Hitting what looks like the same hang described here: after "Dive in" from the hub, the game keeps running and accepts controller input, but the level never loads.

Setup

  • OS: Arch-based (Omarchy), Linux 7.2
  • CPU/RAM: 20 threads, 32 GB
  • GPU: RTX 4070 Ti SUPER (16 GB), NVIDIA 610.57.04 (open kernel modules)
  • KytyPS5: AUR kytyps5-nightly-bin 2026.10.01.4479808
  • Game: ASTRO BOT PPSA21567, v01.018
  • Patch: the community PPSA21567.json with both mods enabled (non-tiled deferred lighting + GI probes off), confirmed passed via --game-patch. Without it, all textures are black.
  • Shader validation on, 2560x1440, Mailbox

What I tried

  • Cleared _PipelineCache and _TempData, then relaunched. Same result.
  • Waited several minutes. The game never leaves the loading tunnel.

What the log shows (--printf-direction File, ~190 MB)

  • No crash, no error/exception/device lost/MIMP lines. The emulator keeps presenting frames.
  • Last shader compile: an MS stage, hash 0xb6dbdd5904905160, ~220k SPIR-V words (line ~3.57M).
  • Last game file access: /app0/data/prein/levels/ui_blueprint/... (line ~3.78M). After that, no new shaders and no file reads for the remaining ~880k lines.
  • Afterwards the log is only PthreadCondWait and GPU EOP queue waits, including repeated Equeue wait timedout: Gpu::EopEqCompute, so it looks like a compute submission that never signals completion.

This matches the "softlock in loading tunnel" case here and the unimplemented instructions discussed in #281 and #657. Note that this issue is filed against PPSA21564; mine is PPSA21567. Happy to test a build or provide the full log (zipped) if useful.


Update: retested on the newer nightly, same behavior

Updated to kytyps5-nightly-bin 2026.10.02.e317465-1 and retried, with both mods enabled and _PipelineCache/_TempData cleared first. The hang is identical: the level never loads and the game stays in the loading tunnel.

Log from this run (~179 MB):

  • No error/exception/MIMP/device lost lines.
  • Last shader compile is again the same MS stage, hash 0xb6dbdd5904905160 (219485 SPIR-V words this time, vs 220431 on the previous build).
  • Last game file access is again /app0/data/prein/levels/ui_blueprint/cinematics (line ~3.82M of ~4.26M). The last ~440k lines are idle waits only.
  • Equeue wait timedout: Gpu::EopEqCompute repeats (1323 times after the last file access). Earlier timeouts also show up for Gpu::GpuDevice::EopEq and Gpu::EopEqComputeForApplication.

So the newer build did not change this for me.

**@⁠Rombond** on GitHub · 2026-10-02 17:18 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/745#issuecomment-5957585618) · edited 2026-10-02 17:23 UTC **Same softlock in the loading tunnel on Linux (PPSA21567, v01.018)** Hitting what looks like the same hang described here: after "Dive in" from the hub, the game keeps running and accepts controller input, but the level never loads. **Setup** - OS: Arch-based (Omarchy), Linux 7.2 - CPU/RAM: 20 threads, 32 GB - GPU: RTX 4070 Ti SUPER (16 GB), NVIDIA 610.57.04 (open kernel modules) - KytyPS5: AUR `kytyps5-nightly-bin 2026.10.01.4479808` - Game: ASTRO BOT PPSA21567, v01.018 - Patch: the community `PPSA21567.json` with **both** mods enabled (non-tiled deferred lighting + GI probes off), confirmed passed via `--game-patch`. Without it, all textures are black. - Shader validation on, 2560x1440, Mailbox **What I tried** - Cleared `_PipelineCache` and `_TempData`, then relaunched. Same result. - Waited several minutes. The game never leaves the loading tunnel. **What the log shows** (`--printf-direction File`, ~190 MB) - No crash, no `error`/`exception`/`device lost`/`MIMP` lines. The emulator keeps presenting frames. - Last shader compile: an `MS` stage, hash `0xb6dbdd5904905160`, ~220k SPIR-V words (line ~3.57M). - Last game file access: `/app0/data/prein/levels/ui_blueprint/...` (line ~3.78M). After that, no new shaders and no file reads for the remaining ~880k lines. - Afterwards the log is only `PthreadCondWait` and GPU EOP queue waits, including repeated `Equeue wait timedout: Gpu::EopEqCompute`, so it looks like a compute submission that never signals completion. This matches the "softlock in loading tunnel" case here and the unimplemented instructions discussed in #281 and #657. Note that this issue is filed against `PPSA21564`; mine is `PPSA21567`. Happy to test a build or provide the full log (zipped) if useful. --- **Update: retested on the newer nightly, same behavior** Updated to `kytyps5-nightly-bin 2026.10.02.e317465-1` and retried, with both mods enabled and `_PipelineCache`/`_TempData` cleared first. The hang is identical: the level never loads and the game stays in the loading tunnel. Log from this run (~179 MB): - No `error`/`exception`/`MIMP`/`device lost` lines. - Last shader compile is again the same `MS` stage, hash `0xb6dbdd5904905160` (219485 SPIR-V words this time, vs 220431 on the previous build). - Last game file access is again `/app0/data/prein/levels/ui_blueprint/cinematics` (line ~3.82M of ~4.26M). The last ~440k lines are idle waits only. - `Equeue wait timedout: Gpu::EopEqCompute` repeats (1323 times after the last file access). Earlier timeouts also show up for `Gpu::GpuDevice::EopEq` and `Gpu::EopEqComputeForApplication`. So the newer build did not change this for me.
Author
Owner

@⁠Str1ct-android on GitHub · 2026-10-03 17:08 UTC · original

Astro Bot 01.018.000 — updated non-RT patch offsets (patch applies, textures/lighting restored)

Heads-up: the 01.007.000 patch from this issue no longer applies on game update 01.018.000. With --game-patch the loader logs

Game cheat: waiting for the matching module

and never reaches Game cheat: matched ... — the anchor bytes changed in 1.018. Since eboot.bin on disk is an encrypted SELF, the anchors can only be searched in the decrypted image, so I located the equivalent instruction sequences in the mapped image at runtime and rebuilt both mods for 01.018.000. Verified in-game: Successfully applied cheat, and the game renders with textures and normal lighting instead of the all-black skipped-BVH/GI path (the black-textures symptom from #853).

Mod 1 — "Select the existing non-tiled deferred-lighting renderer"

Same instruction sequence as 01.007.000, only the jcc displacement and the lea RIP-displacement changed:

RVA 0x73B3BCF:
45 84 F6 0F 84 F1 08 00 00 45 31 F6 4C 8D 3D 8E C4 A9 01 41 B4 30
  test r14b,r14b ; jz +0x8F1 ; xor r14d,r14d ; lea r15,[rip+0x1A9C48E] ; mov r14b,0x30

Same transformation as the 01.007 patch — force the branch: 0F 84 rel32 → E9 (rel32+1) 90:

off: 4584F60F84F10800004531F64C8D3D8EC4A90141B430
on:  4584F6E9F2080000904531F64C8D3D8EC4A90141B430

Mod 2 — "Disable GI probes and lighting shaders"

Same store site, but the source struct offset moved from 0x780 to 0x7A0:

RVA 0x70CD9C3:
0F B6 82 A0 07 00 00 88 87 E4 05 00 00
  movzx eax,byte[rdx+0x7A0] ; mov [rdi+0x5E4],al
  (followed by cmp byte[rdi+0x5E5],0 / jne — same context as 01.007)

Patch — zero the value before the store, keep the store:

off: 0FB682A00700008887E4050000
on:  B80000000090908887E4050000

Full patch file (GoldHEN-style JSON, pass with --game-patch):

{
    "id": "PPSA21567",
    "name": "ASTRO BOT: non RT patch (01.018.000)",
    "version": "01.018.000",
    "process": "eboot.bin",
    "mods": [
        {
            "name": "Select the existing non-tiled deferred-lighting renderer",
            "enabled": true,
            "memory": [
                {
                    "offset": "0x73B3BCF",
                    "off": "4584F60F84F10800004531F64C8D3D8EC4A90141B430",
                    "on": "4584F6E9F2080000904531F64C8D3D8EC4A90141B430"
                }
            ]
        },
        {
            "name": "Disable GI probes and lighting shaders",
            "enabled": true,
            "memory": [
                {
                    "offset": "0x70CD9C3",
                    "off": "0FB682A00700008887E4050000",
                    "on": "B80000000090908887E4050000"
                }
            ]
        }
    ]
}

Notes:

  • Tested on Windows, build BryKytyPS5-2026-10-01-719050e, game PPSA21567 version 01.018.000. eboot.bin is not modified — the patch is applied in memory only.
  • The version field must match the SFO APP_VER exactly (01.018.000) and process must be eboot.bin, otherwise the loader rejects the file with cheat file does not match the loaded game.
  • The offset values are RVAs into the guest image; the loader re-finds the anchor pattern and rebases, so the numbers mainly need to be self-consistent — but the off signatures are exact for 01.018.000 and will fail cleanly on other versions.
  • With the patch applied the game boots to gameplay with correct rendering. The level-loading crashes/softlocks described in this issue still occur occasionally, unrelated to the patch.
  • For 01.007.000 keep using the original patch from this issue — the offsets are not interchangeable.
**@⁠Str1ct-android** on GitHub · 2026-10-03 17:08 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/745#issuecomment-5971473904) **Astro Bot 01.018.000 — updated non-RT patch offsets (patch applies, textures/lighting restored)** Heads-up: the 01.007.000 patch from this issue no longer applies on game update 01.018.000. With `--game-patch` the loader logs ``` Game cheat: waiting for the matching module ``` and never reaches `Game cheat: matched ...` — the anchor bytes changed in 1.018. Since `eboot.bin` on disk is an encrypted SELF, the anchors can only be searched in the decrypted image, so I located the equivalent instruction sequences in the mapped image at runtime and rebuilt both mods for **01.018.000**. Verified in-game: `Successfully applied cheat`, and the game renders with textures and normal lighting instead of the all-black skipped-BVH/GI path (the black-textures symptom from #853). **Mod 1 — "Select the existing non-tiled deferred-lighting renderer"** Same instruction sequence as 01.007.000, only the jcc displacement and the `lea` RIP-displacement changed: ``` RVA 0x73B3BCF: 45 84 F6 0F 84 F1 08 00 00 45 31 F6 4C 8D 3D 8E C4 A9 01 41 B4 30 test r14b,r14b ; jz +0x8F1 ; xor r14d,r14d ; lea r15,[rip+0x1A9C48E] ; mov r14b,0x30 ``` Same transformation as the 01.007 patch — force the branch: `0F 84 rel32` → `E9 (rel32+1) 90`: ``` off: 4584F60F84F10800004531F64C8D3D8EC4A90141B430 on: 4584F6E9F2080000904531F64C8D3D8EC4A90141B430 ``` **Mod 2 — "Disable GI probes and lighting shaders"** Same store site, but the source struct offset moved from `0x780` to `0x7A0`: ``` RVA 0x70CD9C3: 0F B6 82 A0 07 00 00 88 87 E4 05 00 00 movzx eax,byte[rdx+0x7A0] ; mov [rdi+0x5E4],al (followed by cmp byte[rdi+0x5E5],0 / jne — same context as 01.007) ``` Patch — zero the value before the store, keep the store: ``` off: 0FB682A00700008887E4050000 on: B80000000090908887E4050000 ``` **Full patch file (GoldHEN-style JSON, pass with `--game-patch`):** ```json { "id": "PPSA21567", "name": "ASTRO BOT: non RT patch (01.018.000)", "version": "01.018.000", "process": "eboot.bin", "mods": [ { "name": "Select the existing non-tiled deferred-lighting renderer", "enabled": true, "memory": [ { "offset": "0x73B3BCF", "off": "4584F60F84F10800004531F64C8D3D8EC4A90141B430", "on": "4584F6E9F2080000904531F64C8D3D8EC4A90141B430" } ] }, { "name": "Disable GI probes and lighting shaders", "enabled": true, "memory": [ { "offset": "0x70CD9C3", "off": "0FB682A00700008887E4050000", "on": "B80000000090908887E4050000" } ] } ] } ``` **Notes:** - Tested on Windows, build `BryKytyPS5-2026-10-01-719050e`, game **PPSA21567** version **01.018.000**. `eboot.bin` is not modified — the patch is applied in memory only. - The `version` field must match the SFO `APP_VER` exactly (`01.018.000`) and `process` must be `eboot.bin`, otherwise the loader rejects the file with `cheat file does not match the loaded game`. - The `offset` values are RVAs into the guest image; the loader re-finds the anchor pattern and rebases, so the numbers mainly need to be self-consistent — but the `off` signatures are exact for 01.018.000 and will fail cleanly on other versions. - With the patch applied the game boots to gameplay with correct rendering. The level-loading crashes/softlocks described in this issue still occur occasionally, unrelated to the patch. - For 01.007.000 keep using the original patch from this issue — the offsets are not interchangeable.
Author
Owner

@⁠ReNe007RY on GitHub · 2026-10-04 18:38 UTC · original

Confirming this on PPSA21567 v01.018.000 as well, with some extra data on where the stall happens.

Setup

  • OS: Windows 11, Intel Core Ultra 5 245KF / NVIDIA RTX 5070, 32 GB
  • Game: ASTRO BOT PPSA21567, 01.018.000, ~150 GB installed
  • Patch: the PPSA21567.json non-RT patch, both mods enabled, Successfully applied cheat for both
  • Launch: --shader-validation false --amd-cpu --redzone
  • Builds tested: b3087d6 and 99f5ac2 (both include the SPIR-V optimization work), plus a merge of upstream main. The stall is identical on all of them, so it is not specific to any of those commits.

Observation: the stall point is deterministic

Every run ends with GS reaching 5 and never going further. No shader is ever compiled after that. What varies is how far the other stages get before it happens:

run final counters
1 VS 118 / PS 108 / CS 51 / GS 5
2 VS 118 / PS 108 / CS 51 / GS 5
3 VS 122 / PS 111 / CS 51 / GS 5

So the counts are not fully reproducible, but CS 51 / GS 5 and "nothing after GS 5" were the same in all three. That lines up with @⁠Rombond's MS stage as the last compile.

Observation: guest-side wait state after the stall

From a full guest-call trace (--printf-direction File, ~200 MB, --ampr-threads not involved):

  • The last 150 000 lines of the log contain only libkernel::PthreadCondWait — 1016 calls, nothing else. No file reads, no other syscalls at all.
  • Across the entire session: 45 486 PthreadCondWait calls, 33 PthreadCondInitNamed, and 0 PthreadCondSignal / PthreadCondBroadcast.
  • Of 12 guest threads, 9 go quiet within the first ~7 seconds (blocked inside waits) and never log again. Two remain and re-enter PthreadCondWait roughly every 25 ms.
  • The last non-PthreadCondWait call anywhere in the log is at 00:01:05, thread 50 doing PthreadRwlockDestroy in a burst.
  • Inside the wait loop the log shows GPU EOP queue dispatch, including repeated Equeue wait timedout: Gpu::EopEqCompute.
  • Working set grows linearly at ~2.6 MB/s and never plateaus, while frames keep rendering at 34–39 fps (the loading tunnel animation).

What did not help

  • Retrying the level load: reproduced on every attempt, at a slightly different point each time.
  • Clearing _PipelineCache before the run.
  • The run reached the loading tunnel and stayed responsive throughout; the emulator never reported an error, MIMP instruction, or Unhandled host exception.

No crash on our side — just the softlock. Happy to provide the full zipped logs if that helps.

**@⁠ReNe007RY** on GitHub · 2026-10-04 18:38 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/745#issuecomment-5983144520) Confirming this on **PPSA21567 v01.018.000** as well, with some extra data on where the stall happens. **Setup** - OS: Windows 11, Intel Core Ultra 5 245KF / NVIDIA RTX 5070, 32 GB - Game: ASTRO BOT `PPSA21567`, `01.018.000`, ~150 GB installed - Patch: the `PPSA21567.json` non-RT patch, both mods enabled, `Successfully applied cheat` for both - Launch: `--shader-validation false --amd-cpu --redzone` - Builds tested: `b3087d6` and `99f5ac2` (both include the SPIR-V optimization work), plus a merge of upstream `main`. The stall is identical on all of them, so it is not specific to any of those commits. **Observation: the stall point is deterministic** Every run ends with `GS` reaching 5 and never going further. No shader is ever compiled after that. What varies is how far the other stages get before it happens: | run | final counters | |---|---| | 1 | `VS 118 / PS 108 / CS 51 / GS 5` | | 2 | `VS 118 / PS 108 / CS 51 / GS 5` | | 3 | `VS 122 / PS 111 / CS 51 / GS 5` | So the counts are not fully reproducible, but `CS 51` / `GS 5` and "nothing after `GS 5`" were the same in all three. That lines up with @⁠Rombond's `MS` stage as the last compile. **Observation: guest-side wait state after the stall** From a full guest-call trace (`--printf-direction File`, ~200 MB, `--ampr-threads` not involved): - The last 150 000 lines of the log contain **only** `libkernel::PthreadCondWait` — 1016 calls, nothing else. No file reads, no other syscalls at all. - Across the **entire** session: 45 486 `PthreadCondWait` calls, 33 `PthreadCondInitNamed`, and **0** `PthreadCondSignal` / `PthreadCondBroadcast`. - Of 12 guest threads, 9 go quiet within the first ~7 seconds (blocked inside waits) and never log again. Two remain and re-enter `PthreadCondWait` roughly every 25 ms. - The last non-`PthreadCondWait` call anywhere in the log is at `00:01:05`, thread 50 doing `PthreadRwlockDestroy` in a burst. - Inside the wait loop the log shows GPU EOP queue dispatch, including repeated `Equeue wait timedout: Gpu::EopEqCompute`. - Working set grows linearly at ~2.6 MB/s and never plateaus, while frames keep rendering at 34–39 fps (the loading tunnel animation). **What did not help** - Retrying the level load: reproduced on every attempt, at a slightly different point each time. - Clearing `_PipelineCache` before the run. - The run reached the loading tunnel and stayed responsive throughout; the emulator never reported an error, `MIMP` instruction, or `Unhandled host exception`. No crash on our side — just the softlock. Happy to provide the full zipped logs if that helps.
Author
Owner

@⁠yalkatrazz on GitHub · 2026-10-07 08:25 UTC · original

[GAME STATUS] Astro Bot (PPSA21564) – playable level loading, but 1–4 FPS on Intel + RTX 4070

### Game title
ASTRO BOT

### Game ID / serial
PPSA21564

### Game version
01.007.000

### KytyPS5 version
KytyPS5-2026-10-07-bb98f26

### OS
Windows 11

### CPU
Intel Core Ultra 7 265K

### GPU
NVIDIA GeForce RTX 4070

### GPU driver
32.0.16.1714

### RAM / VRAM
64Gb DDR5

### Compatibility status
In game

### Description

I have been testing Astro Bot (PPSA21564) across several recent KytyPS5 builds using the existing non-RT patch and the Intel CPU compatibility patch.

With KytyPS5-2026-10-06-fb7ff7e, the game could reach the first level loading sequence, but consistently crashed while loading the level with:

thread: RoomLoad_ATQT

Unhandled host exception:
type=1
code=3221225477
address=0x0000000000000028

in src/loader/runtimeLinker.cpp:720

I tested clearing both:

_PipelineCache/PPSA21564.bin
_TempData

but this did not change the crash.

After updating to:

KytyPS5-2026-10-07-bb98f26

the behavior changed significantly.

The game now successfully enters the first playable level instead of crashing during level loading.

However, performance inside the level is extremely low:

approximately 1–4 FPS

The emulator reports:

Shaders: VS 227 | PS 166 | CS 69 | GS 7 | LS 0 | HS 0 | TES 0

The GPU being used is the RTX 4070.

I also see the following warning:

Warning: primitive restart is not implemented for mesh shaders;
continuing draw (primitive=5 indexed=1)

The level is rendered correctly enough to be playable visually, but the frame rate is far too low for practical gameplay.

Important comparison

Previous build:

KytyPS5-2026-10-06-fb7ff7e
-> level loading crash at runtimeLinker.cpp:720

Current build:

KytyPS5-2026-10-07-bb98f26
-> successfully enters the level
-> approximately 1–4 FPS

This suggests that the recent shader recompiler changes in bb98f26 may have fixed or worked around the previous level-loading failure, but the level rendering performance remains a major bottleneck.

Patch / configuration

I am using:

--amd-cpu
--gpu 0

and the existing ASTRO BOT non-RT patch for version 01.007.000.

The eboot.bin SHA-256 is:

70D673F7C43EDB189461A60F076E15BAA73F9A82A579603E44372AE5B7225D3D

Expected behavior

The game should be able to enter the level at a usable frame rate.

Question

Could this performance issue be related to the large amount of vertex shader work in the level, mesh shader handling, or another GPU-side bottleneck?

If there are specific logging/debug options that would help identify what is consuming the GPU time, I would be happy to provide additional logs.

I can also provide the full Kyty log and screenshots if needed.

**@⁠yalkatrazz** on GitHub · 2026-10-07 08:25 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/745#issuecomment-6034022809) [GAME STATUS] Astro Bot (PPSA21564) – playable level loading, but 1–4 FPS on Intel + RTX 4070 **### Game title** ASTRO BOT **### Game ID / serial** PPSA21564 **### Game version** 01.007.000 **### KytyPS5 version** KytyPS5-2026-10-07-bb98f26 **### OS** Windows 11 **### CPU** Intel Core Ultra 7 265K **### GPU** NVIDIA GeForce RTX 4070 **### GPU driver** 32.0.16.1714 **### RAM / VRAM** 64Gb DDR5 **### Compatibility status** In game **### Description** I have been testing Astro Bot (PPSA21564) across several recent KytyPS5 builds using the existing non-RT patch and the Intel CPU compatibility patch. With KytyPS5-2026-10-06-fb7ff7e, the game could reach the first level loading sequence, but consistently crashed while loading the level with: thread: RoomLoad_ATQT Unhandled host exception: type=1 code=3221225477 address=0x0000000000000028 in src/loader/runtimeLinker.cpp:720 I tested clearing both: _PipelineCache/PPSA21564.bin _TempData but this did not change the crash. After updating to: KytyPS5-2026-10-07-bb98f26 the behavior changed significantly. The game now successfully enters the first playable level instead of crashing during level loading. However, performance inside the level is extremely low: approximately 1–4 FPS The emulator reports: Shaders: VS 227 | PS 166 | CS 69 | GS 7 | LS 0 | HS 0 | TES 0 The GPU being used is the RTX 4070. I also see the following warning: Warning: primitive restart is not implemented for mesh shaders; continuing draw (primitive=5 indexed=1) The level is rendered correctly enough to be playable visually, but the frame rate is far too low for practical gameplay. ### Important comparison Previous build: KytyPS5-2026-10-06-fb7ff7e -> level loading crash at runtimeLinker.cpp:720 Current build: KytyPS5-2026-10-07-bb98f26 -> successfully enters the level -> approximately 1–4 FPS This suggests that the recent shader recompiler changes in bb98f26 may have fixed or worked around the previous level-loading failure, but the level rendering performance remains a major bottleneck. ### Patch / configuration I am using: --amd-cpu --gpu 0 and the existing ASTRO BOT non-RT patch for version 01.007.000. The eboot.bin SHA-256 is: 70D673F7C43EDB189461A60F076E15BAA73F9A82A579603E44372AE5B7225D3D ### Expected behavior The game should be able to enter the level at a usable frame rate. ### Question Could this performance issue be related to the large amount of vertex shader work in the level, mesh shader handling, or another GPU-side bottleneck? If there are specific logging/debug options that would help identify what is consuming the GPU time, I would be happy to provide additional logs. I can also provide the full Kyty log and screenshots if needed.
Author
Owner

@⁠mesientopremiumjeje-stack on GitHub · 2026-10-10 11:31 UTC · original

Astro Bot 01.019.000 (PPSA21567): non-RT patch offsets rebuilt (textures and lighting restored, Sky Garden playable) on BryKytyPS5

All credit for running this game goes to BryKytyPS5 by @⁠BryanKAdams. This was tested on build BryKytyPS5-2026-10-04-a9e1ae5, which is the build that runs Astro Bot for me. Thanks also to the authors of the 01.007.000 and 01.018.000 non-RT patches (this issue and #1011), whose mods are reused unchanged here; only the offsets were rebuilt.

Patch for 01.019.000

On 01.019.000 the 01.018.000 patch never applies (Game cheat: waiting for the matching module). Both instruction sequences are still present, just shifted by +0x950:

Mod 01.018.000 01.019.000 Change in bytes
Non-tiled deferred-lighting renderer 0x73B3BCF 0x73B451F lea RIP displacement 8EC4A901 → 3EBBA901; jz displacement unchanged
Disable GI probes 0x70CD9C3 0x70CE313 identical bytes

I located them by scanning the running emulator's executable memory with wildcards over the displacements that change between versions:

  • 45 84 F6 0F 84 ?? ?? ?? ?? 45 31 F6 4C 8D 3D ?? ?? ?? ?? 41 B4 30
  • 0F B6 82 ?? ?? 00 00 88 87 E4 05 00 00

Each pattern has exactly one match (image base 0x900000000), and both moved by the same delta.

{
    "id": "PPSA21567",
    "name": "ASTRO BOT: non RT patch (01.019.000)",
    "version": "01.019.000",
    "process": "eboot.bin",
    "mods": [
        {
            "name": "Select the existing non-tiled deferred-lighting renderer",
            "enabled": true,
            "memory": [
                {
                    "offset": "0x73B451F",
                    "off": "4584F60F84F10800004531F64C8D3D3EBBA90141B430",
                    "on": "4584F6E9F2080000904531F64C8D3D3EBBA90141B430"
                }
            ]
        },
        {
            "name": "Disable GI probes and lighting shaders",
            "enabled": true,
            "memory": [
                {
                    "offset": "0x70CE313",
                    "off": "0FB682A00700008887E4050000",
                    "on": "B80000000090908887E4050000"
                }
            ]
        }
    ]
}

Verified: the log shows Successfully applied cheat for both mods, and reading guest memory while the game runs shows the on bytes at both sites. With the patch the game renders with textures and normal lighting, and I played into Sky Garden with no crash. I have not yet tested "Dive in" from the hub to a galaxy level, the softlock described above for 01.018.

Setup

Windows 11 · Intel Core i9-13900H · RTX 4090 Laptop GPU (driver 610.47) · launcher defaults plus --redzone, without --amd-cpu.

Performance (Intel + NVIDIA, same as #1081)

--drain-stats 5 over ~3 minutes in Sky Garden. Title screen: ~60 fps.

Options Average in-level fps Min / max
Default 12.3 9 / 22
--async-pipelines true --relaxed-readback true --gpu-timestamp-scale 115 11.9 10 / 16

The results match #1081. The GPU thread is idle 2.7–4.1 s of every 5 s, and there are 100k–150k guest write faults per 5 s, about 2× the count reported there. The extra options make no measurable difference.

Official build KytyPS5-2026-10-10-307fdcf (same machine and game)

  • Without the patch: it crashes at ~10 s, 3 out of 3 runs. It is an access violation at 0x18 inside VCRUNTIME140.dll (runtimeLinker.cpp:720), which matches #1237 and #1268.
  • With the patch: the patch applies correctly, but at ~85 s there is a guest fault in SceSndzAudioOutMain (pc 0x900F7CCF9), similar to #687.

On this machine, BryKytyPS5 a9e1ae5 is the only build that runs Astro Bot.

**@⁠mesientopremiumjeje-stack** on GitHub · 2026-10-10 11:31 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/745#issuecomment-6097042879) **Astro Bot 01.019.000 (PPSA21567): non-RT patch offsets rebuilt (textures and lighting restored, Sky Garden playable) on BryKytyPS5** All credit for running this game goes to [BryKytyPS5](https://github.com/BryanKAdams/BryKytyPS5) by @⁠BryanKAdams. This was tested on build `BryKytyPS5-2026-10-04-a9e1ae5`, which is the build that runs Astro Bot for me. Thanks also to the authors of the 01.007.000 and 01.018.000 non-RT patches (this issue and #1011), whose mods are reused unchanged here; only the offsets were rebuilt. ### Patch for 01.019.000 On 01.019.000 the 01.018.000 patch never applies (`Game cheat: waiting for the matching module`). Both instruction sequences are still present, just shifted by **+0x950**: | Mod | 01.018.000 | 01.019.000 | Change in bytes | |---|---|---|---| | Non-tiled deferred-lighting renderer | `0x73B3BCF` | `0x73B451F` | `lea` RIP displacement `8EC4A901` → `3EBBA901`; `jz` displacement unchanged | | Disable GI probes | `0x70CD9C3` | `0x70CE313` | identical bytes | I located them by scanning the running emulator's executable memory with wildcards over the displacements that change between versions: - `45 84 F6 0F 84 ?? ?? ?? ?? 45 31 F6 4C 8D 3D ?? ?? ?? ?? 41 B4 30` - `0F B6 82 ?? ?? 00 00 88 87 E4 05 00 00` Each pattern has exactly one match (image base `0x900000000`), and both moved by the same delta. ```json { "id": "PPSA21567", "name": "ASTRO BOT: non RT patch (01.019.000)", "version": "01.019.000", "process": "eboot.bin", "mods": [ { "name": "Select the existing non-tiled deferred-lighting renderer", "enabled": true, "memory": [ { "offset": "0x73B451F", "off": "4584F60F84F10800004531F64C8D3D3EBBA90141B430", "on": "4584F6E9F2080000904531F64C8D3D3EBBA90141B430" } ] }, { "name": "Disable GI probes and lighting shaders", "enabled": true, "memory": [ { "offset": "0x70CE313", "off": "0FB682A00700008887E4050000", "on": "B80000000090908887E4050000" } ] } ] } ``` Verified: the log shows `Successfully applied cheat` for both mods, and reading guest memory while the game runs shows the `on` bytes at both sites. With the patch the game renders with textures and normal lighting, and I played into **Sky Garden** with no crash. I have not yet tested "Dive in" from the hub to a galaxy level, the softlock described above for 01.018. ### Setup Windows 11 · Intel Core i9-13900H · RTX 4090 Laptop GPU (driver 610.47) · launcher defaults plus `--redzone`, without `--amd-cpu`. ### Performance (Intel + NVIDIA, same as #1081) `--drain-stats 5` over ~3 minutes in Sky Garden. Title screen: ~60 fps. | Options | Average in-level fps | Min / max | |---|---|---| | Default | 12.3 | 9 / 22 | | `--async-pipelines true --relaxed-readback true --gpu-timestamp-scale 115` | 11.9 | 10 / 16 | The results match #1081. The GPU thread is idle 2.7–4.1 s of every 5 s, and there are **100k–150k guest write faults per 5 s**, about 2× the count reported there. The extra options make no measurable difference. ### Official build `KytyPS5-2026-10-10-307fdcf` (same machine and game) - **Without the patch:** it crashes at ~10 s, 3 out of 3 runs. It is an access violation at `0x18` inside `VCRUNTIME140.dll` (`runtimeLinker.cpp:720`), which matches #1237 and #1268. - **With the patch:** the patch applies correctly, but at ~85 s there is a guest fault in `SceSndzAudioOutMain` (pc `0x900F7CCF9`), similar to #687. On this machine, BryKytyPS5 a9e1ae5 is the only build that runs Astro Bot.
Author
Owner

@⁠mesientopremiumjeje-stack on GitHub · 2026-10-10 11:35 UTC · original

The patch from my comment above as a downloadable file, for Astro Bot PPSA21567 01.019.000 on BryKytyPS5 a9e1ae5. Use it with --game-patch <path>:

PPSA21567_01.019.000_nonRT.json

**@⁠mesientopremiumjeje-stack** on GitHub · 2026-10-10 11:35 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/745#issuecomment-6097076975) The patch from my comment above as a downloadable file, for Astro Bot **PPSA21567 01.019.000** on [BryKytyPS5](https://github.com/BryanKAdams/BryKytyPS5) `a9e1ae5`. Use it with `--game-patch <path>`: [PPSA21567_01.019.000_nonRT.json](https://github.com/user-attachments/files/33281341/PPSA21567_01.019.000_nonRT.json)
Author
Owner

@⁠ZrDaniel07 on GitHub · 2026-10-24 02:47 UTC · original · edited 2026-10-24 02:57 UTC

ASTRO BOT (PPSA21564) on Windows + RTX 5090: the Garden level now plays, and the GPU command thread sets the frame rate (~21k draws per second)

This follows up on @⁠yalkatrazz's 1–4 FPS report above (Intel + RTX 4070). With three fixes, the first level now loads and plays on my machine (details in #1511), and I measured where the time goes.

In short, Thread_Gpu is busy 80–94% of the time in every scene, and it processes about 21,000 draws per second wherever you are. The title screen has ~580 draws per frame and runs at 36 FPS. The Garden has ~5,500–6,000 and runs at 3.5–4 FPS. The GPU and the game's own threads have time to spare.

Setup

  • Windows 11 Pro 26300, Ryzen 9 5900X (12C/24T), RTX 5090 (driver 617.42), 32 GB.
  • ASTRO BOT PPSA21564 01.007.000, no game patch (no non-RT patch).
  • Build: @⁠LukaszRozmej's #1365 and @⁠Nawid3333's de0e387, both on Nawid's test/helper-1511, plus @⁠ew-sudo's #838. On top of that, my local patch that draws oversized mesh draws in instance slices, following the idea in @⁠prompterror's #793, and the lab counters below. Step-by-step recipe in the next comment.
  • Settings: 2560x1440, Mailbox, --vblank-frequency 60, --shader-optimization-type Performance, --printf-direction Silent (no guest log), --perf-overlay.

How I measured

These are lab-only counters on top of that build. They are not a PR; the diff is available on request.

  • CPU time per thread in the overlay's details view on Windows. That thread list only existed on Linux and macOS. Host and guest threads are named with SetThreadDescription.
  • GPU waits split by call site and thread, with std::source_location passed through MasterSemaphore::Wait and CommandScheduler::Wait/Finish/FlushAndWait.
  • A console summary every 20 s.

One session of about 10 minutes: title, world map, then ~6 minutes in the Garden (flying in, landing, walking). I closed it myself. No DEVICE_LOST, no EXIT and no unhandled guest exception.

Scene FPS Draws per frame Draws per second Thread_Gpu CPU
Title / save menu 36 565–580 20,300–20,900 88%
World map 25–28 680–740 18,400–18,700 85–92%
Garden (18 windows of 20 s) 3.4–6.5 3,700–6,200 20,200–24,600 78–94%

FPS × draws per frame stays at 18–24k in all three. In the Garden, that is ~46 µs of Thread_Gpu time per draw, on top of ~800–1,500 dispatches per second. The areas with fewer draws run faster in the same way: one open area had ~3,700 draws per frame and ran at 6.4–6.5 FPS. For 30 FPS in the Garden, the thread would need ~170,000 draws per second, about 8× its current rate.

What Thread_Gpu waits on

  • bufferCache.cpp:237 is its only GPU wait. This is the synchronous branch of DownloadBufferMemory, called from BufferCache::ReadMemory. It submits the current command buffer and waits for the GPU to drain, then copies the data back to guest memory.
    • In the Garden: 92–164 ms/s, 62–113 times a second, ~2 ms each (~15–20 per frame).
    • The panel shows buffer downloads at 0.0–0.1 MB/s, so each readback copies only a KB or two.
    • ReadMemory is reached from three places, and my counters don't tell them apart: the fault handler for reads of GPU-written pages (renderContext.cpp:70), indirect dispatch arguments (renderCompute.cpp:225), and texture views over buffer memory (textureCache.cpp:1144).
  • These readbacks are ~13% of the thread's time. Removing them all would give at most ~15% (3.7 → ~4.3 FPS). The other ~85% is CPU work per draw.
  • Most of the panel's "CPU waiting on GPU" (680–920 ms/s) is not a stall. It is commandScheduler.cpp:281 in Gpu_PriorityOps, the thread whose job is to wait for each deferred operation's tick. So that row overstates the problem.
  • Other wait sites barely showed up:
    • renderContext.cpp:113 (the Finish in UnmapMemory): under 1 ms/s.
    • streamBuffer.cpp:323: 18 ms/s, once, on level entry.
    • The Finish calls for RELEASE_MEM with GDS data and for BufferWait (graphicsRun.cpp) never had to wait.

What is not the limit here

  • The game's threads. The busiest is FluidCalculationThread at 18–33% of a core, then SceSndzAudioOutMain (6–16%) and the tbb_thead workers (4–12%). The whole emulator uses 2.1–2.9 of 24 cores.
  • The GPU. It only gets work as fast as Thread_Gpu records it, and the only GPU waits on that thread are the small readbacks. In an earlier run, with the guest log on, nvidia-smi showed it 7% busy at 2205 MHz. I did not measure GPU load in this run.
  • Write-tracking faults. There are 28k–41k per second in the Garden, ~8k per frame. In #1081 (PPSA21567, i9-12900KF + RTX 5080, BryKytyPS5), the 4–5 fps phase was a fault storm with Thread_Gpu idle ~80% of the time. Here it is the reverse: Thread_Gpu is saturated, and the threads that fault have time to spare. This does not show the faults are cheap, only that they don't set the frame rate on this build.
  • Texture uploads. They hold at 139–197 MB/s in the level, with peaks of 416–475 MB/s while it streams in, and the panel shows no evictions. This might be the pool reloading described in #1631; I have not checked. Whatever the uploads cost on Thread_Gpu is part of the 85%.

Other observations

  • On level entry, once: primitive restart is not implemented for mesh shaders; continuing draw (primitive=5 indexed=1), the same warning as in @⁠yalkatrazz's report. Also game uses occlusion queries, which are treated as always visible without --occlusion-queries.
  • In my screenshots the Garden looks right (terrain, foliage, flamingos), with nothing visibly missing from the mesh slices. That is a visual check only.

Related work

  • #1211 (@⁠NeySlim) found the same bottleneck in God of War Ragnarök on Linux/RADV. There, MaterializeResources (the SRT walk) took about half the GPU thread's time, and CommitBindings repeated texture cache lookups for every scalar read. The PR gains 10–15%, so it looks like the next thing to try on ASTRO BOT on Windows.
  • #1851 (@⁠MrBigBritches) adds a performance report with waits by call site and fault attribution. It overlaps with my lab counters and would split the readbacks above by caller.

Not done yet

  • A per-function profile of Thread_Gpu on Windows, to see whether the SRT walk dominates here too.
  • Testing #1211 on this game.
  • Splitting the readbacks by caller.

AI use: Claude Code wrote the lab counters and the local mesh patch, read the code paths and worked through the numbers with me. I ran the game, took the panel screenshots and checked the outputs myself.

**@⁠ZrDaniel07** on GitHub · 2026-10-24 02:47 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/745#issuecomment-6378932226) · edited 2026-10-24 02:57 UTC **ASTRO BOT (PPSA21564) on Windows + RTX 5090: the Garden level now plays, and the GPU command thread sets the frame rate (~21k draws per second)** This follows up on @⁠yalkatrazz's 1–4 FPS report above (Intel + RTX 4070). With three fixes, the first level now loads and plays on my machine (details in #1511), and I measured where the time goes. In short, `Thread_Gpu` is busy 80–94% of the time in every scene, and it processes about 21,000 draws per second wherever you are. The title screen has ~580 draws per frame and runs at 36 FPS. The Garden has ~5,500–6,000 and runs at 3.5–4 FPS. The GPU and the game's own threads have time to spare. **Setup** - Windows 11 Pro 26300, Ryzen 9 5900X (12C/24T), RTX 5090 (driver 617.42), 32 GB. - ASTRO BOT PPSA21564 01.007.000, **no game patch** (no non-RT patch). - Build: @⁠LukaszRozmej's #1365 and @⁠Nawid3333's `de0e387`, both on Nawid's `test/helper-1511`, plus @⁠ew-sudo's #838. On top of that, my local patch that draws oversized mesh draws in instance slices, following the idea in @⁠prompterror's #793, and the lab counters below. Step-by-step recipe in the next comment. - Settings: 2560x1440, Mailbox, `--vblank-frequency 60`, `--shader-optimization-type Performance`, `--printf-direction Silent` (no guest log), `--perf-overlay`. **How I measured** These are lab-only counters on top of that build. They are not a PR; the diff is available on request. - CPU time per thread in the overlay's details view on Windows. That thread list only existed on Linux and macOS. Host and guest threads are named with `SetThreadDescription`. - GPU waits split by call site and thread, with `std::source_location` passed through `MasterSemaphore::Wait` and `CommandScheduler::Wait/Finish/FlushAndWait`. - A console summary every 20 s. One session of about 10 minutes: title, world map, then ~6 minutes in the Garden (flying in, landing, walking). I closed it myself. No DEVICE_LOST, no `EXIT` and no unhandled guest exception. | Scene | FPS | Draws per frame | Draws per second | `Thread_Gpu` CPU | |---|---|---|---|---| | Title / save menu | 36 | 565–580 | 20,300–20,900 | 88% | | World map | 25–28 | 680–740 | 18,400–18,700 | 85–92% | | Garden (18 windows of 20 s) | 3.4–6.5 | 3,700–6,200 | 20,200–24,600 | 78–94% | FPS × draws per frame stays at 18–24k in all three. In the Garden, that is ~46 µs of `Thread_Gpu` time per draw, on top of ~800–1,500 dispatches per second. The areas with fewer draws run faster in the same way: one open area had ~3,700 draws per frame and ran at 6.4–6.5 FPS. For 30 FPS in the Garden, the thread would need ~170,000 draws per second, about 8× its current rate. **What `Thread_Gpu` waits on** - **`bufferCache.cpp:237` is its only GPU wait.** This is the synchronous branch of `DownloadBufferMemory`, called from `BufferCache::ReadMemory`. It submits the current command buffer and waits for the GPU to drain, then copies the data back to guest memory. - In the Garden: 92–164 ms/s, 62–113 times a second, ~2 ms each (~15–20 per frame). - The panel shows buffer downloads at 0.0–0.1 MB/s, so each readback copies only a KB or two. - `ReadMemory` is reached from three places, and my counters don't tell them apart: the fault handler for reads of GPU-written pages (`renderContext.cpp:70`), indirect dispatch arguments (`renderCompute.cpp:225`), and texture views over buffer memory (`textureCache.cpp:1144`). - **These readbacks are ~13% of the thread's time.** Removing them all would give at most ~15% (3.7 → ~4.3 FPS). The other ~85% is CPU work per draw. - **Most of the panel's "CPU waiting on GPU" (680–920 ms/s) is not a stall.** It is `commandScheduler.cpp:281` in `Gpu_PriorityOps`, the thread whose job is to wait for each deferred operation's tick. So that row overstates the problem. - **Other wait sites barely showed up:** - `renderContext.cpp:113` (the `Finish` in `UnmapMemory`): under 1 ms/s. - `streamBuffer.cpp:323`: 18 ms/s, once, on level entry. - The `Finish` calls for `RELEASE_MEM` with GDS data and for `BufferWait` (`graphicsRun.cpp`) never had to wait. **What is not the limit here** - **The game's threads.** The busiest is `FluidCalculationThread` at 18–33% of a core, then `SceSndzAudioOutMain` (6–16%) and the `tbb_thead` workers (4–12%). The whole emulator uses 2.1–2.9 of 24 cores. - **The GPU.** It only gets work as fast as `Thread_Gpu` records it, and the only GPU waits on that thread are the small readbacks. In an earlier run, with the guest log on, `nvidia-smi` showed it 7% busy at 2205 MHz. I did not measure GPU load in this run. - **Write-tracking faults.** There are 28k–41k per second in the Garden, ~8k per frame. In #1081 (PPSA21567, i9-12900KF + RTX 5080, BryKytyPS5), the 4–5 fps phase was a fault storm with `Thread_Gpu` idle ~80% of the time. Here it is the reverse: `Thread_Gpu` is saturated, and the threads that fault have time to spare. This does not show the faults are cheap, only that they don't set the frame rate on this build. - **Texture uploads.** They hold at 139–197 MB/s in the level, with peaks of 416–475 MB/s while it streams in, and the panel shows no evictions. This might be the pool reloading described in #1631; I have not checked. Whatever the uploads cost on `Thread_Gpu` is part of the 85%. **Other observations** - On level entry, once: `primitive restart is not implemented for mesh shaders; continuing draw (primitive=5 indexed=1)`, the same warning as in @⁠yalkatrazz's report. Also `game uses occlusion queries, which are treated as always visible without --occlusion-queries`. - In my screenshots the Garden looks right (terrain, foliage, flamingos), with nothing visibly missing from the mesh slices. That is a visual check only. **Related work** - #1211 (@⁠NeySlim) found the same bottleneck in God of War Ragnarök on Linux/RADV. There, `MaterializeResources` (the SRT walk) took about half the GPU thread's time, and `CommitBindings` repeated texture cache lookups for every scalar read. The PR gains 10–15%, so it looks like the next thing to try on ASTRO BOT on Windows. - #1851 (@⁠MrBigBritches) adds a performance report with waits by call site and fault attribution. It overlaps with my lab counters and would split the readbacks above by caller. **Not done yet** - A per-function profile of `Thread_Gpu` on Windows, to see whether the SRT walk dominates here too. - Testing #1211 on this game. - Splitting the readbacks by caller. AI use: Claude Code wrote the lab counters and the local mesh patch, read the code paths and worked through the numbers with me. I ran the game, took the panel screenshots and checked the outputs myself.
Author
Owner

@⁠ZrDaniel07 on GitHub · 2026-10-24 02:57 UTC · original

Build recipe for the report above (ASTRO BOT PPSA21564 in gameplay on Windows + RTX 5090)

This is for anyone who wants to reproduce the report or use it as a starting point. None of these changes are merged: they are open PRs, a test branch and a local patch, so the hashes are a snapshot from 2026-10-24.

# Change Author What it fixes in ASTRO BOT
1 #1365, rebased by Nawid as 736ca9c4 (same change) @⁠LukaszRozmej Host crash at address=0x18 right after the first shaders compile. The SRT walk read through a null SRT pointer.
2 de0e387 on Nawid3333/KytyPS5 test/helper-1511 @⁠Nawid3333 DEVICE_LOST while loading: CS 0x657ad04626bf9d55 never left its loop. DS_APPEND and DS_CONSUME in pixel shaders now elect a non-helper lane. Details in #1511.
3 #838 (4214c331) @⁠ew-sudo Guest faults on the loading threads (OdxAsyncLoader, LevelTask_ATQT). Windows ReadFile into write-protected guest pages returned 0 bytes.
4 Local patch, diff below me, written with Claude Code, after the idea in @⁠prompterror's #793 mesh draw exceeds host workgroup limits: 1x65674 in the Garden (#624). Draws the instances in slices that fit the host limits.

The base is main at 6aaa5332, which is what test/helper-1511 sits on. I checked these steps in a clean worktree: they apply without conflicts and give the same source as the build I measured.

git clone https://github.com/KytyPS5/KytyPS5
cd KytyPS5
git fetch https://github.com/Nawid3333/KytyPS5 test/helper-1511
git checkout de0e387b18           # main 6aaa5332 + #1365 + Nawid's fix
git fetch origin pull/838/head
git cherry-pick 4214c331a1        # #838
git apply mesh-instance-slices.diff

Build: I use Release with clang-cl and Ninja.

cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_PREFIX_PATH=<Qt 6.8 msvc2022_64>
cmake --build build --target launcher
cmake --install build --prefix <install folder>

Run without any game patch (no non-RT patch):

kyty_emulator.exe --screen-width 2560 --screen-height 1440 --present-mode Mailbox --vblank-frequency 60 --shader-optimization-type Performance --printf-direction Silent --perf-overlay --game <path>\eboot.bin
  • --printf-direction Silent matters. With the guest log written to a file, the Garden drops from ~3.5 FPS to under 1 FPS.
  • --perf-overlay is optional (F2 shows or hides it, Shift+F2 switches to the detailed view). The per-thread CPU list on Windows and the waits by call site in my report come from lab counters that are not part of this recipe.

Limits of change 4:

  • It only splits the instance count. A draw with too many groups in X still exits.
  • Each slice works because the mesh shader adds the pushed first instance to gl_WorkGroupID.y.
  • Beyond a visual pass, I have not checked that the slices draw everything.

The frame rate is still limited by Thread_Gpu (see the report). primitive restart is not implemented for mesh shaders still shows once on level entry.

mesh-instance-slices.diff (applies on top of de0e387 + #838)
diff --git a/src/graphics/host_gpu/renderer/renderDraw.cpp b/src/graphics/host_gpu/renderer/renderDraw.cpp
index 97d38562..9d65c827 100644
--- a/src/graphics/host_gpu/renderer/renderDraw.cpp
+++ b/src/graphics/host_gpu/renderer/renderDraw.cpp
@@ -1134,7 +1134,8 @@ void RenderExecutor::ExecutePreparedDraw(uint64_t submit_id, CommandBuffer& buff
 	const auto vertex_stages =
 	    std::span {state.vertex_info.data(), state.programs.VertexStageCount()};
 	const bool mesh_active = state.vertex_info[0].stage.program->stage == ShaderType::Mesh;
-	uint32_t   mesh_groups = 0;
+	uint32_t   mesh_groups         = 0;
+	uint32_t   mesh_instance_slice = 0;
 	if (mesh_active) {
 		const auto& mesh = state.vertex_info[0].mesh;
 		EXIT_NOT_IMPLEMENTED(mesh.fast_launch && (draw.IsIndexed() || primitive_restart_enable));
@@ -1154,10 +1155,11 @@ void RenderExecutor::ExecutePreparedDraw(uint64_t submit_id, CommandBuffer& buff
 		}
 		mesh_groups        = (primitives - 1u) / mesh.primitives_per_group + 1u;
 		const auto& limits = m_context.GetGraphics().mesh_shader_properties;
-		if (mesh_groups > limits.maxMeshWorkGroupCount[0] ||
-		    draw.instance_count > limits.maxMeshWorkGroupCount[1] ||
-		    static_cast<uint64_t>(mesh_groups) * draw.instance_count >
-		        limits.maxMeshWorkGroupTotalCount) {
+		// Instances beyond the host limits are drawn in slices below; the mesh shader adds the
+		// pushed first instance to gl_WorkGroupID.y, so each slice only moves that dword.
+		mesh_instance_slice =
+		    std::min(limits.maxMeshWorkGroupCount[1], limits.maxMeshWorkGroupTotalCount / mesh_groups);
+		if (mesh_groups > limits.maxMeshWorkGroupCount[0] || mesh_instance_slice == 0) {
 			EXIT("mesh draw exceeds host workgroup limits: %ux%u\n", mesh_groups,
 			     draw.instance_count);
 		}
@@ -1287,7 +1289,17 @@ void RenderExecutor::ExecutePreparedDraw(uint64_t submit_id, CommandBuffer& buff
 	auto&         occlusion_queries = m_context.GetOcclusionQueries();
 	const int32_t occlusion_query   = occlusion_queries.Begin(vk_buffer);
 	if (mesh_active) {
-		vk_buffer.drawMeshTasksEXT(mesh_groups, draw.instance_count, 1);
+		for (uint32_t done = 0; done < draw.instance_count;) {
+			if (done != 0) {
+				// Draw dword 2 is the first instance.
+				const uint32_t first_instance = emit.first_instance + done;
+				vk_buffer.pushConstants(pipeline.pipeline_layout, draw_stages, 2 * sizeof(uint32_t),
+				                        sizeof(first_instance), &first_instance);
+			}
+			const auto count = std::min(mesh_instance_slice, draw.instance_count - done);
+			vk_buffer.drawMeshTasksEXT(mesh_groups, count, 1);
+			done += count;
+		}
 	} else if (args_buffer.first == nullptr) {
 		EmitDrawPrimitives(ucfg, vk_buffer, draw, emit);
 	} else if (draw.IsIndexed()) {

AI use: Claude Code built the branches, wrote change 4, checked the hashes and dry-ran the steps with me. I ran the game myself.

**@⁠ZrDaniel07** on GitHub · 2026-10-24 02:57 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/745#issuecomment-6379018673) **Build recipe for the report above (ASTRO BOT PPSA21564 in gameplay on Windows + RTX 5090)** This is for anyone who wants to reproduce the report or use it as a starting point. None of these changes are merged: they are open PRs, a test branch and a local patch, so the hashes are a snapshot from 2026-10-24. | # | Change | Author | What it fixes in ASTRO BOT | |---|---|---|---| | 1 | #1365, rebased by Nawid as `736ca9c4` (same change) | @⁠LukaszRozmej | Host crash at `address=0x18` right after the first shaders compile. The SRT walk read through a null SRT pointer. | | 2 | `de0e387` on `Nawid3333/KytyPS5` `test/helper-1511` | @⁠Nawid3333 | DEVICE_LOST while loading: `CS 0x657ad04626bf9d55` never left its loop. `DS_APPEND` and `DS_CONSUME` in pixel shaders now elect a non-helper lane. Details in #1511. | | 3 | #838 (`4214c331`) | @⁠ew-sudo | Guest faults on the loading threads (`OdxAsyncLoader`, `LevelTask_ATQT`). Windows `ReadFile` into write-protected guest pages returned 0 bytes. | | 4 | Local patch, diff below | me, written with Claude Code, after the idea in @⁠prompterror's #793 | `mesh draw exceeds host workgroup limits: 1x65674` in the Garden (#624). Draws the instances in slices that fit the host limits. | The base is `main` at `6aaa5332`, which is what `test/helper-1511` sits on. I checked these steps in a clean worktree: they apply without conflicts and give the same source as the build I measured. ``` git clone https://github.com/KytyPS5/KytyPS5 cd KytyPS5 git fetch https://github.com/Nawid3333/KytyPS5 test/helper-1511 git checkout de0e387b18 # main 6aaa5332 + #1365 + Nawid's fix git fetch origin pull/838/head git cherry-pick 4214c331a1 # #838 git apply mesh-instance-slices.diff ``` Build: I use Release with clang-cl and Ninja. ``` cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_PREFIX_PATH=<Qt 6.8 msvc2022_64> cmake --build build --target launcher cmake --install build --prefix <install folder> ``` Run without any game patch (no non-RT patch): ``` kyty_emulator.exe --screen-width 2560 --screen-height 1440 --present-mode Mailbox --vblank-frequency 60 --shader-optimization-type Performance --printf-direction Silent --perf-overlay --game <path>\eboot.bin ``` - `--printf-direction Silent` matters. With the guest log written to a file, the Garden drops from ~3.5 FPS to under 1 FPS. - `--perf-overlay` is optional (F2 shows or hides it, Shift+F2 switches to the detailed view). The per-thread CPU list on Windows and the waits by call site in my report come from lab counters that are not part of this recipe. Limits of change 4: - It only splits the instance count. A draw with too many groups in X still exits. - Each slice works because the mesh shader adds the pushed first instance to `gl_WorkGroupID.y`. - Beyond a visual pass, I have not checked that the slices draw everything. The frame rate is still limited by `Thread_Gpu` (see the report). `primitive restart is not implemented for mesh shaders` still shows once on level entry. <details><summary>mesh-instance-slices.diff (applies on top of <code>de0e387</code> + #838)</summary> ```diff diff --git a/src/graphics/host_gpu/renderer/renderDraw.cpp b/src/graphics/host_gpu/renderer/renderDraw.cpp index 97d38562..9d65c827 100644 --- a/src/graphics/host_gpu/renderer/renderDraw.cpp +++ b/src/graphics/host_gpu/renderer/renderDraw.cpp @@ -1134,7 +1134,8 @@ void RenderExecutor::ExecutePreparedDraw(uint64_t submit_id, CommandBuffer& buff const auto vertex_stages = std::span {state.vertex_info.data(), state.programs.VertexStageCount()}; const bool mesh_active = state.vertex_info[0].stage.program->stage == ShaderType::Mesh; - uint32_t mesh_groups = 0; + uint32_t mesh_groups = 0; + uint32_t mesh_instance_slice = 0; if (mesh_active) { const auto& mesh = state.vertex_info[0].mesh; EXIT_NOT_IMPLEMENTED(mesh.fast_launch && (draw.IsIndexed() || primitive_restart_enable)); @@ -1154,10 +1155,11 @@ void RenderExecutor::ExecutePreparedDraw(uint64_t submit_id, CommandBuffer& buff } mesh_groups = (primitives - 1u) / mesh.primitives_per_group + 1u; const auto& limits = m_context.GetGraphics().mesh_shader_properties; - if (mesh_groups > limits.maxMeshWorkGroupCount[0] || - draw.instance_count > limits.maxMeshWorkGroupCount[1] || - static_cast<uint64_t>(mesh_groups) * draw.instance_count > - limits.maxMeshWorkGroupTotalCount) { + // Instances beyond the host limits are drawn in slices below; the mesh shader adds the + // pushed first instance to gl_WorkGroupID.y, so each slice only moves that dword. + mesh_instance_slice = + std::min(limits.maxMeshWorkGroupCount[1], limits.maxMeshWorkGroupTotalCount / mesh_groups); + if (mesh_groups > limits.maxMeshWorkGroupCount[0] || mesh_instance_slice == 0) { EXIT("mesh draw exceeds host workgroup limits: %ux%u\n", mesh_groups, draw.instance_count); } @@ -1287,7 +1289,17 @@ void RenderExecutor::ExecutePreparedDraw(uint64_t submit_id, CommandBuffer& buff auto& occlusion_queries = m_context.GetOcclusionQueries(); const int32_t occlusion_query = occlusion_queries.Begin(vk_buffer); if (mesh_active) { - vk_buffer.drawMeshTasksEXT(mesh_groups, draw.instance_count, 1); + for (uint32_t done = 0; done < draw.instance_count;) { + if (done != 0) { + // Draw dword 2 is the first instance. + const uint32_t first_instance = emit.first_instance + done; + vk_buffer.pushConstants(pipeline.pipeline_layout, draw_stages, 2 * sizeof(uint32_t), + sizeof(first_instance), &first_instance); + } + const auto count = std::min(mesh_instance_slice, draw.instance_count - done); + vk_buffer.drawMeshTasksEXT(mesh_groups, count, 1); + done += count; + } } else if (args_buffer.first == nullptr) { EmitDrawPrimitives(ucfg, vk_buffer, draw, emit); } else if (draw.IsIndexed()) { ``` </details> AI use: Claude Code built the branches, wrote change 4, checked the hashes and dry-ran the steps with me. I ran the game myself.
Author
Owner

@⁠ZrDaniel07 on GitHub · 2026-10-26 20:35 UTC · original

ASTRO BOT (PPSA21564 01.007.000) on current main: the Garden now loads and plays, but runs at 6–10 FPS

Follow-up to my report and build recipe above. main moved 48 commits on 2026-10-26 (up to f90a8b15), so I rebuilt on it and went further into the game.

Setup, same as before:

  • Windows 11, Ryzen 9 5900X, RTX 5090 (driver 617.42), 64 GB RAM;
  • no game patch, 2560x1440, Mailbox, 60 Hz vblank, --shader-optimization-type Performance.

What changed on main f90a8b15

Problem in my earlier runs On f90a8b15
DEVICE_LOST while loading (CS 0x657ad04626bf9d55, #1511) Gone without #1881 or Nawid's branch, presumably from 5429888d "keep pixel helper lanes out of the EXEC and VCC words" (1 run)
Host crash at address=0x18 (#1365) Not hit; bdf48dcf seems to cover it
Flat yellow sand in the crash-site desert (seen on 8291cfeb) Gone, colors look right
Guest faults on the loading threads (#838) Still needs #838
mesh draw exceeds host workgroup limits in the Garden (#624) Still exits, now as 1x65666 (renderDraw.cpp:1088)

Frame rate also went up a lot outside the Garden: the crash-site desert runs at 54–60 FPS and the world map at 39–46 FPS.

560756f3 skips draws whose mesh shader exceeds the host limits (threads, vertices, LDS). The Garden draw has too many instances, so it still exits. My old slicing patch no longer works either: 943bc19f took the start instance out of the mesh instance ID, so pushing first_instance + done into draw dword 2 would make every slice after the first repeat instances 0..N.

Mesh slicing patch, v2

I rewrote the local patch for the new base (diff in the guide below).

  • The mesh draw data gets a 6th dword: the first instance of the current slice. It is 0 for every normal draw.
  • The mesh shader's instance becomes draw[5] + gl_WorkGroupID.y, in VGPR 6 (fast launch) and VGPR 8.
  • An instance count above the host limits is drawn in slices of min(maxMeshWorkGroupCount[1], maxMeshWorkGroupTotalCount / groups). Each slice after the first pushes its start into dword 5.
  • It still exits when the group count alone is over maxMeshWorkGroupCount[0]. That hasn't happened in ASTRO BOT so far.

shader_cfg_tests passes with the updated mesh input test.

Results in the Garden (aerial_garden)

Builds: f90a8b15 + #838 + mesh slices v2, with and without #1211. One run each, about 16 minutes of play in the first one. I closed the game myself every time.

Run Garden loads Result
1: guest log on, empty pipeline cache yes Played from 1:52 to 17:45 and rescued bots, no exit. Stalls of 4–9 s with no frames
2: silent, warm pipeline cache (45 MB) yes No exit, no long stalls
3: as 2, plus #1211 yes No exit
  • The flamingo flocks, plants and floats look complete, with no visible duplicates. That is only a visual check, I haven't verified that the slices draw every instance.
  • The long stalls in run 1 were pipeline creation: 100–135 ms on average, peaking at 7.2 s. With the cache from run 1 they were gone, at 0.6 ms average and 4.9 ms peak.
  • In run 3 I saw one 3.9 s frame on entering the level. I haven't checked what it was.
  • primitive restart is not implemented for mesh shaders still shows once on level entry.

Performance: still bound by draws per frame

The Garden is playable but not enjoyable: 6–10 FPS along the actual level path. Turning the camera away from the level, towards the open sky and clouds, gives 30–37 FPS. The overlay shows why: the frame rate is roughly the GPU command thread's draw throughput (35–45k draws/s) divided by the draws per frame.

Run 2 against run 3 (with #1211) at the same spots, warm cache, silent log:

Spot Without #1211 (draws/frame, draws/s, FPS) With #1211 (draws/frame, draws/s, FPS)
Opening flight with the flamingo flock 5910–5988, 37.0–37.6k, 6.2–6.4 5850, 41.0k, 7.0
Platform with the tower 3913, 41.0k, 10.5 4128, 43.2k, 10.5
Stone path (main route) — 5519, 45.8k, 8.3
Looking out at the clouds 909–1161, 32.5–34.8k, 30–36 887–1038, 31.7–36.3k, 35–37
World map 728–815, 29.1–37.7k, 40–46 700–1057, 28.0–45.8k, 39–46
  • In the dense scenes, #1211 raises draw throughput by about 5–11%. That is close to the +10–15% NeySlim measured in God of War, and the first Windows/NVIDIA data point for that PR.
  • The light scenes don't change clearly. They may be limited by something else.
  • It is not enough on its own: 6 FPS becomes about 7.
  • Write-tracking faults reach 50–113k/s in the Garden. I haven't measured what they cost.
  • The previous report's per-thread profile still describes the bottleneck: the Thread_Gpu per-draw cost.

Build recipe (guide)

The base is main f90a8b15; none of these changes are merged. I checked steps 1–3 in a clean worktree: they give exactly the tree I ran.

git clone https://github.com/KytyPS5/KytyPS5
cd KytyPS5
git checkout f90a8b1589                 # main, 2026-10-26
git fetch origin pull/838/head
git cherry-pick 4214c331a1              # #838
git apply mesh-instance-slices-v2.diff  # diff below
# optional, #1211 (+5-11% draws/s here):
git fetch origin pull/1211/head
git cherry-pick 132a9b3e b33a42cc d70328cf 857bf8c5
  • #1211 is 230 commits behind main, and the first commit conflicts in CommitBindings (descriptors.cpp). main now reads images with m_slot_images[id] (a reference) instead of try_get(id). I kept main's access and the PR's gather-once logic:

    for (const auto id: m_bound_images) {
    	const auto& image = m_context.GetTextureCache().m_slot_images[id];
    	if (!image.binding.shader_write && !image.binding.is_target) continue;
    	for (const auto written: {image.info.data, image.info.stencil,
    	                          image.info.metadata.range}) {
    		if (written.size != 0) {
    			image_writes.push_back(written);
    		}
    	}
    }
    

    The other three commits apply cleanly.

  • Build and run as in my earlier recipe (Release, clang-cl, Ninja). --printf-direction Silent is still worth it.

  • Let the pipeline cache warm up once. The first visit to the Garden stalls for seconds; the second doesn't.

mesh-instance-slices-v2.diff (applies on f90a8b15 + #838)
diff --git a/src/graphics/host_gpu/renderer/renderDraw.cpp b/src/graphics/host_gpu/renderer/renderDraw.cpp
index 454a91ff..76dd5105 100644
--- a/src/graphics/host_gpu/renderer/renderDraw.cpp
+++ b/src/graphics/host_gpu/renderer/renderDraw.cpp
@@ -1060,7 +1060,8 @@ void RenderExecutor::ExecutePreparedDraw(uint64_t submit_id, CommandBuffer& buff
 	}
 	const auto vertex_stages = state.VertexStages();
 	const bool mesh_active = state.vertex_info[0].stage.module->info.stage == ShaderType::Mesh;
-	uint32_t   mesh_groups = 0;
+	uint32_t   mesh_groups         = 0;
+	uint32_t   mesh_instance_slice = 0;
 	if (mesh_active) {
 		const auto& mesh = state.vertex_info[0].mesh;
 		EXIT_NOT_IMPLEMENTED(mesh.fast_launch && (draw.IsIndexed() || primitive_restart_enable));
@@ -1080,10 +1081,10 @@ void RenderExecutor::ExecutePreparedDraw(uint64_t submit_id, CommandBuffer& buff
 		}
 		mesh_groups        = (primitives - 1u) / mesh.primitives_per_group + 1u;
 		const auto& limits = m_context.GetGraphics().mesh_shader_properties;
-		if (mesh_groups > limits.maxMeshWorkGroupCount[0] ||
-		    draw.instance_count > limits.maxMeshWorkGroupCount[1] ||
-		    static_cast<uint64_t>(mesh_groups) * draw.instance_count >
-		        limits.maxMeshWorkGroupTotalCount) {
+		// Instances beyond the host limits are drawn in slices below.
+		mesh_instance_slice =
+		    std::min(limits.maxMeshWorkGroupCount[1], limits.maxMeshWorkGroupTotalCount / mesh_groups);
+		if (mesh_groups > limits.maxMeshWorkGroupCount[0] || mesh_instance_slice == 0) {
 			EXIT("mesh draw exceeds host workgroup limits: %ux%u\n", mesh_groups,
 			     draw.instance_count);
 		}
@@ -1163,7 +1164,8 @@ void RenderExecutor::ExecutePreparedDraw(uint64_t submit_id, CommandBuffer& buff
 			             static_cast<uint32_t>(emit.vertex_offset),
 			             index_source.guest_element_size,
 			             static_cast<uint32_t>(index_source.address),
-			             static_cast<uint32_t>(index_source.address >> 32u)};
+			             static_cast<uint32_t>(index_source.address >> 32u),
+			             0};
 		} else {
 			draw_data[0] = buffer.GetUserConfig().GetObjectId();
 		}
@@ -1209,7 +1211,16 @@ void RenderExecutor::ExecutePreparedDraw(uint64_t submit_id, CommandBuffer& buff
 	auto&         occlusion_queries = m_context.GetOcclusionQueries();
 	const int32_t occlusion_query   = occlusion_queries.Begin(vk_buffer);
 	if (mesh_active) {
-		vk_buffer.drawMeshTasksEXT(mesh_groups, draw.instance_count, 1);
+		for (uint32_t done = 0; done < draw.instance_count;) {
+			if (done != 0) {
+				vk_buffer.pushConstants(pipeline.pipeline_layout, draw_stages,
+				                        PushData::MeshInstanceSliceDword * sizeof(uint32_t),
+				                        sizeof(done), &done);
+			}
+			const auto count = std::min(mesh_instance_slice, draw.instance_count - done);
+			vk_buffer.drawMeshTasksEXT(mesh_groups, count, 1);
+			done += count;
+		}
 	} else if (args_buffer.first == nullptr) {
 		EmitDrawPrimitives(ucfg, vk_buffer, draw, emit);
 	} else if (draw.IsIndexed()) {
diff --git a/src/graphics/shader/recompiler/frontend/translate/Translate.cpp b/src/graphics/shader/recompiler/frontend/translate/Translate.cpp
index 06bc315f..a7e32110 100644
--- a/src/graphics/shader/recompiler/frontend/translate/Translate.cpp
+++ b/src/graphics/shader/recompiler/frontend/translate/Translate.cpp
@@ -1244,12 +1244,15 @@ IR::Program TranslateProgram(const Decoder::Program& decoded, const CFG::Graph&
 			    entry_ir.BitwiseOr(wave_info, entry_ir.BitwiseOr(entry_ir.ShiftLeftLogical(
 			                                                         primitive_count, u32(8)),
 			                                                     vertex_count)));
-			// Instance IDs exclude the start instance, which shaders add from user data.
+			// Instance IDs exclude the start instance, which shaders add from user data. Split
+			// draws push the first instance of each slice.
+			const auto instance =
+			    entry_ir.IAdd(draw(IR::PushData::MeshInstanceSliceDword),
+			                  builtin(IR::StageInputKind::WorkgroupId, 1));
 			if (mesh.fast_launch) {
 				// Fast launch broadcasts the subgroup's base vertex and instance to every lane.
 				entry_ir.SetVectorReg(static_cast<IR::VectorReg>(5), entry_ir.IAdd(draw(1), group));
-				entry_ir.SetVectorReg(static_cast<IR::VectorReg>(6),
-				                      builtin(IR::StageInputKind::WorkgroupId, 1));
+				entry_ir.SetVectorReg(static_cast<IR::VectorReg>(6), instance);
 			} else {
 				// GS adjacency addresses local ES records in LDS. Fans retain the draw's
 				// center in every subgroup; strip winding follows the global primitive.
@@ -1298,8 +1301,7 @@ IR::Program TranslateProgram(const Decoder::Program& decoded, const CFG::Graph&
 				     entry_ir.IMul(index_bytes, u32(8))}));
 				entry_ir.SetVectorReg(static_cast<IR::VectorReg>(5),
 				                      entry_ir.IAdd(draw(1), entry_ir.Select(indexed, index, input_vertex)));
-				entry_ir.SetVectorReg(static_cast<IR::VectorReg>(8),
-				                      builtin(IR::StageInputKind::WorkgroupId, 1));
+				entry_ir.SetVectorReg(static_cast<IR::VectorReg>(8), instance);
 			}
 		} else if (options.stage == ShaderType::Local) {
 			entry_ir.SetScalarReg(static_cast<IR::ScalarReg>(3), IR::U32(IR::Value(64u)));
diff --git a/src/graphics/shader/recompiler/ir/ShaderIR.h b/src/graphics/shader/recompiler/ir/ShaderIR.h
index 034a1797..0ab5e41a 100644
--- a/src/graphics/shader/recompiler/ir/ShaderIR.h
+++ b/src/graphics/shader/recompiler/ir/ShaderIR.h
@@ -365,7 +365,10 @@ static_assert(static_cast<uint32_t>(DescriptorBindingKind::Count) == 58u);
 
 struct PushData {
 	static constexpr uint32_t DwordCount = 32;
-	static constexpr uint32_t MeshDrawDwordCount = 5;
+	// Mesh draws: index count, vertex offset, index size, index address (2), and the first
+	// instance of the current slice when a draw is split to fit the host limits.
+	static constexpr uint32_t MeshDrawDwordCount = 6;
+	static constexpr uint32_t MeshInstanceSliceDword = 5;
 	static constexpr uint32_t NoStart    = UINT32_MAX;
 	std::array<uint32_t, DwordCount> dwords {};
 
diff --git a/tests/shaderCfgTests.cpp b/tests/shaderCfgTests.cpp
index 25c2bde7..83a9bfaa 100644
--- a/tests/shaderCfgTests.cpp
+++ b/tests/shaderCfgTests.cpp
@@ -11788,7 +11788,7 @@ void TestMeshInputAssembly() {
     options.input_info.vertex = &input;
     auto program = Frontend::TranslateProgram(decoded, graph, options);
     const uint32_t draw[] = {test.count, test.base_vertex, test.width,
-                             test.address_low, 0x12};
+                             test.address_low, 0x12, 0};
     Inst *load = nullptr;
     for (auto &inst : *program.blocks.front()) {
       if (inst.GetOpcode() == ValueOpcode::MeshDrawParameter) {

Credits: #838 by @⁠ew-sudo; the slicing idea from @⁠prompterror's #793; #1211 by @⁠NeySlim; the main fixes by @⁠nmzik.

AI use: Claude Code built the branches, wrote the v2 patch, resolved the #1211 conflict and read the overlay numbers with me. I ran the game and checked the outputs myself.

**@⁠ZrDaniel07** on GitHub · 2026-10-26 20:35 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/745#issuecomment-6426706709) **ASTRO BOT (PPSA21564 01.007.000) on current `main`: the Garden now loads and plays, but runs at 6–10 FPS** Follow-up to my report and build recipe above. `main` moved 48 commits on 2026-10-26 (up to `f90a8b15`), so I rebuilt on it and went further into the game. Setup, same as before: - Windows 11, Ryzen 9 5900X, RTX 5090 (driver 617.42), 64 GB RAM; - no game patch, 2560x1440, Mailbox, 60 Hz vblank, `--shader-optimization-type Performance`. ### What changed on `main` `f90a8b15` | Problem in my earlier runs | On `f90a8b15` | |---|---| | DEVICE_LOST while loading (`CS 0x657ad04626bf9d55`, #1511) | Gone without #1881 or Nawid's branch, presumably from `5429888d` "keep pixel helper lanes out of the EXEC and VCC words" (1 run) | | Host crash at `address=0x18` (#1365) | Not hit; `bdf48dcf` seems to cover it | | Flat yellow sand in the crash-site desert (seen on `8291cfeb`) | Gone, colors look right | | Guest faults on the loading threads (#838) | Still needs #838 | | `mesh draw exceeds host workgroup limits` in the Garden (#624) | Still exits, now as `1x65666` (`renderDraw.cpp:1088`) | Frame rate also went up a lot outside the Garden: the crash-site desert runs at 54–60 FPS and the world map at 39–46 FPS. `560756f3` skips draws whose mesh *shader* exceeds the host limits (threads, vertices, LDS). The Garden draw has too many *instances*, so it still exits. My old slicing patch no longer works either: `943bc19f` took the start instance out of the mesh instance ID, so pushing `first_instance + done` into draw dword 2 would make every slice after the first repeat instances 0..N. ### Mesh slicing patch, v2 I rewrote the local patch for the new base (diff in the guide below). - The mesh draw data gets a 6th dword: the first instance of the current slice. It is 0 for every normal draw. - The mesh shader's instance becomes `draw[5] + gl_WorkGroupID.y`, in VGPR 6 (fast launch) and VGPR 8. - An instance count above the host limits is drawn in slices of `min(maxMeshWorkGroupCount[1], maxMeshWorkGroupTotalCount / groups)`. Each slice after the first pushes its start into dword 5. - It still exits when the group count alone is over `maxMeshWorkGroupCount[0]`. That hasn't happened in ASTRO BOT so far. `shader_cfg_tests` passes with the updated mesh input test. ### Results in the Garden (`aerial_garden`) Builds: `f90a8b15` + #838 + mesh slices v2, with and without #1211. One run each, about 16 minutes of play in the first one. I closed the game myself every time. | Run | Garden loads | Result | |---|---|---| | 1: guest log on, empty pipeline cache | yes | Played from 1:52 to 17:45 and rescued bots, no exit. Stalls of 4–9 s with no frames | | 2: silent, warm pipeline cache (45 MB) | yes | No exit, no long stalls | | 3: as 2, plus #1211 | yes | No exit | - The flamingo flocks, plants and floats look complete, with no visible duplicates. That is only a visual check, I haven't verified that the slices draw every instance. - The long stalls in run 1 were pipeline creation: 100–135 ms on average, peaking at 7.2 s. With the cache from run 1 they were gone, at 0.6 ms average and 4.9 ms peak. - In run 3 I saw one 3.9 s frame on entering the level. I haven't checked what it was. - `primitive restart is not implemented for mesh shaders` still shows once on level entry. ### Performance: still bound by draws per frame The Garden is playable but not enjoyable: 6–10 FPS along the actual level path. Turning the camera away from the level, towards the open sky and clouds, gives 30–37 FPS. The overlay shows why: the frame rate is roughly the GPU command thread's draw throughput (35–45k draws/s) divided by the draws per frame. Run 2 against run 3 (with #1211) at the same spots, warm cache, silent log: | Spot | Without #1211 (draws/frame, draws/s, FPS) | With #1211 (draws/frame, draws/s, FPS) | |---|---|---| | Opening flight with the flamingo flock | 5910–5988, 37.0–37.6k, 6.2–6.4 | 5850, 41.0k, 7.0 | | Platform with the tower | 3913, 41.0k, 10.5 | 4128, 43.2k, 10.5 | | Stone path (main route) | — | 5519, 45.8k, 8.3 | | Looking out at the clouds | 909–1161, 32.5–34.8k, 30–36 | 887–1038, 31.7–36.3k, 35–37 | | World map | 728–815, 29.1–37.7k, 40–46 | 700–1057, 28.0–45.8k, 39–46 | - In the dense scenes, #1211 raises draw throughput by about 5–11%. That is close to the +10–15% NeySlim measured in God of War, and the first Windows/NVIDIA data point for that PR. - The light scenes don't change clearly. They may be limited by something else. - It is not enough on its own: 6 FPS becomes about 7. - Write-tracking faults reach 50–113k/s in the Garden. I haven't measured what they cost. - The previous report's per-thread profile still describes the bottleneck: the `Thread_Gpu` per-draw cost. ### Build recipe (guide) The base is `main` `f90a8b15`; none of these changes are merged. I checked steps 1–3 in a clean worktree: they give exactly the tree I ran. ``` git clone https://github.com/KytyPS5/KytyPS5 cd KytyPS5 git checkout f90a8b1589 # main, 2026-10-26 git fetch origin pull/838/head git cherry-pick 4214c331a1 # #838 git apply mesh-instance-slices-v2.diff # diff below # optional, #1211 (+5-11% draws/s here): git fetch origin pull/1211/head git cherry-pick 132a9b3e b33a42cc d70328cf 857bf8c5 ``` - **#1211** is 230 commits behind `main`, and the first commit conflicts in `CommitBindings` (`descriptors.cpp`). `main` now reads images with `m_slot_images[id]` (a reference) instead of `try_get(id)`. I kept `main`'s access and the PR's gather-once logic: ```cpp for (const auto id: m_bound_images) { const auto& image = m_context.GetTextureCache().m_slot_images[id]; if (!image.binding.shader_write && !image.binding.is_target) continue; for (const auto written: {image.info.data, image.info.stencil, image.info.metadata.range}) { if (written.size != 0) { image_writes.push_back(written); } } } ``` The other three commits apply cleanly. - Build and run as in my earlier recipe (Release, clang-cl, Ninja). `--printf-direction Silent` is still worth it. - Let the pipeline cache warm up once. The first visit to the Garden stalls for seconds; the second doesn't. <details><summary>mesh-instance-slices-v2.diff (applies on <code>f90a8b15</code> + #838)</summary> ```diff diff --git a/src/graphics/host_gpu/renderer/renderDraw.cpp b/src/graphics/host_gpu/renderer/renderDraw.cpp index 454a91ff..76dd5105 100644 --- a/src/graphics/host_gpu/renderer/renderDraw.cpp +++ b/src/graphics/host_gpu/renderer/renderDraw.cpp @@ -1060,7 +1060,8 @@ void RenderExecutor::ExecutePreparedDraw(uint64_t submit_id, CommandBuffer& buff } const auto vertex_stages = state.VertexStages(); const bool mesh_active = state.vertex_info[0].stage.module->info.stage == ShaderType::Mesh; - uint32_t mesh_groups = 0; + uint32_t mesh_groups = 0; + uint32_t mesh_instance_slice = 0; if (mesh_active) { const auto& mesh = state.vertex_info[0].mesh; EXIT_NOT_IMPLEMENTED(mesh.fast_launch && (draw.IsIndexed() || primitive_restart_enable)); @@ -1080,10 +1081,10 @@ void RenderExecutor::ExecutePreparedDraw(uint64_t submit_id, CommandBuffer& buff } mesh_groups = (primitives - 1u) / mesh.primitives_per_group + 1u; const auto& limits = m_context.GetGraphics().mesh_shader_properties; - if (mesh_groups > limits.maxMeshWorkGroupCount[0] || - draw.instance_count > limits.maxMeshWorkGroupCount[1] || - static_cast<uint64_t>(mesh_groups) * draw.instance_count > - limits.maxMeshWorkGroupTotalCount) { + // Instances beyond the host limits are drawn in slices below. + mesh_instance_slice = + std::min(limits.maxMeshWorkGroupCount[1], limits.maxMeshWorkGroupTotalCount / mesh_groups); + if (mesh_groups > limits.maxMeshWorkGroupCount[0] || mesh_instance_slice == 0) { EXIT("mesh draw exceeds host workgroup limits: %ux%u\n", mesh_groups, draw.instance_count); } @@ -1163,7 +1164,8 @@ void RenderExecutor::ExecutePreparedDraw(uint64_t submit_id, CommandBuffer& buff static_cast<uint32_t>(emit.vertex_offset), index_source.guest_element_size, static_cast<uint32_t>(index_source.address), - static_cast<uint32_t>(index_source.address >> 32u)}; + static_cast<uint32_t>(index_source.address >> 32u), + 0}; } else { draw_data[0] = buffer.GetUserConfig().GetObjectId(); } @@ -1209,7 +1211,16 @@ void RenderExecutor::ExecutePreparedDraw(uint64_t submit_id, CommandBuffer& buff auto& occlusion_queries = m_context.GetOcclusionQueries(); const int32_t occlusion_query = occlusion_queries.Begin(vk_buffer); if (mesh_active) { - vk_buffer.drawMeshTasksEXT(mesh_groups, draw.instance_count, 1); + for (uint32_t done = 0; done < draw.instance_count;) { + if (done != 0) { + vk_buffer.pushConstants(pipeline.pipeline_layout, draw_stages, + PushData::MeshInstanceSliceDword * sizeof(uint32_t), + sizeof(done), &done); + } + const auto count = std::min(mesh_instance_slice, draw.instance_count - done); + vk_buffer.drawMeshTasksEXT(mesh_groups, count, 1); + done += count; + } } else if (args_buffer.first == nullptr) { EmitDrawPrimitives(ucfg, vk_buffer, draw, emit); } else if (draw.IsIndexed()) { diff --git a/src/graphics/shader/recompiler/frontend/translate/Translate.cpp b/src/graphics/shader/recompiler/frontend/translate/Translate.cpp index 06bc315f..a7e32110 100644 --- a/src/graphics/shader/recompiler/frontend/translate/Translate.cpp +++ b/src/graphics/shader/recompiler/frontend/translate/Translate.cpp @@ -1244,12 +1244,15 @@ IR::Program TranslateProgram(const Decoder::Program& decoded, const CFG::Graph& entry_ir.BitwiseOr(wave_info, entry_ir.BitwiseOr(entry_ir.ShiftLeftLogical( primitive_count, u32(8)), vertex_count))); - // Instance IDs exclude the start instance, which shaders add from user data. + // Instance IDs exclude the start instance, which shaders add from user data. Split + // draws push the first instance of each slice. + const auto instance = + entry_ir.IAdd(draw(IR::PushData::MeshInstanceSliceDword), + builtin(IR::StageInputKind::WorkgroupId, 1)); if (mesh.fast_launch) { // Fast launch broadcasts the subgroup's base vertex and instance to every lane. entry_ir.SetVectorReg(static_cast<IR::VectorReg>(5), entry_ir.IAdd(draw(1), group)); - entry_ir.SetVectorReg(static_cast<IR::VectorReg>(6), - builtin(IR::StageInputKind::WorkgroupId, 1)); + entry_ir.SetVectorReg(static_cast<IR::VectorReg>(6), instance); } else { // GS adjacency addresses local ES records in LDS. Fans retain the draw's // center in every subgroup; strip winding follows the global primitive. @@ -1298,8 +1301,7 @@ IR::Program TranslateProgram(const Decoder::Program& decoded, const CFG::Graph& entry_ir.IMul(index_bytes, u32(8))})); entry_ir.SetVectorReg(static_cast<IR::VectorReg>(5), entry_ir.IAdd(draw(1), entry_ir.Select(indexed, index, input_vertex))); - entry_ir.SetVectorReg(static_cast<IR::VectorReg>(8), - builtin(IR::StageInputKind::WorkgroupId, 1)); + entry_ir.SetVectorReg(static_cast<IR::VectorReg>(8), instance); } } else if (options.stage == ShaderType::Local) { entry_ir.SetScalarReg(static_cast<IR::ScalarReg>(3), IR::U32(IR::Value(64u))); diff --git a/src/graphics/shader/recompiler/ir/ShaderIR.h b/src/graphics/shader/recompiler/ir/ShaderIR.h index 034a1797..0ab5e41a 100644 --- a/src/graphics/shader/recompiler/ir/ShaderIR.h +++ b/src/graphics/shader/recompiler/ir/ShaderIR.h @@ -365,7 +365,10 @@ static_assert(static_cast<uint32_t>(DescriptorBindingKind::Count) == 58u); struct PushData { static constexpr uint32_t DwordCount = 32; - static constexpr uint32_t MeshDrawDwordCount = 5; + // Mesh draws: index count, vertex offset, index size, index address (2), and the first + // instance of the current slice when a draw is split to fit the host limits. + static constexpr uint32_t MeshDrawDwordCount = 6; + static constexpr uint32_t MeshInstanceSliceDword = 5; static constexpr uint32_t NoStart = UINT32_MAX; std::array<uint32_t, DwordCount> dwords {}; diff --git a/tests/shaderCfgTests.cpp b/tests/shaderCfgTests.cpp index 25c2bde7..83a9bfaa 100644 --- a/tests/shaderCfgTests.cpp +++ b/tests/shaderCfgTests.cpp @@ -11788,7 +11788,7 @@ void TestMeshInputAssembly() { options.input_info.vertex = &input; auto program = Frontend::TranslateProgram(decoded, graph, options); const uint32_t draw[] = {test.count, test.base_vertex, test.width, - test.address_low, 0x12}; + test.address_low, 0x12, 0}; Inst *load = nullptr; for (auto &inst : *program.blocks.front()) { if (inst.GetOpcode() == ValueOpcode::MeshDrawParameter) { ``` </details> Credits: #838 by @⁠ew-sudo; the slicing idea from @⁠prompterror's #793; #1211 by @⁠NeySlim; the `main` fixes by @⁠nmzik. AI use: Claude Code built the branches, wrote the v2 patch, resolved the #1211 conflict and read the overlay numbers with me. I ran the game and checked the outputs myself.
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#745
No description provided.