[GAME STATUS]: Beat Saber (Doesn't Boot) #2337

Open
opened 2026-11-26 10:18:35 +00:00 by github-bot · 12 comments
Owner

@⁠Crispy81 on GitHub · 2026-11-17 05:39 UTC · original

Game title

Beat Saber

Game ID / serial

PPSA15035

KytyPS5 version

0.3.0 1e87171

Compatibility status

Doesn't boot

Last working build / first broken build

No response

Result details

Attempt to boot game, but crashes with:

Error: condition (copy.srcSubresource.layerCount != copy.dstSubresource.layerCount) is true in D:\a\KytyPS5\KytyPS5\src\graphics\presentation\window\swapchain.cpp:219

Steps to reproduce the result

  1. Open Translator
  2. Boot Game

Expected behavior

Logo screens would appear and then go from there.

OS

Windows 11 Pro 26H2

CPU

AMD Ryzen 7 7700X

GPU

AMD Radeon RX 9070XT, Driver 26.10.1

RAM / VRAM

32 GB RAM / 16GB VRAM

Log file upload

_kyty.txt

Screenshots/video

image

Extra notes

Default Settings.

**@⁠Crispy81** on GitHub · 2026-11-17 05:39 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2337) ### Game title Beat Saber ### Game ID / serial PPSA15035 ### KytyPS5 version 0.3.0 1e87171 ### Compatibility status Doesn't boot ### Last working build / first broken build _No response_ ### Result details Attempt to boot game, but crashes with: Error: condition (copy.srcSubresource.layerCount != copy.dstSubresource.layerCount) is true in D:\a\KytyPS5\KytyPS5\src\graphics\presentation\window\swapchain.cpp:219 ### Steps to reproduce the result 1. Open Translator 2. Boot Game ### Expected behavior Logo screens would appear and then go from there. ### OS Windows 11 Pro 26H2 ### CPU AMD Ryzen 7 7700X ### GPU AMD Radeon RX 9070XT, Driver 26.10.1 ### RAM / VRAM 32 GB RAM / 16GB VRAM ### Log file upload [_kyty.txt](https://github.com/user-attachments/files/34954493/_kyty.txt) ### Screenshots/video <img width="1346" height="460" alt="image" src="https://github.com/user-attachments/assets/478f1f79-b31f-4f5d-b812-6547c302ca0c" /> ### Extra notes Default Settings.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:18:35 +00:00
Author
Owner

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

@⁠Crispy81 Thanks for the report. The stop is in the copy of the game's display buffer to the window (swapchain.cpp:219): the image the emulator found at the display buffer's address has a different number of array layers than the window's frame, which has one. The log does not show that image's layer count (its layers = 1 lines are the VR reprojection setting count from Hmd2ReprojectionSetParam). Beat Saber is a PSVR2 title, so one possibility is an image at that address that holds both eyes as layers; the build below shows it.

This test build prints both images' layer counts, sizes and formats in the error message: official 4da95bd + error-message changes only (this one and one for another issue), it fixes nothing yet. Windows build (artifact KytyPS5-Windows-x64).

Could you boot Beat Saber once with it and paste the --- Error --- lines (they start with presentation copy layer mismatch:)?

**@⁠Nawid3333** on GitHub · 2026-11-17 19:25 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2337#issuecomment-6958527432) @⁠Crispy81 Thanks for the report. The stop is in the copy of the game's display buffer to the window (swapchain.cpp:219): the image the emulator found at the display buffer's address has a different number of array layers than the window's frame, which has one. The log does not show that image's layer count (its `layers = 1` lines are the VR reprojection setting count from `Hmd2ReprojectionSetParam`). Beat Saber is a PSVR2 title, so one possibility is an image at that address that holds both eyes as layers; the build below shows it. This test build prints both images' layer counts, sizes and formats in the error message: official `4da95bd` + error-message changes only (this one and one for another issue), it fixes nothing yet. [Windows build](https://github.com/Nawid3333/KytyPS5/actions/runs/44153382773) (artifact `KytyPS5-Windows-x64`). Could you boot Beat Saber once with it and paste the `--- Error ---` lines (they start with `presentation copy layer mismatch:`)?
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-17 20:38 UTC · original

