* fix(epic): install the Epic Games Launcher from its Linux .deb
Epic no longer serves the Linux AppImage: the installer URL answers 404
errors.com.epicgames.launcher.app_direct_url_not_found (30003), so Install
failed for everyone. Epic now ships EpicGamesLauncher-x86_64.deb
(0.113.0+g2164614).
- The installer downloads the .deb, checks its ar magic and the CDN ETag,
and droiddeck-epic unpacks its data.tar.* member straight from the
archive.
- The .deb links WebKitGTK 4.1, JavaScriptCoreGTK 4.1 and GTK 3, which the
Steam Runtime 4 image does not ship. 32 Debian 13 amd64 packages, pinned
by SHA-256 and size (60.2 MB download, 201 MB unpacked), are unpacked
into the launcher's desktop/ folder (shared libraries only) and put on
its LD_LIBRARY_PATH. Debian 13 matches the runtime's own base, so only
sonames the runtime lacks are added. Each package falls back to
snapshot.debian.org when the deb.debian.org pool has moved on.
- WebKit starts its helper processes from its built-in
/usr/lib/x86_64-linux-gnu/webkit2gtk-4.1 path, so each launch links that
folder in the runtime to the layer's copy.
- An installed AppImage launcher keeps starting through its AppRun; the
next update check moves it to the .deb.
Closure checked offline: every ELF in the .deb and the layer resolves with
the runtime's own ld-linux-x86-64.so.2 inside a sandbox holding only the
runtime, the layer and libGLESv2 (0 missing, 0 version or undefined
symbol errors with LD_BIND_NOW).
Based on zooluis's research in #2268.
Co-authored-by: zooluis <150430329+zooluis@users.noreply.github.com>
* fix(epic): provide desktop GLib data paths
* fix(epic): keep archive symlinks from redirecting the desktop layer and icon
---------
Co-authored-by: zooluis <150430329+zooluis@users.noreply.github.com>
* feat(updates): install any kept Preview build, link builds to their PR and commit, flag stale test builds
* fix(updates): address review of the Updates tab history and test-build watch
* fix(updates): notify on switch to a followed PR, keep higher-version rebuilds installable
* fix(ci): let full reruns replace every artifact, note only expired PR builds
* fix(ci): leave the rebuild note only when the PR build is too old to rerun
* fix(ci): poll unfinished PR builds together and queue version-bump runs
* fix(ci): also rebuild PR builds that were running when the versionCode changed
* fix(ci): rebuild fork and just-finished PR builds, recheck the PR head before a rerun
* fix(ci): fail the rebuild sweep when finding candidates fails
* fix(ci): time the bump from the rebuild run's creation and scan unfinished builds of any age
* fix(ci): check the latest build of every open PR instead of scanning run history
* fix(ci): count PR builds that finish between the version push and the rebuild run
* fix(ci): use the push time from the event as the rebuild boundary
With a single GPU heap DXVK reports the whole heap as shared memory too, so games still saw ~8 GB as shared even with the cap on. Set dxgi.maxSharedMemory to the same value, like BattleNet already does.
Co-authored-by: Tapuuk <177422350+Tapuuk@users.noreply.github.com>
* fix(battlenet): a Battle.net download that stops moving ends as retryable, and a killed update comes back as an update
A job reply without a state or byte counts no longer counts as a started
download, and an Agent job that reports no change for ten minutes is
stopped with its Agent and fails with a Retry instead of waiting forever.
Updates remember their game folder in the saved queue, so one restored
after the app was closed runs agent-update on that folder instead of a
fresh install.
* fix(battlenet): a stalled job stops only the Agent it started
A game or Battle.net client running in the prefix keeps running when a
stalled Agent job is ended, and the progress test keeps the job alive
across polls with a controlled clock.
* fix(battlenet): only real progress holds off the stall timeout
The download rate and time estimate can change while no bytes move, so
the stall timer now resets only on byte counts, progress, state, phase,
pause or error.
* test(battlenet): bound the stalled-rate fake child's polls
* fix(native): drive links stored as rootfs paths reach the game library mount
* fix(native): relative drive links reach the game library mount
* fix(native): keep the path after a relative drive link as written
* fix(native): relative links that climb past the rootfs root stop at the guest root
Proton copies default_pfx/dosdevices/z: into each prefix with readlink and
symlink. The relinked target climbs as many folders as default_pfx is deep,
which is one more than a Steam prefix, so natively the kernel left the rootfs
and Z: pointed at the app's files folder. Proot stops ".." at the guest root;
the hook now does the same for links it resolves.
* fix(native): resolve drive links in prefixes stored in bind sources outside the rootfs
* fix(native): detect equal-length mount conversion for bound prefixes
* feat(agent): GitHub sign-in floats its device code over the browser
* fix(agent): the device code falls back to the browser when nothing could open
* fix(agent): dd-gh-login waits for DroidDeck to report whether the page opened
* fix(session): the Steam UI on the Mali bridge stops flickering
On the Mali bridge Steam's own web helper layout makes the Deck UI footer
and overlays flicker (Mali-G78 MP14). When the browser UI is on the GPU,
default to ANGLE on Vulkan without Chromium's Vulkan compositing. Values
set by the user still win, and the software UI path is unchanged.
* fix(session): keep empty Mali bridge CEF settings as set
With "Run without proot" on, the Steam client hung about a second after
login and aborted three minutes later with "fatal stalled cross-thread
pipe". The directory cache holds its lock while it adds an inotify watch.
Without proot that call reaches the native userland hook, whose
inotify_add_watch creates a missing directory with mkdir() by name. That
mkdir resolves to the cache's own wrapper, which waits for the same lock
on the same thread. Steam's IPC threads then queue behind it.
The cache now counts the locks each thread holds. While a thread holds
one, calls that come back into the cache (opendir, the change wrappers,
created files, missing-name checks, closedir of a stream it did not open)
go straight to the next library. The same guard covers the hook's
remove(), which calls unlink() by name while the cache's remove wrapper
holds its operation lock.
* fix(proot): fchdir takes the open directory's path instead of walking it again
* fix(proot): fchdir keeps trailing-period names and rechecks the binding's parent
The descriptor path now carries the same final marker the walk produced, so a directory whose name ends with a period is not truncated. The parent of the matching binding is resolved again, so a binding whose ancestor was replaced by a symlink takes the full walk as before. The check script gains a trailing-period directory.
* fix(proot): fchdir requires the binding's parent to be a directory
* Stop searching whole libraries on every game launch and session start
The install script search ran over every library whenever any game's
manifest changed, and again on each launch. It now runs per game, only
when that game's build changes, and a launch that names its scripts
does no search at all.
A store game's shortcut walked its install folder on every scan instead
of reusing the ranking the scan keeps.
* Search a library for install scripts after the session has started, not before
* fix(session): keep deferred seeding off a running prefix and recheck old folder caches
* test(session): bound the held library search in the deferred seeding test
* fix(session): search a game again when its install script search failed
* fix(steam): share the Steam app's prefix with shortcuts of the same install
* fix(steam): prefer the matching install's save prefix
* fix(steam): tolerate an unreadable library when linking a shortcut prefix
A library folder that cannot be listed made the shortcut writer exit, so no added game was registered.
* fix(steam): repair a dangling shortcut prefix link and keep Steam library installs to their own prefix
* fix(steam): only change shortcut prefix links the importer created
* fix(steam): record a prefix link only when the importer created it
Android's FUSE daemon has no symlink or link, so those calls on a storage card return ENOSYS. The fast path read any ENOSYS from its trampoline as a seccomp trap and stopped for the whole process. It now asks again with the same call number and invalid arguments: a trap answers ENOSYS again, anything else means the call reached the kernel and only that call is repeated. Folders opened for a refused call are still closed.
* fix(desktop): run a store game's exe through its launcher so the EA environment and Origin process are set up
* fix(desktop): keep a store game's prefix and resolve its launcher through symlinks and deep folders
* fix(desktop): keep the exe's resolved compatdata folder when running its launcher and find the sidecar beside a symlinked exe
* fix(game-env): the VRAM cap also applies to D3D9 games
DXVK's D3D9 frontend ignores dxgi.maxDeviceMemory, so set d3d9.maxAvailableMemory to the same cap.
* fix(vram): leave DXVK's lower per-game D3D9 limits in place above the 4096 MiB default
* fix: keep file permissions set by Windows programs on volumes without extended attributes
Wine's server stores a file's security descriptor in an extended attribute.
Volumes that cannot hold one dropped every descriptor, so a program that
checks and repairs its install folder's permissions repeated the repair on
every start. The descriptor is now kept inside the prefix when the volume
refuses it, and follows the file when the server renames or deletes it.
* fix: a path deleted with remove() drops its kept descriptor too
A Battle.net library on another volume is reached through its own drive letter, so the Agent's volume query succeeds. The proot fast path keeps folder handles for FUSE-backed libraries. Supersedes #2377.
* feat(agent): an Agent tab in the launcher that talks to Claude Code outside any session
* feat(agent): the agent in the session drawer and as a bubble over the game
* fix(agent): connect loopback adb, show unread replies, and fit the drawer page to the screen
* feat(agent): first-run setup in the Agent tab, a harness choice with Codex, and no permission prompts
* fix(agent): install helpers off the main thread and offer sign-in only after the install
* fix(agent): connect adb only for commands that use it and run setup checks one at a time
* fix(agent): show why a setup check failed
* fix(agent): each harness has its own setup state and conversation
* fix(agent): start the adb server before connecting and retry the connection check
* fix(agent): switching harness clears the previous harness's setup results
* feat(agent): a header, a composer with send and stop, and Markdown replies in the agent chat
* fix(agent): leave room under the chat composer
* feat(agent): continue the conversation after a Lab build restarts the app
* feat(agent): show and remove what the agent stores in the Linux userland
* fix(agent): the build tools take about 5 GB
* feat(agent): DroidDeck opens on the Agent tab after restarting on a Lab build
* feat(agent): conversation history, model and plan mode, live replies, full tool input and output, processes, attachments, queued messages and a Stop that ends the turn
* fix(agent): check the Lab build less often while nothing is happening
* fix(agent): an old Lab build's progress is not shown as a failure, and a restart counts as success
* feat(agent): rebuild a kept Lab build from Updates, and tidy the chat's tool rows, costs, processes and times
* feat(agent): a setup step that prepares fast Lab builds for the installed version, kept alive while it runs
* fix(agent): the notification names a prepare and shows its percent without repeating the title
* fix(agent): run the agent's Lab builds in the app's own process and continue the conversation that asked after the restart
* fix(agent): setup's prepare runs the build itself instead of handing it to the app
* feat(agent): a turn that ends without a reply says so and offers Retry, the resume is retried once, and each turn's raw output is kept
* fix(agent): keep the previous turn's raw output too
* fix(agent): a resumed Claude Code turn no longer ends at the result for a background task the last run left behind
* fix(agent): install Codex's code-mode host with it, without which Codex runs no commands
* feat(agent): setup and storage collapse into a summary card like Setup's, and Codex tool rows show the command without its shell wrapper
* feat(agent): drop the agent bubble over sessions for now; the drawer keeps the agent
* fix(agent): the Agent tab shows once the Linux runtime is downloaded, even while its proot pack is still being fetched
* fix(agent): before the install brings adb, the connection step checks the app's own pairing instead of failing with adb not found
* fix(agent): proot's binding warnings are not shown as a setup step's reason
* fix(agent): the session drawer's Agent page fills the height under the drawer's header instead of a guess from the screen height
* fix(agent): write the browser and GitHub helpers before every setup step, not only the install
* fix(agent): find Wireless debugging's current port when the saved one no longer answers, so sign-ins open the browser after it restarts
* fix(agent): only take a Wireless debugging port that answers, since mDNS can still advertise an old one
* fix(agent): find a loopback Wireless debugging port by scanning when mDNS advertises none
* fix(agent): keep a Codex turn going through reconnect notices and read gh login's status reliably
* fix(agent): time out hung setup checks and keep their results and actions with their harness
* fix(agent): keep the draft across settings and show the Agent tab once the runtime installs
* fix(agent): keep the backslash when quoting apostrophes in a URL the browser helper opens
* fix(agent): refresh apt's package lists before installing, since a fresh Linux runtime ships without them
* fix(agent): sign-in links open through the app itself, so they work without Wireless debugging
* fix(agent): the connection step passes only when adb really reaches the device, not on adb's own error
* fix(agent): say Wireless debugging isn't reachable instead of adb's error
* fix(agent): keep prompts, tool ids, attachments and retries with their own turn and chat
* fix(agent): the service stops only once foreground, and Rebuild waits for a ready agent
* fix(agent): the Codex install says what it is downloading, so a long download doesn't look stuck
* fix(agent): pass the prompt to both CLIs the way they were tested on devices
* fix(agent): the browser helper uses the running app's files directory, falls back to adb when the app cannot open a link, and the link is not logged
* feat(lab): load an on-device Lab build over the installed app
* feat(lab): build Lab builds on the device and report the APK commit to agents
* fix(lab): dd-agent connects loopback adb before starting Claude Code
* feat(lab): tell the app's own agent to continue after a Lab build restart
* fix(lab): size the build heap from the device's memory
* feat(lab): keep earlier Lab builds and list them in Updates
* feat(lab): notify when DroidDeck comes back on a Lab build or turns one off
* feat(lab): estimate the time left and compile the installed commit ahead of the first build
* fix(lab): report a failed command as a failed build and update progress every five seconds
* feat(lab): a kept build for another version can be rebuilt
* feat(lab): record which installed commit the build caches are warm for
* fix(lab): the app's agent hands its builds to the app, so they outlive the agent's turn
* perf(lab): BuildConfig describes the installed base, so a Lab commit does not change it
* perf(lab): compile with the Kotlin daemon, since in-process Kotlin compiles always redo the whole app
* fix(lab): a build whose last task was up to date no longer counts as failed
* feat(lab): dd-lab-build --explain logs why tasks ran and Kotlin's build report
* fix(lab): keep a waiting build when another is staged or Lab is turned off, and never restart during a session
* fix(lab): keep the installed build's label and exact commit, and refuse AppLanguage changes
* fix(lab): setup verifies its downloads and waits for adb before preparing
* fix(agent): quote apostrophes in opened URLs and keep the sign-in pid
* fix(agent): start sessions from their own task so repeat starts aren't swallowed
* fix(ci): fall back to the kernel.org Ubuntu mirror when Canonical's are unreachable
* fix(ci): fall back to the Berkeley ports mirror on arm64 runners
uplay_r2.dll speaks the same UplayDll.proto as uplay_r1.dll, but its InitReq
names the subsystems the game uses (fields 4 to 11) and its ApiContext only
creates objects for those. It copies gameInstall and storage into their
objects without checking for them, so the gameInstall droiddeck-upc always
sent crashed Prince of Persia: The Lost Crown (6145), which asks for overlay,
product and store only: an access violation reading 0x68 in
uplay_r264.dll+0xaca2 two seconds after the session.
- When the request names subsystems, gameInstall (14) is sent only with
subSystemInstall and storage (17) only with subSystemStorage, and an empty
multiplayerInit (20) is added. Requests that name none keep the old session.
- streamingReq (27) is answered: the streaming type is None, other streaming
queries are not found.
- The log records the subsystems each init asked for.
Co-authored-by: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>
* feat: experimental native userland that runs the Linux side without proot
* fix(native): keep the visible name of link2symlink binaries
* fix(ci): run the native hook build through bash
* fix(native): address review findings in the hook and the ctl fallback
* fix(ctl): use the broadcast fallback only when content is missing
* fix(native): survive Android's seccomp filter in ld.so, libc and posix_spawn children
* docs(native): how to test under Android's seccomp filter
* fix(session): hide an unlistable /sys/bus/pci/devices so libpci does not abort Chromium's GPU init
* fix(native): nested syscall() redirects no longer loop with libblsession's openat2
* fix(native): controllers reach Steam and the install-script evaluator no longer blocks game moves
* fix(native): write the hook's NUL character literals as escapes
* fix(native): proot fast path turns off and greys out while running without proot
* fix(native): D-Bus logins work and Xwayland still admits root once peers read as root
* fix(native): scripts on session mounts outside the rootfs run with the rootfs shell
* fix(native): games on the SD card library start in their own folder
* fix(native): Wine drive links proot made point at their real places
* fix(native): at-calls, uid lookups and relative programs follow the session's mounts
* fix(native): close-from in spawned programs covers what is open at the spawn
* fix(native): service names resolve and the DNS fallback answers what was asked
* build(native): the hook is built with its Go support and tracked by the preload recipe
* fix(native): drive links into identity mounts stay, and relink and seccomp patch failures are logged
* fix(native): seccomp-sim's filter holds every allowed call
* fix(ctl): the broadcast fallback only stands in for a missing content command
* fix(native): pre-2.33 glibc stat calls present owners as root too
* fix(native): res_init and res_ninit call glibc, so Steam's store resolves names
* fix(ci): a preload lock older than a new output rebuilds that group, and generated headers are not hashed
* fix(native): a second seccomp patch run leaves other system calls alone
* fix(native): the terminal and bottom desktop keep proot's environment in a native session
* fix(native): any number of session mounts, and openat2 relative to a mounted folder
* fix(agent): a native command's stdin is written beside its timeout
* fix(ctl): native rejects --env without = and timeouts outside 0-600 s
* fix(native): the resolver fallback has the network's IPv6 servers, and lookups keep the fallback's validation errors
* fix(native): a spawn whose dup2 source close-from closed fails with EBADF
* fix(native): __getcwd_chk checks its buffer, and seccomp-sim -a takes only call numbers
* feat(native): guests see the session hostname from uname and gethostname
* feat(native): the terminal and bottom desktop run without proot
* fix(components): an origin APK without a newer preload output still proves the rest
* fix(native): seccomp-sim -a rejects empty fields
* fix(native): gethostbyname no longer answers failed lookups with Ubuntu and Debian addresses
* feat(native): store installers, root helpers, Comet and Xodus run without proot
* fix(native): the hook finds libraries, preloads and itself through a sandbox's mounts, and ldconfig -C makes its cache
* feat(native): Flatpak sandboxes run without proot, and apply_extra runs without a runtime
* fix(native): remove, glob and nftw take guest paths, and links in a mount are followed as the guest sees them
* fix(native): Flatpak sandboxes get the session's mounts, their libraries' RUNPATHs, and no rootfs-only settings
* fix(native): gethostbyname asks the network's DNS servers, nftw of / gives single slashes, and the library path fits mapped directories
* fix(native): a native process starts in its working directory's real place
* fix(native): the library path given to ld.so holds whole directories only
* fix(native): Wine drive links keep their guest paths, so proot finds the library after a native session
* fix(native): droiddeckctl native prepares the rootfs with the setting off
* fix(native): a SysV segment stays while any process has it attached
* fix(native): DNS lookups ask the network's own servers before public ones
* fix(native): a program's own seccomp traps reach its own SIGSYS handler
* feat(native): run native sessions under a device's own app seccomp filter for testing
* fix(native): SysV attaches and collection take a lock, a failed mark fails the attach, and collection closes its directory
* fix(native): shmat fails when it cannot take the segment lock
* fix(native): the SysV segment lock is retried when a signal interrupts it
* fix(native): process tools see the session's processes as root's
* fix(native): native processes are named after their program, not ld.so
* fix(native): a session's helpers keep the mode the session started in
* fix(native): a keyed SysV segment stays until IPC_RMID
* fix(native): a rootfs link to an absolute guest path is followed in the guest, so Wine finds its z: drive
* fix(native): a sandbox whose loader can't be patched runs under proot
* fix(native): creating a private SysV segment also collects stale ones
* fix(native): a session stopped during startup forgets its mode
* fix(xbox): a native backend is authorized by its process ancestry
* fix(native): Wine's drive links are followed in the guest from any prefix
* fix(native): only the startup that owns the running session publishes its mode
* fix(native): a SysV segment stays until IPC_RMID even after its maker ends
* fix(native): a sandbox mount nested in another mount gets its own place
* fix(native): a sandbox whose mount places can't be made runs under proot
* fix: ship the Ubisoft launcher service as an add-on pack, not inside the APK
* fix: treat the Ubisoft service as a packed tree, stage it when its pack lands
* fix: serialize staging of the Ubisoft service
* feat(ubisoft): sign in to Ubisoft Connect and list the owned library
* feat(ubisoft): download games natively through Demux and Ubisoft's CDN
* fix(ubisoft): show the owned games on the store page
* fix(ctl): reach the agent bridge by broadcast when the shell has no content command
* feat(ubisoft): run Ubisoft games in one prefix with Ubisoft Connect installed and the game registered
* feat(ubisoft): launch games through a native stand-in for Ubisoft Connect's local service
* feat(ubisoft): document the launcher pipes, log why owned games have no download, drop the installer after extraction
* feat(ubisoft): Steam-owned Ubisoft games install through Steam, and the launch session carries the game's application id
* feat(ubisoft): answer Denuvo activations through Ubisoft's activation service and log unanswered pipe traffic
* feat(ubisoft): report installed chunks to the game and skip add-ons the account does not own
* fix(ubisoft): the overlay stays off, Ubisoft's install steps pick Windows components, and shared-prefix games keep their own settings
* fix(ubisoft): write the manifest's registry values, and pick the game's exe over Ubisoft's installer stubs
* fix(ubisoft): stream download slices, guard the launch hook, and keep per-game components in the shared prefix
* fix(ubisoft): direct launches in the shared prefix keep their own game id
* ci(ubisoft): build the launcher service after the prepared components are verified
* fix(ubisoft): verify reused files, drop syncs from a signed-out account, and clear activation requests before launch
* fix(ubisoft): fetch again a reused file whose slices cannot be checked
* docs: research and plan for EA and Ubisoft stores
* feat(ea): EA store with sign-in, library, native downloads, updates and launch without the EA app
* perf(ea): fetch large archive records as parallel ranges
* fix(ea): register game display names
* fix(ea): license legacy EA Core games and harden the LSX endpoint
* fix(ea): run legacy Origin SDK games with a stand-in Origin process
* fix(ea): trust only the prepared game on LSX and stop stale library syncs
* fix(ea): close LSX sessions on stop and drop clients that never hand-shake
* fix(ea): require every hashed field before licensing or caching a probe
* fix(ea): trust one LSX session per launch
* fix(ea): serialize the library cache write with sign-out and rerun a skipped sync
* fix(ea): hand off library sync requests under one lock
* fix(ea): clear the sign-in before invalidating the library
* fix(ea): serialize sign-out with token refresh and with the library cache
* fix(ea): LSX trusts only verified peers, new launch closes old sessions, exit stops its own game
* fix(ea): LSX hides profile and presence from unverified peers
* fix(ea): LSX handshake has a fixed deadline and untrusted sessions yield their slot
* fix(ea): LSX never registers a client after its listener was stopped
* fix(ea): LSX evicts each untrusted session at most once
* fix(ea): LSX admission and eviction share one lock and keep the cap
* fix(ea): LSX trust promotion excludes eviction
* fix(ea): LSX launch generation guards restarts and drops results after shutdown
* fix(ea): LSX publishes launch state under the admission lock and tags accepts by generation
* fix(ea): LSX restarts rebind its listener and promotion checks the launch generation
* fix(ea): record why EA refuses a game licence in the store log
* chore(ea): log owned offers and the full licence refusal
* chore(ea): log the account's entitlements when no game licence is granted
* chore(ea): log legacy entitlements when no game licence is granted
* chore(ea): log only the refused game's own entitlements
* fix(ea): skip trial launchers flagged 1 and license games whose LSX peer Android cannot name
* fix(proton-run): find Proton tools in Steam libraries
* fix(proton-run): register the wrapper for an installed Valve Proton depot
Valve's ARM64 Proton depots are not compatibility tools, and running
them directly bypasses the DroidDeck wrapper. Register the wrapper from
the depot when a store app is launched before Steam has started, instead
of scanning steamapps/common.
* test(proton): install complete tool fixtures in the auto-update tests
* fix(proton-run): skip incomplete Proton depots and keep listing tools when the wrapper cannot be written
* fix(proton-run): pick a runnable depot and rebuild a wrapper whose launcher is missing
* test(proton-run): remove redundant depot fixture write
* fix(proton-run): rebuild a wrapper whose manifest is missing
* test(proton-run): cover runnable depot selection
* fix(session): wait for Steam readiness before launch
* fix(session): keep the launch fallback when Steam readiness or the interstitial is unavailable
* fix(session): cap the Steam readiness wait by elapsed time and bound each check
* fix(session): keep waiting for Steam readiness through focus changes and never pass a zero timeout
* fix(input): fakeinput no longer aborts programs whose allocator calls a hooked function at startup
* fix(ctl): screenshot finds display ids that the device name carries inline
* fix(input): fakeinput registers its fork handlers before other threads see its config