Astro Bot PPSA21567 v01.019.000 crashes when loading the second world #1797

Open
opened 2026-11-26 10:05:58 +00:00 by github-bot · 2 comments
Owner

@⁠north458Z on GitHub · 2026-10-21 17:54 UTC · original

Hello,

Astro Bot crashes consistently when loading the second world, (Go-Go Archipelago).

The first world loads and runs normally. When entering the second world, the game crashes during the loading screen. Once, I briefly saw the plants appearing before the crash, but the result is otherwise consistent.

System information:

Game: Astro Bot v01.019.000
Game ID: PPSA21567
Emulator: KytyPS5 U59 Windows x64
CPU: AMD Ryzen 7 8700
GPU: NVIDIA GeForce RTX 4050
NVIDIA driver: 616.56
OS: Windows 11
Crash log details:

Could this be a known issue with loading the second world? I can provide the relevant crash log if needed.

Thank you for your work on KytyPS5.

log.txt

**@⁠north458Z** on GitHub · 2026-10-21 17:54 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1797) Hello, Astro Bot crashes consistently when loading the second world, (Go-Go Archipelago). The first world loads and runs normally. When entering the second world, the game crashes during the loading screen. Once, I briefly saw the plants appearing before the crash, but the result is otherwise consistent. System information: Game: Astro Bot v01.019.000 Game ID: PPSA21567 Emulator: KytyPS5 U59 Windows x64 CPU: AMD Ryzen 7 8700 GPU: NVIDIA GeForce RTX 4050 NVIDIA driver: 616.56 OS: Windows 11 Crash log details: Could this be a known issue with loading the second world? I can provide the relevant crash log if needed. Thank you for your work on KytyPS5. [log.txt](https://github.com/user-attachments/files/33781071/log.txt)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:05:58 +00:00
Author
Owner

@⁠theantipopau on GitHub · 2026-10-22 05:43 UTC · original

The failing line is allocate sparse image memory failed: ErrorOutOfDeviceMemory (-2) reported through RequireVulkanSuccess in vulkanCommon.cpp, and your build is a fork build (Jetsku/KytyPS5 5c3b39f): upstream main has no sparse/PRT image binding path at all, so this is the fork's sparse-image allocation, not something in this repo's tree.

The log also shows the device was already out of video memory well before that point — the same 2048x2048, 12-level images repeatedly fell back to system memory:

Vulkan: video memory full, an image is in system memory: 2048x2048x1 format=146 layers=1 levels=12 (KYTY_IMAGE_SYSMEM_FALLBACK)

So the sparse allocation is asking for a large, fully resident backing while the device is exhausted; on upstream that image would go through the system-memory fallback instead. Two things to try on the fork side: make the sparse path fall back to a normal (non-sparse) allocation or to system memory when vkAllocateMemory reports out-of-device-memory, and check why the second world needs several 2048x2048 mip chains resident at once. Also worth confirming whether the sparse path passes VMA_ALLOCATION_CREATE_WITHIN_BUDGET_BIT — the same advisory flag that made #1801 fatal at startup would reject this allocation regardless of free memory.

Nothing to change on main for this report unless you want the sparse path ported here.

**@⁠theantipopau** on GitHub · 2026-10-22 05:43 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1797#issuecomment-6333687792) The failing line is `allocate sparse image memory failed: ErrorOutOfDeviceMemory (-2)` reported through `RequireVulkanSuccess` in `vulkanCommon.cpp`, and your build is a fork build (`Jetsku/KytyPS5 5c3b39f`): upstream `main` has no sparse/PRT image binding path at all, so this is the fork's sparse-image allocation, not something in this repo's tree. The log also shows the device was already out of video memory well before that point — the same 2048x2048, 12-level images repeatedly fell back to system memory: ``` Vulkan: video memory full, an image is in system memory: 2048x2048x1 format=146 layers=1 levels=12 (KYTY_IMAGE_SYSMEM_FALLBACK) ``` So the sparse allocation is asking for a large, fully resident backing while the device is exhausted; on upstream that image would go through the system-memory fallback instead. Two things to try on the fork side: make the sparse path fall back to a normal (non-sparse) allocation or to system memory when `vkAllocateMemory` reports out-of-device-memory, and check why the second world needs several 2048x2048 mip chains resident at once. Also worth confirming whether the sparse path passes `VMA_ALLOCATION_CREATE_WITHIN_BUDGET_BIT` — the same advisory flag that made #1801 fatal at startup would reject this allocation regardless of free memory. Nothing to change on `main` for this report unless you want the sparse path ported here.
Author
Owner

@⁠mosaddequerasel261-bit on GitHub · 2026-10-24 16:57 UTC · original

  1. The failing line is allocate sparse image memory failed: ErrorOutOfDeviceMemory (-2) reported through RequireVulkanSuccess in vulkanCommon.cpp, and your build is a fork build (Jetsku/KytyPS5 5c3b39f): upstream main has no sparse/PRT image binding path at all, so this is the fork's sparse-image allocation, not something in this repo's tree.
    The log also shows the device was already out of video memory well before that point — the same 2048x2048, 12-level images repeatedly fell back to system memory:

    Vulkan: video memory full, an image is in system memory: 2048x2048x1 format=146 layers=1 levels=12 (KYTY_IMAGE_SYSMEM_FALLBACK)
    

    So the sparse allocation is asking for a large, fully resident backing while the device is exhausted; on upstream that image would go through the system-memory fallback instead. Two things to try on the fork side: make the sparse path fall back to a normal (non-sparse) allocation or to system memory when vkAllocateMemory reports out-of-device-memory, and check why the second world needs several 2048x2048 mip chains resident at once. Also worth confirming whether the sparse path passes VMA_ALLOCATION_CREATE_WITHIN_BUDGET_BIT — the same advisory flag that made #1801 fatal at startup would reject this allocation regardless of free memory.
    Nothing to change on main for this report unless you want the sparse path ported here.

Same level crashes for me too, but with a different symptom (guest fault, not out of VRAM).

Setup: RTX 5080 (16 GB), Ryzen 9 9950X, 64 GB RAM, Windows 11
Game: Astro Bot PPSA21564 v01.018.000 (A0118-V0118)
Build: Jetsku/KytyPS5 U59 int20 (c25d672), also tried another U59 build, same crash

What happens: entering Tentacle System from the galaxy map crashes 1-2 seconds into loading, every time. First world plays fine. Tentacle System is required to progress, so the game is blocked.

Guest fault context:

  • thread: ProductNextLoad_ATQT
  • pc: 0x000000090029c216 (guest code), same pc every time
  • access=1 address=0xffffffffffffffff (r15 = -1)
  • the stack holds the path being loaded:
    big_hand_pirate_island/cinematics/controllership_landing/anim/B6820621-4A3B-E646-B3FD-79B4074F7F36.snd.cdx
    (the file is present in the game folder)

The fault address is exactly -1, which looks like MAP_FAILED: the loader may be using a failed memory/file mapping for the arrival cutscene's assets.

Already tried, no change: KYTY_LABEL_MODE=record, 3D audio objects off, red zone protection on, vblank 60.

Full log and a save from just before the second world are attached.

Also: if anyone has a Kyty _SaveData for Astro Bot from after the first Tentacle System arrival, please share. Once that arrival is done the crash shouldn't trigger again.

**@⁠mosaddequerasel261-bit** on GitHub · 2026-10-24 16:57 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1797#issuecomment-6386989930) > 1. The failing line is `allocate sparse image memory failed: ErrorOutOfDeviceMemory (-2)` reported through `RequireVulkanSuccess` in `vulkanCommon.cpp`, and your build is a fork build (`Jetsku/KytyPS5 5c3b39f`): upstream `main` has no sparse/PRT image binding path at all, so this is the fork's sparse-image allocation, not something in this repo's tree. > The log also shows the device was already out of video memory well before that point — the same 2048x2048, 12-level images repeatedly fell back to system memory: > ``` > Vulkan: video memory full, an image is in system memory: 2048x2048x1 format=146 layers=1 levels=12 (KYTY_IMAGE_SYSMEM_FALLBACK) > ``` > > > > > > > > > > > > So the sparse allocation is asking for a large, fully resident backing while the device is exhausted; on upstream that image would go through the system-memory fallback instead. Two things to try on the fork side: make the sparse path fall back to a normal (non-sparse) allocation or to system memory when `vkAllocateMemory` reports out-of-device-memory, and check why the second world needs several 2048x2048 mip chains resident at once. Also worth confirming whether the sparse path passes `VMA_ALLOCATION_CREATE_WITHIN_BUDGET_BIT` — the same advisory flag that made [#1801](https://git.gtahub.st/github/KytyPS5--KytyPS5/issues/1801) fatal at startup would reject this allocation regardless of free memory. > Nothing to change on `main` for this report unless you want the sparse path ported here. Same level crashes for me too, but with a different symptom (guest fault, not out of VRAM). Setup: RTX 5080 (16 GB), Ryzen 9 9950X, 64 GB RAM, Windows 11 Game: Astro Bot PPSA21564 v01.018.000 (A0118-V0118) Build: Jetsku/KytyPS5 U59 int20 (c25d672), also tried another U59 build, same crash What happens: entering Tentacle System from the galaxy map crashes 1-2 seconds into loading, every time. First world plays fine. Tentacle System is required to progress, so the game is blocked. Guest fault context: - thread: ProductNextLoad_ATQT - pc: 0x000000090029c216 (guest code), same pc every time - access=1 address=0xffffffffffffffff (r15 = -1) - the stack holds the path being loaded: big_hand_pirate_island/cinematics/controllership_landing/anim/B6820621-4A3B-E646-B3FD-79B4074F7F36.snd.cdx (the file is present in the game folder) The fault address is exactly -1, which looks like MAP_FAILED: the loader may be using a failed memory/file mapping for the arrival cutscene's assets. Already tried, no change: KYTY_LABEL_MODE=record, 3D audio objects off, red zone protection on, vblank 60. Full log and a save from just before the second world are attached. Also: if anyone has a Kyty _SaveData for Astro Bot from after the first Tentacle System arrival, please share. Once that arrival is done the crash shouldn't trigger again.
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#1797
No description provided.