presentation copy layer mismatch: source layers=2 extent=1632x1836 format=64 | frame layers=1 extent=1632x1836 format=64
in D:\a\KytyPS5\KytyPS5\src\graphics\presentation\window\swapchain.cpp:225

**@⁠Crispy81** on GitHub · 2026-11-17 20:38 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2337#issuecomment-6960341654) presentation copy layer mismatch: source layers=2 extent=1632x1836 format=64 | frame layers=1 extent=1632x1836 format=64 in D:\a\KytyPS5\KytyPS5\src\graphics\presentation\window\swapchain.cpp:225
Author
Owner

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

@⁠Crispy81 Thanks, that line names the cause. For the headset view, KytyPS5 shows the game's left eye texture as the displayed buffer ("Hmd2: separate eye textures are not supported; showing the left one" in your log). The cached image at that address has 2 layers (1632x1836), while the frame it presents has 1. Main copies every layer of that image into the frame, so the layer check stops. The displayed buffer is the single surface at that address, so only that one layer belongs in the frame.

Test build that copies just that layer: official 2638b1b + this change: Windows build (artifact KytyPS5-Windows-x64).

Could you run Beat Saber with it? If it stops somewhere else, please attach the new _kyty.txt.

(The log you attached on #2331 is from this Beat Saber run, title ID PPSA15035, so the Avatar log with the shader options is still open there.)

**@⁠Nawid3333** on GitHub · 2026-11-17 21:23 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2337#issuecomment-6961397798) @⁠Crispy81 Thanks, that line names the cause. For the headset view, KytyPS5 shows the game's left eye texture as the displayed buffer ("Hmd2: separate eye textures are not supported; showing the left one" in your log). The cached image at that address has 2 layers (1632x1836), while the frame it presents has 1. Main copies every layer of that image into the frame, so the layer check stops. The displayed buffer is the single surface at that address, so only that one layer belongs in the frame. Test build that copies just that layer: official `2638b1b` + this change: [Windows build](https://github.com/Nawid3333/KytyPS5/actions/runs/44174290501) (artifact `KytyPS5-Windows-x64`). Could you run Beat Saber with it? If it stops somewhere else, please attach the new `_kyty.txt`. (The log you attached on #2331 is from this Beat Saber run, title ID PPSA15035, so the Avatar log with the shader options is still open there.)
Author
Owner

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

gets a little further.. now:

Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
--- Build ---
Fork build Nawid3333/KytyPS5 452d8a6
--- Fatal Error ---
Error: condition (layers == 0 || (copy ? !ImageViewOps::FormatsCompatible(source.backing.format, backing.format) : source.backing.format != backing.format)) is true in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\image\image.cpp:421

_kyty.txt

**@⁠Crispy81** on GitHub · 2026-11-17 21:29 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2337#issuecomment-6961530441) gets a little further.. now: Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] --- Build --- Fork build Nawid3333/KytyPS5 452d8a6 --- Fatal Error --- Error: condition (layers == 0 || (copy ? !ImageViewOps::FormatsCompatible(source.backing.format, backing.format) : source.backing.format != backing.format)) is true in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\image\image.cpp:421 [_kyty.txt](https://github.com/user-attachments/files/34995971/_kyty.txt)
Author
Owner

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

@⁠Crispy81 Thanks, that is progress: the layer copy works now, and your log shows the game presenting frames before it stops. The new stop is in a color resolve, where the GPU copies one render target into another (render target 0 into render target 1). Either the two images have formats this copy cannot handle, or the copy covers no layer; the message shows neither the formats nor the layer counts.

The Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] lines come from an Hmd2 function KytyPS5 does not implement yet. Such a call returns 0 and did not stop the game.

This test build keeps the layer fix and prints both images' formats, sample counts, layers and sizes at that stop: official 2638b1b + the layer fix + an error-message change only. Windows build (artifact KytyPS5-Windows-x64).

Could you run Beat Saber with it and paste the error lines (they start with resolve mismatch:)?

