GS_VoxelizeGeneric: 195 geometry shaders fail on a raw user-data address, and the geometry stage is not emitted #659
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#659
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?
@adhd-speed on GitHub · 2026-11-28 02:57 UTC · original
GS_VoxelizeGeneric: 195 geometry shaders fail on a raw user-data address, and the geometry stage is not emitted
Summary
On the Xbox Series build
1.0.2.1,victory translate --listwithVICTORY_HOST_MAX_WAVE=32reports 195 failures, allGS_VoxelizeGenericgeometry shaders, all at the same load:with:
The address is not a table root. In a merged ES-GS,
s8isuser_data 0;the layout has no
user_data 0parameter, and the onlyUsedResourcetableis at
0x920, read throughs16(user_data 8). The0xb8load is a rawaddress.
Reproduction
Before the fix the summary is:
The 195 are the subject of this issue; the 22 and 5 are separate.
Evidence
Five representative failures:
The extracted shader
8cf49c6770ae0810has two loads:Its only
UsedResourcetable is:0x920is 2336 bytes = 584 dwords, exactly theUsedResourceoffset.user_data 8in a merged ES-GS iss16, and the second load usess16:s17.So the program is merged. The first load uses
s8, which isuser_data 0inthat placement; it is not a table root, and there is no
UsedResourceat46 dwords. It is a raw address.
The first version of this issue read
0xb8as 184 dwords and matched it tothe root parameter at
table_offset_dwords: 184.0xb8is 184 bytes(46 dwords); 184 dwords is
0x2e0. The parameter at 184 dwords is not readby either load.
Root cause
HwStage::user_sgprcorrectly gives geometry shaders the eight system SGPRsfirst (merged). The tracker then sees the
s8load as an address that tracesto no root parameter and refuses it, because the
RAW/MEMORYfallback waslimited to compute programs. The
0x920load tracks correctly as the tableat
user_data 8.This is not a standalone geometry shader. It is a merged ES-GS whose
user_data 0is a raw address.Fix
PR #716:
+8placement forGs;RAW/MEMORYfallback forGs, as compute already has;0x920load as a table; the0xb8load becomesMEMORY.Tests cover the table at
s16/0x920/ 584 dwords, the raw0xb8and thetable
0x920in one program, and a merged root descriptor's high half ats17.Results
cargo test -p victory-shader: 296 passed, 0 failed, 5 ignored.translate --liston the full Xbox Series1.0.2.1corpus:an address in an SGPR that is no root parameter(was 195);no wave32 lowering for this wave64 program, unchanged;a descriptor read only as data, unchanged.8cf49c6770ae0810:1 of 1 tracked, 2 scalaraccesses, one raw (
MEMORY) and one table (0x920).Scope
translatestill lowers onlyVs/Ps/Cs/Ms, so the 195 still produceno host geometry pipelines. The missing
Gsemitter is a separate change;this issue stays open for it.
Environment
main(63b902f/ v2026.11.28.01)1.0.2.1@github-actions[bot] on GitHub · 2026-11-28 02:57 UTC · original
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
GS_VoxelizeGeneric: 195 geometry shaders fail on a table descriptor read reconstructed from SGPRsto GS_VoxelizeGeneric: 195 geometry shaders fail on resource tracking, and the geometry stage is not emitted@adhd-speed on GitHub · 2026-11-28 03:52 UTC · original · edited 2026-11-28 05:26 UTC
Thanks. This report is a translation-time failure, not a crash, so there is no failing play or crash log to attach. The failing run is
victory translate --list, and its full output is in the gist below. ## Environment - GPU: NVIDIA GeForce RTX 4070 Ti, 12 GB - Driver: 610.88 (32.0.16.1088) - OS: Windows 11 Pro, 10.0.26300, 64-bit - CPU / RAM: AMD Ryzen 9 5900X, 64 GB - VIctory-NVIDIA:a4d05e7(v2026.11.27.9), consoleseries-x, release build - Game: GTA VI Xbox Series build1.0.2.1## Logs Secret gist: https://gist.github.com/adhd-speed/763329ae963637002624e098f7e93fb0 It contains: 1.victory-nvidia-20261128-043538.log- the latest play log (clean build). That run did not crash. 2.translate-wave-why-32-20261128-031040.log- the failingtranslate --listrun. 3.crashes.log- the newest entries are from 2026-11-27 and are unrelated to this issue. No.crash.logwas produced on 2026-11-28. ## ReproductionVICTORY_HOST_MAX_WAVE=32 victory.exe translate --list <game folder>Result:195 resources: an address in an SGPR that is no root parameter 22 emit: no wave32 lowering for this wave64 program 5 emit: a descriptor read only as dataAll 195 areGS_VoxelizeGenericand all stop at0x44, for example:shaders.rpf@0xbd7c2e4 GS_VoxelizeGeneric_912dfba0_Wrapped #8cf49c6770ae0810 ~438dafa5 Gs at 0x44 resources: an address in an SGPR that is no root parameterOne more finding from the updated issue body: allowing theRAW/MEMORYfallback forGsremoves the 195 resource errors, but does not produce geometry pipelines. The emitter supports onlyVs,Ps,CsandMs, andtranslateskipsGs. The resource error is only the first blocker.Correction (2026-11-28): that fallback is the correct resource-tracking behavior for the raw
0xb8address. The program is a merged ES-GS; its table is at0x920(584 dwords) throughs16. The missingGsemitter remains a separate change. See the corrected root cause below and PR #716.@adhd-speed on GitHub · 2026-11-28 04:17 UTC · original · edited 2026-11-28 05:25 UTC
Correction: the load at
0xb8is a raw address, not a tableThe first diagnosis compared
0xb8withtable_offset_dwords: 184. Thatwas a unit error:
0xb8is 184 bytes (46 dwords), while 184 dwords is0x2e0.The only
UsedResourcetable is at 584 dwords = 0x920,user_data 8,read through
s16:In a merged ES-GS,
user_data 8iss16, so the program is merged. The0xb8load goes throughs8=user_data 0; the layout has nouser_data 0parameter and there is noUsedResourceat 46 dwords. It is araw address.
The fix is PR #716: keep the merged
+8placement forGsand allow theRAW/MEMORYfallback forGs. The0x920load stays a table;0xb8becomes
MEMORY. Tests cover both in one program.Results: 195 -> 0; the 22 wave64 and 5 descriptor-read-as-data failures
are unchanged;
victory-shaderpasses 296 tests.translatestill does notemit
Gs; #659 stays open for the emitter.GS_VoxelizeGeneric: 195 geometry shaders fail on resource tracking, and the geometry stage is not emittedto GS_VoxelizeGeneric: 195 geometry shaders fail on a raw user-data address, and the geometry stage is not emitted@trustno1-coder on GitHub · 2026-11-29 19:50 UTC · original
Closing this one because it was reported on a build from before v2026.11.28.03 (more than 4 releases ago) and has had no activity since v2026.11.29.01. A lot has changed since then.
If it still happens on the latest release, please open a new issue with the play log and crashes.log from that run. Thanks for reporting!