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

Open
opened 2026-12-01 03:12:35 +00:00 by github-bot · 4 comments
Owner

@⁠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 on ac9badb and 19862d4)

Setup: AMD Radeon RX 6800 XT (RDNA2, RADV NAVI21), Mesa 26.3.1, vulkan-validation-layers 1.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 of tools/play.sh into the world from the save this machine has (not the house scene; see below).

Errors:

  • VUID-vkCmdDraw-dynamicRenderingUnusedAttachments-08910
    vkCmdDraw(): 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-06079
    vkCmdBeginRendering(): pRenderingInfo->pColorAttachments[0].imageView width (1280) is less than pRenderingInfo->renderArea.offset.x (0) + pRenderingInfo->renderArea.extent.width (2560).
  • VUID-VkRenderingInfo-pNext-06080
    The 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.

**@⁠tmalik1116** on GitHub · 2026-12-01 03:10 UTC · [original](https://github.com/vktory6/VKtory/issues/37) 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 on ac9badb and 19862d4) **Setup:** AMD Radeon RX 6800 XT (RDNA2, RADV NAVI21), Mesa 26.3.1, `vulkan-validation-layers` 1.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 of `tools/play.sh` into the world from the save this machine has (not the house scene; see below). **Errors:** - `VUID-vkCmdDraw-dynamicRenderingUnusedAttachments-08910` `vkCmdDraw(): 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-06079` `vkCmdBeginRendering(): pRenderingInfo->pColorAttachments[0].imageView width (1280) is less than pRenderingInfo->renderArea.offset.x (0) + pRenderingInfo->renderArea.extent.width (2560).` - `VUID-VkRenderingInfo-pNext-06080` The 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 03:12:35 +00:00
Author
Owner

@⁠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 07:34 UTC · [original](https://github.com/vktory6/VKtory/issues/37#issuecomment-7304231687) Thanks! I created a task based on your report: the three errors are now on the "Vulkan validation errors" list in https://github.com/vktory6/VKtory/commit/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.
Author
Owner

@⁠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-08910 is still on the validation list, so this stays open until that one is fixed.

**@⁠vktory6** on GitHub · 2026-12-01 10:36 UTC · [original](https://github.com/vktory6/VKtory/issues/37#issuecomment-7308442877) Status update: two of the three are gone. The compute-derivative errors (06079/06080) were fixed by #33 (https://github.com/vktory6/VKtory/commit/44df13e). `vkCmdDraw-dynamicRenderingUnusedAttachments-08910` is still on the validation list, so this stays open until that one is fixed.
Author
Owner

@⁠tmalik1116 on GitHub · 2026-12-02 01:52 UTC · original

Rechecked on: d59b4f8 (RX 6800 XT, RADV, Mesa 26.3.1, vulkan-validation-layers 1.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 PSO RTVFormats, drawn into a B10G11R11_UFLOAT view. 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 (VIctory pipeline/host.rs:510) passes the PSO's RTVFormats as 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.rs export, "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:

  1. When a draw's target view format differs from its pipeline's, use a pipeline variant made with the view formats (cached per pipeline and format set, like vkd3d-proton's DSV fallback). That matches the console's colour block, but adds a cache and a second build path. Rule 33 would argue for it only if the case is real, and the census says it is.
  2. Leave it as the reference does, and keep 08910 on the list as accepted.

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.

**@⁠tmalik1116** on GitHub · 2026-12-02 01:52 UTC · [original](https://github.com/vktory6/VKtory/issues/37#issuecomment-7332209560) Rechecked on: d59b4f8 (RX 6800 XT, RADV, Mesa 26.3.1, `vulkan-validation-layers` 1.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 PSO `RTVFormats`, drawn into a `B10G11R11_UFLOAT` view. 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 (VIctory `pipeline/host.rs:510`) passes the PSO's `RTVFormats` as 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.rs` `export`, "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:** 1. When a draw's target view format differs from its pipeline's, use a pipeline variant made with the view formats (cached per pipeline and format set, like vkd3d-proton's DSV fallback). That matches the console's colour block, but adds a cache and a second build path. Rule 33 would argue for it only if the case is real, and the census says it is. 2. Leave it as the reference does, and keep 08910 on the list as accepted. 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.
Author
Owner

@⁠TheRifai on GitHub · 2026-12-02 10:39 UTC · original

Additional data from RADV on this machine: 08910 does not appear in local validation runs, while the other three/four known VUIDs do.

  • Seen on: main d59b4f8 and the same build with VICTORY_PORT_DESCRIPTORS=1; RX 9070 XT / RADV 26.3.1, GE-Proton11-16, house save rt3, Series X, 100–110 s validation runs, VK_KHRONOS_VALIDATION_REPORT_FLAGS=error, duplicate limit 3.
  • Distinct VUIDs in both logs: VUID-VkBufferCreateInfo-size-06409, VUID-VkComputePipelineCreateInfo-layout-01687, VUID-VkGraphicsPipelineCreateInfo-layout-01688, VUID-VkRayTracingPipelineCreateInfoKHR-layout-03428. Zero occurrences of 08910 (grep count 0 in each file).
  • Loud summaries in those runs had only the already-owned per-lane-branch and null-buffer-view kinds.

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.txt and /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.

**@⁠TheRifai** on GitHub · 2026-12-02 10:39 UTC · [original](https://github.com/vktory6/VKtory/issues/37#issuecomment-7342784696) Additional data from RADV on this machine: `08910` does not appear in local validation runs, while the other three/four known VUIDs do. - Seen on: main `d59b4f8` and the same build with `VICTORY_PORT_DESCRIPTORS=1`; RX 9070 XT / RADV 26.3.1, GE-Proton11-16, house save `rt3`, Series X, 100–110 s validation runs, `VK_KHRONOS_VALIDATION_REPORT_FLAGS=error`, duplicate limit 3. - Distinct VUIDs in both logs: `VUID-VkBufferCreateInfo-size-06409`, `VUID-VkComputePipelineCreateInfo-layout-01687`, `VUID-VkGraphicsPipelineCreateInfo-layout-01688`, `VUID-VkRayTracingPipelineCreateInfoKHR-layout-03428`. **Zero** occurrences of `08910` (grep count 0 in each file). - Loud summaries in those runs had only the already-owned per-lane-branch and null-buffer-view kinds. 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.txt` and `/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.
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/vktory6--VKtory#37
No description provided.