**@⁠Nawid3333** on GitHub · 2026-11-17 22:10 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2337#issuecomment-6962448593) @⁠Crispy81 Thanks, that is progress: the layer copy works now, and your log shows the game presenting frames before it stops. The new stop is in a color resolve, where the GPU copies one render target into another (render target 0 into render target 1). Either the two images have formats this copy cannot handle, or the copy covers no layer; the message shows neither the formats nor the layer counts. The `Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]` lines come from an Hmd2 function KytyPS5 does not implement yet. Such a call returns 0 and did not stop the game. This test build keeps the layer fix and prints both images' formats, sample counts, layers and sizes at that stop: official `2638b1b` + the layer fix + an error-message change only. [Windows build](https://github.com/Nawid3333/KytyPS5/actions/runs/44180968670) (artifact `KytyPS5-Windows-x64`). Could you run Beat Saber with it and paste the error lines (they start with `resolve mismatch:`)?
Author
Owner

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

Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
--- Build ---
Fork build Nawid3333/KytyPS5 4493eae
--- Error ---
resolve mismatch: source format=R8G8B8A8Srgb samples=8 layers=2 levels=1 extent=1632x1836 range=0/0 | destination format=A2B10G10R10UnormPack32 samples=1 layers=2 levels=1 extent=1632x1836 range=0/0 | layers=1
in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\image\image.cpp:431
Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]

**@⁠Crispy81** on GitHub · 2026-11-17 22:29 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2337#issuecomment-6962868899) Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func] --- Build --- Fork build Nawid3333/KytyPS5 4493eae --- Error --- resolve mismatch: source format=R8G8B8A8Srgb samples=8 layers=2 levels=1 extent=1632x1836 range=0/0 | destination format=A2B10G10R10UnormPack32 samples=1 layers=2 levels=1 extent=1632x1836 range=0/0 | layers=1 in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\image\image.cpp:431 Unresolved import stub called: 8GkaY2B7opM[Hmd2_v1][Hmd2_v1.1][Func]
Author
Owner

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

@⁠Crispy81 Thanks, those values name the cause. The game resolves an 8-sample R8G8B8A8Srgb render target into a 1-sample A2B10G10R10UnormPack32 one (render target 0 into render target 1, one layer). So the resolve also has to convert the format. KytyPS5 used a Vulkan resolve, which only works between images of the same format, so it stopped there.

This test build resolves into an image of the source format first and then copies it into the destination with a format conversion: official 2638b1b + the layer fix from the previous build + this change. Windows build (artifact KytyPS5-Windows-x64).

Could you run Beat Saber with it? If it stops somewhere else, please attach the new _kyty.txt.

**@⁠Nawid3333** on GitHub · 2026-11-17 23:34 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2337#issuecomment-6964177151) @⁠Crispy81 Thanks, those values name the cause. The game resolves an 8-sample `R8G8B8A8Srgb` render target into a 1-sample `A2B10G10R10UnormPack32` one (render target 0 into render target 1, one layer). So the resolve also has to convert the format. KytyPS5 used a Vulkan resolve, which only works between images of the same format, so it stopped there. This test build resolves into an image of the source format first and then copies it into the destination with a format conversion: official `2638b1b` + the layer fix from the previous build + this change. [Windows build](https://github.com/Nawid3333/KytyPS5/actions/runs/44195030260) (artifact `KytyPS5-Windows-x64`). Could you run Beat Saber with it? If it stops somewhere else, please attach the new `_kyty.txt`.
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-18 01:55 UTC · original

That works, but can't go any further until the saber devices the game uses are emulated or bypassed/re-key mapped.

image
**@⁠Crispy81** on GitHub · 2026-11-18 01:55 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2337#issuecomment-6966644643) That works, but can't go any further until the saber devices the game uses are emulated or bypassed/re-key mapped. <img width="1914" height="1114" alt="image" src="https://github.com/user-attachments/assets/d40fd5b7-98f7-4f06-8601-bcf8a568cf6d" />
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-18 07:24 UTC · original

@⁠Crispy81 Thanks for testing the three builds. Both changes are now pull requests: #2372 (the presenter copies the one eye layer the game flips; the swapchain.cpp:219 stop) and #2371 (a resolve between two formats; the image.cpp:421 stop).

