fix(vk): Streamline writes sl.log where the sandboxed game can write #3062
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!3062
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Longshot:fix/sandbox-streamline-log"
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?
Summary
With the sandbox on (Windows), Streamline's own log,
sl.log, is most likely lost: Streamline is told to write it in the game folder, which the sandboxed game cannot write. It is the log you need when DLSS Frame Generation goes wrong.Preferences::pathToLogsAndDatais now the game folder'slogs\(diagnostics\logs\in an organized folder), which the builder's file service lets the game write. The sandbox's file layer is patched into every loaded module, Streamline's included, so its writes there are served.Read
dlssg_rules.h(sl_logs_dir) andvk_dlssg.cpp(dlssg_load). Without the sandbox the log moves too.Found by reading the code; no one has seen it on a Windows PC. See #3061 for the sandbox blocking DLSS's runtime; the two are independent.
Testing
Tested: nothing in the game, and
vk_dlssg.cpphas not been compiled (it builds for Windows only).tests/dlssg_rules_test.cpppasses a syntax check; running it is waiting in the job queue.Still to test:
logs\sl.logwith Streamline's lines, and none onmain(by hand)HOS_SANDBOX=0, expectinglogs\sl.logand DLSS Frame Generation as before (by hand)Measurements
Nothing to measure: it changes where a log file is written.
Risks
Anyone looking for
sl.logat the top of the game folder now finds it inlogs\; an old one stays where it was. Streamline also keeps its data in this folder. Reverting is enough.Checklist
Ready for review
main; the title is a Conventional Commit.mise run testpasses (any failure that also fails onmainis named). (not run yet)main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
mainand passes here. (written, not run yet)Assisted-by:/Co-Authored-By:trailers.Ready to merge
main, measured again or a comment says why the numbers still hold.🤖 Generated with Claude Code
Possibly related, for context:
WIP: fix(vk): Streamline writes sl.log where the sandboxed game can writeto fix(vk): Streamline writes sl.log where the sandboxed game can writeHumanBean referenced this pull request2026-12-03 09:05:54 +00:00