WIP: perf(os): LockMutex and UnlockMutex find their host object through a number kept in the guest MutexType (HOS_MUTEX_GUEST_ID, off unless set) #2090
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!2090
Loading…
Reference in a new issue
No description provided.
Delete branch "siantm/Longshot:perf/mutex-guest-id"
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?
Summary
Depends on #1957 (
obj_at: LockMutex and UnlockMutex take the calling thread and the core checkpoint's test fromtheir context; itself on #1956 and #1953) and #1969 at
617c4fba(HOS_OBJ_CACHE=sets: the sync objects' numbers, andobj_is, the caches' identity check); their commits show in this diff until they merge. This PR's own commits are itslast four:
16081d49, the change;08a323a2, a test it failed (a mutex address within 0x18 of 2^64, whose word's addresswrapped round to the guest window's first bytes and was written there);
8febfeaf, the fix (the struct checked from itsaddress to the end of the word as one guest range); and
179e9947, the switch off unless set.LockMutexandUnlockMutexlook their host object up by the mutex's guest address: the per-thread cache(
HOS_OBJ_CACHE), then the shared table. A thread that goes round more mutexes than its cache keeps misses into thetable on every lock, while the guest's own
MutexTypeis right there.This PR keeps the mutex's object number in its
MutexType, in the internal critical-section word at +0x18:nn::os's own mutex code was the only user of that word, and the HLE functions replace all of it.obj_at, the twoHLE functions' lookup, reads it (
obj_by_word).HOS_MUTEX_GUEST_IDsays where:0, or another off value of the switches' rule (empty,false,off,no): off, the gueststruct left alone and the parents' lookup;
1: only where the per-thread cache misses, before the table (obj_miss;obj_atnames the word to it through athread-local pointer while it looks up);
2or any other value: before the per-thread cache, so a mutex whose word names it needs neither the cache nor thetable.
The guest word is untrusted: the object it names is taken only while it is still that address's mutex (
obj_is,#1969's check: its key and kind, one word read in one load). Anything else there (0, the game's bytes, a number out of
range or not given yet, another mutex's or another kind's number) is never taken: the lookup runs as before, after which the word is
written and marked (
HOS_WRITTEN). The word is read and written with relaxed atomics, only on a 4-byte boundary andonly when the struct from its address to the end of the word lies inside the guest window, as one range (no address
wraps round past 2^64); a mutex whose word lies elsewhere is looked up as before and its bytes are left alone. While
the switch is on, the table numbers its objects (chunks of 1024, as
HOS_OBJ_CACHE=setsdoes), so the word works withevery per-thread cache.
The switch is read once through an atomic word, as #1969 reads
HOS_OBJ_CACHE: at the firstLockMutexorUnlockMutexor the first sync object made, whichever comes first, not at process start. It is off unless set: anexperiment while it is measured, as futondestroyer answered for the host experiments
(#1966 (comment): "Keep the draft experiment off while
gathering the enabled and disabled results"). Unset, the lookup is the parents' with one relaxed load of the mode in
obj_at.=2is the value the performance branch this comes from ran it at, and the one where the word spares a lockboth lookups rather than only the table's on a cache miss. Its row in
gpu/vk/switches.defis an attempt, off unset.Tests:
tests/test_obj_guest_id.pyis new.tests/test_cv_handoff_threads.py(#1957's) gets the switch at itsdefault, off, in its fixture (
mutex_guest_id0,obj_nockptthe lookup; itsobj_by_wordstub is the same lookup)and its "lookup before the checkpoint" variant moved to
obj_at's new lookup line;tests/test_obj_cache_size.py(#1969's) clears
HOS_MUTEX_GUEST_IDfor its runs, as its cut now reads it (they run at the default, off).From c565d05a, 02be0b02 and 064574ab on
exp/x86-asm-sync, where it sat in that branch's set cache.Read first:
obj_at,mutex_guest_id,obj_of_word,obj_missandobj_by_wordinhost/nn_os_sync.c;tests/test_obj_guest_id.py.Testing
Tested: Windows 11, i7-9700, RTX 4060, llvm-mingw clang 23.1.5; game-free checks only. This change has not run in
the game on this PC (Still to test). Each check ran in a hidden console of its own, in one job of the PC's job queue,
on this head
179e9947(on #1969's commits up to617c4fbaover #1957'sd111a643, onmain@9dd41326):python -I -B tests/test_obj_guest_id.py: exit 0. 36 runs, each a fresh process:HOS_MUTEX_GUEST_IDunset,0,off,1,2,3,12,onand unset again, each with the 4 per-thread caches (the sized one,HOS_OBJ_CACHE=0,sets, none). Read as off unset (both times) and for0,off; 1 for1; 2 for2,3,12,on; kept when the variable is flipped after the first lookups. Every lookup answered the table's object; 5345guest words written in each run that is on, none in the 16 off (no word marked, guest memory unchanged, objects
unnumbered without
sets); last linePASS: the mutex lookup answers the table's object with and without the guest word; only the words change.2f7195ca(this PR's same four commits on #1969's commits up to712ee7e7, before the restack), the same test againsttwo broken copies of that head's
host/nn_os_sync.c(worktrees of their own, in that job), each exit 1: unset read as 2again (the default on, as at
bca5fcc9): the 8 unset runs fail "HOS_MUTEX_GUEST_ID read as expected", the 28 otherspass;
obj_attaking the guest-word path when off: the 4 off runs with thesetscache (unset twice,0,off)fail "off: no guest write marked", the 32 others pass.
tests/test_obj_cache_size.py(ok: the cache mode is read inline (no call to obj_cache_mode_read),ok: test_obj_cache_size),tests/test_cv_handoff_threads.py,tests/test_multiwait_wake.py(PASS: WaitAny woken only for watched addresses ...; no watched-target lookups or lookups under the extracted paths' mw_lock ...); andtests/test_switch_table.pyfor the row (
ok: 737 switches (diag 296, tune 109, kill 129, attempt 81, hw 68, player 54), 144 removed, 745 names read).Earlier, with the switch on unless
=0(the tree ofbca5fcc9, on #1969's commits up to712ee7e7, before the switch wasmade off unless set):
17c045c9, now08a323a2): exit 1, the 24 runs with the switch on failing "only the mutexes' wordschanged" (the wrapping mutex's number written at guest address 8); the 8 with it off pass.
host/nn_os_sync.cwith one change each (copies outside the worktree), each exit 1: theguest-word path never taken, and objects numbered only with
HOS_OBJ_CACHE=sets("the first lookup writes themutex's number in its word"); the word's object taken by its kind alone, or by its key alone ("the lookup answers
the table's mutex"); the switch read at every call ("read once");
0not honoured, and12read as 1 ("read asexpected"); a word off a 4-byte boundary used ("only the mutexes' words changed"). Against the parent's
nn_os_sync.c(#1969's712ee7e7) it stops at its cut ("mutex_guest_id is not in test_obj_cache_size's cut").#1969's commits up to
479a4f90):tests/test_vcore_escape.py,tests/test_vcore_mask0.py, andtests/test_invalidate_vcore.pyrun alone (4PASSlines).python -I -B tests/run_all.py --strict --changed origin/mainonbca5fcc9(the 130 checks that read one of the 22changed files, 8 at once): 109 passed, 21 failed, 5 skipped. The 21 that fail run again by name on
main@9dd41326(same job) fail there too, all 21: none fails on this branch alone. Not run again since.Still to test:
main@9dd41326, #1957'shead
d111a643, this PR as it is (HOS_MUTEX_GUEST_IDunset: off) and this PR withHOS_MUTEX_GUEST_ID=2; #1957'sand this PR's builds lift the game again (#1956's
A64_OS_INLINE). Each warmed once, then interleaved, at leasttwo rounds, the medians of fps and frame times compared; expecting the same game, no hang or crash, unset as #1957's
head, and frame times with
=2as unset or better (by hand)python3 -I -B tests/test_obj_guest_id.py, expecting its 36 runs to pass with the sanitizers on (byhand)
=2against unset in the Market reached by teleport, three pairs, with nodifference shown and no hang or crash (Measurements). Still open there: this PR against
main, from themarket-entrance save, expecting no hang or crash and frame times as
main's or better (the Test Farm, below)PR against
main, on the PR's side withHOS_MUTEX_GUEST_IDunset and=2, expecting no hang or crash and frametimes with
=2as unset or better (the Test Farm: two minutes from the market-entrance save on PCs with AMD CPUsand on the Steam Deck, this PR against main, with HOS_MUTEX_GUEST_ID unset and =2 on the PR's side, comparing frame
times and checking for hangs and crashes)
Measurements
Verdict: no gain in play shown: not measured in play on this PC yet, and a Steam Deck run by zeldaootr (below)
shows no difference the Deck can resolve. A micro-benchmark on authored input, not measured in play: the lookup alone takes
5.39 ns with
HOS_MUTEX_GUEST_ID=2against 12.86 ns unset (off, as it ships), and 15.60 ns with=1, which is slowerthan unset.
=1is the cache-miss form (the word read only where the per-thread cache misses, before the shared table,so cache hits stay as they are); in this benchmark it costs more than it spares, so it gives no reason to set
=1.The switch stays off.
Setup: Windows 11, Intel i7-9700, llvm-mingw clang 23.1.5 (
-O2 -march=native); no GPU involvedScene: none (game-free); a 16 MB guest window of random bytes, 4,000 mutexes 0x80 bytes apart among 60,000 other objects
Method: this PR's own
obj_atandobj_by_word(179e9947), cut and built astests/test_obj_guest_id.pybuildsthem; the 4,000 mutexes looked up in turn, 50 passes a repetition, best of 7 repetitions; one process per mode and
round, the modes interleaved (order reversed every other round), 15 rounds; ns a lookup, the median of the rounds and
their range. Run alone on the PC on 2026-11-22.
How to reproduce: a local script of this PC (
bench_guest_id.py, not part of this PR) over an export of179e9947,with
HOS_MUTEX_GUEST_IDunset,1and2, each withHOS_OBJ_CACHEunset (the sized cache) and=sets(#1969's).Baseline: this PR with the switch unset, which runs the parents' lookup (#1969's and #1957's, the code this PR sits on);
mainhas neither of those lookups, so it is not the comparison here.obj_at, ns a lookup (median, rounds' range, 15 rounds)179e9947, unset (off)=1: this PR @179e9947=2: this PR @179e9947HOS_OBJ_CACHEunset)HOS_OBJ_CACHE=setsA Steam Deck run by zeldaootr (an outside contributor; his run and his figures, from his comment
on this PR of 2026-11-22, 04:05 UTC): Steam Deck OLED, SteamOS 3.9.5,
RADV VANGOGH (Mesa 26.2.0-devel), GPU clock fixed at 1600 MHz; Minimum, Render 50 % (640x400), output 1280x800,
uncapped, V-Sync and frame generation off. One build,
main@9dd41326with this PR's head179e9947merged in (and sothe PRs it is stacked on);
HOS_MUTEX_GUEST_IDunset against=2,dev.py ab(with a local change to compare twoprebuilt runtimes), the Market reached by teleport then standing, 3 interleaved pairs of 120 s after a warm-up
(A1 B1 A2 B2 A3 B3), the median.
=2waited ... ms for a corelines, each runHis reading: no difference shown, within the runs' spread; the better p99 and 1 % low follow the fastest run of the six
(B2), and the other two
=2runs sit with the unset ones. No hang, crash, error,FATAL, device-lost or validation linein the six logs; every run exited normally. His stated limits: not this PR against
main(what it is stacked on changesmuch more than the switch does); the Market as
dev.py abreaches it, not the market-entrance save; the Deck's runs varyby 5 to 10 % from start to start, so a gain of about 1 % would not show.
tests/test_obj_guest_id.pyalso passed once onhis Linux PC (without the sanitizers).
In play on this PC, nothing is measured on this head; that comparison is in Still to test.
The earlier measurement of this change, on
exp/x86-asm-syncwhere it sat in that branch's set cache (02be0b02, notthis head): Kokiri Forest, camera turning, 800x600 window (the CPU sets the pace), i7-9700 + RTX 4060, interleaved
30 s runs,
HOS_MUTEX_GUEST_ID=271.8 fps (71.2 to 72.6, 4 runs) against 71.1 (70.4 to 72.8) without it in the samebuild, CPU 59.7 against 60.3 ms a frame; that commit recorded "about 1 %, inside the runs' spread": no gain measured.
A later note on that branch (064574ab), with its larger object cache: Hyrule, 804x581, 6 interleaved pairs, 68.9 ->
70.0 fps and 45.3 -> 46.4 CPU ms a frame, recorded as within noise.
9dd41326179e9947,HOS_MUTEX_GUEST_IDunset (off) /=2Risks
Off unless set. With
=1or=2, it writes a 4-byte word of guest memory in every mutex locked (the internalcritical-section word at +0x18 of its
MutexType) and numbers the sync objects, which are then made in chunks of 1024(never freed, as objects never are) instead of one by one. If the game itself read or wrote that word (only
nn::os's mutex code did, and the HLE functions replace it), a wrong word costs a lookup and is written again, nevera wrong object, and the game would see the number instead of its own bytes. Unset or
=0it is off (the guest structleft alone, the parents' lookup); a revert is enough. With
=1the lookup costs more than unset in the micro-benchmark(15.6 against 12.9 ns a lookup). A player notices nothing after updating: no save, option or
cache changes.
Checklist
Ready for review
main; the title is a Conventional Commit.mise run testpasses (any failure that also fails onmainis named).main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
gpu/vk/switches.def.tests/that reads changed source is updated, not weakened.Assisted-by:/Co-Authored-By:trailers.Ready to merge
main, measured again or a comment says why the numbers still hold.tests/test_cv_handoff_threads.py compiled its own obj_at and hos_ctx_thread and gave every context hos_self() as its thread, so LockMutex or UnlockMutex going back to obj() or to hos_self() still passed. The fixture now cuts obj and obj_at from host/nn_os_sync.c and hos_ctx_thread, hos_vcore_checkpoint_at and HOS_THREAD_VC_KICK from host/hos.h; its thread record has vc_kick at that offset, and hos_vcore_checkpoint (hos_thread.c's gives the core up) counts its calls, numbered in one sequence with the fixture's lookups (obj_nockpt). New cases ("ctx"): the two entries through a context whose thread is a record other than hos_self(). The mutex is owned and let go by that record; with no kick, and with one set on hos_self()'s record, neither entry calls the checkpoint; with one set on the context's record each calls it once, before its lookup. Broken variants that must fail: either entry through obj() or obj_nockpt(), or taking hos_self(); hos_vcore_checkpoint_at testing hos_self()'s kick; obj_at looking up before its checkpoint. Assisted-by: Claude CodePushed
2f7195caon top ofbca5fcc9(the earlier commits unchanged):HOS_MUTEX_GUEST_IDis now off unless set, as futondestroyer answered for the host experiments (#1966 (comment));=1and=2keep their meanings. The code's default, the test's unset case (off, run twice), the fixture oftests/test_cv_handoff_threads.pyand thegpu/vk/switches.defrow (now an attempt) changed together. The description's default line, Measurements (the earlier measurement, about 1 % inside the runs' spread, and nothing measured on this head yet), Still to test (the A/B is now unset against=2) and Tested (the checks on2f7195ca) are updated.WIP: perf(os): LockMutex and UnlockMutex find their host object through a number kept in the guest MutexType (HOS_MUTEX_GUEST_ID, default 2)to WIP: perf(os): LockMutex and UnlockMutex find their host object through a number kept in the guest MutexType (HOS_MUTEX_GUEST_ID, off unless set)@Beanstalk This adds HOS_MUTEX_GUEST_ID, off by default: with HOS_MUTEX_GUEST_ID=2 the guest mutex lookup goes through a number kept in the guest's MutexType word (host/nn_os_sync.c); unset, it is main's lookup. It is on #1957 and #1969, whose commits are in its diff (so the build lifts the game again, as #1957's does). Please start from the market-entrance save and play Castle Town Market for two minutes, the PR against main on the same PC, on the PR's side with the switch unset and with HOS_MUTEX_GUEST_ID=2, at least two starts a side, on Windows and Linux PCs with an AMD processor (matched by CPU model) and on the Steam Deck. The same game, no stall, hang or crash; unset, frame times as main's; =2, frame time p99 equal to unset or better, within the run-to-run spread.
@siantm only members of
BigBeanscan start the farm.One of them can approve this request by reacting 👍 to it or to this comment.This request was for2f7195c, and the PR has changed since (179e994), so a 👍 no longer approves it. Comment@Beanstalkagain to ask for the new commit.2f7195ca81179e99477eRestacked on #1969 at
617c4fba(its two new commits cherry-picked unchanged; #1957 and this PR's four commits unchanged but for conflict context inhost/nn_os_sync.c): new head179e9947, its checks rerun and passing (Tested).@Beanstalk This adds HOS_MUTEX_GUEST_ID, off by default: with HOS_MUTEX_GUEST_ID=2 LockMutex and UnlockMutex find their host object through a number kept in the guest MutexType (host/nn_os_sync.c); unset, it is main's lookup. It sits on #1957 (
d111a643, itself on #1956, so the build lifts the game again) and #1969 (617c4fba), so its diff against its merge base includes those PRs' commits; the farm cannot take them as the comparison, so please compare with main. Please start from the market-entrance save and take the picture right after it loads and settles, before any input, with a main-against-itself picture on the same PC at that point; then, for frame times only, play Castle Town Market for two minutes; at least two starts a side, interleaved, the PR against main on the same PC, on the PR's side unset (the default, off) and with HOS_MUTEX_GUEST_ID=2 (on), on Windows with a Ryzen 9 7900X, Windows with a Core i9-12900K, Linux with a Ryzen 5 5600X and the Steam Deck. The unset and =2 arms on the PR's side show this PR's own effect. The same picture as main within main's own difference from itself; unset, frame time p99 equal to main's; with HOS_MUTEX_GUEST_ID=2, equal to unset or better, within the run-to-run spread. The log must have no FATAL line, and no run may stall or hang.@siantm only members of
BigBeanscan start the farm. One of them can approve this request by reacting 👍 to it or to this comment.@Beanstalk One correction to my request 69722 above, for its picture point: please take each picture 5 s (300 frames at 60 fps) after the first frame whose picture is not a single uniform colour, with no input in between, and take the main-against-itself picture from the same point. A picture taken during the load's fade-in from black is not comparable: run 70269 on #2156 caught the fade in 3 of 4 starts.
@siantm only members of
BigBeanscan start the farm. One of them can approve this request by reacting 👍 to it or to this comment.Description updated: Measurements now has a micro-benchmark of the mutex lookup at
179e9947on authored input, not measured in play (15 interleaved rounds, run alone on this PC, ns a lookup, median (rounds' range)):HOS_MUTEX_GUEST_IDunset 12.86 (12.80 to 13.24),=115.60 (15.49 to 16.17),=25.39 (5.08 to 5.49); withHOS_OBJ_CACHE=sets13.18, 16.18 and 5.05.=1, the cache-miss form (the word read only where the per-thread cache misses), is slower than unset here, so it gives no reason to set=1. The switch stays off; the in-game comparison is still to come. The description also has the template's newer sections (TL;DR, Breakdown, Flags and settings, the Everyone checklist).Description corrected to the current template: the TL;DR, Breakdown, Flags and settings and Everyone sections added in the last update are taken out again (they are not in
main's template). The figures and the text of the last update stay as they were.Steam Deck result: I ran this PR with
HOS_MUTEX_GUEST_IDunset against=2, on a Steam Deck OLED in the Market (the arrival, then two minutes standing), three pairs. It showed no difference the Deck can resolve (+0.6 % on the median with=2, the runs overlapping), and no hang, crash or error in any log.dev.py ab's verdict: no difference shown: +0.6% fps (median 26.4 against 26.2), within the runs' spread (A 26.0 to 27.3, B 26.0 to 28.0). Run order A1 B1 A2 B2 A3 B3. The p99 and 1 % low look a little better with=2, but they follow the fastest run of the six (B2, 28.0 fps, 64 long frames); the other two=2runs sit with the unset ones. So frame times with=2were as unset or better, within what this Deck resolves. (Both columns are this PR's build,longshot v3.0.0-171-g2fa57ab85in every log; the=2runs'switches setline listsHOS_MUTEX_GUEST_ID=2 (attempt).)From the logs: no
FATAL, device-lost,VK_ERROR, validation, hang or crash line in the 6 logs; every run exited normally. The vcores'waited ... ms for a corelines (the start and the arrival's loading threads, one of 745-759 ms on each side,PreActorModelComposebehindsead::MainThread) came 107 / 49 / 76 times unset and 61 / 41 / 61 times with=2; noran without a coreline on either side. Every log readsvk: Threaded rendering: Auto: off.The PR's own check, on Linux (the PC that built it), on main
9dd41326with this PR merged:tests/test_obj_guest_id.pypasses (run once, without the sanitizers).Hardware: Steam Deck OLED, SteamOS 3.9.5, RADV VANGOGH, Mesa 26.2.0-devel, GPU clock manual 1600 MHz, headless.
Settings: Minimum, Render 50 % (640x400), output 1280x800, uncapped, V-Sync and frame generation off.
Game data: complete (the dump, with the three damaged textures replaced).
Built: main
9dd41326with this PR's head179e9947merged in, which carries what it is stacked on (#1969's commits up to617c4fbaand #1957'sd111a643, with #1956's lift change: the game lifted again), no conflicts, x86-64-v3, shaders prepared on the Deck. Both sides are this one build; only the variable differs.Measured:
dev.py ab, Market, 3 interleaved pairs of 120 s after the warm-up (until no frame waits for a pipeline, at least 10 s), the median (the project's tool, with a local change to compare two prebuilt runtimes, since the Deck does not build).Limits: the Market as
dev.py abreaches it (a teleport to the child Market, then standing), not the market-entrance save; I didn't run this PR against main, since what's under it changes much more than this switch does. The switch isn't read throughHOS_AB, so an in-run comparison wasn't possible; in the Market the Deck's runs vary by 5-10 % from start to start, so a gain of the 1 % measured on the desktop would not show.@zeldaootr, thank you for the Steam Deck run and for writing its limits down so plainly. Your result is now in Measurements as your run, beside this PC's micro-benchmark of the lookup: on a Steam Deck OLED, one build of main
9dd41326with this PR merged,HOS_MUTEX_GUEST_IDunset against=2, the Market asdev.py abreaches it, three interleaved pairs of 120 s: no difference the Deck resolves (+0.6 % fps on the median, the runs overlapping), no hang, crash or error, and fewerwaited ... ms for a corelines with=2in each pair. It covers=2against unset on the Deck and Linux; it does not cover this PR against main, the market-entrance save, or a gain as small as the desktop's micro-benchmark could suggest, as you said. The verdict stays as it was: no gain in play shown, and the switch stays off.A note on 71590: the "about 1 %" there is the earlier in-play result on the desktop (Kokiri Forest,
=271.8 against 71.1 fps, inside the runs' spread), not the micro-benchmark. Still to test's Steam Deck item now says what the Deck run covered and what is still open there (this PR against main, from the market-entrance save).@Beanstalk This replaces my request 69722 on this head and the corrections under it, in a form the farm can run: it cannot time a picture from the first frame that is not a uniform colour (its answer on #2131), so each picture here follows a fixed wait after the map event. This adds HOS_MUTEX_GUEST_ID, off by default: with HOS_MUTEX_GUEST_ID=2 LockMutex and UnlockMutex find their host object through a number kept in the guest MutexType (host/nn_os_sync.c); unset, it is main's lookup. It sits on #1957 (
d111a643, itself on #1956, so the build lifts the game again) and #1969 (617c4fba), so its diff against its merge base includes those PRs' commits; the farm cannot take them as the comparison, so please compare with main. Please start from the market-entrance save and take the picture 10 s (600 frames at 60 fps) after the map event that ends the load, a fixed wait with no input in between (the farm cannot time it from the first frame that is not a uniform colour), with a main-against-itself picture on the same PC from the same point; then, for frame times only, play Castle Town Market for two minutes; at least two starts a side, interleaved, the PR against main on the same PC, on the PR's side unset (the default, off) and with HOS_MUTEX_GUEST_ID=2 (on), on Windows with a Ryzen 9 7900X, Windows with a Core i9-12900K, Linux with a Ryzen 5 5600X and the Steam Deck. The unset and =2 arms on the PR's side show this PR's own effect. The same picture as main within main's own difference from itself; unset, frame time p99 equal to main's; with HOS_MUTEX_GUEST_ID=2, equal to unset or better, within the run-to-run spread. The log must have no FATAL line, and no run may stall or hang.@siantm only members of
BigBeanscan start the farm. One of them can approve this request by reacting 👍 to it or to this comment.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.