Repository navigation
Conversation
A retail game numbers its MS 24 (the PC's AS) and never uses 25. Read as an AS, its ~2 750 mesh pipelines were refused, or got a stand-in the driver refused and were built in the call, so loading never finished (black screen); now they get a stand-in and are built when first used.
|
Test run of Tested
Review: Subobject 24 is taken as the MS only when there is no PC MS subobject and its payload is a console MS container, so a real PC AS is unaffected. Overlap with #541 (open, "a console MS in the AS slot is translated as the mesh shader"): both replace the same "MS container in the AS slot → refused" block in the stream path, with different readings (this PR: the console's subobject numbering is one lower; #541: an MS in the AS slot). They will conflict, and the maintainer will want one reading. Not tested: no retail title or regression run (I have no unpacked game), no Run and review by Claude Code (Claude Opus 5.5) on this machine; the review points were checked against the code. |
…dget Combines the 32-vertex chunk mesh output budget (upstream PR ivall#304) with console-numbered MS subobject handling (upstream PR ivall#630): - emit.rs: account for DXC's 32-vertex chunk sizing in passthrough_max_vertices and select single vs split pass-through layout by vertex budget. - real.rs: treat a console MS container at subobject 24 (with no PC MS at 25) as the stream's MS, rewrite subobject 24 to 25 in fallback_stream with the stand-in MS, and defer compilation via pso_async::lazy(). Verified on Linux (GE-Proton11-14, RX 9060 XT): 7/7 targeted tests pass (including gpu_mesh_mode_two_passes and console_ms_stream_tests); GTA VI 75 s run shows 0 AS-slot refusals, translation_errors=[], 937/937 frames at 30.0 FPS.
…dget Combines the 32-vertex chunk mesh output budget (upstream PR ivall#304) with console-numbered MS subobject handling (upstream PR ivall#630): - emit.rs: account for DXC's 32-vertex chunk sizing in passthrough_max_vertices and select single vs split pass-through layout by vertex budget. - real.rs: treat a console MS container at subobject 24 (with no PC MS at 25) as the stream's MS, rewrite subobject 24 to 25 in fallback_stream with the stand-in MS, and defer compilation via pso_async::lazy(). Verified on Linux (GE-Proton11-14, RX 9060 XT): 7/7 targeted tests pass (including gpu_mesh_mode_two_passes and console_ms_stream_tests); a retail title 75 s run shows 0 AS-slot refusals, translation_errors=[], 937/937 frames at 30.0 FPS.
|
Tested - Tool: OpenCode with DeepSeek V4.1 Flash 1017
Tested - native Windows, AMD RDNA2
Not tested: the retail title's ~2,750 mesh pipelines (no title here), release build, AI use: OpenCode with DeepSeek V4.1 Flash 1017 ran the tests and drafted this report. |
…dget Combines the 32-vertex chunk mesh output budget (upstream PR ivall#304) with console-numbered MS subobject handling (upstream PR ivall#630): - emit.rs: account for DXC's 32-vertex chunk sizing in passthrough_max_vertices and select single vs split pass-through layout by vertex budget. - real.rs: treat a console MS container at subobject 24 (with no PC MS at 25) as the stream's MS, rewrite subobject 24 to 25 in fallback_stream with the stand-in MS, and defer compilation via pso_async::lazy(). Verified on Linux (GE-Proton11-14, RX 9060 XT): 7/7 targeted tests pass (including gpu_mesh_mode_two_passes and console_ms_stream_tests); a retail title 75 s run shows 0 AS-slot refusals, translation_errors=[], 937/937 frames at 30.0 FPS.
…dget Combines the 32-vertex chunk mesh output budget (upstream PR ivall#304) with console-numbered MS subobject handling (upstream PR ivall#630): - emit.rs: account for DXC's 32-vertex chunk sizing in passthrough_max_vertices and select single vs split pass-through layout by vertex budget. - real.rs: treat a console MS container at subobject 24 (with no PC MS at 25) as the stream's MS, rewrite subobject 24 to 25 in fallback_stream with the stand-in MS, and defer compilation via pso_async::lazy(). Verified on Linux (GE-Proton11-14, RX 9060 XT): 7/7 targeted tests pass (including gpu_mesh_mode_two_passes and console_ms_stream_tests); a retail title 75 s run shows 0 AS-slot refusals, translation_errors=[], 937/937 frames at 30.0 FPS.
…dget Combines the 32-vertex chunk mesh output budget (upstream PR xcl-dev#304) with console-numbered MS subobject handling (upstream PR xcl-dev#630): - emit.rs: account for DXC's 32-vertex chunk sizing in passthrough_max_vertices and select single vs split pass-through layout by vertex budget. - real.rs: treat a console MS container at subobject 24 (with no PC MS at 25) as the stream's MS, rewrite subobject 24 to 25 in fallback_stream with the stand-in MS, and defer compilation via pso_async::lazy(). Verified on Linux (GE-Proton11-14, RX 9060 XT): 7/7 targeted tests pass (including gpu_mesh_mode_two_passes and console_ms_stream_tests); a retail title 75 s run shows 0 AS-slot refusals, translation_errors=[], 937/937 frames at 30.0 FPS.
…dget Combines the 32-vertex chunk mesh output budget (upstream PR ivall#304) with console-numbered MS subobject handling (upstream PR ivall#630): - emit.rs: account for DXC's 32-vertex chunk sizing in passthrough_max_vertices and select single vs split pass-through layout by vertex budget. - real.rs: treat a console MS container at subobject 24 (with no PC MS at 25) as the stream's MS, rewrite subobject 24 to 25 in fallback_stream with the stand-in MS, and defer compilation via pso_async::lazy(). Verified on Linux (GE-Proton11-14, RX 9060 XT): 7/7 targeted tests pass (including gpu_mesh_mode_two_passes and console_ms_stream_tests); a retail title 75 s run shows 0 AS-slot refusals, translation_errors=[], 937/937 frames at 30.0 FPS.
|
Test report (retail title, 120 s smoke run)
Both PRs remove the refusal without the black screen: every frame from 260 on shows the same account-picker menu as main. Also checked on main Not tested
AI use: Claude Code with Claude Opus 5.5 ran the builds and runs and wrote this report. |
|
#630 and #541 side by side on AMD RDNA3 (RX 7800 XT, native wave64): with #541 the title loads its world as on Neither PR had a run on RDNA3 yet. Their bases are older than Setup
Tests
Title runs (150 s each)
Captured frames, one character per capture (every 60th presented frame; On The 3 stand-in refusals with #630 match what #541 fixed in Not tested
Claude Code (Claude Opus 5.5), from runs on the hardware above. |
…dget Combines the 32-vertex chunk mesh output budget (upstream PR xcl-dev#304) with console-numbered MS subobject handling (upstream PR xcl-dev#630): - emit.rs: account for DXC's 32-vertex chunk sizing in passthrough_max_vertices and select single vs split pass-through layout by vertex budget. - real.rs: treat a console MS container at subobject 24 (with no PC MS at 25) as the stream's MS, rewrite subobject 24 to 25 in fallback_stream with the stand-in MS, and defer compilation via pso_async::lazy(). Verified on Linux (GE-Proton11-14, RX 9060 XT): 7/7 targeted tests pass (including gpu_mesh_mode_two_passes and console_ms_stream_tests); a retail title 75 s run shows 0 AS-slot refusals, translation_errors=[], 937/937 frames at 30.0 FPS.
|
Test report on a desktop RTX 5070 (Blackwell), head Setup
Result: unlike #541, this keeps the frame rate — but the three stand-in failures are here too
The three stand-in warnings are one burst at 60.323–60.324 s, on three different worker threads, each followed by in-call translation. That is the same count and shape @badoomtch reported for #541 on an RTX 5080 at 44.49 s, and the same count @srcamarda reported for #630 on RDNA3 at 75 s — so it is not specific to #541's reading or to AMD. It is also directly contrary to the PR description's claim that lazy building fixes the in-call builds: 2 of these pipelines go through Frame-rate-wise this is fine (96 % of Tested
Not tested
AI use
|
|
Correction to one line in my report above: I wrote With a correct extraction over the 149 activity samples in each 300 s log:
So there is some title streaming in all three runs, contrary to what I said. It still does not look like a completed world load: the last frames in AI use: OpenCode with DeepSeek V4.1 Flash Abliterated ( |
A retail title puts the MS container of its mesh pipelines in subobject 24 and never uses 25. The PC has no type 23, so the console's numbering is one lower (VIEW_INSTANCING 22, MS 24); on the PC 24 is the AS. These are not minimap pipelines: they are the title's vertex shaders built as mesh shaders (
MS_VS_*_Wrapped), about 2,750 of them made while it loads.Today they are refused, and the title stops after 40 of them. Accepting them as an MS alone still gave a black screen:
fallback_streamonly knew 25 as an MS, so the stand-in had no shader stage, the driver refused it, and every pipeline was translated and built inside the create call (0.3–0.5 s each). Loading never finished, and no DirectStorage request came in.Related to #541, which moves the shader for the same pipelines but does not change the stand-in or when they are built.
What is in it
crates/xcl/src/hle/d3d12x/real.rs:console_numbered_ms: a console MS container at 24, in a stream with no 25, is the stream's MS, andtranslated_mesh_streamuses it (the refusal is gone).fallback_streammoves that subobject to 25 with the stand-in MS. Console mesh pipelines are built at their first bind (pso_async::lazy), like graphics pipelines.console_ms_stream_tests: which streams count (24 with no 25 does; 24 with 25, a console PS or a PC blob does not), and the stand-in has its MS at 25 (fails without the change:[0,24,…]).Tested
cargo test --workspace -- --test-threads=4on fdadadd: 686 passed, 0 failed, 41 ignored.gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware.Regression run
Not tested
XCL_SAMPLE_RPFe2e tests (not set here), gameplay past the menus.AI use