docs: clarify enabling DRED before launch #500
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!500
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-500"
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?
@vanya890 on GitHub · 2026-12-06 01:35 UTC · original
vanya890:docs/dred-env-setup-20261206→main· +1 −1 · 1 files · 1 commits · openSummary
LARP_D3D12_DRED=1when diagnosing a device removal.series-s.cmd.Validation
git diff --checkpasses.@vanya890 on GitHub · 2026-12-06 01:37 UTC · original
FYI: I opened #502 for a separate, one-line FAQ cross-link to the detailed troubleshooting section this PR updates. It does not duplicate the shell instructions here; it only makes the existing DRED procedure easier to find from the FAQ's NVIDIA crash guidance. Both changes should remain independent and merge cleanly.
@christopear on GitHub · 2026-12-06 02:00 UTC · original · edited 2026-12-06 02:24 UTC
Correction for the v1.1.6 Windows FULL package. I checked the shipped launcher after writing the notes below. Both Series scripts call
bin/launch.ps1, which removes every inheritedLARP_*variable before starting the executable. I ran that PowerShell script with a stand-in executable and confirmed that a parent-shellLARP_D3D12_DRED=1was absent in the child. Setting it in the same terminal is therefore insufficient with this package.For a one-off diagnostic run with this launcher, set
$env:LARP_D3D12_DRED = '1'in a temporary copy of the launch script after its environment reset and beforeStart-Process. Keep the copy beside the original so relative paths still resolve, invoke that copy with the usual Series arguments, and return to the original launcher afterwards. The shell advice below applies to launches that preserve the variable.Two small additions would help people verify the setting and undo it between runs. I checked the paths in
crates/larp-gpu/src/host.rson9f8bb9e5.device-removed data onin the log. If it saysthis D3D12 gave no settings for it, the variable reached the process but the runtime did not expose the requested interface. That distinction is particularly useful when troubleshooting through a translation layer.set "LARP_D3D12_DRED="in CMD orRemove-Item Env:LARP_D3D12_DRED -ErrorAction SilentlyContinuein PowerShell. Setting it to0still requests DRED becausedred_on()checks presence and caches the result.I'd also qualify the promise that the log will name the faulting address. Even with the setting inherited, the available diagnostic data depends on the runtime and failure.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.