[GAME STATUS]: Abiotic Factor #2163

Open
opened 2026-11-26 10:16:04 +00:00 by github-bot · 4 comments
Owner

@⁠Ekt0re on GitHub · 2026-11-07 18:26 UTC · original

Game title

Abiotic Factor

Game ID / serial

PPSA26012

KytyPS5 version

KytyPS5-2026-11-07-589bd14

Compatibility status

Main menu

Last working build / first broken build

No response

Result details

The game launches and enters gameplay.
Unfortunately, performance and stability are inconsistent, and there are several graphical glitches.

An import stub is reported:
Unresolved import stub called: 0Cq8ipKr9n0[libkernel_v1][libkernel_v1.1][Func]

As soon as I start playing and move the controller's stick to rotate the camera, the game crashes.
Crash:

--- Error ---
[Vulkan][E][2]: vkCmdCopyBufferToImage(): pRegions[0].imageOffset.x (0) + extent.width (128) exceeds imageSubresource width extent (64).
The VK_IMAGE_TYPE_2D VkImage was created with format VK_FORMAT_R16_UNORM and an extent of [width = 64, height = 128, depth = 1]
The Vulkan spec states: For each element of pRegions, imageOffset.x and (imageExtent.width + imageOffset.x) must both be greater than or equal to 0 and less than or equal to the width of the specified imageSubresource of dstImage (https://docs.vulkan.org/spec/latest/chapters/copies.html#VUID-vkCmdCopyBufferToImage-imageSubresource-07971)
 in D:/Progetti/KytyPS5/src/graphics/presentation/window/vulkanWindow.cpp:767

Steps to reproduce the result

Launch the game from kytyPS5 and play!
As soon as I start playing and move the controller's stick to rotate the camera, the game crashes.

Expected behavior

The game is expected to run smoothly, without any graphical artifacts.

OS

Windows 11 Pro, 26H2

CPU

13th Gen Intel(R) Core(TM) i7-13700K (3.40 GHz)

GPU

NVIDIA GeForce RTX 4070 Ti

RAM / VRAM

32 GB DDR5 / 12 GB VRAM

Log file upload

_kyty.zip

Screenshots/video

https://github.com/user-attachments/assets/8ae1f6c7-552d-4684-ab10-c9ec9fc5327c

Extra notes

No response

**@⁠Ekt0re** on GitHub · 2026-11-07 18:26 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2163) ### Game title Abiotic Factor ### Game ID / serial PPSA26012 ### KytyPS5 version KytyPS5-2026-11-07-589bd14 ### Compatibility status Main menu ### Last working build / first broken build _No response_ ### Result details The game launches and enters gameplay. Unfortunately, performance and stability are inconsistent, and there are several graphical glitches. **An import stub is reported:** `Unresolved import stub called: 0Cq8ipKr9n0[libkernel_v1][libkernel_v1.1][Func]` As soon as I start playing and move the controller's stick to rotate the camera, the game crashes. **Crash:** ``` --- Error --- [Vulkan][E][2]: vkCmdCopyBufferToImage(): pRegions[0].imageOffset.x (0) + extent.width (128) exceeds imageSubresource width extent (64). The VK_IMAGE_TYPE_2D VkImage was created with format VK_FORMAT_R16_UNORM and an extent of [width = 64, height = 128, depth = 1] The Vulkan spec states: For each element of pRegions, imageOffset.x and (imageExtent.width + imageOffset.x) must both be greater than or equal to 0 and less than or equal to the width of the specified imageSubresource of dstImage (https://docs.vulkan.org/spec/latest/chapters/copies.html#VUID-vkCmdCopyBufferToImage-imageSubresource-07971) in D:/Progetti/KytyPS5/src/graphics/presentation/window/vulkanWindow.cpp:767 ``` ### Steps to reproduce the result Launch the game from kytyPS5 and play! As soon as I start playing and move the controller's stick to rotate the camera, the game crashes. ### Expected behavior The game is expected to run smoothly, without any graphical artifacts. ### OS Windows 11 Pro, 26H2 ### CPU 13th Gen Intel(R) Core(TM) i7-13700K (3.40 GHz) ### GPU NVIDIA GeForce RTX 4070 Ti ### RAM / VRAM 32 GB DDR5 / 12 GB VRAM ### Log file upload <!-- Failed to upload "_kyty.txt" --> [_kyty.zip](https://github.com/user-attachments/files/34526162/_kyty.zip) ### Screenshots/video <!-- Failed to upload "2026-11-07 19-19-49.mp4" --> https://github.com/user-attachments/assets/8ae1f6c7-552d-4684-ab10-c9ec9fc5327c ### Extra notes _No response_
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:16:04 +00:00
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-07 21:03 UTC · original

