GPU vendor config + scope env fix #10
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
splitux-gg/splitux!10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/gpu-vendor-scope-env"
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?
Two fixes that stop us fighting GPU driver alignment per-machine/per-game:
scope: env via
--setenv—systemd-run --scopechildren inherit the systemd user manager's environment. The scope wrapper carried inner env withcmd.env()on the systemd-run client, which doesn't override manager-set vars — so a staleLIBVA_DRIVER_NAME=nvidiain the manager env silently won over the launch env on every scoped launch. Now passed via--setenv=(wins inside the scope). Fixes GPU alignment and any future env collision.config:
gpu_vendor(auto|amd|nvidia|intel, default auto) — centralizes per-vendor driver env (LIBVA + NVIDIA GLX/GBM), auto-detected from the DRM render node, applied to both the seat-streamer and the game launch (replaces a hardcodedradeonsi).Verified: clean launch → seat-streamer and game both report
LIBVA_DRIVER_NAME=radeonsi(wasnvidia).