Commit Graph
777 Commits
Author SHA1 Message Date
Kurt Himebauch ae0ab9eabe fix(native): DNS lookups ask the network's own servers before public ones 2026-11-09 16:09:58 -05:00
Kurt Himebauch 211d886a15 fix(native): a SysV segment stays while any process has it attached 2026-11-09 16:09:58 -05:00
Kurt Himebauch d18fe5c755 fix(native): the library path given to ld.so holds whole directories only 2026-11-09 15:38:03 -05:00
Kurt Himebauch f69e47a3a1 fix(native): gethostbyname asks the network's DNS servers, nftw of / gives single slashes, and the library path fits mapped directories 2026-11-09 15:20:58 -05:00
Kurt Himebauch d9c694858c fix(native): remove, glob and nftw take guest paths, and links in a mount are followed as the guest sees them 2026-11-09 14:57:50 -05:00
Kurt Himebauch 8b90d3f9e0 fix(native): the hook finds libraries, preloads and itself through a sandbox's mounts, and ldconfig -C makes its cache 2026-11-09 14:14:47 -05:00
Kurt Himebauch f88d6a8f26 fix(native): gethostbyname no longer answers failed lookups with Ubuntu and Debian addresses 2026-11-09 13:51:13 -05:00
Kurt Himebauch 54acba5f94 fix(native): seccomp-sim -a rejects empty fields 2026-11-09 13:51:13 -05:00
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