Commit Graph
769 Commits
Author SHA1 Message Date
Kurt Himebauch 9003ed14c0 fix(components): an origin APK without a newer preload output still proves the rest 2026-11-09 13:51:13 -05:00
Kurt Himebauch 0c5219b225 feat(native): guests see the session hostname from uname and gethostname 2026-11-09 13:36:38 -05:00
Kurt Himebauch bde8c9fbed fix(native): __getcwd_chk checks its buffer, and seccomp-sim -a takes only call numbers 2026-11-09 13:23:11 -05:00
Kurt Himebauch 107cefbf46 fix(native): a spawn whose dup2 source close-from closed fails with EBADF 2026-11-09 13:23:10 -05:00
Kurt Himebauch 436e99e02b fix(native): the resolver fallback has the network's IPv6 servers, and lookups keep the fallback's validation errors 2026-11-09 13:23:09 -05:00
Kurt Himebauch 5a626cd27a fix(ctl): native rejects --env without = and timeouts outside 0-600 s 2026-11-09 13:15:54 -05:00
Kurt Himebauch 93393485b9 fix(native): any number of session mounts, and openat2 relative to a mounted folder 2026-11-09 13:15:54 -05:00
Kurt Himebauch 73ac363b08 fix(ci): a preload lock older than a new output rebuilds that group, and generated headers are not hashed 2026-11-09 13:07:46 -05:00
Kurt Himebauch e8e7bc961e fix(native): res_init and res_ninit call glibc, so Steam's store resolves names 2026-11-09 12:58:50 -05:00
Kurt Himebauch ab4eb2a48e fix(native): pre-2.33 glibc stat calls present owners as root too 2026-11-09 12:52:24 -05:00
Kurt Himebauch 507ccc6655 merge main into feat/native-userland-no-proot 2026-11-09 12:39:42 -05:00
Kurt Himebauch 941cfe9c44 fix(ctl): the broadcast fallback only stands in for a missing content command 2026-11-09 12:26:37 -05:00
Kurt Himebauch 05f50c3232 fix(native): seccomp-sim's filter holds every allowed call 2026-11-09 12:26:37 -05:00
Kurt Himebauch d05f895ccf build(native): the hook is built with its Go support and tracked by the preload recipe 2026-11-09 12:26:36 -05:00
Kurt Himebauch 092661b69c fix(native): service names resolve and the DNS fallback answers what was asked 2026-11-09 12:26:36 -05:00
Kurt Himebauch c8757e7a94 fix(native): close-from in spawned programs covers what is open at the spawn 2026-11-09 12:26:36 -05:00
Kurt Himebauch d6363d3b48 fix(native): at-calls, uid lookups and relative programs follow the session's mounts 2026-11-09 12:26:36 -05:00
Kurt Himebauch 9c2fa6bf19 fix(native): games on the SD card library start in their own folder 2026-11-09 11:20:39 -05:00
Kurt Himebauch cb7cfd516e fix(native): scripts on session mounts outside the rootfs run with the rootfs shell 2026-11-09 09:06:11 -05:00
Kurt Himebauch ea51a373d7 fix(native): D-Bus logins work and Xwayland still admits root once peers read as root 2026-11-09 09:06:11 -05:00
MaxsTechReview 96a12465e0 fix(session): stop re-compressing game memory every 30 s when the game reads it straight back (#2312)
* fix(session): stop re-compressing game memory every 30 s when the game reads it straight back

On devices with 13 GB or less, the low-memory page-out skipped its
read-back backoff whenever memory was nearly exhausted. When the game
was actively using what was compressed, it read it straight back, so
the session pushed and re-read gigabytes every 30 seconds, pinning all
cores and freezing the game for 5-10 s each time. The read-back check
now applies on that path too: an effective page-out still repeats every
30 s, an ineffective one backs off as on the normal path.

* zRAM: keep the read-back backoff on the nearly-out-of-memory path

* zRAM: retry a skipped page-out after 30 s when nearly out of memory
2026-11-09 02:08:40 -05:00
Kurt Himebauch 88d6b70881 fix(ctl): reach the agent bridge by broadcast when the shell has no content command (#2321) 2026-11-09 00:00:20 -05:00
Kurt Himebauch c0bcebc919 fix(native): write the hook's NUL character literals as escapes 2026-11-08 23:38:55 -05:00
Kurt Himebauch c50d424e92 fix(native): controllers reach Steam and the install-script evaluator no longer blocks game moves 2026-11-08 23:37:57 -05:00
MaxsTechReview 29823bb1bf fix(steam): Linux-only tools keep their native platform (#2313)
* fix(steam): reconcile tool dependencies by supported platform

* fix(steam): refresh tool metadata and clear stale GE mappings

* fix(steam): clear any Proton mapping from Linux-only tools

* fix(steam): watch folders the client creates after the helper starts

* Watch each missing directory level as it appears

* Make the watcher level test wait on inotify readiness
2026-11-08 22:22:22 -05:00
Kurt Himebauch b835ecbe28 fix(native): nested syscall() redirects no longer loop with libblsession's openat2 2026-11-08 21:36:10 -05:00
Kurt Himebauch 1355cb3a2b fix(ci): handle empty commit lookup responses 2026-11-08 21:13:53 -05:00
Kurt Himebauch 51407155fc fix(ci): keep commit lookup failures from blocking notices 2026-11-08 21:12:58 -05:00
Kurt Himebauch b4a953c659 fix(ci): post new Discord notice for each PR build 2026-11-08 21:08:22 -05:00
MaxsTechReview 6b110581ac fix(gog): install scripts' support files reach the prefix (#2294)
* fix(gog): install scripts' support files reach the prefix

A goggame-<id>.script can copy files into the prefix with supportData
actions: default INI files, Plugins.txt and other settings that mods such
as one-click editions need. Only setRegistry actions were applied, so
those games started without their configuration and ran as the base game.

droiddeck-store-launch now applies supportData after the registry, once
per script revision: copies from {app} and {supportDir} into {userdocs}
and {localappdata}, matching paths without regard to case. Links are
copied as links, paths outside those folders are refused, and existing
files are replaced only when the action asks for it.

* Keep GOG support data copies inside the game and prefix folders

* Copy linked GOG support sources as links and keep a player's own links
2026-11-08 18:45:53 -05:00
MaxsTechReview 92742f37c1 fix(preload): answer netlink requests sent with write and writev (#2304) 2026-11-08 18:40:57 -05:00
Kurt Himebauch 7fa7e7f05d docs(native): how to test under Android's seccomp filter 2026-11-08 16:53:38 -05:00
Kurt Himebauch a7c10e3f51 fix(session): give Steam a session bus so launches stop hanging at the install script (#2303) 2026-11-08 16:53:01 -05:00
Kurt Himebauch 70adc2d0f6 fix(native): survive Android's seccomp filter in ld.so, libc and posix_spawn children 2026-11-08 16:46:33 -05:00
Kurt Himebauch 74f7bfd99f fix(ctl): use the broadcast fallback only when content is missing 2026-11-08 15:30:20 -05:00
Kurt Himebauch 933047e130 fix(native): address review findings in the hook and the ctl fallback 2026-11-08 15:10:43 -05:00
Kurt Himebauch e930a4997c fix(ci): run the native hook build through bash 2026-11-08 15:05:09 -05:00
Kurt Himebauch ea9e38f6bb fix(native): keep the visible name of link2symlink binaries 2026-11-08 15:02:56 -05:00
Kurt Himebauch 70c33fc039 feat: experimental native userland that runs the Linux side without proot 2026-11-08 14:53:52 -05:00
MaxsTechReview 1760f008ae fix(desktop): Flatpak and Snap apps get the game GPU setting (#2295)
The session's TU_DEBUG=sysmem is meant for the Steam client and
Chromium-based apps. Flatpak and Snap apps inherited it, so emulators
and other programs installed that way rendered through system memory.

droiddeck-game-env now holds the Chromium check next to game_gpu, and a
small droiddeck-game-gpu wrapper applies both to any program. The
AppImage, Flatpak and Snap launchers use it, so the rule lives in one
place.
2026-11-08 14:39:31 -05:00
MaxsTechReview 3bb279f635 fix(appimage): emulators and other AppImage programs get the game GPU setting (#2288)
The session sets TU_DEBUG=sysmem for the Steam client's interface and hands
games their own value in DROIDDECK_GAME_TU_DEBUG, which droiddeck-game-env
applies to Steam launches (#1188). droiddeck-appimage-run never did, so
emulators and other AppImage programs rendered every pass through system
memory instead of Turnip's per render pass choice.

Apply the game value in droiddeck-appimage-run the same way: an empty
value unsets TU_DEBUG, any other value replaces it. Chromium-based apps,
like the Steam client's own interface, keep the session's setting.
2026-11-08 12:23:30 -05:00
MaxsTechReview 3fef1f3fa1 fix(proton): a Proton picked for a game in Steam is kept (#2284)
fix(proton): a Valve Proton picked for a game in Steam stays on the ARM64 build made from it

Steam lists Valve's own Proton Experimental and Proton 11.0 next to the
DroidDeck tools. They are not runnable here, so a per-game pick of one was
replaced with the default. That used to be Proton Experimental ARM64, so the
pick looked kept; since an installed DroidDeck-Proton became the default, the
game is moved to DroidDeck-Proton instead.

When Steam records one of those tools for a title the sync already knows
(a title it mapped or one with a recorded pick), the title now gets the
DroidDeck tool built from the same Valve depot, stops following the default
and the choice is mirrored into the app's per-game setting. The same applies
to Steam's default. Titles nobody picked anything for still follow the
default, and Valve tools with no ARM64 build still fall back to it.
2026-11-08 12:03:21 -05:00
MaxsTechReview a4f26799ab fix(mesa): Zink on PowerVR shows colour again instead of grayscale (#2287)
Mesa 26.0.8, which the Ubuntu runtime builds, carries the backport of
"zink: create views for samplers lazily", which dropped the depth/stencil
aspect check in init_sampler_view(). On drivers with
needs_zs_shader_swizzle (Imagination) every colour view with a constant-1
alpha, such as RGBX/BGRX textures, then got the red-only depth swizzle
view, so Steam's interface and games showed red as R=G=B.

Carry Icenowy Zheng's upstream fix d55418dae7 (Mesa MR 41923), which
restores the aspect check. It applies on top of patch 0004.
2026-11-08 11:48:11 -05:00
MaxsTechReview 005fec2125 chore: pin gamescope to the DroidDeck-Components p23 release (#2285) 2026-11-08 11:37:54 -05:00
MaxsTechReview 2e70b8ed73 fix(gamescope): taps reach dialogs and windows away from the screen origin (#2280) 2026-11-08 10:44:00 -05:00
MaxsTechReview 74c0f2127a fix(proot): lay out ARM64 programs like the kernel so large reservations fit (#2279) 2026-11-08 10:43:57 -05:00
MaxsTechReview 51e5e3a2a4 ci: a finished build reports on pull requests from forks (#2277)
When a Build APK run finishes, Build validation finds its pull request with
commits/{sha}/pulls, which GitHub answers with an empty list for a commit that
only exists on a fork. The validator then took the build as superseded, so the
"Build APK" status of every fork pull request stayed at "awaiting APK
compilation" after a successful build. It now falls back to the open pull
request for the run's head owner and branch, still requiring the head commit
to match.
2026-11-08 09:07:36 -05:00
MaxsTechReview c755d05473 ci: cache the pinned Turnip archive and retry its download (#2276)
* ci: cache the pinned Turnip archive and retry its download

"Prepare graphics driver variants" fetched the same checksum-pinned Banners-Turnip
zip from GitHub on every run with a single 120 s attempt, so a 502 or a read
timeout failed whole PR builds three times today. The archive is now cached
between runs (it is still checked against its SHA-256 after a restore), and a
cold download is retried on timeouts, 429 and 5xx with a growing pause.

* ci: keep PowerVR's verified downloads between runs

tools/powervr/fetch.py already keeps checksum-verified downloads in
~/.cache/droiddeck-build, but CI never saved that folder, so every run fetched
the PowerVR components again and a read timeout failed "Build the add-on
packs". The folder joins the existing pack-inputs cache, keyed on
release.json too.
2026-11-08 09:07:31 -05:00
MaxsTechReview aa883830ca fix(session): give the runtime a machine ID so D-Bus programs such as melonDS start (#2275)
* fix(session): give the runtime a machine ID so D-Bus programs start

The Ubuntu runtime ships an empty /etc/machine-id for systemd to fill on first
boot, and nothing fills it in a DroidDeck session. libdbus aborts when it needs
the ID ("D-Bus library appears to be incorrectly set up"), so melonDS closed at
once from the desktop and GTK Flatpaks started outside the session bus failed.

The session now writes a fresh ID once when the file is empty or malformed and
never changes a valid one.

* fix(session): check the whole machine ID file and reject the all-zero ID
2026-11-08 08:54:56 -05:00
MaxsTechReview 45e39b7aaf fix(desktop): catalog AppImages such as RPCS3 start from the desktop menu again (#2274)
fix(desktop): catalog AppImages start from the desktop menu through the shipped runtime

RPCS3 from the desktop menu exited at once: its own AppImage runtime runs
dwarfsextract from a memfd, which PRoot cannot execute (EACCES), and it has no
fallback. Emulator rail launches already avoid this by starting arm64 images
through the shipped uruntime (#1191); the menu entries the catalog writes did not.

The rule now lives in one launcher, droiddeck-appimage-exec, used by the session
and by the catalog's menu entries. Entries written by older versions are moved
to it with the existing menu migration.
2026-11-08 08:39:23 -05:00