graphics-profile: keep the Series S prefix between launches #618
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/618"
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?
Imported from brcly/TuxBox. Originally posted by csj0oe on 2026-12-01T11:32:30Z.
Summary
The Series S graphics profile copied the Wine prefix into a temporary directory and deleted it at exit. The title compiles a Series S pipeline set of its own when it first runs with the console mode, which took about eight minutes on the RX 7600, so every Series S launch paid that cost again.
This keeps the copy at
<prefix>-series-sand reuses it. The copy remains isolated from the packaged prefix: its registry receivesConsoleMode=96, and itsT:is replaced only when it points outside the copy.Verification
python -m unittest tests.test_graphics_profile— 5 tests pass (reuse, a failed copy, and bothT:cases).Console Type: Lockhart. The run later hit the placement texture-readback stall and the title's watchdog; that is the same failure as the packaged profile and is not addressed here.Notes
cp -a --reflink=auto; it appears atomically.<prefix>-series-sto force a fresh copy, for example after changing the runtime by hand.Imported from brcly/TuxBox. Originally posted by NickStallman on 2026-12-01T11:53:46Z.
A measured note on the Series S step, since this touches the same lines: on some hosts the registry step fails on every launch. Inside
bwrap --unshare-net, a second namespace cannot be created there: umu's own container fails with "No permissions to create a new namespace", and with--offlinethe launcher'sunshare --userfails with "Operation not permitted". reg.exe exits 1 and the launch stops with "Could not select Series S mode". Cutting the network for the trial with the launcher's own offline wrapper (unshare --user --map-current-user --net) instead of bwrap works there, with and without--offline.host.pyalready probes for the same nesting limit for the Wine server binding. I have that as a small change and will offer it after this PR, so as not to conflict with it.