Results on an RX 6800: settings, GPU cost, dropped calls, builder on #264
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/fxceless--victory-fork#264
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?
@TG0000 on GitHub · 2026-11-24 23:03 UTC · original
Results on an RX 6800 16 GB, Ryzen 5900X, 32 GB, Windows 11, in the opening scenes, on
7b0f736plus the branches named below. One launch per line unless said; the cutscene timing differs between launches, so small differences mean nothing.Settings for all lines:
VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024 VICTORY_TEXTURE_NO_WAIT=1 VICTORY_SKIP_PIPELINES=39f0e9aeb156a61cVICTORY_TEXTURE_NO_WAIT=1VICTORY_BVH_BUILDER=1with its stores kept out of title memoryWhat drops calls (warm cache): 92-95 % of them are the ray-tracing structure builder, off by its switch. Untranslated programs are about 34 of 3,900 calls a frame.
Shader census of the combined branch: 25,610 of 25,889 accepted by dxil.dll (25,349 before), 0 lost. That is not proof of a correct picture. The clean-up passes of
1684989remove 42.7 % of the host instructions over 25,668 programs, and constant-branch folding takes 39f0e9aeb156a61c from 78,850 to 11,067 instructions. We saw no AMD compiler crash with them in two launches.Known faults: black shadow areas, missing bodies and faces, purple spots on the ground, empty eyes; one device hang (0x887A0006) in six launches with pooled staging buffers (not shown to be the cause, none since in the following launches of a changed version); a title breakpoint (0x80000003) near 300 s on an older build of ours.
Branch with all of it: https://github.com/TG0000/victory-fork/tree/rx6800-combined (commits of others keep their authors). The head as a whole has passed its tests (gpu 118, shader 221) but has not been launched in a game; without its last two merges (shaders, main
2119b0e) it has, twice.Useful from others: the same table on another card; whether
VICTORY_BVH_BUILDER=1starts for you; any idea why shadow areas stay black.AI-assisted.
@TG0000 on GitHub · 2026-11-25 12:28 UTC · original
Update on the same RX 6800 (16 GB, Ryzen 5900X, 32 GB, Windows 11), with a local build:
f85101bplus our older branch, PainDe0Mie's constant views read in place, two small Yeetbot159 changes, placed textures (#903) and the hash passes of #253. Launches of 420 s, warm cache, each alone, 0 display events.9376fd6)VICTORY_ASYNC_SUBMIT=1 VICTORY_QUEUE2=1All of them with
VICTORY_PLACED_TEX=1 VICTORY_TEXTURE_CATCHUP=0 VICTORY_HEAP_SYNC=0; the new ones also with our opt-in for fills (below). Not a full ABBA, scenes not frame-matched, and only one launch of the second line. Two older launches of the control build gave 318 and 296 ms. The 25 ms budget (VICTORY_HEAP_TEXTURES_MS=25, #254) is not free: textures come visibly later and there are more stalls (29-30 one-second windows over 600 ms against 17).Pairs in one launch (ABBA, 240 s unless said): no single switch's frame gain is shown alone. The table above is for the set.
VICTORY_QUEUE2on top ofASYNC_SUBMIT: copy-back -52 ± 14 ms, GPU wait -35 ± 11 ms, frame 0 ± 96 (not shown). No device loss in the launches of this pair or of the table.VICTORY_ASYNC_SUBMIT: copy-back -17 ± 12 ms, frame -39 ± 72 (not shown).HEAP_SYNCon or off, on the build before: heap pass -91 ± 56 ms with it off, frame not shown. Separate 150 s launches: 598 ms with it on, 297 and 325 ms off.Device lost once (0x887A0007), in a launch that flipped seven switches together every 4 s, an asynchronous present of ours among them (not the one in
a253706). The cause is not isolated. None in the launches of the table.Fills that do not wait turn themselves off here in the first world second: one 2 KiB title buffer copy reads what shaders write. Letting only its 64 KiB wait took fill waits from 2.3 to 0.0 a frame; that copy's first frame used old bytes. #860 already limits the wait to the pieces touched and also removes false trips, which our check could not tell apart, so we open nothing for it.
Where a frame goes (profiler, about 220 ms; the lines are on different threads and do not add up): 105 ms the texture/heap pass inline on one recording thread, 56-66 ms unmapping and mapping pages on the render thread, 47-51 ms waiting for the relay, 31 ms
ReadProcessMemory, 25-34 ms write watch and guards.Picture: walls, hair and clothes are drawn now; still wrong are magenta foliage, black characters in the sun and a white flash. Compared by eye only.
a253706and its draw windows are not tested here yet. Pull requests: #253 and #254 rebased on it, #903 new.AI-assisted (Claude Code).