Files
larp/docs/faq.md

7.0 KiB
Raw Blame History

Frequently Asked Questions (Community Q&A)

Answers to the most common questions from Reddit and GitHub Issues.


1. Why is larp's RAM usage (~10 GB) and FPS so much better than earlier builds? How does it handle UMA?

Console titles expect a 16 GB Unified Memory Architecture (UMA) where CPU and GPU share the same physical RAM. Earlier layers spent heavy CPU/PCIe time comparing, guarding, and mirroring memory pages every frame. larp avoids that overhead in four ways:

  1. Direct Graphics Heap Feed (heapfeed.rs): Feeds the title's graphics heap (0x10340000+0xae00000) into a single GPU buffer over the async copy queue at title announcements — no page guards, no byte-by-byte CPU diffing, and no readbacks.
  2. D3D12 Tiled / Reserved Resources (sparse.rs): Ray-tracing acceleration structures (BVH), triangle position pools, and streamed geometry use hardware tiled resources (Tier 2+), mapping physical VRAM tiles only where used.
  3. Pooled Placed Textures (texheap.rs): Cuts textures from 64 MB D3D12MemAlloc heaps within your GPU's VRAM budget.
  4. Disk-Backed PSO Release (pipeline/make.rs): Unasked graphics pipelines are compiled once to disk blobs and immediately freed from host RAM — saving ~11.7 GB of system RAM compared to keeping all ~95,000 PSOs resident!

2. Is Ray Tracing on by default? What resolution does series-s vs series-x run at?

  • Ray Tracing: Yes! Hardware Ray Tracing (DXR Tier 1.1+ via bvh.rs / rt.rs) is enabled automatically in both series-s and series-x whenever your GPU supports hardware ray tracing.
  • Resolution:
    • series-s.cmd outputs a 1920x1080 picture (upscaled via DLSS or FSR from internal render scale, e.g. 720p at Quality or 540p at Performance).
    • series-x.cmd outputs a 3840x2160 (4K) picture (upscaled via DLSS or FSR from internal render scale, e.g. 1440p at Quality or 1080p at Performance).
    • When you press Alt + Enter for Borderless Fullscreen, the window stretches cleanly to fill your monitor.

3. How do I go Fullscreen?

  • Press Alt + Enter at any time in-game to toggle Borderless Fullscreen.
  • Or, in Enhanced larp.exe, add $env:LARP_DISPLAY_MODE = 'borderless' inside Larp\bin\launch.ps1 to start in Borderless Fullscreen automatically every time.

4. I don't see series-s.cmd, series-x.cmd, or configure.cmd!

Two possibilities:

  1. Windows hides file extensions by default: Look for files simply named configure, series-s, and series-x (with gear/command icons) in your Larp\ folder.
  2. You downloaded the GitHub Source code ZIP instead of the release FULL ZIP: Always download the ...-FULL.zip asset from Releases (not "Source code (zip)"). The FULL zip contains the complete Larp\ folder (configure.cmd, series-s.cmd, series-x.cmd, bin\larp.exe, bin\dlss\, bin\fsr\, bin\D3D12\, and bin\shader-replace\). Use the smaller ...-UPDATE.zip only when updating an existing Larp\ folder.

5. Do I still need NVIDIA Profile Inspector? Why did Profile Inspector not stop my crashes?

  • With Enhanced larp.exe: No — just run & "C:\path\to\Larp\bin\larp.exe" nv-profile --mb 2048 (or 1024 on 8 GB GPUs) once from an Administrator PowerShell.
  • Why manual Profile Inspector failed for many people: Early guides copied from older builds told users to add victory.exe in step 10 instead of larp.exe! Because the executable is named larp.exe, adding victory.exe leaves larp.exe at the default 512 MiB heap (our startup [advisor] warns you if larp.exe is still at 512 MiB).
  • Manual NVIDIA Profile Inspector steps (if using stock larp.exe):
    1. Open nvidiaProfileInspector.exe, click Create new profile (sun/star icon), name it larp.
    2. Enable the Show unknown settings filter icon (top bar) so hidden driver hex keys appear.
    3. Find 0x001ABC0F and set it to 0x80000000 (2 GB, for 12 GB+ GPUs) or 0x40000000 (1 GB, for 8–10 GB GPUs).
    4. Click Add application to current profile and select Larp\bin\larp.exe (NOT victory.exe!).
    5. Click Apply changes (top right).

6. Why does my game crash after 5–10 minutes on an 8 GB GPU (e.g., RTX 3070 Laptop / 4060), or have random frame drops while driving?

  • Crashes after 5–10 minutes:
    1. Verify the NVIDIA shader heap (0x001ABC0F) is actually applied to larp.exe (& "C:\path\to\Larp\bin\larp.exe" nv-profile should say 1024 MiB or 2048 MiB, not 512 MiB).
    2. Open Larp\options.ini and set stream_budget = 2000 (or 2200) so streamed textures don't exceed 8 GB VRAM as you drive across the map.
    3. Press F10 in-game and set Texture Detail to -1 if VRAM still hits 100%.
    4. On 16 GB RAM PCs, make sure your Windows Pagefile (Virtual Memory) is enabled on an SSD (System Managed or 16–32 GB).
  • Stutters / frame drops in new areas:
    • Update to v1.1.8+, which fixes the progressive host RAM leak (#795/#826), removes the blocking 5-second GPU settle hitch (#464), and decouples XMA audio decoding from mixer stalls (#515 + LARP_AUDIO_LOCK=1).
    • Ensure the game and Larp\cache are on an NVMe SSD (you can move cache\pipelines to another SSD with LARP_PIPELINE_CACHE_DIR or pipeline_cache_dir in settings.ini), and optionally run 2b-Optional-Defender-Exclusion-RunAsAdmin.bat to stop Windows Defender from scanning 75,000 .blob writes.
    • Since v1.1.7 (#376), native Windows caches are automatically scoped by GPU and driver version (blobs-windows-v1-...), so you no longer need to manually wipe cache\ after updating GPU drivers (though you can delete old legacy cache\pipelines\blobs\ folders afterwards to reclaim ~6 GB).

7. Copying saves crashed Larp or started a new game from scratch!

  • Started from scratch: You must copy both saves\ and storage\ into Larp\data\7952987A\ (so you have Larp\data\7952987A\saves\ and Larp\data\7952987A\storage\), with no extra nested folder.
  • Crashed on launch after copying: Do NOT copy settings.ini or temp\ from Darner/VIctory — only copy the saves and storage folders! Delete Larp\data\7952987A\settings.ini if you accidentally copied another port's settings file.

8. Where did the source code come from, and what if I don't trust prebuilt .exe files?

  • The original src.zip (commit 1c2a608, GPL-3.0-or-later) was published by CNF in Fluxer announcements.
  • The stock-original branch is the exact, unmodified source archive.
  • Every single line added in our Enhanced Fork (main) is public and auditable via GitHub commit diffs. If you never run prebuilt .exe binaries from the internet (good security practice!), simply install Rust + Visual Studio C++ Build Tools + Windows SDK and run cargo build --release -p larp yourself.