Linux / Proton on RX 5700 XT (RDNA1): reached credits, one partially rendered 3D frame #1410

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

@⁠sigonor90 on GitHub · 2026-11-24 17:48 UTC · original

Environment

  • GPU: AMD Radeon RX 5700 XT 8 GB (Navi 10, RDNA1, GFX10.0)
  • CPU: Intel Core i5-14600KF
  • RAM: 16 GB
  • OS: Fedora 44
  • GPU driver: RADV (Mesa 26.2.5)
  • Vulkan: 1.4.354
  • Proton: Steam Proton Experimental
  • VKD3D-Proton: vkd3d-1.1-5742-g2576c0b4a
  • Game version: 1.0.2.1
  • VIctory: diagnostics build, Linux/Proton integration based on PR #994
  • Resolution: 2560×1440 (VICTORY_SHOW_TARGET=2560x1440-f28-3)
  • VICTORY_D3D12_DRED=1
  • VICTORY_DEBUG_PS=1

Result

The game progressed through its execution and reached the credits.

Most of the visible output consisted of 2D text and images from the credits. However, I observed one frame containing a partially rendered image:

  • A white flash covered most of the screen.
  • A narrow black horizontal area appeared around the center, containing visible lines and points.
  • Red and blue police lights were clearly recognizable, with their shapes and colors rendered correctly.

This was a single observed frame, not a stable 3D scene. I could not confirm that the full game world rendered correctly.

Performance and rendering diagnostics

The final VIctory host statistics included:

0.1 fps, 7390.1 ms/frame
73 draws/frame
dropped 308 without a host pipeline
2035 indirect

The logs show multiple mesh and compute pipelines being refused or dropped.

Examples of shader translation failures:

a descriptor read only as data is not supported
a select on an untracked mask is not supported

The host pipeline library was saved:

host pipeline library saved bytes=156728 early=1083 made=165 loaded=921 started_early=810

The VKD3D-Proton log also shows repeated swapchain reallocations between 3840×2160 and 2560×1440.

Memory and termination

The run reached the credits without a reported OOM event.

No OOM kill, AMDGPU reset, or ring timeout was found in the kernel journal for the checked period.

Proton stopped after the run. However, the final lines of the available launch log do not contain an explicit crash, Vulkan device-loss error, or access violation. The exact termination cause is unknown.

Why this report may be useful

This is a data point from an RDNA1 GPU, which does not support hardware Mesh Shaders.

Although the full 3D scene did not render correctly, the recognizable police lights suggest that at least some graphics work produced meaningful visible output on this GPU.

It may be useful to distinguish between:

  • pipelines that are completely unsupported on GFX10;
  • pipelines that can be translated and executed but produce incomplete output;
  • later rendering stages that fail or are skipped.

Full launch and VKD3D-Proton logs are available if needed.

AI-assisted report; testing and observations performed by the reporter.

launch.log

vkd3d-debug.log

