WIP: Add self-contained Linux build/Proton toolchain, Wine fixes, and Sony HID/speaker/copy-back ports #23
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/gamingwithhomie--larp!23
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-23"
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?
@Bad3r on GitHub · 2026-12-05 15:34 UTC · original
Bad3r:linux-support→main· +8525 −135 · 76 files · 63 commits · closed without mergingTest hardware
Automated Releases
gh workflow builds on push and makes a release: https://github.com/Bad3r/larp/releases/
Summary
Adds self-contained Linux cross-compilation (
cargo-xwin) and Proton (umu-launcher/vkd3d-proton) setup/launch tooling alongside Wine runtime fixes and native Linux feature ports from Radiclelarp-linux(GPL-3.0-or-later).No copyrighted game files, Windows binaries/SDKs, or GPU vendor binaries are committed to the repository:
cargo-xwincaches Windows/MSVC cross-compilation headers locally during build.linux/setup.shoffers opt-in SHA-256-pinned downloads (after explicit user license prompt orACCEPT_LICENSE=1opt-in) for x64d3dcompiler_47.dll(Microsoft.Windows.SDK.CPP10.0.26100.7705via NuGet, nowinetricksneeded) and x64nvngx_dlss.dll(NVIDIA/DLSSv310.9.16), or accepts local user-provided DLLs.Testing
Verified
bash -n linux/*.shandshellcheck -s bash linux/*.shpass with zero warnings;nix flake check --no-buildanddevenv --offline --no-tui shell -- larp-checksucceed../linux/build.sh -- --offlinecross-compiles mergedv5+ Linux ports (releaseprofile) and85.dxilshaders cleanly.umu-runin an isolated prefix):larp-loader:19 passed; 0 failed; 0 ignored(includessony_pad,pad_effects,haptics,pad_audio).larp-hle:54 passed; 0 failed; 2 ignored(includes upstream CPU FFTdsp,ps5_icons, andhotplug;2 ignoredrequire physical hardware).DLSS_ACCEPT_LICENSE=1 ./linux/setup.sh --skip-d3dcompiler --non-interactive(v310.9.16SHA-256 + PE32+ x86-64 check + driverdlssg/dlssdsymlinks) and full interactive walkthrough via a pseudo-TTY harness (writinglinux.env, testing[y/N]license acceptance and decline).LARP_*allowlist filtering,unshare --user --map-current-user --netnetns isolation, timestamped log creation, and failure error digest via--print-envand isolated--dry-run.Remaining / WIP
--executegameplay validation of the mergedv5+ ported build (LARP_DISPLAY_MODE=borderless, phone-camera copy-back, DualSensehidrawhaptics/speaker).patches/+ optional FSR DLLs) and non-Nix Linux distributions (Arch, Fedora, Ubuntu/Debian, SteamOS).@Kassadd on GitHub · 2026-12-05 15:40 UTC · original · edited 2026-12-05 16:53 UTC
Editing with the results, as promised.
It works, and it is the only combination on this machine that gets host ray tracing up at all. CachyOS, RTX 4080 SUPER, NVIDIA 620.85.02, Proton Experimental 11.0 / vkd3d-proton 3.2.0.
linux/build.shas written: 48 s,larp.exeplus all 85 replacement shaders. What I had to add, in order of how much time they cost me:WINEDLLOVERRIDES="dxgi=n,b". Without DXVK'sdxgithe run dies atlibvkd3d-1.dll+0x3ffd0before anything is drawn. The backtrace blames vkd3d but the frame above it isdxgi.dll. Darner needs the same override here, so it is probably Proton-wide rather than larp-specific — but it is not in the docs.d3dcompiler_47native (winetricks -q d3dcompiler_47). Before:E5005: Method 'Load4' is not defined, host ray queries dropped. After:tier=1.2,tiled resources on the host device,ray-tracing structure builder: the title's calls into it are hooked. That is the first ray tracing I have seen working on this card under Wine.LARP_CONTROLS=mnk. My Keychron V6 announces itself as a 19-button HID gamepad, so withautothe keyboard and mouse never reach the title and the game is controller-only (F9dead too, same path). Withmnkthe log showsmouse: Raw Inputand keyboard, mouse and gamepad all work at once.LARP_SHADER_REPLACEhas to be the.dxilfolderbuild.shwrites, not the.hlslsources. Since your build now produces exactly that, this is only a docs gap.Numbers, about 10 minutes in the world, 59 frames over 1,000 draws, warm cache:
Panel shows
GPU BUSY 93%andray tracing 220 MB: the card is the limit here, not the submission thread, and that is with RT on. Only the 95 ms worst frame would I look at again.Cache: the first start built ~44,000 pipelines (hours); the second with the same prefix took seconds and
0 being made, so the blobs do persist. Anything that changesd3dcompiler_47, the driver or vkd3d-proton's build invalidates them.Re-ran on
b6250aa(your branch merged with upstream) and all of it holds, including the two you fixed after my first pass:dxgi=n,bis there now (ensure_dll_override dxgi n,b), and the hint you added forlibvkd3d-1.dllcrashes is the exact diagnosis I was missing. Nothing to add.LARP_CONTROLS=mnksurvivesHOST_PAD_USED, so the Keychron-as-HID-gamepad case works without a local patch.d3dcompiler_47from the Windows SDK on NuGet, licence accepted — better than the winetricks route I used, andtier=1.2still comes up.LARP_DISPLAY_MODE=borderlessworks at start-up on this setup, which is the WIP item you flagged. On a 3440x1440 monitor the window ends up3440x1440at0,0with_NET_WM_STATE_FULLSCREEN— native resolution, not the 1920x1080 I got from the earlier revision. Hyprland/Wayland, no compositor tricks.LARP_LANGUAGE=eswith #53 applied: the F1 panel, the title's own prompts and the overlay all come up in Spanish.Believe the Linux path is now validated end to end on CachyOS + NVIDIA from a second distro:
build.sh→setup.sh→run.sh, no local patches. If this is what you were waiting on to leave Draft, it is done from my side.Not tested: AMD,
LARP_DISPLAY_MODE=borderlessat start-up (your WIP), DLSS/FSR, frame generation.@gamingwithhomie on GitHub · 2026-12-05 15:47 UTC · original
Awesome work
@Bad3r! To help Linux/Proton users test this right away without disturbing the Windows/NVIDIA stable release, we published a dedicated pre-release build from your branch (156e79e) with bothlarp.exeandlinux-tooling.zip:https://github.com/gamingwithhomie/larp/releases/tag/v1.0.7-linux-test.1
Once you mark this PR ready from Draft (and any remaining WIP checks look good), we'll merge it into
main!@Kassadd on GitHub · 2026-12-05 16:37 UTC · original
Read through the diff before running it. Nothing here is a remote code execution hole and the scripts are careful (
set -euo, nosudo, norm -rf, nocurl | sh, and they refuse paths inside the repo). Five things worth deciding on before this lands, in the order I would worry about them.1.
.envrcmakes the checkout run code oncd.eval "$(devenv direnvrc)"executes whatever thedevenvbinary onPATHprints. That is the normal direnv pattern and it needsdirenv allow, but it turns the repo into a thing that runs by itself for anyone who has direnv on. Fine as an optional path; worth keeping out of the default README flow.2.
linux/common.shrunsexec nix develop "path:$repo_root"when a tool is missing, without asking. Someone runningrun.shin a checkout they did not write then evaluatesflake.nixand pulls from the network. That is a surprise, not something the user can reason about beforehand.3.
linux/run.shwrites the arguments into a.cmdand only quotes the ones containing spaces, so a path or argument with&,|,^or%injects intocmd.exe. Low likelihood, easy to close by quoting every argument.4.
linux/setup.shinstallsmozilla/fxc2'sd3dcompiler_47, whiledocs/linux.mdsays it is Microsoft's. The hash comes from winetricks' own verb so it is not an unverified download, but the doc describes something the script does not do, and it puts a third-party binary in the prefix.5. The deferred borderless toggle. Moving
switch_borderlesstoPostMessageW(WM_APP+0xCC50)means that if the title's message loop is busy at startup the first frames keep the framed window, andalt_enterconsumes any message with that id on the shown window — a collision with the title's ownWM_APP+nrange is possible. Worth a comment on why that id range is safe.Not security, but I would keep them out of
main:flake.nix,flake.lock,devenv.nix,devenv.yaml,devenv.lockand.envrc. They are one person's environment, the package lists have already drifted from each other (noshellcheck, nostdenv.ccinflake.nix), and the toolchain version is pinned in three places. A separate repo or adocs/page carries the same value without making every checkout evaluate a Nix flake.Two smaller ones:
build.shforcesRUSTFLAGS=-C target-cpu=x86-64-v3, which makes Linux artefacts incomparable with the CI/Windows builds and is not really tooling. AndREADME.mdhas a duplicated## Licenseheading just above a---.Good:
settings.rskeeps the numericLARP_UPSCALER_SCALEvalues as a fallback, theadvisorearly return under Wine leaves nothing used later, and the repo rules hold — no game files,.gitignorecovers*.dll/*.exe/*.dxil.@Bad3r on GitHub · 2026-12-05 16:42 UTC · original · edited 2026-12-05 16:43 UTC
@Kassadd saying that a devenv is a 1 person env is antithetical to what devenv is and nix flakes. shellcheck is not needed in the flake because its a dev dep. Pinning hashes wherever needed is a good practice but yes it can be better.
I will go through the rest of the feedback and address what I find valid. THank you
still looking into your first feedback, should be done in a bit.
@Kassadd on GitHub · 2026-12-05 16:50 UTC · original
You are right about the flake and I was wrong to file it that way. "One person's environment" was the wrong framing: a devenv/flake exists to be shared, and a dev-only tool like
shellcheckdoes not belong in the flake's packages. Withdraw that point — the locks are pinned with real hashes and that is the right way to do it. Same for the pin in three places: that is a tidiness point, not a reason to keep it out.Everything else I raised stands as an observation, not as a blocker — and I see you have already done the two that mattered:
ad0fb51addsensure_dll_override dxgi n,bby default. That is the one that decided whether the game started at all on this machine, and the hint you added pointing atlibvkd3d-1.dllis exactly the diagnosis I would have needed two hours earlier.3c29b3dkeepsLARP_CONTROLS=mnkwhenHOST_PAD_USEDis set. That fixes the other half: my Keychron V6 announces as a HID gamepad, and withautothe keyboard and mouse simply never arrived.Re-running your branch (
b6250aa, merged with upstream) on CachyOS now, borderless andLANG=es, to confirm both. I will edit this if anything changed for the worse, otherwise consider the Linux path validated on NVIDIA from a second distro:build.sh→setup.sh→run.sh, no local patches.@Bad3r on GitHub · 2026-12-05 16:55 UTC · original · edited 2026-12-05 17:13 UTC
OCR review (delegation mode):
linux-supportvsmainReviewed commit:
b6250aa(the current PR head). Line numbers refer to that commit.Method:
ocr delegatewith the default rules, reviewed by the host agent in seven slices (shell/nix, app/core/settings/i18n, GPU, XMA/shader, HLE audio, loader/Sony pad, HLE input/storage). The review was static: nothing was built or run, and nothing was tested on hardware.Coverage: 79 of 79 reviewable files reviewed, 0 skipped (
coverage_rate100%). 12 files were excluded by OCR as non-code (Cargo.lock,devenv.lock,README.mdanddocs/*.md).Findings: 1 high, 9 medium, 30 low. Findings that depend on unverified hardware or console behavior are marked as conditional.
High
crates/larp-loader/src/haptics.rs:501-545— the controller-speaker patch is installed without checking for a DualSense, so route-6 sounds go silent for everyone else.installruns under Wine whenever the title hash is known (apps/larp/src/run.rs:212-213). It then callsinstall_speakerand setsSPEAKER_ONandset_speaker_routing(true)without checking for a DualSense on USB. Nothing later clearsSPEAKER_ONorROUTE_RESULT. The player thread only exists to find a 4-channel DualSense endpoint.Before: route-6 voices (phone, GPS, cop radio) were rewritten to route 2 and played on the TV.
After: the remap is patched out and the voices go to the
Padgroup, which only the player drains. With a keyboard, an Xbox pad, a DualShock 4, a DualSense over Bluetooth, or a DualSense unplugged mid-session, those sounds are silent.speaker_status()(lines 539-545) only reports "not played on" whenSPEAKER_ONis false, so it never reflects a missing pad.Fix: enable the path only when a DualSense USB endpoint exists at install time, or add a runtime fallback that restores route 2 when no player is active.
Medium
crates/larp-hle/src/settings.rs:229-237—--langloses toLARP_LANGUAGEandsettings.ini.i18n::initializeranks--langfirst, butsettings::loadruns later forlarp run --execute, re-readsLARP_LANGUAGEand thesettings.inientry (line 419), and callsset_language.LARP_LANGUAGE=fr larp --lang de run --executeends in French. Fix: skipset_languageinloadwhen--langwas given.crates/larp-hle/src/modules/gameinput.rs:212-216— the default (Auto) keyboard stand-in pad changed.fallback()now callsmouse::mnk_enabled()(controls_mode() != Pad). The old condition wascontrols_mode() == Mnk || mouse_captured(). In Auto mode the keyboard therefore uses thecontrols.inibindings from the first poll. For example, Tab was View and is now LB, and X was the X button and is now the right trigger.FALLBACK_BUTTONSis only used in Pad mode, andmouse_captured()has no callers left. If this is intended, remove the dead code and document it. If not, restore the old condition.crates/larp-gpu/src/host.rs:12551-12568—LARP_DISPLAY_MODE=fullscreen|exclusiveandLARP_DISPLAY_REFRESHlost their behavior. On main, these modes calledSetFullscreenState(true)and applied the 24-500 Hz refresh rate. Now every mode posts one borderless message andLARP_DISPLAY_REFRESHis never read.README.md,docs/environment-variables.md:49andlinux/run.sh:394still advertise both. The log line says "queued" even whenPostMessageWfailed, because the result is discarded. Fix: restore the exclusive path or deprecate the variable in docs and log a warning when it is set.crates/larp-shader/src/emit/lower.rs:6508—first_thread_initbounds-checks against the wrong size. It checkscs.lds_bytes() / 4, but the emitted LDS array hass.lds_dwordsentries, which line 2454 narrows with.min(own)forown_barriersprograms. A constant index in[own, lds_bytes/4)passes the check and stores out of bounds. Fix: bound byself.s.lds_dwords.crates/larp-shader/src/emit/lower.rs:6433-6522—first_thread_initis not gated to the water shader. It applies to every computeds_writethat follows av_cmpx_eq_u32 0, <thread ids>and writes constants, and it replaces the EXEC-masked store withflat_thread == 0. A shader that uses that slot as a flag set only when thread 0 was active changes behavior. The Darner port justifies it only forCS_TransmissionVolumetrics_Tiled. Fix: gate it by shader hash like the otherby_hashfixes.crates/larp-shader/src/ir.rs:998-1174— the new skip analysis has no tests. About 180 lines (stalls,decided_cycle,any_cycle) change which skipswithout_skipsremoves for every compute shader. The 20k-step budget fails in opposite directions:decided_cyclereturns false andany_cyclereturns true. A small fixture (skipped infinite loop, skipped terminating loop, readfirstlane loop) would pin the behavior.crates/larp-hle/src/modules/dsp.rs:198-237— convolution output may drop the head of the response (conditional).processzero-pads each 1024-sample block to 2048, multiplies by the partition spectra, and outputs only the second half. Nothing is overlap-added from the previous block. With an IR stored ash[0]at index 0, a unit-impulse IR returns silence. The result is correct only if the console's IR partitions are stored shifted by one block, which nothing in the repo establishes. All four tests derive expected values from the same formula, so none can catch a wrong choice. Check against a reference convolution or captured hardware output.crates/larp-hle/src/modules/audio.rs:455-483—save_carrywrites 522 (mono) or 1034 (stereo) bytes into the title's overlap buffer without knowing its size (conditional).heap_bytesonly checks the enclosing heap block. If the title's buffer is smaller, adjacent title data is overwritten, or the carry is truncated. The tests use a 0x800 buffer. Verify the real size or write only when it is known.devenv.nix:3-16,flake.nix:15-26— the dev shells do not providerustup, butlinux/build.sh:95-96exits without it. On a Nix host without a host-level rustup,nix developordevenv shellfollowed bylarp-buildfails. Fix: addpkgs.rustupto both shells or document it as a prerequisite.Low
crates/larp-loader/src/haptics.rs:696-697:let _ = unsafe { play(..) }discards every error fromActivate,Initialize,GetBufferSize,GetServiceandStart. Haptics and speaker fail silently and retry every 3 s.crates/larp-loader/src/haptics.rs:618-625: theinstall_speakerrollback restores page protections first to last, while the success path goes last to first because sites share pages. A failed install can leave code pages RWX. Iterate in reverse.crates/larp-loader/src/sony_pad.rs:1064-1066: nothing clearsSPEAKER_ROUTINGon shutdown, and the final stopping report still carries the speaker routing. The DualSense may stay routed to its speaker at volume 0x64 after exit (not verified on hardware).crates/larp-hle/src/modules/apu.rs:435-445:DECODE_CONVERT_OPUSdoes not rejectinput_length == 0, unlike the Opus-only path at line 607. An empty packet is decoded as packet-loss concealment and injects up to 120 ms of audio.crates/larp-hle/src/modules/apu.rs:456-469:Converter.inputandConverter.outputgrow without bound when the title submits faster than it drains. Cap the backlog.crates/larp-gpu/src/host.rs:13212-13232:WM_APP_BORDERLESSis a fixed id (0x8000+0x4C) in the title's WM_APP range, andalt_enterswallows it. UseRegisterWindowMessageW. (Local commitb10659f, not pushed, already guards this.)crates/larp-gpu/src/overlay/perf.rs:390-396: the localized "compiling" row overflows the 30-column panel in de (31 columns with 12 active and 120 queued), pl (33) and fr (35, and already 22 for 4 and 20 against an 11-column label). Shorten the strings.crates/larp-gpu/src/copyback/buffers.rs:132-165:note_phone_photoruns on every GPU write use of every texture and builds the layout before the cheapby_resource.contains_keycheck. A failedbuild_title_landis not remembered, so the work repeats.crates/larp-gpu/src/copyback/buffers.rs:105-165: phone-photo detection is by shape only (960x536 RGBA8 render target) and is on by default. Another render target with that shape gets a CPU write into title memory on every GPU write. Consider default-off or a narrower match.crates/larp-gpu/src/copyback/buffers.rs:105-810: the new title-memory landing path (block pool,alive/writinghandshake withforget, row-pitch repack) has no tests.crates/larp-gpu/src/planes.rs:290-299: the newaspect_viewport_fordoc block sits betweenrecord's doc comment andrecord.crates/larp-gpu/src/pipeline/make.rs:1056-1066: thewaitdoc comment now sits aboverun_with_frame_budget.crates/larp-hle/src/settings.rs:329-334:requested_resolutionwas inserted betweenload's doc comment andload.crates/larp-hle/src/settings.rs:269-276:LANG_TAGSduplicates the index-to-tag mapping incrates/larp-game/src/settings.rsand the i18n catalogs. The doc atcrates/larp-game/src/settings.rs:57points to aLANGUAGE_TAGSthat does not exist. Add a test that the three agree.apps/larp/src/main.rs:215-217:advisor::check()runs beforesettings::load, so advisor messages never use thesettings.inilanguage.crates/larp-hle/src/settings/menu.rs:227-276: the rewrittenwrap(display-width and CJK breaking) has no tests, nor do theLanguagebranch ofenv(),requested_resolutionor the UI-pool patch application.locales/*.json: no locale definessetting.speaker_gain.{label,about}orsetting.volumetrics_quality.{label,about}. They fall back to English in every language. All 7 locales are otherwise in parity (288 keys, matching placeholders).crates/larp-hle/src/modules/gameinput/mouse.rs:256-269:key_for()silently drops binding valuesparse_vkcannot parse. A typo such asa = Shfitkeeps the default key with no warning.crates/larp-hle/src/modules/ps5_icons.rs:111-131: a directory with only one of the two optional files still logs a warning that the other is missing, and a missingplatform.ttpfis never logged.crates/larp-hle/src/modules/files.rs:266-304:is_read_only_openandcreate_file2_flagsdecide whether an open is redirected to the host file. A wrong answer redirects a write open. Neither has a unit test.crates/larp-shader/src/ir.rs:1166-1173: thereads_lanes && any_cycleretention rule is coarse (the lane read and the cycle need not be related) and is not described in thewithout_skipsdoc comment.crates/larp-formats/src/xma.rs:843-859:Decoder::resumeresets the decoder and then validatesblock_lenper channel, so an invalid channel 1 leaves a half-resumed decoder. Validate both channels first. The overlap is also quantised to 16 bits throughto_i16.devenv.nix:35:bash -n "$DEVENV_ROOT"/linux/*.shchecks only the first file, because the other paths become positional arguments. Loop over the files.devenv.nix:43,flake.nix:30: the shells hardcodeRUSTUP_TOOLCHAINdefault1.98.1whilelinux/common.shreadsrust-toolchain.toml. A channel bump leaves the shells stale.linux/common.sh:148-155: Proton discovery usessort -r, which lists "Proton Hotfix" before "Proton 9.0" and "Proton 9.0" before "Proton 10.0". Usesort -rV.linux/setup.sh:193-216:upsert_env_varescapes only\and", and the file is later sourced. A path containing$HOMEis expanded on load, and one containing$(cmd)would runcmdon every launch. Escape$and backticks or useprintf %q.linux/setup.sh:238:CLEANUP+=registered inside functions called through$(...)runs in a subshell, so the parent's EXIT trap never sees the paths. An interrupted download leaves*.part.$PIDfiles (the nupkg is about 160 MB).linux/run.sh:616-635: arguments are quoted forcmd.exeonly when they contain whitespace. A path or an argument after--containing& | < > ^ ( )or%is parsed bycmd.exe. (Local commite3a3e22, not pushed, rewrites this.)docs/controls.example.ini:1-3: the header says to copy the file next tooptions.iniin theLarpfolder (the Windows layout). On Linux,LARP_CONTROLS_INIis needed, and neither this example norlinux/config.example.envmentions it.linux/common.sh: no automated tests coverlarp_collect_pv_paths,larp_is_pe64,larp_load_configprecedence orupsert_env_var.Behavior changes to be aware of
sens(about 800 counts/s gives full deflection, against about 5500 before). The minimum sensitivity drops from 0.05 to 0.01 (mouse.rs:540-583).controls.ini: the search order is nowLARP_CONTROLS_INI,<root>/controls.ini,<root>/data/7952987A/controls.ini,<exe dir>/controls.ini, then the cwd. Comma-separated binds and Darner button names are accepted.LARP_CONTROLS=mnkwith a host pad: keyboard and mouse now stay active alongside the pad (gameinput.rs:237-242).LARP_STRETCH=1restores the old behavior (planes.rs).LARP_PHONE_PHOTO_BACK=0disables it.Z:\dev\hidrawN, and rumble, light bar and triggers are written back over HID. The pad is reset on exit.LARP_SONY_PAD=0disables it.linux/run.shlaunches insideunshare --user --net(opt out with--no-netnsorLARP_NO_NETNS=1). Outbound traffic, including crash uploads, is blocked by default.LARP_*allowlist:linux/run.shunsets anyLARP_*variable not on its 145-entry allowlist. A new Rust env var must also be added there, or it is dropped on Linux.linux/setup.shinstalls a natived3dcompiler_47.dllinto the Proton prefix and moves the existing one aside as.larp-saved. Both pinned SHA-256 values match the upstream files.XApuConnectnow acceptsDECODE_CONVERT_OPUSandCONVERT_PCM(previouslyE_NOTIMPL), and mono 1024-frame convolution streams now produce output instead of silence.LARP_SPEAKER=0disables it). See finding 1.Notes
4d58202,e3a3e22,74d376fandb10659fsit on top ofb6250aaand are not pushed. Findings above were checked againstb6250aa. Two of them (run.shquoting,WM_APP_BORDERLESS) are already addressed by those local commits.nix developre-exec was dropped, because4d58202makes it opt-in.cargo checkcould not complete on this host (a third-partywindows-futurebuild error before reachinglarpcode), so the Rust findings come from reading the code.Review run with
ocr delegate(open-code-review, delegation mode).@Bad3r on GitHub · 2026-12-05 17:14 UTC · original
just setup a gh build workflow: https://github.com/Bad3r/larp/actions/
es) #53The speaker_gain setting had no setting.speaker_gain.{label,about} entries in any catalog. The F10 menu therefore showed it in English in every language. Add both keys to all seven catalogs, in key order. The non-English strings are machine-authored and have not been reviewed by native speakers. Validation: every catalog parses as JSON with 290 sorted keys; cargo xwin test -p larp-core under Wine (7 passed).@gamingwithhomie on GitHub · 2026-12-05 18:50 UTC · original
Reviewed in detail - keeping this on the separate Linux track (not merging to
mainyet), for these reasons:linux/vkd3d-proton/d3d12.dll/d3d12core.dllhave an LGPL LICENSE beside them but no provenance (upstream commit/version or hash) tying them topatches/vkd3d-proton-wave32.patch, while the release workflow bundleslinux/and claims zero proprietary binaries.apps/larp/build.rsstamp()runs on every Windows build (spawns git, rerun-if-changed over whole trees,/INCLUDE:LARP_BUILD_STAMP)..github/workflows/release.ymlauto-publishes a release on every push (guarded to the fork repo, but should not land on main as-is).The Linux tooling itself stays published and tested via our
v1.0.11larp-linux-proton.zip/ linux-test track. Path to main: split into (1) linux scripts+docs+Nix, (2) Sony pad/haptics, (3) phone-photo copyback, (4) shader fix, (5) workflow, and drop or provenance-pin the vkd3d DLLs. Thank you for the huge amount of work here!@Bad3r on GitHub · 2026-12-05 18:57 UTC · original
regarding number 1, thats from upstream larps, i added it for temporary amd people to test. I do not like its there either, will just remove it.
for number 2, these come also from upstream, once/if you rebase it will not be new in this tree.
for number 3, yeah its just for the fork unless you decide later to make auto builds via the CI and gate main.
@Kassadd on GitHub · 2026-12-05 18:59 UTC · original
Tested the bundled vkd3d-proton on two different Protons — Experimental 11.0-20261128 and CachyOS 11.0-20261015 — and it behaves identically on both, because the bundled pair is what gets used either way:
That supports pinning the provenance rather than dropping the DLLs: the build matters, and
71cae091bis the right one — it is the same commit Darner's owndocs/linux-proton.mdnames as the one that made all seven shaders and the picture correct.One thing to add to the list, since it decides whether a Linux user gets a running game:
WINEDLLOVERRIDES="dxgi=n,b"is still required. With the bundledd3d12.dll/d3d12core.dllin place but no override, the game still dies on the first frame with0xc0000005 at libvkd3d-1.dll+0x3ffd0, because vkd3d-proton ships nodxgiand Wine's own delegates tolibvkd3d 2.2.run.shsets it sincead0fb51; launchinglarp.exedirectly does not.Everything else on the branch is running well here: RT, DLSS balanced + frame generation at 60 fps,
LARP_CONTROLS=mnk, and the Spanish locale from #53.759bad460eto64a8646afbsetup.sh linked nvngx_dlssg.dll and nvngx_dlssd.dll from the NVIDIA driver's Wine directory. The driver's nvngx_dlssg.dll 310.2.1 (driver 620.73) failed every evaluation of larp's frame generation with 0xbad00005 ("cached size cannot be zero"); after it was replaced with 310.9.16 the feature was made without that failure. With DLSS_ACCEPT_LICENSE=1, fetch both from the same pinned NVIDIA/DLSS release as nvngx_dlss.dll (SHA-256 pinned), replacing a link into the driver's directory; a user's own file is replaced only with --force-dlss. Without the license the driver links stay, with a note. Report "already <version>" instead of "Installed" when the file is unchanged. Validated with bash -n and shellcheck (setup.sh clean; common.sh's pre-existing SC2148), and setup.sh --non-interactive against a scratch LARP_LINUX_DLSS_DIR: driver links kept without the license, replaced with the pinned files with it, a rerun changes nothing, --force-dlss replaces a user file and reports identical ones as already v310.9.16.c55c57c785todac6422c65@Bad3r on GitHub · 2026-12-05 23:46 UTC · original
closing this, might continue on it in the fork, I don't have interest in maintaining a fork, this one works for me, if it works for someone else that's great feel free to use it.
https://github.com/Bad3r/larp/tree/linux-support
Pull request closed