kyty: 864 GiB sparse mirror triggers VUID-VkBufferCreateInfo-size-06409 and fails validation-checked replay tests
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- C++
- 星标
- 214
- 派生
- 7
- 平均合并
- 7 小时 53 分钟
- 30 天内合并 PR
- 280
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
simnJS/AnyPS5 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
Call for contributions: Windows, AMD and Intel validation (run the tests on your hardware)可能已有人在做 @adam25136 今天认领。 未关闭area: tools-ci area: windows good first issue help wanted needs: AMD needs: Windows
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
kyty: kyty_shim_rt_context_pick fails pipeline creation with ErrorUnknown on AMD Windows (RX 6800)未关闭
难度 4/5 3-5 天 新手友好度 45/100
维护者通常 1 天内回复
相似的 Issue
-
area:tests kind:test
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
? - Needs Triage bot_watch bug
难度 2/5 1-3 小时 新手友好度 78/100
NVIDIA/cudf-spark-jni#5594 ·
维护者通常 1 天内回复
-
Branch-master
难度 2/5 1-3 小时 新手友好度 78/100
TrinityCore/TrinityCore#32177 ·
维护者通常 10 天内回复
-
area:manager enhancement kind:ux P3 platform:windows
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复