kyty: 864 GiB sparse mirror triggers VUID-VkBufferCreateInfo-size-06409 and fails validation-checked replay tests
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start with the sparse mirror buffer creation path exercised by the four named Kyty replay tests, then inspect how the focused GPU suite handles Vulkan validation logs. Reproduce with the provided PowerShell environment and CTest command. Done when the oversized buffer no longer triggers VUID-VkBufferCreateInfo-size-06409 and all four tests pass with validation enabled.
Written by the indexing model from the issue text.
Description
Commit: db7808f91d0812fe559831b496c2ca3abd4e0821 (AnyKyty)
Hardware / OS: Windows 11 (10.0.26300.0), Intel Core i9-9900K, AMD Radeon RX 6800 (AMD proprietary driver 26.11.2, Vulkan 1.4.315), Khronos validation layer 1.4.363
Tracking: #705
Behavior
When running the focused Kyty GPU suite with VK_LAYER_KHRONOS_validation, creating the 864 GiB sparse mirror buffer (927712935936 bytes) exceeds VkPhysicalDeviceMaintenance4Properties.maxBufferSize (2147483648 bytes) and emits VUID-VkBufferCreateInfo-size-06409 (102 entries across 57 tests on AMD Windows, matching the 109 entries reported on Linux RADV in #705).
Four tests that pass without validation fail under VK_LAYER_KHRONOS_validation specifically because they check the validation log:
kyty_shim_depth_target_alias(stencil-filled: stencil replay logged a Vulkan validation error)kyty_shim_formatted_buffer_norm(replay failed Vulkan validation log checks)kyty_shim_buffer_bounds_replay(replay failed Vulkan validation log checks)kyty_shim_packed_buffer_format(replay failed Vulkan validation log checks)
Reproduction
$env:VK_ADD_LAYER_PATH = "C:\VulkanSDK\1.4.363.0\Bin"
$env:VK_INSTANCE_LAYERS = "VK_LAYER_KHRONOS_validation"
$env:ANYPS5_REQUIRE_VULKAN = "1"
$env:ANYPS5_NO_SHADER_CACHE = "1"
ctest --test-dir build -R "^(kyty_shim_depth_target_alias|kyty_shim_formatted_buffer_norm|kyty_shim_buffer_bounds_replay|kyty_shim_packed_buffer_format)$" --output-on-failure -V
First VUID- line
Validation Error: [ VUID-VkBufferCreateInfo-size-06409 ] | MessageID = 0xec321b6c
vkCreateBuffer(): pCreateInfo->size (927712935936) is larger than the maximum allowed buffer size VkPhysicalDeviceMaintenance4Properties.maxBufferSize (2147483648).
The Vulkan spec states: size must be less than or equal to VkPhysicalDeviceMaintenance4Properties::maxBufferSize (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkBufferCreateInfo-size-06409)
AI-assisted: yes. Built, ran, and drafted with an AI assistant.
- Dominant language
- C++
- Stars
- 214
- Forks
- 7
- Avg merge
- 7h 53m
- Merged PRs (30d)
- 280
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from simnJS/AnyPS5
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
simnJS/AnyPS5#735 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
simnJS/AnyPS5#721 · 3 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
simnJS/AnyPS5#716 · 1 comment ·
Maintainers usually reply within 1 day
-
Call for contributions: Windows, AMD and Intel validation (run the tests on your hardware)Possibly taken @adam25136 claimed this today. Openarea: tools-ci area: windows good first issue help wanted needs: AMD needs: Windows
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
simnJS/AnyPS5#705 · 8 comments ·
Maintainers usually reply within 1 day
-
kyty: kyty_shim_rt_context_pick fails pipeline creation with ErrorUnknown on AMD Windows (RX 6800)Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
simnJS/AnyPS5#741 · 1 comment ·
Maintainers usually reply within 1 day
Similar issues
-
area:tests kind:test
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
? - Needs Triage bot_watch bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA/cudf-spark-jni#5594 ·
Maintainers usually reply within 1 day
-
Branch-master
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
TrinityCore/TrinityCore#32177 ·
Maintainers usually reply within 10 days
-
area:manager enhancement kind:ux P3 platform:windows
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day