NVIDIA RTX 5080: ~20 world mesh pipelines refused with E_OUTOFMEMORY; 7 without helper lanes reading their own v_readfirstlane #160
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/Belobug--VIctory-Belobug-AMD#160
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?
@pjanes22 on GitHub · 2026-11-25 17:55 UTC · original
RTX 5080 16 GB, driver 32.0.16.x, Windows 11, Ryzen 9 7950X3D, 32 GB.
Build: main
01aadd1+ #68 + #144 + #146, compiler guard off (see PR "VICTORY_COMPILER_GUARD").About 20-29 mesh+pixel pipelines of the world are refused by the driver with
0x8007000E. What every refused pair has (dumped DXIL of 21 refused vs 540
accepted mesh pipelines):
(all 21 refused; 84 of 469 accepted pixel shaders have the same three);
limit; accepted ones go up to 18 rows too.
No single feature separates them.
With a test switch that turns off "a helper lane's v_readfirstlane reads its
own value" (
f520772), refusals went from 29 to 7 in the same scene. Thatswitch is not a fix: the commit exists so waterfall loops do not run to the
loop limit in helper lanes, and both runs with it off ended in a GPU timeout
(they also had other changes, so this is not proven).
The same pairs were made by an older fork (fxceless/victory-fork based) on the
same card, e.g. [mesh 374cff5e94fee812, pixel 81f23cdc52f59a69].
I can attach the dumped DXIL of the refused pairs.
@adrianmjim on GitHub · 2026-11-26 19:39 UTC · original
I looked at the pair you named offline, using the game's shaders.rpf, and created pipelines on an RX 7900 XT (RDNA3, driver 32.0.32029.2010, Windows 11 26300). I have no NVIDIA card, so nothing below says anything about the RTX 5080 compiler.
I measured two builds of main, both without #68, #144 or #146:
000ffdd. Its victory-shader is the same as in01aadd1, the base of your build.4f62c2a, current main, which runs the clean-up passes fromae75a66by default.With
VICTORY_SHADER_OPT=0,4f62c2agives the same bytes as000ffddfor all 319 programs below. So for these programs the clean-up is the only shader change between the two. My earlier hash lists (on000ffdd) give the same DXIL for the named pair with #68 and with #146 applied. I have not checked #144. It clamps view and sampler heap indices, so it may change the pixel shader.Which programs
The runtime logs these hashes as the first 16 hex digits of the console container's blake3 hash. They match:
Both are in the vehicle/prop deferred group with that suffix. The archive has 245 PS and 75 MS in that group. Both builds refuse one MS (mesh outputs beyond 32 KiB), so 319 programs translate.
The named pair,
000ffdd->4f62c2aI disassembled both with dxc -dumpbin and counted blocks, branches and loops with a script.
In the PS, every waveReadLaneFirst result still goes through a select on isHelperLane (31 of 31, then 30 of 30). The clean-up merges some isHelperLane calls (31 to 22) but keeps the selects. The control flow does not change.
The 7095f810 group
4f62c2athe 319 programs are 28.4% smaller in total:Your build has no clean-up passes. A run on current main would show whether these smaller shaders change the refusals on the 5080. I can't predict that from here.
Helper-lane select off
On
000ffdd, I turned off f520772's helper-lane select locally, as a test only. 181 PS of the group changed. The named PS went from 176,143 to 175,547 B, with the same blocks and branches. I have not repeated this on4f62c2a.Pipelines on the 7900 XT (
4f62c2a,translate --pipelines --host-lanes 32-64)#172 and open shader PRs
#172 (mine) changes none of these 319 programs, on
000ffddor merged onto4f62c2a. I can't say anything about the other refused pairs.I read the diffs of the open shader PRs #173, #180, #184, #186-#193, #198, #200, #202 and #204. None of them changes the helper-lane select or how waveReadLaneFirst is lowered. In my whole-archive runs, #180 and #191 change no program at all. #189 (v_interp_p2_f16) gives all 245 PS of this group a different DXIL hash. In the 209 changed shaders I compared, only the order of two instructions changes, with the same instruction count.
Not tested
If you can paste the hashes of the 21 refused pairs from your log, I can map them to programs the same way and run the same counts on them.