564 Commits

Author SHA1 Message Date
8c4e663309 Merge pull request #563 from ratatrampa007/fix/720p-targets-settle
fix(gpu): settle targets_room_kept() at 720p (Series S)
2026-12-05 15:08:07 -06:00
cc11ea8fb0 Merge pull request #457 from niiniiniintje/dsp-speaker-shape
dsp: pass speaker filters by their shape, not by size
2026-12-05 14:50:36 -06:00
8c77ccaf1a Merge pull request #554 from jackonick/bench-routes
Benchmark routes: VICTORY_BENCH_ROUTE=downtown|drive
2026-12-05 14:22:01 -06:00
24abbb25cc Benchmark routes: accepted gate revision 2026-12-05 14:13:21 -06:00
2d1a3ec6b7 Benchmark routes: VICTORY_BENCH_ROUTE=downtown|drive
Two fixed, reproducible routes built into the layer, so every machine
benchmarks the same places the same way without mods (game 1.0.2.1).

- victory-loader bench_route: a minimal script-native caller. Handlers
  are found by their 1.0.2.1 offsets and each checked by the id its cold
  block writes; PLAYER_PED_ID's handler is hooked for a per-frame tick in
  one elected game script thread (the approach of ViceHook, MIT). Every
  call goes through an SEH-guarded stub: a fault stops the route, not the
  game. Nothing is hooked without the variable.
- downtown: a noclip flight over a 2400 m square at (-2600, -1000), 30 m/s,
  40 m over the smoothed ground, camera sweeping, in a Blista: the city's
  densest blocks (found by a frame-rate scout over the map).
- drive: the game's AI drives a Blista around a loop on the roads in the
  hills from (-2556, 6948), with traffic (about 3.5 min a lap).
- Both set 12:00 (clock paused), held sunny weather and no wanted level.
- With VICTORY_BENCH, the run is timed from the route's start (nothing
  skipped) and bench_stats.txt names the route; run.sh does not carry
  the route over into the restart after a benchmark.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 14:13:21 -06:00
