Skip to content

v0.8.3

Latest

Choose a tag to compare

@readmet3xt-lab readmet3xt-lab released this 02 Dec 08:05
· 1 commit to main since this release

foxhound v0.8.3

Updated download (launcher 0.8.3.1): on small screens, or with large scaling, the launcher window could open taller
than the screen so Play could not be reached; it now fits the screen and scrolls. Only Foxhound.exe changed
(tag v0.8.3.1); if you have the first download, replace Foxhound.exe or download again.

Everything since v0.8.2. Measured on one PC only: a 12 GB NVIDIA RTX card with 32 GB of RAM; every other card
and PC follows from rules, not from a test. Reports from testers are welcome, above all for the items marked
needs testers.

Upgrading

  1. Download foxhound-windows-x64.zip, unpack the whole zip into a new folder (or over the old one), and start
    Foxhound.exe. Compare the files' SHA-256 with the list at the end.
  2. Load your title profile again if the launcher asks (Load title profile…). This version's translator reads a
    new role from the profile, so the Getting ready window translates the shaders once (a few minutes).
  3. Press Recommended settings once: the table for every card size is in the README (Recommended settings).

What you'll notice

Frame rate and smoothness

  • Four texture and memory settings are on by default (short drives at Recommended on the tested PC: about 20 fps
    median before, about 25 now; the slowest tenth of seconds 17 before, 19 now):
    • a texture slot that gets a new texture keeps showing the old one until the new one is up, instead of grey;
    • the texture pass works through a copy of its queue, so the program's threads do not wait for it;
    • the texture pass may take 24 ms a frame instead of 16;
    • on PCs with more than 16 GB of RAM, memory pressure is judged by the PC's own size. PCs with 16 GB keep the
      old rule, as it was not measured there.
    • Each can be turned back in Further switches: KEEP_SHOWN=1, QUEUE_SNAPSHOT=0, TEXTURE_STAGE_MS=16,
      PRESSURE_RELATIVE=0. On a PC whose processor is the limit, try TEXTURE_STAGE_MS=16 if streaming feels
      heavier; a 16 GB tester can try PRESSURE_RELATIVE=1. Please tell us what you see.
  • Memory the card can only read is no longer copied back after each submission (on by default, with a sampled
    check that turns it off by itself if it ever finds a write). Indoors on the tested PC this removed a 10 ms wait a
    frame. GPU_RO_SKIP=0 turns it off. (After an idea by FIocker.)
  • Indoor frame rate is back at v0.8.2's level after a slowdown in the test builds (a log counter that cost
    time inside the heap sync is now off; PAST_SHARE_COUNT=1 turns it on for diagnosis).
  • Frame generation no longer locks the game to 14 fps. It runs while the program's own frames hold 30 a second,
    and its frames are shown at once. (PR #152 by AVD-appezhax)
  • Write faults take no lock where nothing is guarded (after RFC #413 by procotos-art), and adjacent buffer copies
    are joined across command lists (after SandBar's work by wrq2007).
  • Fewer helper threads on small processors, and less waiting between the threads that translate the program's
    command lists.

Picture

  • Green-painted vehicles: the program's own refreshes no longer overwrite what the card wrote into a few small
    buffers.
  • Reflections that showed the sky on matte floors: the stand-in now reads a depth image that is actually
    written. (PR #233 by uhuhuhuhuhuhuhuh, #368)
  • Faces, with a title profile: the programs that draw them no longer stop at their shared-memory size, and their
    pipelines are made at first use. (After Victorywillbeours222)
  • Textures: those with no room left show their small levels instead of waiting; partly mapped ones show their
    first whole level; textures the card has no room for go into free space in card blocks before the PC's memory;
    stand-ins of every texture kind are grey, not black (after mikey and tikD1337); a compressed texture that is not
    there yet is neutral, not zeros (PR #336 by Z2VvZ2Vv).
  • More shader cases translate correctly: typed partial stores (PR #279 by Texbirds), accumulator modifiers
    (PR #213 by xndbogdan), mesh programs over the output limit (PR #278 by Texbirds), mesh indirect dispatches
    (PR #257 by UncommonDLL), atomic subtractions on NVIDIA (PR #402 by AVD-appezhax), integer forms (PR #367, #381
    by HDFreitas).
  • Black bars at 16:9 on wider or taller screens in fullscreen, with a switch to turn them off (PR #364 by
    RndmGitUser; fixes #400). An optional frame-rate counter in fullscreen (PR #365 by RndmGitUser).
  • 3440x1440 without an upscaler no longer crashes a few seconds in: the scene is drawn at 0.7 of the output and
    scaled up by the program's own temporal pass; with DLSS or FSR nothing changes. (PR #422 by retroiffy)
  • 2560x1440: the interface keeps its 4K canvas (PR #358 by Flyander); a 3440x1440 output profile (PR #284 by
    westones).

Crashes and stability

  • A crash right after loading with DLSS on is addressed (PR #189 by SleepyYui). Needs testers.
  • An AMD driver crash on a buffer size query is avoided (#129; after saifzetoney-ui and cool_fox). Needs AMD
    testers.
  • Our own shaders now ship compiled with the program instead of being compiled at run time, which fixes the black
    screen under Proton or Wine (#407; diagnosis from PRs #388, #409, #411 by kwaadrat). Needs Proton testers.
  • Pipelines known to hang the driver are left out of live compilation (PR #412 by kwaadrat).
  • Audio crackling: the audio decoding thread runs at the highest priority (#350).
  • The build script works with a space in the path (#349).
  • Long sessions (#414): the log now says which host slots keep released resources alive (diagnostics; a switch to
    sweep them is off by default).

Memory

  • Commit headroom is counted correctly: what the page files can still grow by counts as commit left (PR #277 by
    LuvAbyss).
  • The card's limit for by-address copies counts the bytes alive (PR #333 by Bushyon).
  • Fewer memory spikes under pressure: spare scratch memory is kept instead of being let go and made again.
  • PCs with 16 GB of RAM: Recommended picks the lighter console profile, and the launcher makes the layer's copies
    of the program's memory smaller. Keep a page file of at least 40 GB on an SSD.

Upscaling and frame generation

  • AMD FSR upscaling in DLSS's place, on any card (after game6coder), and FSR frame generation: FSR 4 where
    AMD's driver offers it, FSR 3 otherwise (after eikkapine; #346). Frame generation needs DLSS or FSR upscaling on;
    the launcher asks.
  • If FSR cannot start, a plain stretch keeps the game playable, and the launcher says what to do.
  • DLSS Ultra Performance is in the list. Recommended does not pick it: it makes thin detail flicker and saves
    under 1 ms on small cards (see Known limits).
  • Frame generation 5x and 6x on RTX 50 cards (FRAMEGEN_FRAMES up to 6; the program asks for no more than the
    card and driver report). Untested here; needs RTX 50 testers.
  • DLSS running out of card memory no longer breaks upscaling: the budget comes down in steps and is given back
    after a calm minute. Frame generation keeps a sixteenth of the budget free for itself (at most 512 MB).

Controllers

  • A Sony pad beside an Xbox pad now reaches the game (PR #420 by Yoshi-233). Needs testers: an Xbox pad first, a
    Sony pad second.
  • Bluetooth DualShock 4 and DualSense reports are read as Windows gives them (PR #421 by retroiffy), and a pad is
    no longer reopened and logged every second (#419). Needs testers: a button, the right stick, rumble.
  • The DualSense d-pad over Bluetooth (PR #254 by Yoshi-233).

Launcher

  • Recommended settings by card memory and RAM, NVIDIA and AMD, aiming at a steady 30 fps. The per-card table is in
    the README.
  • A "No limit" frame rate beside 30, 40 and 60 (experimental).
  • The launcher never switches DLSS, FSR or frame generation behind your back; where it would change your choice,
    it asks first.
  • "Load title profile…", a FidelityFX folder row, typed folders, and the Streamline folder checked before
    preparing or playing (#162; PR #293 by Yoshi-233).
  • Statistics on screen in every build (F3 hides and shows it), a controller choice, and F8 saves a mark and
    the shown picture for bug reports.
  • "Ray tracing" row: Off (default) or Software (experimental, costs frame rate).
  • Cancel on the Getting ready window asks first.

Options, off by default (for testers)

These are in the code and do nothing unless set in Further switches:

  • BVH_STUB=1: the ray-tracing builder library's work skipped when nothing uses it, against crashes at load or in
    heavy scenes with ray tracing off (#375, likely #385; PR #418 by wellisrite). Needs testers.
  • MEET_LOWERING=1: a translator form for a group of two console waves, for AMD cards (after yujqitm). Needs AMD
    testers.
  • STREAM_BOUND=1, LOOSE_READ=1 (with WINDOW_KB=1024, WINDOW_TAILS=1): about 280 MB less card memory on the
    tested PC, for 6 and 8 GB cards.
  • GUARD_PAGES=1: a write fault opens only the 4 KiB page written (after SandBar).
  • AMBIENT_FLOOR=0.6: a floor for the indirect-light estimate in close views, against dark close-ups.
  • WINDOWS_TILED=1 (run TILED_PROBE=1 once first): the copies of the program's memory take card memory only for
    pages in use (design by Oulsen).
  • QUERIES=1: occlusion queries answered by the card (after SandBar).
  • CARD_STEPS_ASIDE=1 (PR #404 by leixner), RESIDENCY_PRIORITY=1 (PCs with 24 GB or more).
    Hardware ray tracing, experimental, for testers. Its first parts are in this release, off. To try them, put these two
    lines in Further switches (one per line) and keep the Ray tracing row on Off:
HW_RT=1
HW_RT_LIFT=shadows
  • Shadow rays are then answered by the card's own ray-tracing hardware. It needs a card with DirectX Raytracing 1.1
    (NVIDIA RTX 20 or newer, AMD RX 6000 or newer); without it the layer says so and leaves the switches unused.
  • The Getting ready window translates the shaders once more after you add or remove them.
  • It has passed its automatic tests but has not been played with yet. Expect wrong or missing shadows or a crash;
    remove the two lines to go back. Please report your card, what you saw, and the log.

Known limits

  • 6 GB and 8 GB laptop-class cards stay under 30 fps at the small-card setting (Series S, DLSS Performance). The
    program's own card work alone takes about 22 to 23 ms a frame on the 12 GB test card, roughly 45 to 70 ms on those
    cards, and a lower DLSS mode does not change that.
  • DLSS Ultra Performance flickers: it makes thin detail flicker, and on small cards it saves under 1 ms against
    Performance, so it is not part of Recommended.
  • A steady 30 fps in busy outdoor scenes is not reached on the tested 12 GB card (short drives: about 25 median).
  • 16 GB of RAM: neither console profile fits fully in memory; the page file has to cover the rest.
  • Hardware ray tracing is experimental and off (see Options for the two switches to try it). Software ray tracing is
    experimental.
  • Not yet shown fixed, or needing testers: cars that disappear for a moment up close (the first default above is
    expected to help; tell us), dark ground in some places, foliage flicker on AMD RDNA 3 (#403, a translator
    report only), card memory growth in long sessions, AMD and Intel Arc cards, Bluetooth controllers, Proton.
  • Antivirus may flag the new, unsigned programs. Compare the SHA-256 below, or build from source.

Thanks

To everyone who reported and tested. Code and fixes in this release came from:

AVD-appezhax · Bushyon · ColorMeBoom · Erwanlg0 · Excaliburcccc · Flyander · HDFreitas · hatefulpineapple ·
JokerAttack · kwaadrat · leixner · LuvAbyss · procotos-art · RndmGitUser · retroiffy · SleepyYui · Texbirds ·
uhuhuhuhuhuhuhuh · UncommonDLL · wellisrite · westones · xndbogdan · Yoshi-233 · Z2VvZ2Vv · bannnned

and, ported from other GPL-3.0 projects with credit in each commit:

SandBar-developer and wrq2007 (VIctory-SandBar) · yujqitm · game6coder · bigsplash, SloppyBro, wike1701 and tharun-37
(VIctory-NVIDIA) · eikkapine (victory-amd, after VIctory-Belobug-AMD) · lobomfz · zeex64 · Oulsen · fxceless · Kyle ·
Androtim · illuminatedfellow · cccw · tikD1337 · mikey · saifzetoney-ui · cool_fox · duckey-dev · FIocker · Demos974 ·
Capt-Speed · notquiteog · Victorywillbeours222 · trustno1-coder · DexNom

SHA-256

The zip holds Foxhound.exe, victory.exe, LICENSE, README.txt and THIRD_PARTY_NOTICES.md.

File SHA-256
foxhound-windows-x64.zip 63513958B435A5CEE7999F82D69909DF076AEC6AE4EE6AF420659ADB8E1AEEE5
Foxhound.exe E51EFE53832CB61BD4B006CA0645052753A08CE75540A2B17CAFF90CF991EE42
victory.exe 058CBF5C7707D7298B2837E3AEE98E83E626915C751B8190D765F6EBDBD4108D