Files
VIctory-xmem/run.conf.default
Tim-van-Oudheusden ecd22de757 fix: drop slotfree and unlocked pool, restore uav sync and affinity
Offline diagnosis of Run #1 (play-20261205-154305 vs baseline -042502)
isolated all regressions to Commits 1-3, while offline isa_probe (30
shaders / 86 stages) proved Commit 5 (victory-shader + vkd3d) is a pure
RDNA 3 win (-4.81% insts, -6.76% spilled SGPRs, -1.69% VMEM, 0%
occupancy change) and stays untouched (preserving 99,329 warmed
pipelines on 7797143ef0cb3839):

- Remove slotfree + view_pool_free hook (saved as docs/tried/slotfree.patch):
  holding freed LIFO pool slots without integration into Spans/HostHeap::kept
  blew up the title's slot working set, leaving dead mip-0 views in Spans
  (halving base>0 copies 79,825 -> 40,011, doubling pool live bytes, driving
  29x partial-mapped uploads and +5.18 GiB VRAM) and leaking kept resources.
- Remove Pool::take_unlocked (saved as docs/tried/pool-take-unlocked.patch):
  unlocking TEXTURES/STAGING across CreateHeap(64 MiB) without a growth guard
  triggered concurrent need_ahead heap storms under HostHeap::made.lock
  (37x lock wait spike: 0.56 -> 20.84 ms med).
- Restore sync_wait (0x420) to UAV_BARRIER while keeping sync_cache (0x418)
  a no-op when !builder_runs(), avoiding RADV EOP CB/DB + L2 flushes.
- Keep VICTORY_CORES=fast passing title affinity masks through on uniform
  single-CCD CPUs (7800X3D) while still binding heterogeneous CPUs to
  better() and keeping VICTORY_CORES=free to drop masks.
- Make typed_store() lock-free ([AtomicU8; 160]), add query::OnList::touched
  fast path on query-free lists, and restore 1 ms idle timeout in behind.rs.
- Record Run #1, isa_probe A/B, fixes, and Run #2 expectations in
  docs/ARCHITECTURE-PERF.md and .claude/session-summary.md.
2026-12-05 16:35:39 +01:00

379 lines
12 KiB
Plaintext