6921ddb4ff Merge pull request #621 from lobomfz/fix/ir-conflict-marker
shader: remove a conflict marker from the IR test helper
2026-12-05 14:13:16 -06:00
fd69f2d6b2 shader: remove a conflict marker from the IR test helper
The merge of #547 carried one <<<<<<< HEAD line into the tests module, so the tree did not compile. Removing it leaves the tests from #546 and #547 as reviewed.
2026-12-05 14:13:03 -06:00
6f4a4ece8d Merge pull request #547 from tommiehansen/review-split/404-perf-only
perf(shader): isolate IR allocations and preserve diagnostics
2026-12-05 14:08:46 -06:00
13599691e0 perf(shader): restore build allocation lifetime after mixed-corpus regression 2026-12-05 13:20:58 -06:00
6098c28724 perf(shader): isolate IR allocation changes and preserve diagnostics 2026-12-05 13:20:58 -06:00
a5c6484fc6 Merge pull request #355 from OliWoly/pr/texture-sweep-steps
host, resource: spread the sweep's texture look over looks, make placed textures outside the table lock
2026-12-05 13:20:32 -06:00
49f5f9e8fb Merge pull request #511 from Not4Eric/perf/list-batch-counters-stack-arrays
perf(gpu): batch list counters and use stack arrays in barrier/targets
2026-12-05 11:30:52 -06:00
4d8317a279 Merge pull request #507 from Not4Eric/perf/texture-vaes-digest
perf(gpu): vectorize texture::digest with VAES/AES-NI and fused zero check
2026-12-05 11:30:48 -06:00
f3d856e3b2 Merge pull request #513 from Not4Eric/perf/watch-reduce-guards-contention
perf(gpu): reduce watch GUARDS lock contention during holes, protect, and kernel I/O
2026-12-05 11:29:44 -06:00
8bb4767df1 Merge pull request #512 from Not4Eric/perf/host-offload-send-late-land
perf(gpu): offload synchronous land() from send_late() to late_helper
2026-12-05 11:29:40 -06:00
86b141bfe3 Merge pull request #509 from Not4Eric/perf/records-skip-touch-batch-stats
perf(gpu): skip redundant held-slot touch and batch record stats
2026-12-05 11:29:36 -06:00
8631492486 Merge pull request #508 from Not4Eric/perf/apu-reuse-pcm-buffer
perf(hle): reuse Opus PCM scratch buffer across packets
2026-12-05 11:29:33 -06:00
e1ae88076f Merge pull request #505 from Not4Eric/perf/descriptor-tls-hit
perf(gpu): skip redundant shape_see on TLS hit and gate NAMED_WHOLE
2026-12-05 11:29:29 -06:00
71a650fca8 Merge pull request #557 from deebsy/neutral-stand-ins
descriptor: a slot the host unmakes, or can only null, shows the neutral texture
2026-12-05 11:28:59 -06:00
4dbb0cdfa2 Merge pull request #550 from chefulano/pr6/alias-copy-target-pool
fix(gpu): keep placed alias views out of texture pool
2026-12-05 11:28:55 -06:00
d8a701da87 Merge pull request #546 from tommiehansen/review-split/404-cfg-fix
fix(shader): prune unreachable CFG blocks before SSA
2026-12-05 11:28:49 -06:00
1cc88e0d1e Merge pull request #545 from tommiehansen/review-split/402-mechanical
perf(shader): isolate structural tables and dominator reuse
2026-12-05 11:28:44 -06:00
04e32f7ea3 Merge pull request #572 from tommiehansen/perf/descriptor-lock-cache-lines
perf(gpu): isolate hot descriptor lock stripes on cache lines
2026-12-05 11:28:16 -06:00
412b0697a8 Merge pull request #510 from Not4Eric/perf/draw-split-uav-scan-cache
perf(gpu): split UAVs out of State::scan cache and reuse descriptor::view_of
2026-12-05 11:28:13 -06:00
cd0cba9f35 Merge pull request #506 from Not4Eric/perf/descriptor-fxhash-views
perf(gpu): use FxHash HashMap in descriptor VIEWS table
2026-12-05 11:28:09 -06:00
83ccd7fd8a Merge pull request #467 from tommiehansen/codex/reuse-guest-pages
perf(shader): reuse guest page-directory lookups across provable offsets
2026-12-05 11:28:05 -06:00
0d512dcd36 Merge pull request #399 from tommiehansen/perf/bitcode-opt-alloc-hash
perf(shader): eliminate per-block allocations and SipHash in bitcode::opt
2026-12-05 11:28:01 -06:00
f1343781ca Merge pull request #363 from lucamzanon/xmem/1-bcpack-avx2
formats: bcpack: AVX2 lane schedule and SSE4.1/SSSE3 block packing
2026-12-05 11:27:58 -06:00
b106423450 Merge pull request #362 from lucamzanon/xmem/2-xma-vlc
formats: xma: decode Huffman codes with a 2-level O(1) lookup table
2026-12-05 11:27:54 -06:00
ce5ceafc33 Merge pull request #435 from Luxuride/fix/gpu-book-holders
fix(gpu): let the device-loss report see long live allocations
2026-12-05 11:27:50 -06:00
db5096a605 Merge pull request #428 from Luxuride/fix/gpu-many-views-not-clean
fix(gpu): never tell a many-views block clean
2026-12-05 11:27:45 -06:00
52ade5c857 Merge pull request #603 from tommiehansen/fix/dstorage-source-diagnostics-470
fix(dstorage): identify source files when decompression fails
2026-12-05 11:26:40 -06:00
cf9afe4d8b Merge pull request #590 from tommiehansen/fix/sdk-incomplete-install-583
fix(setup): recover incomplete Windows SDK installations
2026-12-05 11:26:37 -06:00
bfc0cb0c33 Merge pull request #526 from Xough/fsr-provider-switch
fidelityfx: VICTORY_FSR_PROVIDER=3.1 prefers the FSR 3.1 upscaler over 4.1
2026-12-05 11:26:33 -06:00
5621936151 Merge pull request #575 from Serph91P/feat/meter-occluded
feat(gpu): count a covered window's frames in the frame meter when asked
2026-12-05 11:26:29 -06:00
a891636ae4 Merge pull request #382 from mateozariquiey/pr/land-table
memory: landing a structure asks our table whether its page is on the card
2026-12-05 11:26:25 -06:00
600f5ea678 Merge pull request #373 from delacor/fix/series-s-output-refused
run: an output Series S cannot take is refused, show a proper error for the user
2026-12-05 11:26:21 -06:00
e90259d1b0 Merge pull request #528 from tommiehansen/fix/shell-switch-policy
fix(xtask): recognize documented launcher switch reads
2026-12-05 11:26:16 -06:00
36b6df6c86 Merge pull request #592 from tommiehansen/fix/gameinput-synthetic-tests-357
test(hle): isolate GameInput fixtures from host input settings
2026-12-05 11:26:12 -06:00
6ebb8d818b Merge pull request #566 from Kal0s-design/fix/host-list-scratch-state
test(gpu): host list scratch state tests expect common under enhanced barriers
2026-12-05 11:26:08 -06:00
ffe832f93e Merge pull request #559 from Kal0s-design/fix/watch-flaky-test
test(gpu): tell the guard views are unmapped in drop_views so their bits do not outlive them
2026-12-05 11:26:05 -06:00
4f61662253 Merge pull request #558 from Kal0s-design/fix/views-die-crash
descriptor: views_die_with_their_resource uses a real resource, no more crash on native Windows
2026-12-05 11:26:01 -06:00
3baccb413b Merge pull request #561 from Danneman92/steam-os-game-mode
SteamOS game mode: launch lane docs + name the gamescope WSI cause once
2026-12-05 11:25:57 -06:00
149544f41e Merge pull request #536 from cerealfordinner/upstream-pr-perf-log
docs: add a performance log template and protocol
2026-12-05 11:25:53 -06:00
7659fe2f51 Merge pull request #371 from Bushyon/issue-template
github: issue forms for problem reports and requests, text only
2026-12-05 11:25:50 -06:00
485e19c1b3 Merge pull request #484 from Luxuride/docs/contributing
docs(contributing): code quality rules for pull requests
2026-12-05 11:25:41 -06:00
8249de4487 fix(gpu): gate 768 MiB targets_room_kept() floor on active world draws
Address review feedback on #563: high-resolution (1080p/4K) menus or loading screens can hold 800-1,500 MiB of render targets for over 20 s before the first world frame. Keep the legacy `targets >= most / 2` (1,536 MiB) settle path unchanged, and allow the lower 768 MiB floor only after `TargetsRoomTracker` observes sustained active world draws (>= 1,000 draws/frame over >= 10-frame windows for 20 s, above menu ~7-85 and pause/reload ~250-420 draws/frame and below small interiors ~1,050-1,900 draws/frame). Returning below 1,000 draws/frame for 5 s resets `in_world`, restoring the full pre-world reserve across save reloads and menu transitions.

Expand `targets_room_settles_at_720p_but_not_pre_world` to cover the `TargetsRoomTracker` state machine end to end (high-res menu/pause protection, 720p settle timing, small-interior continuity, +64 MiB re-arm, 5 s leave-world reset, and the legacy >=1,536 MiB path).
2026-12-05 12:04:15 -05:00
2f5153a5f0 fix(dstorage): identify source files when reads or decompression fail 2026-12-05 14:42:04 +01:00
bd38ce49b6 style(hle): format synthetic input selection 2026-12-05 14:36:00 +01:00
6495309227 test(hle): isolate fake gameinput sources from live host input 2026-12-05 14:35:45 +01:00