Kurt Himebauch
61bc8e03b2
fix(handoff): self-recorded forks, ELF and wait option checks, both nofile limits
2026-11-28 11:46:29 -05:00
Kurt Himebauch
de573892f2
fix(handoff): an unknown-start fork record never replaces a pending one
2026-11-28 11:20:27 -05:00
Kurt Himebauch
13a327cfa7
Merge remote-tracking branch 'origin/main' into research/phantom-process-limit
...
# Conflicts:
# app/src/main/java/com/droiddeck/launcher/session/SessionService.kt
2026-11-28 11:01:11 -05:00
MaxsTechReview
65ebefc38f
fix(desktop): Help Center, Software Sources and the driver manager open ( #3371 )
...
* fix(desktop): apps built on Qt's web engine start in the desktop and from AppImages
The desktop runs as root, and Qt WebEngine refuses to start as root with its
sandbox on, so Help Center and any other QtWebEngine app exited at once. Flatpaks
already had the sandbox off; the desktop and the AppImage runner now set it the
same way they turn off Firefox's sandboxes.
* fix(desktop): Software Sources and the driver manager open
software-properties-qt imports PyQt6.uic and UbuntuDrivers but does not depend
on the packages that ship them, so both tools died with an ImportError on the
installed-without-recommends desktop. The desktop package list now carries
pyqt6-dev-tools and ubuntu-drivers-common.
2026-11-28 10:24:50 -05:00
Kurt Himebauch
056be5f3a1
test(semaphores): count only reaped children, only futex waits as emulator stalls
2026-11-28 09:29:27 -05:00
Kurt Himebauch
7221782940
test(semaphores): tell a child hung in qemu-user from a guest deadlock
2026-11-28 09:00:40 -05:00
Kurt Himebauch
b65af1fa9f
fix(handoff): fork record generations, no pidfd restore after a failed move
2026-11-28 08:10:02 -05:00
Kurt Himebauch
2748ae9f5a
fix(handoff): liveness check under the pidfd lock, forget only a reaped pid's record
2026-11-28 07:41:36 -05:00
Kurt Himebauch
87fbe91940
fix(handoff): fresh fork records in a forked child, heir is the first live thread
2026-11-28 07:13:56 -05:00
Kurt Himebauch
68a3fa1d52
fix(handoff): fork records by pid, a gone thread's children go to the main one
2026-11-28 06:29:59 -05:00
Kurt Himebauch
60175ec3ec
fix(handoff): a parent /proc cannot read is checked with kill(), then given up
2026-11-28 05:20:49 -05:00
Kurt Himebauch
9463765104
fix(handoff): a child whose forking thread ended is any thread's
2026-11-28 05:17:49 -05:00
Kurt Himebauch
a77abf3293
fix(handoff): controlling-terminal check via /dev/tty, owned records only
2026-11-28 05:13:51 -05:00
Kurt Himebauch
b581fc8bdc
fix(handoff): keep the forking thread of each child in the parent
2026-11-28 04:19:08 -05:00
Kurt Himebauch
574f1f8700
fix(handoff): __WNOTHREAD on waits for a pid, flags on every shim reap
2026-11-28 03:59:33 -05:00
FX1922
db12b8a1ad
Fix: Recover compositor after Vulkan device loss ( #3355 )
...
## Problem
When Vulkan returns `VK_ERROR_DEVICE_LOST`, the compositor stops
presenting and remains in a terminal state. Shared-memory-backed images
also need to keep receiving fresh pixel data while the renderer is
unavailable.
## Fix
- **Fix:** Keep the shared-memory image backup up to date while Vulkan
is unavailable.
- **Fix:** Preserve incoming pixel updates in CPU memory instead of
relying on stale Vulkan resources.
- **Fix:** Keep the unsafe device-reinitialization path guarded when GPU
work may still be pending.
- **Build:** Add the missing Frame Generation stub for builds without
that feature.
- **Tests:** Cover shared-memory updates during device loss and the
recovery failure path.
The recovery path is best-effort and remains optional; it does not
become a requirement for starting the rest of DroidDeck.
## Info
This hopefully should help in some cases, this fix was found in the
investigation for the bug in pr #3343 , idk if it will fix that problem.
But should essentially the last hope for some devices in some cases.
## Testing
- Added regression coverage for shared-memory pixel updates during
device loss.
- Added test stubs for renderer-module cleanup callbacks.
- Full test/build results are tracked by GitHub Actions; device-level
recovery still needs verification on affected hardware.
2026-11-28 11:56:58 +03:00
Kurt Himebauch
3c9ba04b23
fix(handoff): honor __WNOTHREAD and check every argument for Steam
2026-11-28 03:41:51 -05:00
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
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
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
LunaDL
47950e2c1a
style: remove added code comments
2026-11-27 21:59:08 -04:00
LunaDL
8bb951ff50
style: remove added code comments
2026-11-27 21:59:05 -04:00
LunaDL
edabc44ff2
test(vulkan): cover unconfirmed device-loss completion
2026-11-27 21:57:48 -04:00
LunaDL
5115cad583
test(vulkan): cover unconfirmed device-loss completion
2026-11-27 21:57:45 -04:00
LunaDL
60df9795dd
test: define image source enum in layer harness
2026-11-27 20:53:31 -04:00
LunaDL
34ac8e2e72
test: sync pending completion harness with image metadata
2026-11-27 20:52:45 -04:00
LunaDL
cfaa57433e
test: define image source enum in effects harness
2026-11-27 20:52:43 -04: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
LunaDL
1d3487bf3b
test(vulkan): exercise failed device recovery safely
2026-11-27 20:00:29 -04:00
LunaDL
9d5a8c8e38
test(vulkan): cover recovery initialization failure
2026-11-27 19:59:55 -04:00
LunaDL
caf0d6e77b
fix(vulkan): harden device-loss recovery
2026-11-27 19:39:29 -04: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
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
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