About the sabers: your logs show Hmd2: initialized, virtual headset=disabled. With --vr on the emulator's command line, KytyPS5 reports a mounted virtual headset and lets the game open the two PS VR2 Sense controller ports. Each hand then reads its half of player 1's gamepad or keyboard (left: L1, L2, L3, triangle, square and the left stick; right: R1, R2, R3, circle, cross, Options and the right stick), or real VR controllers when an OpenXR runtime is running.

Could you try Beat Saber with --vr and the build from my last comment? If it stops somewhere, please attach the new _kyty.txt.

**@⁠Nawid3333** on GitHub · 2026-11-18 07:24 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2337#issuecomment-6971993195) @⁠Crispy81 Thanks for testing the three builds. Both changes are now pull requests: #2372 (the presenter copies the one eye layer the game flips; the `swapchain.cpp:219` stop) and #2371 (a resolve between two formats; the `image.cpp:421` stop). About the sabers: your logs show `Hmd2: initialized, virtual headset=disabled`. With `--vr` on the emulator's command line, KytyPS5 reports a mounted virtual headset and lets the game open the two PS VR2 Sense controller ports. Each hand then reads its half of player 1's gamepad or keyboard (left: L1, L2, L3, triangle, square and the left stick; right: R1, R2, R3, circle, cross, Options and the right stick), or real VR controllers when an OpenXR runtime is running. Could you try Beat Saber with `--vr` and the build from my last comment? If it stops somewhere, please attach the new `_kyty.txt`.
Author
Owner

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

Doesn't stop, but cursor cannot be controlled via controller or keyboard, even when using --vr from the command line to run it.

image
**@⁠Crispy81** on GitHub · 2026-11-18 08:44 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2337#issuecomment-6973543205) Doesn't stop, but cursor cannot be controlled via controller or keyboard, even when using --vr from the command line to run it. <img width="1284" height="755" alt="image" src="https://github.com/user-attachments/assets/b5e1dd51-adfe-4adb-a93e-0ce791e68c69" />
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-18 12:28 UTC · original

@⁠Crispy81 Thanks for trying it. That matches how --vr works now: without an OpenXR runtime, the buttons, sticks and triggers of the Sense controllers come from your gamepad or keyboard, but the tracked controller pose comes only from an OpenXR runtime (for example SteamVR with a PC VR headset and its controllers). Without one, VrTracker2 reports both controllers at a fixed pose at the origin (libVrTracker2.cpp, GetResult). That is most likely why Beat Saber's menu pointer cannot move: it is aimed with the tracked controllers.

Moving a tracked controller with a gamepad or mouse is not implemented; #2207 is the request for PS VR2 games through OpenXR. If you have a PC VR headset with an OpenXR runtime running, --vr should pick it up, and then the controllers' input and pose come from your VR controllers.

**@⁠Nawid3333** on GitHub · 2026-11-18 12:28 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2337#issuecomment-6978561061) @⁠Crispy81 Thanks for trying it. That matches how `--vr` works now: without an OpenXR runtime, the buttons, sticks and triggers of the Sense controllers come from your gamepad or keyboard, but the tracked controller pose comes only from an OpenXR runtime (for example SteamVR with a PC VR headset and its controllers). Without one, `VrTracker2` reports both controllers at a fixed pose at the origin (`libVrTracker2.cpp`, `GetResult`). That is most likely why Beat Saber's menu pointer cannot move: it is aimed with the tracked controllers. Moving a tracked controller with a gamepad or mouse is not implemented; #2207 is the request for PS VR2 games through OpenXR. If you have a PC VR headset with an OpenXR runtime running, `--vr` should pick it up, and then the controllers' input and pose come from your VR controllers.
Author
Owner

@⁠Nmzik on GitHub · 2026-11-18 14:22 UTC · original

Fixed in main. --vr requires real VR controller (not mouse + keyboard)

**@⁠Nmzik** on GitHub · 2026-11-18 14:22 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2337#issuecomment-6981332277) Fixed in main. --vr requires real VR controller (not mouse + keyboard)
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#2337
No description provided.