Validation errors on RX 6800 XT not on the list: 08910 (A2B10G10R10 pipeline, B10G11R11 view) and 06079/06080 (2560x1440 area over a 1280x720 view) #37
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/vktory6--VKtory#37
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@tmalik1116 on GitHub · 2026-12-01 03:10 UTC · original
Three distinct validation errors that are not on the docs/TASKS.md "Vulkan validation errors" list show on the base commit on this machine (AGENTS.md rule 30).
Seen on:
73ee0ab(also onac9badband19862d4)Setup: AMD Radeon RX 6800 XT (RDNA2, RADV NAVI21), Mesa 26.3.1,
vulkan-validation-layers1.4.363.1, CachyOS. Core checks, thread safety and shader checks, errors only,DUPLICATE_MESSAGE_LIMIT=3. The run is the start-up auto-press oftools/play.shinto the world from the save this machine has (not the house scene; see below).Errors:
VUID-vkCmdDraw-dynamicRenderingUnusedAttachments-08910vkCmdDraw(): VkRenderingInfo::pColorAttachments[0].imageView format (VK_FORMAT_B10G11R11_UFLOAT_PACK32) must match the corresponding format in VkPipelineRenderingCreateInfo::pColorAttachmentFormats[0] (VK_FORMAT_A2B10G10R10_UNORM_PACK32).VUID-VkRenderingInfo-pNext-06079vkCmdBeginRendering(): pRenderingInfo->pColorAttachments[0].imageView width (1280) is less than pRenderingInfo->renderArea.offset.x (0) + pRenderingInfo->renderArea.extent.width (2560).VUID-VkRenderingInfo-pNext-06080The same render pass, height:
imageView height (720) is less than ... renderArea.extent.height (1440).They show in four validation runs: two on the base commit and two with the change in the linked PR, which does not touch rendering. So they are not caused by a change. The 2560x1440 area over a 1280x720 view looks like a half-resolution target drawn with the full-resolution render area.
Why it may not show on the maintainers' machine: a different GPU, or a different scene. These runs are not the house scene, because this machine's save does not start there.
@vktory6 on GitHub · 2026-12-01 07:34 UTC · original
Thanks! I created a task based on your report: the three errors are now on the "Vulkan validation errors" list in
github.com/vktory6/VKtory@5169307. The validation run accepts them until they're fixed. 06079/06080 also showed in a house-scene run on an RX 9070 XT, so they don't depend on the GPU.@vktory6 on GitHub · 2026-12-01 10:36 UTC · original
Status update: two of the three are gone. The compute-derivative errors (06079/06080) were fixed by #33 (
github.com/vktory6/VKtory@44df13e).vkCmdDraw-dynamicRenderingUnusedAttachments-08910is still on the validation list, so this stays open until that one is fixed.@tmalik1116 on GitHub · 2026-12-02 01:52 UTC · original
Rechecked on:
d59b4f8(RX 6800 XT, RADV, Mesa 26.3.1,vulkan-validation-layers1.4.363.1, 900 s auto-press run). 06079/06080 are gone, so the render-area change in the draw path fixed them. Distinct errors left:06409,08910,01687,01688,03428, all on the list. No threading reports.What 08910 is. vkback's own counter
census: target view format differs from the pipeline's(census.rs) names it in every run: one pipeline, rt 0, made with DXGI 24 (A2B10G10R10_UNORM) by the title's PSORTVFormats, drawn into aB10G11R11_UFLOATview. That is 1–10 draws per 5-minute run, always one pipeline (its address differs per run).The reference doesn't help here. vkd3d-proton makes fallback pipelines for a DSV format that differs from the PSO's (
state.c,compiled_fallback_pipelines, "fallback DSV format"), but never for RTV formats. The D3D12 path (VIctorypipeline/host.rs:510) passes the PSO'sRTVFormatsas they are. So both paths draw this the same way, invalid by the Vulkan spec and by D3D12 too.What the console likely does (not proven). The colour block takes the target format from the RTV, not from the PSO. The translator refuses compressed exports (
lower.rsexport, "a compressed export"), so the program exports 32-bit channels, and the hardware converts them to the RTV's format: R11G11B10 float, no clamp to [0,1]. A guess about the host side, not measured: RADV derives the export format from the pipeline's attachment format, so with a 10-bit UNORM pipeline it may clamp and quantise the output before it reaches the float target. Values over 1 would be lost in that pass.Possible fixes, for you to choose:
A RenderDoc capture of that draw (do values over 1 survive into the target?) would show whether option 1 changes the picture. I can take that on, and the fix if you want option 1.
@TheRifai on GitHub · 2026-12-02 10:39 UTC · original
Additional data from RADV on this machine:
08910does not appear in local validation runs, while the other three/four known VUIDs do.d59b4f8and the same build withVICTORY_PORT_DESCRIPTORS=1; RX 9070 XT / RADV 26.3.1, GE-Proton11-16, house savert3, Series X, 100–110 s validation runs,VK_KHRONOS_VALIDATION_REPORT_FLAGS=error, duplicate limit 3.VUID-VkBufferCreateInfo-size-06409,VUID-VkComputePipelineCreateInfo-layout-01687,VUID-VkGraphicsPipelineCreateInfo-layout-01688,VUID-VkRayTracingPipelineCreateInfoKHR-layout-03428. Zero occurrences of08910(grep count 0 in each file).This matches tmalik1116's "not on the list elsewhere" framing: the A2B10G10R10 pipeline / B10G11R11 view pair has not been observed on this card, so the fix/accept decision should not be based on a RADV 9070 run. Evidence:
/home/shlong/Documents/VKtory-capture/port-val/validation.txtand/tmp/opencode/capture/val-current/validation.txt(the latter is in a volatile scratch dir). No code change from me; I am not taking on the RenderDoc capture tmalik1116 offered.