@⁠Ekt0re the stop in your report (vkCmdCopyBufferToImage ... extent.width (128) exceeds imageSubresource width extent (64), VUID 07971) matches the bug that open PR #1742 fixes: when the texture cache copies one image into another through a staging buffer, the upload uses the source image's width and height and never limits them to the destination. A 128-wide source copied into your 64x128 R16_UNORM image writes past its edge. The direct image-to-image copy is already limited to the smaller of the two images, and the other buffer-to-image uploads take their size from the destination itself. Open PR #1176 limits this copy as well.

Test build: https://github.com/Nawid3333/KytyPS5/actions/runs/42411382150 (artifact KytyPS5-Windows-x64 at the bottom of the page; the window title shows Fork build Nawid3333/KytyPS5 5360347). Commit 53603473f = main (27f290e95) + #1742 + the Windows build fix from #2165. Since you build from source, git fetch https://github.com/Nawid3333/KytyPS5 test/2163-copy-clamp gives the same tree.

Could you play with the same settings (Vulkan validation on) and rotate the camera as before? Does the VUID 07971 stop go away? If it stops again, please attach _kyty.txt.

**@⁠Nawid3333** on GitHub · 2026-11-07 21:03 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2163#issuecomment-6712988531) @⁠Ekt0re the stop in your report (`vkCmdCopyBufferToImage ... extent.width (128) exceeds imageSubresource width extent (64)`, VUID 07971) matches the bug that open PR #1742 fixes: when the texture cache copies one image into another through a staging buffer, the upload uses the source image's width and height and never limits them to the destination. A 128-wide source copied into your 64x128 R16_UNORM image writes past its edge. The direct image-to-image copy is already limited to the smaller of the two images, and the other buffer-to-image uploads take their size from the destination itself. Open PR #1176 limits this copy as well. Test build: https://github.com/Nawid3333/KytyPS5/actions/runs/42411382150 (artifact `KytyPS5-Windows-x64` at the bottom of the page; the window title shows `Fork build Nawid3333/KytyPS5 5360347`). Commit 53603473f = main (27f290e95) + #1742 + the Windows build fix from #2165. Since you build from source, `git fetch https://github.com/Nawid3333/KytyPS5 test/2163-copy-clamp` gives the same tree. Could you play with the same settings (Vulkan validation on) and rotate the camera as before? Does the VUID 07971 stop go away? If it stops again, please attach `_kyty.txt`.
Author
Owner

@⁠Ekt0re on GitHub · 2026-11-08 00:31 UTC · original

@⁠Ekt0re the stop in your report (vkCmdCopyBufferToImage ... extent.width (128) exceeds imageSubresource width extent (64), VUID 07971) matches the bug that open PR #1742 fixes: when the texture cache copies one image into another through a staging buffer, the upload uses the source image's width and height and never limits them to the destination. A 128-wide source copied into your 64x128 R16_UNORM image writes past its edge. The direct image-to-image copy is already limited to the smaller of the two images, and the other buffer-to-image uploads take their size from the destination itself. Open PR #1176 limits this copy as well.