# Every setting the in-game menu (F1; VICTORY_MENU=0 turns it off) lists, with
# what it does. Add a switch here and it shows up in the menu.
#
# Format: comment lines above a NAME=default line are its description;
# "# label: Name" is what the menu calls it; "# group: Name" starts a section;
# "# choices: a|b|c" lists the values the menu cycles through (default 0|1);
# the value after "=" is what applies when nothing sets it, shown by the menu
# (it is not applied from here; empty: unset).
# Your values go in run.conf, which the menu shows and edits (or on the command
# line, for one run).
# group: Graphics
# Settings preset: potato, low, medium, high or ultra. Rows below override it;
# changing the preset resets the preset's rows. See presets/<preset>.conf.
# choices: potato|low|medium|high|ultra
# label: Quality preset
VICTORY_PRESET=
# Console profile.
# choices: series-x|series-s
# label: Console profile
CONSOLE=series-x
# Output size. With FSR 4: 3840x2160 unless set. Series S: 1920x1080 unless set, and no larger.
# choices: 1280x720|1664x936|1920x1080|2560x1440|3840x2160
# label: Output resolution
VICTORY_OUTPUT=2560x1440
# Borderless full screen.
# label: Fullscreen
VICTORY_FULLSCREEN=
# Full screen size, if not the screen's.
# choices: 1280x720|1664x936|1920x1080|2560x1440|3840x2160
# label: Fullscreen resolution
VICTORY_FULLSCREEN_RES=
# With VICTORY_FULLSCREEN=1, black bars on non-16:9 screens.
# label: Black bars on wide screens
VICTORY_PILLARBOX=
# FSR 4 to the output size (needs ./setup.sh fsr4).
# choices: quality|balanced|performance
# label: FSR 4 upscaling
VICTORY_FSR=
# FSR 4 for the title's own upscaling, any profile.
# label: FSR 4 for the game's upscaler
VICTORY_FSR_HOST=
# FSR RCAS sharpening strength (0.0: off, up to 1.0).
# choices: 0.0|0.2|0.4|0.6|0.8|1.0
# label: FSR sharpening
VICTORY_FSR_SHARPNESS=0.0
# AMD frame generation on top of FSR 4. Set it together with
# VICTORY_FIDELITYFX_FRAMEGEN_DIRECT=1 and VICTORY_UI_PLANE=3840x2160:
# without them the interface glitches and fewer frames are rendered.
# label: Frame generation
VICTORY_FIDELITYFX_FRAMEGEN=
# With frame generation: without AMD's proxy swap chain, on VIctory's own
# queue; the real frame is shown half a frame after the generated one. Set it
# whenever frame generation is on (the proxy renders a quarter fewer frames).
# label: Direct frame generation
VICTORY_FIDELITYFX_FRAMEGEN_DIRECT=
# Separate 4K HUD plane, including with host FSR. Set it whenever frame
# generation is on: without it the interface glitches.
# choices: 3840x2160
# label: Separate 4K HUD
VICTORY_UI_PLANE=
# HDR10 output: the game is told the display is HDR and renders PQ/BT.2020.
# Decided at start; needs an HDR display and a surface that presents HDR
# (e.g. gamescope --hdr-enabled), else the frame goes out as SDR.
# Peak brightness told to the game: VICTORY_HDR_NITS (1000).
# label: HDR output
VICTORY_HDR=
# Peak brightness of the display in nits, for the game's HDR tone mapping.
# choices: 400|600|800|1000|1500|2000
# label: HDR peak brightness
VICTORY_HDR_NITS=1000
# Ray tracing (0: off).
# label: Ray tracing
VICTORY_BVH_BUILDER=1
# Ray tracing with the card's own node test (0: without it).
# label: Hardware ray tracing test
VICTORY_BVH_HARDWARE=
# How far detailed models reach (0.05 to 1.0; lower: fewer draws, more pop-in).
# choices: 0.05|0.1|0.15|0.25|0.35|0.5|0.75|1.0
# label: Model detail distance
VICTORY_LOD_SCALE=1.0
# Small object culling threshold (0.25 to 128; higher: small objects go sooner).
# choices: 1.0|2.0|2.5|3.5|5.0|8.0|12.0|16.0
# label: Small object culling
VICTORY_SMALL_CULL=1.0
# Simpler distant vehicles (-2 to 4; higher: simpler sooner).
# choices: -1.0|0.0|0.5|1.5|2.5|4.0
# label: Distant vehicle simplification
VICTORY_VEHICLE_LOD_BIAS=0.0
# Scale the squared world LOD0/LOD1/LOD2 distances (0.05 to 1.0).
# choices: 0.05|0.1|0.25|0.35|0.45|0.6|0.8|1.0
# label: World detail distance
VICTORY_WORLD_DIST_SCALE=
# RAGE 9 engine detail. All optional; unset keeps the title's own setting.
# Shadow map resolution (lower: softer shadows, fewer bytes).
# choices: 512|768|1024|1280|1536|2048
# label: Shadow resolution
VICTORY_LOW_SHADOWS=
# Active shadow cascades (1 to 3; fewer: less shadow work).
# choices: 1|2|3
# label: Shadow cascades
VICTORY_SHADOW_CASCADES=
# Shorten the extended and 4-cascade shadow distances.
# choices: low
# label: Short shadow distance
VICTORY_SHADOW_DIST=
# Grass shadows off.
# choices: 0
# label: Grass shadows
VICTORY_GRASS_SHADOWS=
# Alpha-tinted and particle shadows off.
# choices: 0
# label: Particle shadows
VICTORY_SHADOW_EXTRAS=
# Force the 128px, 7-mip volumetric/reflection map.
# choices: 1
# label: Low volumetric map
VICTORY_LOW_VOLUMETRIC=
# Volumetric raymarch and lighting quality (0: low, 3: ultra).
# choices: 0|1|2|3
# label: Volumetric quality
VICTORY_VOLUMETRIC_QUALITY=
# Tree LOD quality (0: low, 3: ultra).
# choices: 0|1|2|3
# label: Tree quality
VICTORY_TREE_QUALITY=
# Tree tessellation off.
# choices: 0
# label: Tree tessellation
VICTORY_TREE_TESS=
# Foliage distance tier (0: low).
# choices: 0
# label: Foliage distance
VICTORY_FOLIAGE_TIER=
# Tessellation and deepsurface quality forced to low.
# choices: 1
# label: Low tessellation
VICTORY_TESS_LOW=
# Subsystem iteration-count tier (0: low).
# choices: 0
# label: Low iteration counts
VICTORY_ITER_TIER=
# Dust and particles indoors: their light volume is held to this multiple of
# the light around, so they are not lit by the open sky through the walls
# (0: the title's own).
# choices: 0|0.5|1|2|4
# label: Indoor dust lighting
VICTORY_AMBIENT_ALPHA=1
# Guard pixel quad reads from lanes that did not run the block; 2: also the
# pixel swizzle quad reads.
# choices: 1|2
# label: Pixel noise guard
VICTORY_QUAD_GUARD=
# House window glass: stop the stripes that blink every other frame.
# label: Fix window glass stripes
VICTORY_GLASS_DITHER_OFF=
# House window glass dirt opacity, for the grey vertical drips (0.4 keeps the
# panes' average brightness).
# choices: 0.2|0.3|0.4|0.5|0.6
# label: Window glass dirt
VICTORY_GLASS_DIRT_OPACITY=
# Keep killed pixels in their quad, for the frosted-glass lines.
# label: Fix frosted glass lines
VICTORY_KILL_CONTINUE=
# group: Performance
# Frame interval in ms: 33.333 is 30 fps, 16.667 is 60, 0 is no wait.
# Unset follows the title.
# choices: 0|16.667|20|33.333|50|100
# label: Frame rate limit
VICTORY_FRAME_INTERVAL_MS=
# Series X streaming heap in MiB (the title's own: 6236). 3977 is Series S's
# size: less RAM, for PCs with 16 GB, but Series X may count on the larger heap
# (more streaming, possible issues).
# choices: 3977|4500|5000|5500
# label: Streaming memory size
VICTORY_TILE_HEAP_MB=
# Emptied texture staging blocks kept in RAM for 2 min, in MiB (0 to 2560).
# Unset: 0 on hosts with 18 GiB RAM or less, 2560 above that.
# choices: 0|256|512|1024|2560
# label: Staging memory linger (MiB)
VICTORY_STAGING_LINGER_MB=
# MiB of RAM left to the rest of the system; the game stutters under 12 GiB.
# choices: 2048|4096|8192|12288
# label: RAM left for the system
KEEP_FREE=8192
# Title memory paging (0: memory stays where it starts, RAM or card).
# label: Memory paging (RAM and VRAM)
VICTORY_PAGES=
# Also move to the card pages it was only shown, never read hot.
# label: Page memory only shown
VICTORY_PAGES_SEEN=
# Drain occupied sparse texture blocks so fragmented 64 MiB heaps return to VRAM (0: off).
# label: Compact texture memory
VICTORY_POOL_MOVE=1
# Share GPU-written mips with compatible placed views.
# label: Share GPU-written mips
VICTORY_PLACED_COPIED=
# Drop the finest 1 or 2 streamed texture mip bands to reduce VRAM use (0: full detail).
# choices: 0|1|2
# label: Texture mip drop
VICTORY_MIP_DROP=0
# Keep individual GPU-written mips through deferred uploads.
# label: Keep GPU-written mips
VICTORY_KEEP_GPU_WRITTEN=
# 0: open the game without preparing pipelines first (made at first use).
# label: Prepare pipelines at start
VICTORY_WARM=
# Processes that prepare the pipelines, 1 to 64. Unset: half the logical
# processors, at most 16, as many as the memory takes. Too many can stall
# preparation on some systems: lower this if workers stop making progress.
# label: Pipeline preparation processes
VICTORY_WARM_JOBS=
# 1: sync each prepared pipeline's file to the disk as it is written (slower;
# a file a power cut leaves short fails its hash and is made again anyway).
# label: Sync prepared pipelines
VICTORY_WARM_SYNC=
# Keep host command allocators instead of making them again for age, while
# the card's memory is within its budget. Experimental.
# label: Keep command memory
VICTORY_KEEP_HOST_BUFFERS=
# Join ready submissions across console queues (Direct and Compute) into one
# ExecuteCommandLists batch (0: off, one queue at a time). Can hurt frame rate
# badly on Ryzen 5800X3D and RDNA 4 (RX 9000) setups.
# label: Cross-queue submission join
VICTORY_CROSS_QUEUE_JOIN=1
# CPU thread placement: fast binds title threads to the fastest / largest-L3
# cores on hybrid or dual-CCD CPUs and passes masks through on uniform CPUs;
# free drops all title affinity masks; title maps Xbox cores 0-13 on >=14-core CPUs.
# choices: fast|free|title
# label: CPU thread placement
VICTORY_CORES=fast
# Shaders find a texture's view at the places its record carries instead of
# hashing its key; 0: off, 2: typed buffers too. Shaders are prepared again
# once after a change.
# choices: 0|1|2
# label: Faster texture lookup
VICTORY_RECORD_PLACES=1
# Shaders read raw buffers (constant buffers among them) by their record
# alone (0: off). Shaders are prepared again once after a change.
# label: Faster buffer lookup
VICTORY_RECORD_RANGES=1
# Uniform descriptor selection for guest loads with an address proven the same
# for the whole dispatch. Experimental.
# label: Uniform memory loads
VICTORY_UNIFORM_GUEST_LOADS=
# Group up to eight consecutive guest loads with a proven common page.
# Experimental.
# label: Grouped memory loads
VICTORY_CLUSTER_GUEST_LOADS=
# Decoration bakes: prepare only their named textures when the layout is fully
# recognized. Experimental.
# label: Lighter decoration bakes
VICTORY_BAKE_SOURCES_ONLY=
# Ray tracing: after shader faults, show up to four following 4 MiB cells
# ahead of need. Experimental.
# label: Ray tracing look-ahead
VICTORY_BVH_LOOKAHEAD=
# group: Misc
# PC-style keyboard and mouse controls (see Controls in the README).
# label: PC keyboard and mouse
VICTORY_KBM_PC=
# A DualSense on USB: the PS5 build's light bar, adaptive triggers and haptics
# (see Controls in the README).
# label: DualSense features
VICTORY_DUALSENSE=
# A DualShock 4 on USB or Bluetooth: light bar colours only.
# label: DualShock 4 light bar
VICTORY_DUALSHOCK=
# Sony pad rumble strength, 0.5 to 8.
# label: Rumble strength
VICTORY_RUMBLE_GAIN=2
# 0: leave a Sony pad's rumble motors alone.
# label: Controller rumble
VICTORY_DUALSENSE_RUMBLE=
# DualSense haptics gain in dB.
# choices: 0|4|8|12|14
# label: Haptics strength
VICTORY_HAPTICS_GAIN_DB=8
# No sound.
# label: Mute sound
MUTE=
# Skip the title's one-time movies; all: the looping menu backgrounds too.
# choices: 1|all
# label: Skip movies
VICTORY_SKIP_BINK=
# Skip only the intro movie, straight to the menu (the other movies play).
# label: Skip intro movie
VICTORY_SKIP_INTRO=
# How much the game logs (stderr and the run log). info: as now; warn: warnings
# and errors only; error: errors only; off: nothing. Quieter means less work
# formatting and writing text.
# choices: info|warn|error|off
# label: Log detail
VICTORY_LOG=info
# Log time spent in Present and DXGI display timestamps.
# label: Log present timing
VICTORY_PRESENT_TIMING=
# group: Menu
# Performance panel (F3 hides it, Shift+F3 steps through the modes; changes
# here apply at once). full: everything; compact: graph and a summary line;
# fps: just the frame rate.
# choices: full|compact|fps|off
# label: Performance panel (F3)
VICTORY_PANEL=full