**@⁠sigonor90** on GitHub · 2026-11-24 17:48 UTC · [original](https://github.com/Marvisak/VIctory/issues/1410) ## Environment - GPU: AMD Radeon RX 5700 XT 8 GB (Navi 10, RDNA1, GFX10.0) - CPU: Intel Core i5-14600KF - RAM: 16 GB - OS: Fedora 44 - GPU driver: RADV (Mesa 26.2.5) - Vulkan: 1.4.354 - Proton: Steam Proton Experimental - VKD3D-Proton: `vkd3d-1.1-5742-g2576c0b4a` - Game version: 1.0.2.1 - VIctory: diagnostics build, Linux/Proton integration based on PR #994 - Resolution: 2560×1440 (`VICTORY_SHOW_TARGET=2560x1440-f28-3`) - `VICTORY_D3D12_DRED=1` - `VICTORY_DEBUG_PS=1` ## Result The game progressed through its execution and reached the credits. Most of the visible output consisted of 2D text and images from the credits. However, I observed one frame containing a partially rendered image: - A white flash covered most of the screen. - A narrow black horizontal area appeared around the center, containing visible lines and points. - Red and blue police lights were clearly recognizable, with their shapes and colors rendered correctly. This was a single observed frame, not a stable 3D scene. I could not confirm that the full game world rendered correctly. ## Performance and rendering diagnostics The final VIctory host statistics included: ```text 0.1 fps, 7390.1 ms/frame 73 draws/frame dropped 308 without a host pipeline 2035 indirect ``` The logs show multiple mesh and compute pipelines being refused or dropped. Examples of shader translation failures: ```text a descriptor read only as data is not supported a select on an untracked mask is not supported ``` The host pipeline library was saved: ```text host pipeline library saved bytes=156728 early=1083 made=165 loaded=921 started_early=810 ``` The VKD3D-Proton log also shows repeated swapchain reallocations between 3840×2160 and 2560×1440. ## Memory and termination The run reached the credits without a reported OOM event. No OOM kill, AMDGPU reset, or ring timeout was found in the kernel journal for the checked period. Proton stopped after the run. However, the final lines of the available launch log do not contain an explicit crash, Vulkan device-loss error, or access violation. The exact termination cause is unknown. ## Why this report may be useful This is a data point from an RDNA1 GPU, which does not support hardware Mesh Shaders. Although the full 3D scene did not render correctly, the recognizable police lights suggest that at least some graphics work produced meaningful visible output on this GPU. It may be useful to distinguish between: - pipelines that are completely unsupported on GFX10; - pipelines that can be translated and executed but produce incomplete output; - later rendering stages that fail or are skipped. Full launch and VKD3D-Proton logs are available if needed. AI-assisted report; testing and observations performed by the reporter. [launch.log](https://github.com/user-attachments/files/35360608/launch.log) [vkd3d-debug.log](https://github.com/user-attachments/files/35360610/vkd3d-debug.log)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:30:44 +00:00
Author
Owner

@⁠EduBertozzi on GitHub · 2026-11-24 17:49 UTC · original

Thanks for the RDNA1 data point. Without mesh shaders, every world mesh pipeline is refused on main, which may account for much of what's missing from that frame.

#961 adds a compute fallback for exactly this case. Each mesh program runs as a compute shader that writes its triangles to buffers, and a vertex shader draws them. It turns on by itself when the device reports no mesh shaders. Two in-game runs so far, on an RX 470 and a GTX 1070 Ti, got the world's geometry drawn after fixes now on the branch (31568ce or later). RDNA1 would be a useful third, because it has 64-lane waves: the title's wave64 mesh programs can run there as written, without the 32-lane workarounds the NVIDIA runs need.

If you try it, the interesting log lines are mesh shader translated as compute (with its MeshLayout), any host root signature refused, and no shader-writable buffer.

AI-assisted (Claude Code).

**@⁠EduBertozzi** on GitHub · 2026-11-24 17:49 UTC · [original](https://github.com/Marvisak/VIctory/issues/1410#issuecomment-7139749933) Thanks for the RDNA1 data point. Without mesh shaders, every world mesh pipeline is refused on `main`, which may account for much of what's missing from that frame. #961 adds a compute fallback for exactly this case. Each mesh program runs as a compute shader that writes its triangles to buffers, and a vertex shader draws them. It turns on by itself when the device reports no mesh shaders. Two in-game runs so far, on an RX 470 and a GTX 1070 Ti, got the world's geometry drawn after fixes now on the branch (`31568ce` or later). RDNA1 would be a useful third, because it has 64-lane waves: the title's wave64 mesh programs can run there as written, without the 32-lane workarounds the NVIDIA runs need. If you try it, the interesting log lines are `mesh shader translated as compute` (with its `MeshLayout`), any `host root signature refused`, and `no shader-writable buffer`. AI-assisted (Claude Code).
Author
Owner

@⁠Lu-var on GitHub · 2026-11-24 20:10 UTC · original

Linux / Proton on RX 5700 (RDNA1): PR #961 mesh compute fallback telemetry


Part 1: Objective Telemetry & Results

(Direct measurements, verbatim log excerpts, and counts from victory-diag.log, vkd3d-debug.log, vkd3d-shader-dumps/, and /home/luvar/.cache/victory/captures/.)

Environment

  • GPU: AMD Radeon RX 5700 8 GB (Navi 10, RDNA1, GFX10.0)
  • CPU: AMD Ryzen 7 3700X 8-Core Processor
  • RAM: 16 GB
  • OS: CachyOS Linux (Kernel 7.3.5)
  • GPU driver: RADV (Mesa 26.3.1-arch3.5)
  • Vulkan: 1.4.363
  • Proton: Steam Proton Experimental (umu-run)
  • VKD3D-Proton: 3.2.0 (build: 2576c0b4adfae4a, VK_EXT_descriptor_heap enabled, SM 6.6 / 6.7 / 6.8)
  • Game version: 1.0.2.1 (game_scarlett_master.exe, 930.048.020-vb_sub_story)
  • VIctory: diagnostics build (victory.exe), PR #994 merged with PR #961 (31568ce, merge commit d33b13c)
  • Resolution: 2560×1440 (VICTORY_SHOW_TARGET=2560x1440-f28-3)
  • VICTORY_D3D12_DRED=1
  • VICTORY_DEBUG_PS=1

Result

  • Run duration: ~15 minutes (18:57:41Z to 19:12:35Z UTC).
  • Frame captures: frame-1.png through frame-1024.png saved; non-trivial file sizes at frame-128.png (14 KB), frame-256.png (3.8 MB), frame-512.png (184 KB), and frame-1024.png (1.9 MB).
  • Observed visual & audio progression:
    • frame-128.png: Pre-loading account picker screen.
    • frame-256.png: Intro screen animation frame.
    • frame-512.png: Rockstar logo in the intro screen animation.
    • frame-1024.png: Loading screen with artwork.
    • First 3D / intro scene: Booted up to the first scene, where the screen was completely black while audio and character dialogue from the intro scene played (very stuttery/choppy, with multi-second gaps).
    • Later in the run: After several minutes, some credits text rendered in pink letters over the same black screen before the game eventually crashed.
Captures (frame-128, frame-256, frame-512, frame-1024) frame-128 frame-256 frame-512 frame-1024

PR #961 Log Counts (victory-diag.log)

Log Pattern Count Observed Values
mesh shader translated as compute 231 MeshLayout { threads: 128, max_vertices: 128, max_primitives: 128, vertex_dwords: 4..72, primitive_dwords: 0 }, expanded=false
host root signature refused 0 —
no shader-writable buffer 0 —
host mesh fallback compute pipeline refused 483 error=Invalid parameter. (0x80070057)
no host pipeline: the mesh shader does not translate as compute (logged once) 1 shaders=[mesh c89489afd89ee7f0, pixel 59b1ba494f18c894]

Sample lines from victory-diag.log:

INFO victory_gpu::host: host mesh shader support mesh=false
INFO victory_gpu::host: mesh programs run as compute fallback=true forced=false
INFO victory_gpu::pipeline: mesh shader translated as compute hash=d4111a6e6ea49d91 layout=MeshLayout { threads: 128, max_vertices: 128, max_primitives: 128, vertex_dwords: 12, primitive_dwords: 0 } expanded=false
INFO victory_gpu::pipeline: mesh shader translated as compute hash=00a5896a6ac7b7c7 layout=MeshLayout { threads: 128, max_vertices: 128, max_primitives: 128, vertex_dwords: 4, primitive_dwords: 0 } expanded=false
INFO victory_gpu::pipeline: mesh shader translated as compute hash=18bbb989c875c8fb layout=MeshLayout { threads: 128, max_vertices: 128, max_primitives: 128, vertex_dwords: 72, primitive_dwords: 0 } expanded=false
WARN victory_gpu::pipeline::host: host mesh fallback compute pipeline refused error=Invalid parameter. (0x80070057) shaders=[mesh c2b6094a1b335d3f, pixel b32288829bb03114]

Performance and Rendering Diagnostics

  • Final victory_gpu::host stat:
    0.2 fps, 5031.8 ms/frame (3581.5 preparing: copies 1484.8 ms 18.3 MB, textures 1701.1 ms 105.7 MB; 75.0 on the GPU; 416.1 copying back 2.4 MB), 229 draws/frame, dropped 333 without a host pipeline (0 being made) and 993 indirect
    
  • Shader translation drops (victory-diag.log): 359 shader does not translate warnings for GFX10 shaders, including:
    • a descriptor read only as data is not supported
    • a scalar memory read as data is not supported
    • a biased image sample with 16-bit coordinates is not supported
    • a 64-bit image atomic is not supported
    • a lane-mask join of an untracked mask is not supported
    • a lane mask read as data is not supported
  • Descriptor heap warnings:
    • vkd3d-debug.log: Unsupported descriptor count 1507328 for heap type 0 (max 1000000) and Unsupported descriptor count 1310720 for heap type 0 (max 1000000)
    • victory-diag.log: WARN victory_gpu::descriptor::host: title slot past the host heap index=999999 count=934464 for_draw=false (and adjacent indices)
  • vkd3d-debug.log compute pipeline / shader compilation counts (2,501 lines total):
    483 warn:vkd3d_compile_shader_stage: Failed to compile shader, vkd3d result -3.
    483 warn:d3d12_pipeline_state_init_compute: Failed to create Vulkan compute pipeline, hr 0x80070057.
    
  • vkd3d-shader-dumps/vkd3d-shader-04d7693c7d220a9cf7682ae215c8fd47-cs_5_1.log:
    mesh_indirect:19:39: E5005: Method 'Load' is not defined on type 'RWByteAddressBuffer'.
    
  • vkd3d-shader-dumps/vkd3d-shader-04d7693c7d220a9cf7682ae215c8fd47-cs_5_1-source.hlsl:
    #define RS "RootConstants(num32BitConstants=16, b0), UAV(u0), UAV(u1), UAV(u2)"
    ...
    RWByteAddressBuffer args : register(u0);
    RWByteAddressBuffer count : register(u1);
    RWByteAddressBuffer commands : register(u2);
    ...
    [RootSignature(RS)]
    [numthreads(1, 1, 1)]
    void main() {
        uint n = counted != 0 ? min(count.Load(0), records) : records;
        uint used = 0;
        for (uint i = 0; i < records; i++) {
            uint g = i < n ? args.Load(i * stride) : 0u;
    
  • Swapchain reallocations (vkd3d-debug.log): 44 Reallocating swapchain entries alternating between 3840 x 2160 and 2560 x 1440.

Memory and Termination

  • The run ended at 19:12:35Z UTC with Breakpad crash telemetry in victory-diag.log:
    • memory.load_percent: 89
    • system.memory.free: 1656200 KB
    • upload_file_minidump: 506478 bytes (HTTP connection blocked destination=submit.backtrace.io:443)

Part 2: Findings & Observations (AI-Assisted Analysis)

(Interpretation of the telemetry above; not raw measurements.)

  1. PR #961 translation & root signatures succeeded on RDNA1:
    VIctory detected mesh=false and enabled the compute fallback automatically (231 mesh shaders translated as compute, with 0 host root signature refused and 0 no shader-writable buffer errors).
  2. mesh_indirect cs_5_1 FXC error (E5005) explains all 483 0x80070057 refusals:
    The 483 host mesh fallback compute pipeline refused (0x80070057) warnings in victory-diag.log match 1:1 with the 483 vkd3d_compile_shader_stage (-3) / d3d12_pipeline_state_init_compute (0x80070057) failures in vkd3d-debug.log. Because mesh_indirect is compiled as cs_5_1 (FXC) while calling .Load() on RWByteAddressBuffer (args, count), FXC rejects it (E5005), preventing host compute pipeline creation even though the mesh shaders themselves translated. (Under SM 5.1, .Load() is only defined on read-only ByteAddressBuffer SRVs, whereas RWByteAddressBuffer.Load() requires SM 6.0+ / DXIL.)
  3. Why this report may be useful:
    Isolates a concrete Proton/vkd3d-proton blocker on PR #961 (mesh_indirect cs_5_1 vs RWByteAddressBuffer.Load()) separate from RDNA1 Wave64 mesh-shader translation itself.

AI-assisted report; testing and raw data collection performed by the reporter, with Part 2 analysis generated by AI.

Telemetry & captures (victory-diag.log, vkd3d-debug.log, mesh_indirect cs_5_1 shader dumps, frame-{128,256,512,1024}.png):
rdna1-pr961-telemetry.zip

**@⁠Lu-var** on GitHub · 2026-11-24 20:10 UTC · [original](https://github.com/Marvisak/VIctory/issues/1410#issuecomment-7143134386) ### Linux / Proton on RX 5700 (RDNA1): PR #961 mesh compute fallback telemetry --- ## Part 1: Objective Telemetry & Results *(Direct measurements, verbatim log excerpts, and counts from `victory-diag.log`, `vkd3d-debug.log`, `vkd3d-shader-dumps/`, and `/home/luvar/.cache/victory/captures/`.)* #### Environment - **GPU:** AMD Radeon RX 5700 8 GB (Navi 10, RDNA1, GFX10.0) - **CPU:** AMD Ryzen 7 3700X 8-Core Processor - **RAM:** 16 GB - **OS:** CachyOS Linux (Kernel `7.3.5`) - **GPU driver:** RADV (`Mesa 26.3.1-arch3.5`) - **Vulkan:** `1.4.363` - **Proton:** Steam Proton Experimental (`umu-run`) - **VKD3D-Proton:** `3.2.0` (`build: 2576c0b4adfae4a`, `VK_EXT_descriptor_heap` enabled, SM 6.6 / 6.7 / 6.8) - **Game version:** `1.0.2.1` (`game_scarlett_master.exe`, `930.048.020-vb_sub_story`) - **VIctory:** diagnostics build (`victory.exe`), PR #994 merged with PR #961 (`31568ce`, merge commit `d33b13c`) - **Resolution:** `2560×1440` (`VICTORY_SHOW_TARGET=2560x1440-f28-3`) - `VICTORY_D3D12_DRED=1` - `VICTORY_DEBUG_PS=1` #### Result - **Run duration:** ~15 minutes (`18:57:41Z` to `19:12:35Z` UTC). - **Frame captures:** `frame-1.png` through `frame-1024.png` saved; non-trivial file sizes at `frame-128.png` (14 KB), `frame-256.png` (3.8 MB), `frame-512.png` (184 KB), and `frame-1024.png` (1.9 MB). - **Observed visual & audio progression:** - `frame-128.png`: Pre-loading account picker screen. - `frame-256.png`: Intro screen animation frame. - `frame-512.png`: Rockstar logo in the intro screen animation. - `frame-1024.png`: Loading screen with artwork. - **First 3D / intro scene:** Booted up to the first scene, where the screen was completely black while audio and character dialogue from the intro scene played (very stuttery/choppy, with multi-second gaps). - **Later in the run:** After several minutes, some credits text rendered in pink letters over the same black screen before the game eventually crashed. <details> <summary>Captures (frame-128, frame-256, frame-512, frame-1024)</summary> <img width="1920" height="1080" alt="frame-128" src="https://github.com/user-attachments/assets/60fab529-b227-412f-b546-64bc76e9780f" /> <img width="1920" height="1080" alt="frame-256" src="https://github.com/user-attachments/assets/1db9f6e9-1f17-4111-9a34-bd40265c49f8" /> <img width="1920" height="1080" alt="frame-512" src="https://github.com/user-attachments/assets/181fabe4-6b7a-4f83-b3df-eba7728eb72c" /> <img width="1920" height="1080" alt="frame-1024" src="https://github.com/user-attachments/assets/6734335a-6ee6-4b9c-8fbb-af2104907542" /> </details> #### PR #961 Log Counts (`victory-diag.log`) | Log Pattern | Count | Observed Values | | --------------------------------------------------------------------------------- | ------------: | -------------------------------------------------------------------------------------------------------------------------------------- | | `mesh shader translated as compute` | **231** | `MeshLayout { threads: 128, max_vertices: 128, max_primitives: 128, vertex_dwords: 4..72, primitive_dwords: 0 }`, `expanded=false` | | `host root signature refused` | **0** | — | | `no shader-writable buffer` | **0** | — | | `host mesh fallback compute pipeline refused` | **483** | `error=Invalid parameter. (0x80070057)` | | `no host pipeline: the mesh shader does not translate as compute (logged once)` | **1** | `shaders=[mesh c89489afd89ee7f0, pixel 59b1ba494f18c894]` | Sample lines from `victory-diag.log`: ```text INFO victory_gpu::host: host mesh shader support mesh=false INFO victory_gpu::host: mesh programs run as compute fallback=true forced=false INFO victory_gpu::pipeline: mesh shader translated as compute hash=d4111a6e6ea49d91 layout=MeshLayout { threads: 128, max_vertices: 128, max_primitives: 128, vertex_dwords: 12, primitive_dwords: 0 } expanded=false INFO victory_gpu::pipeline: mesh shader translated as compute hash=00a5896a6ac7b7c7 layout=MeshLayout { threads: 128, max_vertices: 128, max_primitives: 128, vertex_dwords: 4, primitive_dwords: 0 } expanded=false INFO victory_gpu::pipeline: mesh shader translated as compute hash=18bbb989c875c8fb layout=MeshLayout { threads: 128, max_vertices: 128, max_primitives: 128, vertex_dwords: 72, primitive_dwords: 0 } expanded=false WARN victory_gpu::pipeline::host: host mesh fallback compute pipeline refused error=Invalid parameter. (0x80070057) shaders=[mesh c2b6094a1b335d3f, pixel b32288829bb03114] ``` #### Performance and Rendering Diagnostics - **Final `victory_gpu::host` stat:** ```text 0.2 fps, 5031.8 ms/frame (3581.5 preparing: copies 1484.8 ms 18.3 MB, textures 1701.1 ms 105.7 MB; 75.0 on the GPU; 416.1 copying back 2.4 MB), 229 draws/frame, dropped 333 without a host pipeline (0 being made) and 993 indirect ``` - **Shader translation drops (`victory-diag.log`):** **359** `shader does not translate` warnings for GFX10 shaders, including: - `a descriptor read only as data is not supported` - `a scalar memory read as data is not supported` - `a biased image sample with 16-bit coordinates is not supported` - `a 64-bit image atomic is not supported` - `a lane-mask join of an untracked mask is not supported` - `a lane mask read as data is not supported` - **Descriptor heap warnings:** - `vkd3d-debug.log`: `Unsupported descriptor count 1507328 for heap type 0 (max 1000000)` and `Unsupported descriptor count 1310720 for heap type 0 (max 1000000)` - `victory-diag.log`: `WARN victory_gpu::descriptor::host: title slot past the host heap index=999999 count=934464 for_draw=false` (and adjacent indices) - **`vkd3d-debug.log` compute pipeline / shader compilation counts (2,501 lines total):** ```text 483 warn:vkd3d_compile_shader_stage: Failed to compile shader, vkd3d result -3. 483 warn:d3d12_pipeline_state_init_compute: Failed to create Vulkan compute pipeline, hr 0x80070057. ``` - **`vkd3d-shader-dumps/vkd3d-shader-04d7693c7d220a9cf7682ae215c8fd47-cs_5_1.log`:** ```text mesh_indirect:19:39: E5005: Method 'Load' is not defined on type 'RWByteAddressBuffer'. ``` - **`vkd3d-shader-dumps/vkd3d-shader-04d7693c7d220a9cf7682ae215c8fd47-cs_5_1-source.hlsl`:** ```hlsl #define RS "RootConstants(num32BitConstants=16, b0), UAV(u0), UAV(u1), UAV(u2)" ... RWByteAddressBuffer args : register(u0); RWByteAddressBuffer count : register(u1); RWByteAddressBuffer commands : register(u2); ... [RootSignature(RS)] [numthreads(1, 1, 1)] void main() { uint n = counted != 0 ? min(count.Load(0), records) : records; uint used = 0; for (uint i = 0; i < records; i++) { uint g = i < n ? args.Load(i * stride) : 0u; ``` - **Swapchain reallocations (`vkd3d-debug.log`):** **44** `Reallocating swapchain` entries alternating between `3840 x 2160` and `2560 x 1440`. #### Memory and Termination - The run ended at `19:12:35Z` UTC with Breakpad crash telemetry in `victory-diag.log`: - `memory.load_percent`: `89` - `system.memory.free`: `1656200` KB - `upload_file_minidump`: `506478` bytes (`HTTP connection blocked destination=submit.backtrace.io:443`) --- ## Part 2: Findings & Observations (AI-Assisted Analysis) *(Interpretation of the telemetry above; not raw measurements.)* 1. **PR #961 translation & root signatures succeeded on RDNA1:** VIctory detected `mesh=false` and enabled the compute fallback automatically (`231` mesh shaders translated as compute, with `0` `host root signature refused` and `0` `no shader-writable buffer` errors). 2. **`mesh_indirect` `cs_5_1` FXC error (`E5005`) explains all 483 `0x80070057` refusals:** The **483** `host mesh fallback compute pipeline refused (0x80070057)` warnings in `victory-diag.log` match 1:1 with the **483** `vkd3d_compile_shader_stage` (`-3`) / `d3d12_pipeline_state_init_compute` (`0x80070057`) failures in `vkd3d-debug.log`. Because `mesh_indirect` is compiled as `cs_5_1` (FXC) while calling `.Load()` on `RWByteAddressBuffer` (`args`, `count`), FXC rejects it (`E5005`), preventing host compute pipeline creation even though the mesh shaders themselves translated. (Under SM 5.1, `.Load()` is only defined on read-only `ByteAddressBuffer` SRVs, whereas `RWByteAddressBuffer.Load()` requires SM 6.0+ / DXIL.) 3. **Why this report may be useful:** Isolates a concrete Proton/`vkd3d-proton` blocker on PR #961 (`mesh_indirect` `cs_5_1` vs `RWByteAddressBuffer.Load()`) separate from RDNA1 Wave64 mesh-shader translation itself. AI-assisted report; testing and raw data collection performed by the reporter, with Part 2 analysis generated by AI. **Telemetry & captures** (`victory-diag.log`, `vkd3d-debug.log`, `mesh_indirect` `cs_5_1` shader dumps, `frame-{128,256,512,1024}.png`): [rdna1-pr961-telemetry.zip](https://github.com/user-attachments/files/35372081/rdna1-pr961-telemetry.zip)
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 10:17 UTC · original

Automated triage for the maintainers.

Run report: RX 5700 XT (RDNA1) under Proton, RADV (Mesa 26.2.5), vkd3d-proton. It reached the credits with one partly drawn 3D frame, at 0.1 fps. @⁠sigonor90, please add the exact VIctory commit (git rev-parse --short HEAD). "Based on PR #994" doesn't pin it, and #994 was closed unmerged.

What the result fits: RDNA1 has no mesh shaders, and the README lists mesh shaders as a requirement for the world. On main, the world's mesh pipelines can't be made on that GPU. Support for GPUs without mesh shaders is tracked in #3, with open PR #961 (compute fallback). #1612 summarises where it stands.

@⁠Lu-var, thanks for the #961 telemetry. The 483 refused fallback compute pipelines come from its runtime-compiled HLSL failing under Wine (E5005). #170 is the same Wine compiler problem in the indirect argument clamp. Please post the finding on #961 so it is handled there.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 10:17 UTC · [original](https://github.com/Marvisak/VIctory/issues/1410#issuecomment-7159500620) <!-- victory-issue-triage v1 verdict=needs-info seen=2026-11-24T20:10:02Z at=2026-11-25T09:50:38Z --> Automated triage for the maintainers. Run report: RX 5700 XT (RDNA1) under Proton, RADV (Mesa 26.2.5), vkd3d-proton. It reached the credits with one partly drawn 3D frame, at 0.1 fps. @⁠sigonor90, please add the exact VIctory commit (`git rev-parse --short HEAD`). "Based on PR #994" doesn't pin it, and #994 was closed unmerged. What the result fits: RDNA1 has no mesh shaders, and the README lists mesh shaders as a requirement for the world. On `main`, the world's mesh pipelines can't be made on that GPU. Support for GPUs without mesh shaders is tracked in #3, with open PR #961 (compute fallback). #1612 summarises where it stands. @⁠Lu-var, thanks for the #961 telemetry. The 483 refused fallback compute pipelines come from its runtime-compiled HLSL failing under Wine (`E5005`). #170 is the same Wine compiler problem in the indirect argument clamp. Please post the finding on #961 so it is handled there. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠2150272538-jpg on GitHub · 2026-11-26 12:15 UTC · original

In-game on RX 5700 XT: the world renders through a mesh→compute fallback (18 min 33 s, 13,176 draws/frame)

Context: this card reports D3D12_OPTIONS7::MeshShaderTier = 0, BarycentricsSupported = false,
HighestShaderModel = 0x60, int64 shader ops: true, wave lanes 32–64. I wrote a small
device_probe against CheckFeatureSupport to state that without ambiguity.

I built a fallback along the same lines #961 describes — convert each mesh stage to compute that
writes vertices/indices to raw UAVs, generate a vertex stage that reads them back by SV_VertexID,
Dispatch + UAV barrier + ExecuteIndirect(DRAW_INDEXED) — before I found #961, so this is an
independent confirmation of the shape rather than a competing design. What #961 lists as still open
is now measured on this card:

  • all 8,765 mesh containers in the title translate; 831–835 converted pipelines are created in a run;
  • 24,844–51,036 groups are dispatched per frame (largest single record: 780 groups);
  • 13,176 draws/frame peak, 2.5 min to world, 18 min 33 s continuous, 1.3–1.5 fps at 720p,
    1.0 fps at 1080p;
  • ending is not the GPU: the process reaches ~20 GB private on a 16 GB machine and is reaped.
    A pristine build of this tree shows the same 19.6–19.9 GB plateau, so it is the title plus our
    host-side mirrors, not the fallback. That is exactly GPU-HOST-MEMORY in #1633.

Four things that were not in either #961's plan or #1648, and cost real time:

  1. DispatchMeshX through a MESH command signature removes the device. On a card without mesh
    shaders the record is rejected at execution: 0x887A0004 then 0x887A0006, no validation error
    unless the debug layer is on, and the loss looks like a random hang 2 s earlier. The indirect path
    must be synthesised: a one-thread pass turns the console's argument record into a DISPATCH record
    and a DRAW_INDEXED record, then two ExecuteIndirect calls. Dropping indirect mesh dispatches
    instead keeps the title alive but leaves the world empty.
  2. SV_Barycentrics (the class #1247 measures as 207 programs): emulate by having every producer
    write the triangle-corner basis (1,0,0)/(0,1,0)/(0,0,1) as one extra output element and reading it
    in the pixel stage, letting the rasteriser interpolate with the element's mode. Exact at 1× MSAA for
    centroid/sample. The mesh-compute path packs the corner into the low bits of the index word so the
    generated vertex stage can rebuild it. Matches #453's category.
  3. A single 64-bit image atomic breaks a whole material class. One atomicBinOp.i64 (unsigned max
    on a packed (a<<32)|b, result never read) sets ATOMIC_TYPED64, and CreatePixelShader returns
    E_INVALIDARG on an SM 6.0 card. Dropping the atomic when the host is below SM 6.6 makes 366 draws
    per frame of interior architecture appear — the "missing roof" symptom. Matches #305/#539.
  4. The all-black world was the descriptor layer, not the lighting. A constant buffer whose host
    address was not 256-byte aligned was bound null, so every constant in that shader read 0 (one line
    per pipeline, 13,300 times a run), and unordered textures the title places itself were not mirrored,
    so lighting inputs were null too. Same scene after the fixes: mean luminance 43.9 → 153.6, pixels
    below 8 % grey 62.4 % → 6.9 %.

Also relevant to SHADER-MESH-LANES-AMD: the "all lanes participate, masked lanes add 0" wave sums only
translate on a host whose waves are exactly the console's 32 lanes; on this card (32–64) I had to retry
those programs as a 32-lane host. That is the task as written in #1633.

I have a self-contained fork (21 files changed, 4 added, 0 removed, GPLv3 kept) and can turn any of
these into pull requests against the tree of your choice. Which would help most — the indirect-argument
pass (#961's mesh_indirect.rs), the barycentrics emulation, or the descriptor fixes? I would rather
land them where they are wanted than duplicate work, so I will hold off and follow claiming: in #1633
if you prefer that route.

No game files were used in what I describe; numbers come from running the title.

AI-assisted development; hardware runs and measurements on the machine described above.

**@⁠2150272538-jpg** on GitHub · 2026-11-26 12:15 UTC · [original](https://github.com/Marvisak/VIctory/issues/1410#issuecomment-7191761788) **In-game on RX 5700 XT: the world renders through a mesh→compute fallback (18 min 33 s, 13,176 draws/frame)** Context: this card reports `D3D12_OPTIONS7::MeshShaderTier = 0`, `BarycentricsSupported = false`, `HighestShaderModel = 0x60`, `int64 shader ops: true`, wave lanes 32–64. I wrote a small `device_probe` against `CheckFeatureSupport` to state that without ambiguity. I built a fallback along the same lines #961 describes — convert each mesh stage to compute that writes vertices/indices to raw UAVs, generate a vertex stage that reads them back by `SV_VertexID`, `Dispatch` + UAV barrier + `ExecuteIndirect(DRAW_INDEXED)` — before I found #961, so this is an independent confirmation of the shape rather than a competing design. What #961 lists as still open is now measured on this card: - all 8,765 mesh containers in the title translate; 831–835 converted pipelines are created in a run; - 24,844–51,036 groups are dispatched per frame (largest single record: 780 groups); - **13,176 draws/frame peak**, 2.5 min to world, **18 min 33 s** continuous, 1.3–1.5 fps at 720p, 1.0 fps at 1080p; - ending is not the GPU: the process reaches ~20 GB private on a 16 GB machine and is reaped. A pristine build of this tree shows the same 19.6–19.9 GB plateau, so it is the title plus our host-side mirrors, not the fallback. That is exactly `GPU-HOST-MEMORY` in #1633. Four things that were not in either #961's plan or #1648, and cost real time: 1. **`DispatchMeshX` through a `MESH` command signature removes the device.** On a card without mesh shaders the record is rejected at execution: `0x887A0004` then `0x887A0006`, no validation error unless the debug layer is on, and the loss looks like a random hang 2 s earlier. The indirect path must be synthesised: a one-thread pass turns the console's argument record into a `DISPATCH` record and a `DRAW_INDEXED` record, then two `ExecuteIndirect` calls. Dropping indirect mesh dispatches instead keeps the title alive but leaves the world empty. 2. **`SV_Barycentrics`** (the class #1247 measures as 207 programs): emulate by having every producer write the triangle-corner basis `(1,0,0)/(0,1,0)/(0,0,1)` as one extra output element and reading it in the pixel stage, letting the rasteriser interpolate with the element's mode. Exact at 1× MSAA for centroid/sample. The mesh-compute path packs the corner into the low bits of the index word so the generated vertex stage can rebuild it. Matches #453's category. 3. **A single 64-bit image atomic breaks a whole material class.** One `atomicBinOp.i64` (unsigned max on a packed `(a<<32)|b`, result never read) sets `ATOMIC_TYPED64`, and `CreatePixelShader` returns `E_INVALIDARG` on an SM 6.0 card. Dropping the atomic when the host is below SM 6.6 makes 366 draws per frame of interior architecture appear — the "missing roof" symptom. Matches #305/#539. 4. **The all-black world was the descriptor layer, not the lighting.** A constant buffer whose host address was not 256-byte aligned was bound null, so every constant in that shader read 0 (one line per pipeline, 13,300 times a run), and unordered textures the title places itself were not mirrored, so lighting inputs were null too. Same scene after the fixes: mean luminance 43.9 → 153.6, pixels below 8 % grey 62.4 % → 6.9 %. Also relevant to `SHADER-MESH-LANES-AMD`: the "all lanes participate, masked lanes add 0" wave sums only translate on a host whose waves are exactly the console's 32 lanes; on this card (32–64) I had to retry those programs as a 32-lane host. That is the task as written in #1633. I have a self-contained fork (21 files changed, 4 added, 0 removed, GPLv3 kept) and can turn any of these into pull requests against the tree of your choice. Which would help most — the indirect-argument pass (#961's `mesh_indirect.rs`), the barycentrics emulation, or the descriptor fixes? I would rather land them where they are wanted than duplicate work, so I will hold off and follow `claiming:` in #1633 if you prefer that route. No game files were used in what I describe; numbers come from running the title. *AI-assisted development; hardware runs and measurements on the machine described above.*
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/Marvisak--VIctory#1410
No description provided.