Test build: https://github.com/Nawid3333/KytyPS5/actions/runs/42411382150 (artifact KytyPS5-Windows-x64 at the bottom of the page; the window title shows Fork build Nawid3333/KytyPS5 5360347). Commit 53603473f = main (27f290e95) + #1742 + the Windows build fix from #2165. Since you build from source, git fetch https://github.com/Nawid3333/KytyPS5 test/2163-copy-clamp gives the same tree.

Could you play with the same settings (Vulkan validation on) and rotate the camera as before? Does the VUID 07971 stop go away? If it stops again, please attach _kyty.txt.
I'll try it tomorrow morning! I'll let you know how it goes.

**@⁠Ekt0re** on GitHub · 2026-11-08 00:31 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2163#issuecomment-6715079786) > @⁠Ekt0re the stop in your report (`vkCmdCopyBufferToImage ... extent.width (128) exceeds imageSubresource width extent (64)`, VUID 07971) matches the bug that open PR #1742 fixes: when the texture cache copies one image into another through a staging buffer, the upload uses the source image's width and height and never limits them to the destination. A 128-wide source copied into your 64x128 R16_UNORM image writes past its edge. The direct image-to-image copy is already limited to the smaller of the two images, and the other buffer-to-image uploads take their size from the destination itself. Open PR #1176 limits this copy as well. > > Test build: https://github.com/Nawid3333/KytyPS5/actions/runs/42411382150 (artifact `KytyPS5-Windows-x64` at the bottom of the page; the window title shows `Fork build Nawid3333/KytyPS5 5360347`). Commit 53603473f = main (27f290e95) + #1742 + the Windows build fix from #2165. Since you build from source, `git fetch https://github.com/Nawid3333/KytyPS5 test/2163-copy-clamp` gives the same tree. > > Could you play with the same settings (Vulkan validation on) and rotate the camera as before? Does the VUID 07971 stop go away? If it stops again, please attach `_kyty.txt`. > I'll try it tomorrow morning! I'll let you know how it goes.
Author
Owner

@⁠Ekt0re on GitHub · 2026-11-08 12:59 UTC · original

@⁠Nawid3333 I tested it on the branch you confirmed, and I can confirm that the crash has been fixed!

(The visual issues, glitches, etc., haven't been fixed, but the crash is fixed, and I haven't encountered any other problems.)

I'm attaching a few screenshots as evidence and the logs (I stopped the tests myself after getting past the part where it crashed).

Image Image Image

_kyty.zip

**@⁠Ekt0re** on GitHub · 2026-11-08 12:59 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2163#issuecomment-6721797844) @⁠Nawid3333 I tested it on the branch you confirmed, and I can confirm that the crash has been fixed! (The visual issues, glitches, etc., haven't been fixed, but the crash is fixed, and I haven't encountered any other problems.) I'm attaching a few screenshots as evidence and the logs (I stopped the tests myself after getting past the part where it crashed). <img width="1275" height="757" alt="Image" src="https://github.com/user-attachments/assets/0d8691f7-522b-42d3-aa9c-5f283b62003a" /> <img width="1272" height="748" alt="Image" src="https://github.com/user-attachments/assets/a27fec88-2bac-4576-aff6-8d8aaf162b15" /> <img width="1266" height="756" alt="Image" src="https://github.com/user-attachments/assets/b67d62b7-d39a-46a4-a6ba-350e26320e9b" /> [_kyty.zip](https://github.com/user-attachments/files/34543636/_kyty.zip)
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-08 15:52 UTC · original

@⁠Ekt0re thank you! So the crash is the copy that open PR #1742 fixes; I added your result there. The visual glitches are a separate problem.

**@⁠Nawid3333** on GitHub · 2026-11-08 15:52 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2163#issuecomment-6723616994) @⁠Ekt0re thank you! So the crash is the copy that open PR #1742 fixes; I added your result there. The visual glitches are a separate problem.
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#2163
No description provided.