Commit Graph
1020 Commits
Author SHA1 Message Date
Kurt Himebauch 3565752fe9 test(handoff): require a zombie parent in the unreaped-parent case 2026-11-28 03:29:53 -05:00
Kurt Himebauch b68437ab63 fix(handoff): keep __WALL waitid calls on the handoff path 2026-11-28 03:28:30 -05:00
Kurt Himebauch 1dfefac571 fix(handoff): getppid() gives init for an exited or replaced parent 2026-11-28 03:21:47 -05:00
Kurt Himebauch 25d97a414b fix(handoff): exact waitid selection, kept Steam and pipe readers, held reports 2026-11-28 03:11:47 -05:00
Kurt Himebauch 12a15a5526 fix(handoff): a handed-off program's getppid() is its forking process 2026-11-28 02:47:38 -05:00
Kurt Himebauch d629f83b8c fix(agent): tag handed-off game windows outside the reaper 2026-11-28 02:18:42 -05:00
Kurt Himebauch 404f540709 feat(handoff): hand off shell children near Android's process limit 2026-11-28 01:14:30 -05:00
Kurt Himebauch a91c2e8cfd fix(handoff): exact waitid events, safe exit timer, bounded request receipt 2026-11-28 00:29:56 -05:00
Kurt Himebauch 9940445ac1 fix(session): every exit-only waitid goes through the handoff wait 2026-11-28 00:07:30 -05:00
Kurt Himebauch 6906c65446 test(native): check the unlisted child's status only where a child can exec aarch64 2026-11-27 23:59:47 -05:00
Kurt Himebauch e559535ca2 fix(session): silent failed launches, bounded spawn requests and held check-gone writes 2026-11-27 23:46:40 -05:00
Kurt Himebauch e9444a0ddc fix(session): tell a reused pid's old entry by start time, not the reaped flag 2026-11-27 23:35:17 -05:00
Kurt Himebauch 41ba1f47c4 Merge remote-tracking branch 'origin/main' into research/phantom-process-limit
# Conflicts:
#	tools/nativeguest/hook/exec.c
2026-11-27 23:03:27 -05:00
Kurt Himebauch c0abf31a6b fix(native): start popen() and system() shells with posix_spawn (#3357) 2026-11-27 23:02:08 -05:00
Kurt Himebauch 144a85114e fix(session): confirm the hook before the worker runs, prefer a late report and free a reused pid 2026-11-27 23:01:58 -05:00
Kurt Himebauch 7c10d1fa85 test(native): skip the popen test where a spawn child cannot exec aarch64 2026-11-27 22:43:50 -05:00
Kurt Himebauch 25dbc97e68 test(native): run the popen test program with a clean environment 2026-11-27 22:32:40 -05:00
Kurt Himebauch 536759fca7 test(native): popen test shell is static, as the other hook fixtures 2026-11-27 22:12:37 -05:00
Kurt Himebauch 445a13abf4 fix(session): three-step launch, tagged exit reports and lock-free popen and system children 2026-11-27 22:05:56 -05:00
Kurt Himebauch 6f42e1cf1a fix(session): recheck a taken exit's child and commit a launch only on a whole go line 2026-11-27 19:03:38 -05:00
Kurt Himebauch 2ba290c2f1 fix(session): send a working directory outside the program's root by its real path 2026-11-27 18:44:40 -05:00
Kurt Himebauch 5aac22f277 fix(session): one owner per handoff exit, worker launch answers and spawn edge cases 2026-11-27 18:23:55 -05:00
Kurt Himebauch af481e5159 fix(session): confirm handoffs, honour wait selectors and stop spawns at teardown 2026-11-27 17:56:37 -05:00
Kurt Himebauch 4e2bfa5cdc fix(session): commit each worker launch explicitly and keep workers with the session that asked 2026-11-27 17:06:08 -05:00
Kurt Himebauch 924ad4e9a3 fix(nativeguest): address review findings in handoff waits, signals and spawn errors 2026-11-27 16:35:53 -05:00
Kurt Himebauch ba9b0b0422 perf(session): exec a worker as soon as its reply is in and keep two bound ahead; fix review findings 2026-11-27 16:18:08 -05:00
Kurt Himebauch ae6863d016 fix(nativeguest): let Steam end a handed-off game and keep process-group signals 2026-11-27 15:27:40 -05:00
Kurt Himebauch e418f99aa0 feat(nativeguest): hand off posix_spawn children and keep handed-off daemons alive 2026-11-27 14:27:43 -05:00
Kurt Himebauch bbb4d11bf0 feat(session): run the session root, its jobs and the gamescope chain outside the child-process count 2026-11-27 12:44:11 -05:00
Kurt Himebauch 592d03f69a test(nativeguest): cover the exec handoff's wait and kill 2026-11-27 11:15:56 -05:00
Kurt Himebauch 146b93dd6c test(session): run the session bus block with dd_spawn 2026-11-27 11:12:47 -05:00
Kurt Himebauch aedac67f6d feat(nativeguest): hand long-lived programs to uncounted worker processes 2026-11-27 11:07:04 -05:00
Kurt Himebauch 1e022e2430 feat(session): start long-lived daemons in uncounted worker processes 2026-11-27 10:11:27 -05:00
Kurt Himebauch 2e170ae12b docs: research Android's child-process limit without developer options 2026-11-27 09:45:04 -05:00
FryMcNugget b08d8e8e19 feat(ea): start Steam's copies of EA games without the EA app (#3021) 2026-11-27 08:32:55 -05:00
xlulx 2dc74f7574 fix(bionic): DroidDeck's DirectAudio settings, the microphone among them, reach Bionic Wine's audio driver (#3277) 2026-11-27 08:27:32 -05:00
Kurt Himebauch 0dea571c63 fix(mesa): zink reclaims memory a client freed once it goes idle (#3320) 2026-11-27 08:25:45 -05:00
MaxsTechReview 5f088283af fix(session): Game cores changed during a session apply to the next launch (#3314) 2026-11-27 06:36:19 -05:00
Kurt Himebauch 8e25301a77 feat(bottom): bottom screen research, Quick Access, game art, guides and mirror panels (#3290)
* docs: bottom screen research and proposals

* docs: expand bottom screen region mirror, guides and companion API

* feat(bottom): idle home card, per-game panel memory, Steam achievements tab and screen off

* feat(bottom): quick tiles page on the dashboard

* feat(bottom): Steam guides tab with per-game reading position

* feat(bottom): companion page with Stardew, Skyrim and Fallout 4 adapters

* docs: bottom screen implementation status

* feat(bottom): mirror a region of the game picture on the bottom screen

* fix(bottom): follow Steam's selection for any game, composite while mirroring

* docs: bottom screen hardware results and screenshots

* feat(bottom): guides wiki, fixes, maps and saved pages; hide mirrored region on top

* feat(bottom): guides, mirror and companion as their own panels in the app's settings style

* feat(bottom): Steam's Quick Access menu as a bottom screen panel

* fix(bottom): park Steam's Quick Access through its own bounds and keep it open on a lease

* feat(bottom): align Quick Access left, centre or right; keep its tab and Decky working

* fix(bottom): quieter Quick Access move handles, instant reopen, Decky tab after a cold start

* fix(bottom): lay Quick Access out at the panel's shape so every tab keeps one size

* feat(bottom): Quick Access tabs fill the bottom screen

* fix(bottom): the Quick Access button still opens the menu on the top screen

* feat(bottom): choose Quick Access layout from the bar: full width, left, center or right

* feat(bottom): brightness slider for the bottom screen with screen off at its end

* feat(bottom): game art panel, hideable bar with a pull tab, direct guide links, centred guide tabs

* fix(bottom): mirror fills the panel, options open from the bar

* docs: drop the removed dashboard row screenshot

* refactor(bottom): split the companion panel into its own change

* fix(bottom): Steam dialogs take input over the parked Quick Access menu; review fixes

* fix(bottom): extract the Quick Access relay at session start; second review round

* fix(bottom): game art refreshes details for the same game

* fix(bottom): Quick Access retries back off; art never shows another game for the running one

* fix(bottom): Quick Access keeps its lease through retry backoff

* fix(bottom): renew the Quick Access lease apart from discovery

* fix(bottom): a Quick Access panel releases only its own lease

* fix(bottom): an older Quick Access panel cannot take back a newer panel's lease

* test(bottom): an expired Quick Access lease can be taken by any panel

* fix(bottom): only the Quick Access lease owner sets the menu's shape
2026-11-27 05:15:57 -05:00
LunaDL e0296a1176 Feat(Shaders): Improves SMAA quality and better performance of screen effects (#3051) 2026-11-26 21:58:08 -05:00
MaxsTechReview 2ce1563b5f fix(display): clients pacing on presentation feedback draw at the frame limit, not the panel rate (#3311)
Report the frame limit's interval as the refresh in presentation feedback
2026-11-26 21:55:32 -05:00
Kurt Himebauch d9a9f9fed7 fix(zram): find the control files under the native userland root (#3293) 2026-11-26 21:20:22 -05:00
MaxsTechReview eace3106d6 fix(display): a frame limit no longer piles up releases for clients that draw into new buffers (#3310)
* Stop holding releases for clients that never wait for them

* Cover the release queue cap in the release regression tests
2026-11-26 20:10:30 -05:00
MaxsTechReview aff81a13e3 perf(session): read process command lines in one call in the zRAM watcher (#3302)
Read process command lines in one call in the zRAM watcher

The watcher read every /proc/<pid>/cmdline one byte per system call, costing about 390 ms of CPU per scan every 5 s (every second under memory pressure). mapfile reads in blocks and yields the same argument list, cutting a scan to about 17 ms.
2026-11-26 18:04:24 -05:00
MaxsTechReview 3dbcefc14c fix(fex): x86 .NET guests suspend threads without injected signals (#3291)
* fix(fex): x86 .NET guests suspend threads without injected signals

* fix(fex): keep a COMPlus_ thread-suspend override and cover older .NET guests

* fix(fex): treat empty ThreadSuspendInjection values as unset
2026-11-26 17:51:25 -05:00
MaxsTechReview 1f016211f2 perf(nativeguest): resolve mount sources once per session instead of in every process (#3276)
* perf(nativeguest): resolve mount sources once per session instead of in every process

Each new process walked every mount source of the session through
realpath() before main(), one readlinkat per path component (about 960
calls for a desktop session), which made a process start about three
times slower than with no mounts. The sources are now looked up through
the kernel (one open and one readlink each), a source named twice is
looked up once, and the resolved table is handed to child processes in
DDNATV_BINDS_KERNEL, keyed by a hash of DDNATV_BINDS so a changed mount
list is resolved afresh. Sources under /proc are never handed down,
since they name the process itself.

* fix(nativeguest): hand the bind table to children on its own and keep unsafe sources out of it

A child given the bind specification without its table now gets the table
too. Sources reached through /proc with extra leading slashes, and real
places that hold the table's separator, are left for each child to look up.

* test(nativeguest): skip the child exec check where the host cannot start the probe

* fix(nativeguest): keep a bind table too long for the environment out of it

* fix(nativeguest): resolve libc path helpers before any fork can race them
2026-11-26 15:45:51 -05:00
MaxsTechReview 46f99b9e08 fix(nativeguest): Downloads and Documents are writable in the desktop file manager (#3274)
fix(nativeguest): shared storage files are root's like the SD card's

Android's internal shared storage reports its files as owned by the media
provider with the media_rw group, so desktop file managers saw Downloads and
Documents as someone else's and showed them read-only, with rename, delete and
new folder unavailable. Files in the media_rw group are now presented as
owned by root, as the SD card already is; the group is kept.
2026-11-26 10:30:32 -05:00
MaxsTechReview dcb1a3001b fix(desktop): Downloads, Documents and game folder links work again without proot (#3273)
Links made in a proot session store the guest path as their target, which the
kernel cannot follow in the middle of a path once the session runs without
proot: the folders listed, but nothing inside them could be opened or created.
The desktop setup now makes a link again when it cannot be walked into, so it
is stored in the form the current mode follows.
2026-11-26 10:30:28 -05:00
MaxsTechReview dbfcd764f3 perf(nativeguest): keep relative parent walks relative inside mounts without links (#3249)
* perf(nativeguest): keep relative parent walks relative inside mounts without links

A relative path with .. made the hook rebuild the full absolute host
path, so every component was looked up again from the root of the card.
Inside a mount that cannot hold symlinks, a path that never climbs
above the mount resolves the same way relative to the working
directory, so the kernel now gets it unchanged.

* Keep the absolute walk when another guest bind sits inside the mount

* Check every guest path of the card's folder for nested binds

* Keep the absolute walk inside the rootfs and under identity binds

* Keep the absolute walk when two binds share a guest path
2026-11-26 09:48:56 -05:00
MaxsTechReview 96e4bd4eab fix(fex): x86-64 programs on Wayland render on the GPU (#3174)
* fix(fex): x86-64 programs on Wayland render on the GPU

* fix(fex): address review on the Wayland and EGL thunks

Keep the GLES overlay on the 64-bit EGL thunk only, filter EGL extensions
whose entrypoints the guest lacks, accept EGLDeviceEXT displays, make the
Wayland display check thread-safe, bound event signature copies, reject a
second listener without freeing the first and guard wl_array_add growth.

The FEX updater now removes thunk libraries a new build no longer ships, so
an older 32-bit Wayland or EGL thunk cannot be enabled by the new config.

* fix(fex): check every EGL extension entrypoint and every host device

EGL_EXTENSIONS now hides an extension unless the guest exports all of its
entrypoints, using a table built from the EGL registry. eglGetDisplay asks
the host for its device count before matching EGLDeviceEXT handles.

* fix(fex): pick the eglGetDisplay platform the way Mesa does

A legacy eglGetDisplay handle now follows EGL_PLATFORM or EGL_DISPLAY first,
then Wayland detection, and only then the X11 mapping, so device handles no
longer depend on enumerating host devices.
2026-11-26 05:34:42 -05:00