Commit Graph

93 Commits

Author SHA1 Message Date
8ea5b97dd5 Merge commit '0ef11a7f9bc6d7fec6b21563cac09da3394b3fbc' into linux-v1.1.8
# Conflicts:
#	crates/larp-gpu/src/pipeline/make.rs
2026-12-06 21:02:47 +05:30
0ef11a7f9b perf(pipeline): keep previously drawn graphics PSOs resident with commit guard 2026-12-06 21:00:00 +05:30
a1872b700c Merge commit '1cb294f7c335ec993795b02488744e04528a6cc9' into linux-v1.1.8
# Conflicts:
#	crates/larp-gpu/src/lib.rs
#	crates/larp-gpu/src/pipeline/make.rs
#	docs/environment-variables.md
2026-12-06 20:38:47 +05:30
1cb294f7c3 feat(input): default LARP_MOUSE_CAMERA to direct 1:1 camera when MnK is enabled 2026-12-06 20:35:36 +05:30
ee741fe21a feat(fg): add built-in MFG unlocker (2x-6x) with Ada provider gate patching and 5x/6x support 2026-12-06 20:35:36 +05:30
f41cf45142 build(dxc): bound parallel DXC builds with LARP_DXC_JOBS (#531) 2026-12-06 20:34:47 +05:30
b76c36cedf fix(settings): bypass game TAA when an external upscaler is active 2026-12-06 20:34:46 +05:30
655fba0ff5 fix(settings,docs): support shorthand sub-4K Series X resolutions and prevent virtual-HUD UI pool mismatch 2026-12-06 20:34:46 +05:30
19aaf0c2c0 Add opt-in residency for warmed graphics pipelines (#915)
* Allow retaining warmed graphics pipelines in memory

(cherry picked from commit 6d3919be27cb679b7eeaec3c5c07e06eb49da122)

* Warn when resident pipelines have low Windows commit headroom

* Pass the Windows commit query size explicitly
2026-12-06 18:03:57 +03:00
484f846dff fix(dlss): keep opt-in NGX logs visible in release (#1095) 2026-12-06 18:03:03 +03:00
6eba275845 docs(env): put back the LARP_REFLEX_SLEEP row lost in the cherry-pick (#1111)
1909217 was meant to add the row from 7feb80ee, but only a line holding a
single pipe landed, an empty row after LARP_DLSS_PATH. The row is the
original one, unchanged.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-06 18:02:50 +03:00
1ab080b8f8 Merge main (v1.1.9: #819, #889/#887/#641, #926, #899, #868, #866, #820, #827, #811, #590, #871, #770, #855) into linux-test 2026-12-06 19:52:59 +05:30
1c44a1ed0d Merge remote-tracking branch 'origin/main' into nv-v1.1.9 2026-12-06 19:41:15 +05:30
65f63e3b06 Kept mip levels: LARP_KEPT_MIPS_MB caps the store (#889)
Store::trim drops kept levels only while the texture heaps' free space is
under what the budget asks for, and that free space counts every pool's
holes: with 1.0 GB of fragmented free space nothing was dropped. Set, the
variable drops the least recently kept past the cap first. Unset, as before.

The cap is the idea of PR #641 (ZerefDragnee1l), which applies
min(budget/8, 512 MiB) always; here it is opt-in until it is measured.
2026-12-06 18:26:37 +05:30
1909217bf4 docs(env): document LARP_REFLEX_SLEEP and its latency vs overlap tradeoff
Clarify that LARP_REFLEX_SLEEP=0 is not a free throughput switch: skipping
pre-tick Reflex CPU sleep can keep ~1 additional frame queued on the host,
trading input-to-photon latency for copy/graphics queue overlap.

(cherry picked from commit 7feb80ee67)
2026-12-06 18:17:25 +05:30
e09817cfda frame generation: say which nvngx_dlssg.dll is loaded and what to try
Builds on "dlss: name NGX's result codes in errors and warnings".

When DLSS frame generation was given up after 8 failed generations in a
row, nothing was said of what to do about it, and nothing of the model
in use (refs #700: a comment there says the errors stopped after the
DLSS files were replaced; the cause is not proven).

- The line that gives DLSS up gets a second, indented line of what to
  try: another version of nvngx_dlssg.dll in the model folder, with the
  version of the one in use, or another generator (LARP_FRAME_GENERATOR=
  fsr, mvfg or ditto, or the layer's menu). When a generator is given up
  is as before, and so is the reason the menu shows. The other
  generators' lines are as before.
- Where NGX reports no DLSSG.MultiFrameCountMax, 1 generated frame was
  taken silently. An info line now says so, and that 3x and 4x may need
  a newer nvngx_dlssg.dll, with the same version.
- The version is that of the file the process has loaded as
  nvngx_dlssg.dll; where none is loaded by that name, that of the file
  in the model folder, said as such, since NGX may run a model it
  downloaded. It is read from the file's VS_FIXEDFILEINFO, found by its
  signature with the structure version behind it: the signature alone
  is also in the code of NVIDIA's files (three times before the
  resource in the driver's 310.2.1), which is why the reader of the
  first signature in apps/larp's agility.rs is not what is used here.
- The lines say where the model is looked for: the model folder
  LARP_DLSS_PATH, or larp.exe's folder where the variable names none.
- docs: rows for LARP_FRAME_GENERATOR and LARP_DLSS_PATH, which the new
  lines name.

Tested under Wine (larp-gpu's tests); not run against NGX. That NGX
loads the model under the module name nvngx_dlssg.dll is not verified.

(cherry picked from commit c6e27d2146)
2026-12-06 18:17:14 +05:30
ddee671b4c docs: deeply update README (up to v1.1.8 + full contributor credits) and refresh releases, FAQ, setup, and troubleshooting guides 2026-12-06 18:04:44 +05:30
9002b0d38b Add native 5120x1440 output for the retail title 2026-12-06 16:53:09 +05:30
69d088d8c2 audio: keep the APU heap in the working set (LARP_AUDIO_LOCK)
Off unless LARP_AUDIO_LOCK=1. VirtualLock's APU heap blocks (XMA input
and rings), at most 1 GiB, after raising the process working-set quota.
A long session that pages most of larp's committed memory out can then
still serve a burst of new voices without waiting on those pages.

This is a mitigation for the crackle that grows over 15–60 minutes
(#566, #555): it does not fix the host memory leak itself, and it has
not yet been shown on its own to stop the crackle.
2026-12-06 16:53:08 +05:30
05824c543a feat(gpu): LARP_PIPELINE_BLOBS=0 to keep no pipeline blobs on disk (#732)
On Linux with Mesa RADV on an RX 6800, pipelines created from their
cached blobs (`pipelines/blobs-*`) drew corrupted geometry and hung the
GPU, while the same pipelines made anew with an empty blob folder ran
clean (#732). There was no way to skip the blobs and keep the lists of
earlier runs' pipelines. With `LARP_PIPELINE_BLOBS=0` the blob store is
not used: every pipeline is made without a blob and none is kept, while
`created-*.bin` are still read and written. Unset, nothing changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-06 16:53:04 +05:30
76b9084c35 Document LARP_OWNERLESS_VIEWS with the other view switches.
The switch sets how many ownerless view-table entries are kept. It belongs in the same table as the other LARP_ view switches.
2026-12-06 16:53:03 +05:30
edc9319160 linux: scan Steam libraryfolders.vdf (#720), wire LARP_PIPELINE_BLOBS=0 (#732), LARP_RADV_TRANSFER_QUEUE=1 (#498), OpenVR docs (#472/#522), and preserve RAM-aware worker cap (#456) 2026-12-06 16:34:51 +05:30
3df281feca perf(gpu,hle): Phase 1-2 Legion Go 2 UMA, RADV, and frame-pacing optimizations 2026-12-06 16:33:51 +05:30
2e533ea22d docs: document opt-in RADV transfer queue for Proton 2026-12-06 16:33:16 +05:30
ba6e4ceb9d Document LARP_OWNERLESS_VIEWS with the other view switches.
The switch sets how many ownerless view-table entries are kept. It belongs in the same table as the other LARP_ view switches.
2026-12-06 16:33:14 +05:30
a60675dfae feat(gpu): LARP_PIPELINE_BLOBS=0 to keep no pipeline blobs on disk (#732)
On Linux with Mesa RADV on an RX 6800, pipelines created from their
cached blobs (`pipelines/blobs-*`) drew corrupted geometry and hung the
GPU, while the same pipelines made anew with an empty blob folder ran
clean (#732). There was no way to skip the blobs and keep the lists of
earlier runs' pipelines. With `LARP_PIPELINE_BLOBS=0` the blob store is
not used: every pipeline is made without a blob and none is kept, while
`created-*.bin` are still read and written. Unset, nothing changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-06 16:33:14 +05:30
5a145c76d8 Merge main (v1.1.7: #452, #376, pipeline workers, #512, MFG Unlocker, #468) into linux-test 2026-12-06 15:27:56 +05:30
aa0ae5f849 Docs: pipeline workers, LARP_PIPELINE_CACHE_DIR, LARP_PIPELINE_HOLD_PRIORITY, LARP_MEMORY_ORPHANS, MFG Unlocker and Streamline 2026-12-06 15:14:27 +05:30
10a1313df0 MFG Unlocker: pick the Streamline backend when its files are there, name the missing file otherwise (#492, #438, #473) 2026-12-06 15:14:27 +05:30
e168b47bd0 Pipelines: workers by processors and memory, more while held at the menu; compute lane first; preload waits for the blob writer
Measured on a 12-thread, 32 GiB PC, the whole set made anew with the driver's own cache empty: 9 workers (before) 1,854 s, 12 while the title is held 1,703-1,731 s. The cap by installed memory lets 12 compile at once up to 32 GiB (11.5 GB private at most, 13 GB of the PC's memory still free). LARP_PIPELINE_HOLD_PRIORITY=normal is opt-in. A preload run leaves when the blob writer has none queued (120 s at most), not after a fixed 10 s. Optional launcher to exclude the pipeline cache from Windows Defender.
2026-12-06 15:14:26 +05:30
a8ad2c1670 Docs: clean up remaining torrent wording in troubleshooting guide 2026-12-06 06:04:49 +05:30
ed3fa3177a Docs: remove third-party repack/torrent references from FAQ and guides 2026-12-06 06:04:30 +05:30
c523a2d66c Merge main (v1.1.7 batch) into linux-test 2026-12-06 05:41:19 +05:30
7a30255bb4 Docs: pagefile/commit check for -1073740791; first-person-stuck fix 2026-12-06 05:38:10 +05:30
d2a79dd640 input: mouse buttons fully mappable (melee alias, Mouse1/2 binds, mouse-button trigger binds free LMB/RMB) 2026-12-06 05:37:28 +05:30
866a6f3a36 Merge pull request #140
# Conflicts:
#	apps/larp/src/run.rs
2026-12-06 05:34:17 +05:30
baf3eab717 Merge pull request #139 2026-12-06 05:33:31 +05:30
219d404d33 Merge pull request #308 (linux) 2026-12-06 04:41:09 +05:30
68b97d6b8b Merge main (post-v1.1.4 batch) into linux-test 2026-12-06 04:41:08 +05:30
40ac7eb9bb Merge pull request #309 2026-12-06 04:39:24 +05:30
138d3ada50 Merge main (v1.1.4 batch) into linux-test
# Conflicts:
#	crates/larp-gpu/src/pipeline/created.rs
2026-12-06 04:29:11 +05:30
908a1ca601 fix(linux): upgrade outdated D3D shader compiler
- Upgrade the known 2013 compiler from Microsoft SDK after verifying its hash.
- Warn about the outdated DLL and document shader model 5.1 failures.
2026-12-06 01:57:39 +03:00
eaf0d1c26c feat(hle): skip the intro movie or all Bink movies on request (LARP_SKIP_INTRO, LARP_SKIP_BINK)
Ported from VIctory-xmem (0a4aadf, 25b1a09). Off by default.
2026-12-05 23:57:03 +01:00
1d3b00b5bd Merge pull request #242 2026-12-06 04:19:49 +05:30
8187e7bbed Docs: troubleshooting for controls.ini paths, every-launch recompile, blocky shadows, stutter 2026-12-06 04:13:52 +05:30
dcad5e6020 Merge main (v1.1.3 final) into linux-test 2026-12-06 04:09:20 +05:30
j
8e0097f14e Add native 3440x1440 output for the retail title 2026-12-05 23:00:25 +01:00
7eff815d76 docs(launchers): add Windows .bat templates for KB+M, Xbox, and PlayStation gamepads 2026-12-06 00:57:15 +03:00
a99c72bc4e Merge main (v1.1.3 batch) into linux-test
# Conflicts:
#	crates/larp-gpu/src/host.rs
#	crates/larp-gpu/src/lib.rs
2026-12-06 03:25:56 +05:30
deb2a0d897 Merge pull request #185
perf(gpu): reduce CPU overhead and improve 1%/0.1% lows
2026-12-06 03:09:37 +05:30