RDNA 4 (RX 9060 XT 16GB) + 8-core 5700X3D field report: PR #324 verification, CPU profile hotspots, 8-core scheduling & FSR 4.1.2 on 1080p/Series S #438
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#438
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?
@knx975 on GitHub · 2026-11-27 01:28 UTC · original
Environment
0x1002:0x7590,vram_mb=16191)Belobug/VIctory-Belobug-AMD(a-publier@4eb6cfd) merged withavatarmanz/VIctory-7900XTX(main@014d52d), compiled withRUSTFLAGS="-C target-cpu=native"+ fat LTO.1. RDNA 4 Confirmation (PR #324)
VICTORY_PORT_CBV=1.VICTORY_PORT_CONSTANTS_ORDER(fromavatarmanz/VIctory-7900XTX) also works on RDNA 4 and noticeably reduces tree/palm flicker.2. Feature Request / Small Patch: PC FSR 4.1.2 on 1080p & Series S
Currently
apps/victory/src/run.rsonly loads the PC FidelityFX DLL (amd_fidelityfx_upscaler_dx12.dllv4.1.2) when--fsr(4K) is used. On RDNA 4 cards (RX 9060 XT / 9070 XT) running Series S or Series X @ 1080p, allowing PC FSR 4.1.2 via a flag (e.g.VICTORY_PC_FSR=1) works out of the box:(Tested with
VICTORY_UPSCALER=7and bothVICTORY_FFX_SCALE=0.67Quality and0.5Performance.)3. 8-Core CPU & 16 GB VRAM / 32 GB RAM Findings
VICTORY_TITLE_PRIORITIES=0causes severe freezes on 8-core CPUs: WithVICTORY_TITLE_PRIORITIES=0(fromplay.ps1), the title's 6IDLEstreaming threads were starved for up to 4.8s, causing 0–5 fps street freezes. RemovingVICTORY_TITLE_PRIORITIES=0eliminated the freezes.THIN+UNDER=6+VIEW=6+4+LAND=4) create 20+ active worker threads competing for 8 physical cores (logged32.0 ms waiting for the guardsand13.0 ms waited for at lists' close). CalibratingVICTORY_THIN_THREADS=6andVICTORY_LAND_THREADS=4helped significantly.VICTORY_CARD_BUFFERS_MIN_KB=64uncapped filled ~15.67/16 GB VRAM and spilled to system RAM (6–8 fps). UsingVICTORY_CARD_BUFFERS_MIN_KB=128+VICTORY_CARD_BUFFERS_MB=1536+VICTORY_RESIDENCY=1reduced CPU buffer compares from 84.7 MB → 2.1–3.3 MB/frame while keeping VRAM around 10–13 GB.VICTORY_PORT_RT=1visual regression (Series S + RT): Caused black face/torso skinning glitches on Jason; disablingVICTORY_PORT_RT(keepingVICTORY_BVH_BUILDER=1+VICTORY_AMBIENT_RT=0.7,1.5) avoided it.4. CPU Profile Hotspots (
VICTORY_PROFILE, 60s walking in street, Series S)GPU stayed at ~34% busy (100% CPU-bound across all 8 cores):
victory-list-0..5: ~175s CPU across 6 threads (46,561 list calls in 381.7 ms/frametotal).victory-submit: 30.1s CPU (71.0 ms/framein diag build;5.9 mswrite watch,17.8 msrefreshes,26.2 mswaiting for flights).victory-relay: 50.72 ms/frame inread-backs and lists.Top symbolized hotspots:
windows_core::unknown::clone(2.9% leaf) +HostHeap::keep(2.6% leaf) = 5.5% of all 6victory-list-*threads:HostHeap::make_listed(self.keep(index, made.kept.clone())), doing COMAddRef/Release+Mutexlock even when the slot already holds the sameID3D12Resource(orNone).HostHeap::make_listed(11.5% inclusive) +CopyDescriptorsSimple(1, ...)(2.9% leaf):HashMaplookups (contains_key+[&words]) per slot and issues 1CopyDescriptorsSimple(1, ...)COM call per descriptor instead of batching contiguous table slots withCopyDescriptors.HostHeap::clear_twin(0.7% leaf onvictory-list-*, 3.7% leaf onvictory-heap-sync):AtomicBool::swap(false, Relaxed)causes cache-line bouncing on slots that are alreadyfalse.State::tables_donelock contention (~13,400dynamic tables/frame):release_dynamicin a per-table loop, acquiringSHADER_HEAPS.read()+HostHeap::next.lock()~13,400 times/frame onvictory-relaywhile all 6victory-list-*threads contend onHostHeap::next.lock()inHostHeap::dynamic().list::execute_indirect(28.6% inclusive ofvictory-list-*):VICTORY_PORT_CONSTANTS_ORDER, 2,375–2,646 indirect executions/frame are clamped individually with batching/windowing disabled (self.window = None,self.batch = None). A finer-grained hazard check (only breaking a batch when a buffer written since batch start overlaps the indirect args/count range) could be a big CPU win on 8-core CPUs without bringing back tree flicker.Local Rust patches prototyped & tested (403/403
victory-gpuunit tests passing)I prototyped fixes for items #1–#4 (plus thread-local scratch buffer reuse in
texback::landand cachedHostHeap::gpu):HostHeap::keep_refwithkept_raw: Box<[AtomicUsize]>lock-free fast path.HostHeap::make_listed_batched(singleEntrylookup + stackListedBatchflushing contiguous runs viaCopyDescriptors).HostHeap::clear_twinguarded bymade.load(Relaxed)beforeswap.release_dynamic_many/HostHeap::release_manyreleasing all dynamic slots per heap under a single lock inState::tables_done.Happy to share the diff / open a PR if any of these are useful!
@i1u5 on GitHub · 2026-11-27 02:13 UTC · original
Same specs here, maxes out at 6 fps and starts eating into pagefile, crashes at the end of the prologue always.
@RimuruTmp4st on GitHub · 2026-11-27 02:57 UTC · original
Bro can you help me i dont understand how to download gta 6 every assets same pc specs we are you can write my discord pls mortalingblack