graphics-profile: run the Series S trial offline instead of under Bubblewrap #622

Merged
NickStallman merged 1 commit from upstream-pr/622 into main 2026-12-01 15:21:32 +00:00
NickStallman commented 2026-12-01 14:57:00 +00:00 (Migrated from github.com)

Imported from brcly/TuxBox. Originally posted by NickStallman on 2026-12-01T14:57:00Z.


On some hosts the Series S registry step fails on every launch, so the profile can never be selected. The trial wrapped its launches in bwrap --unshare-net, and a second namespace cannot be created inside that one there: umu's own container fails with "No permissions to create a new namespace", and with --offline the launcher's unshare --user fails with "Operation not permitted". reg.exe exits 1 and the launch stops with "Could not select Series S mode".

This cuts the trial's network the way --offline already does, with the host's own wrapper (unshare --user --map-current-user --net), and leaves a host that is already offline as it is. Bubblewrap is no longer needed for it. host.py already probes for the same nesting limit for the Wine server binding.

Follows #618 (the persistent <prefix>-series-s copy), which noted this would come after it.

Measured

On a host with the limit (GE-Proton11-15), on a private copy of a prefix:

  • main ebb97bcf, offline and online: reg.exe exits 1, "Could not select Series S mode in the isolated prefix".
  • With this change, offline and online: reg.exe exits 0 and the Series S profile is selected.
  • The game itself has not been launched in Series S mode with this change.

Tests

  • A new unit test for the offline and online paths of the trial; the Python suite passes (813 tests, 24 skipped).

🤖 Generated with Claude Code

<!-- greyfinch-sync:brcly/TuxBox:issue:5588269282 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/622). Originally posted by [NickStallman](https://github.com/NickStallman) on 2026-12-01T14:57:00Z. --- On some hosts the Series S registry step fails on every launch, so the profile can never be selected. The trial wrapped its launches in `bwrap --unshare-net`, and a second namespace cannot be created inside that one there: umu's own container fails with "No permissions to create a new namespace", and with `--offline` the launcher's `unshare --user` fails with "Operation not permitted". reg.exe exits 1 and the launch stops with "Could not select Series S mode". This cuts the trial's network the way `--offline` already does, with the host's own wrapper (`unshare --user --map-current-user --net`), and leaves a host that is already offline as it is. Bubblewrap is no longer needed for it. `host.py` already probes for the same nesting limit for the Wine server binding. Follows #618 (the persistent `<prefix>-series-s` copy), which noted this would come after it. ## Measured On a host with the limit (GE-Proton11-15), on a private copy of a prefix: - main ebb97bcf, offline and online: reg.exe exits 1, "Could not select Series S mode in the isolated prefix". - With this change, offline and online: reg.exe exits 0 and the Series S profile is selected. - The game itself has not been launched in Series S mode with this change. ## Tests - A new unit test for the offline and online paths of the trial; the Python suite passes (813 tests, 24 skipped). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
brcly/TuxBox!622
No description provided.