DroidDeck-Bionic: a Steam compatibility tool that runs the game itself on Android's libc (bionic) instead of glibc inside proot. Steam, the stores and the session stay on DroidDeck's Linux side; only the game process leaves proot.
- Listed in the Proton list only when Run without proot is on, in its own row. Its builds are pre-releases on Droid-Deck/DroidDeck-Proton (DroidDeck-Bionic-12.8-rNN, runtime built by .github/workflows/build-bionic-runtime.yml from tools/bionic-runtime); the app installs and updates them like the other extra tools and never makes one the default unless the user picks it.
- With proot on, a launch sent to a bionic tool goes to the newest DroidDeck-Proton (picks stay as set).
- ProtonExtras / ProtonMenu / ExperimentalProtons / droiddeck-proton-extra: bionic pre-releases checked and listed only without proot; updates carry the default and per-game picks over; deleting a tool never follows links out of it. ProtonDefault: picks left on an older bionic build move to the installed one.
- Components: FEX builds for bionic (bionic-stable on DroidDeck-Components); each tool is offered only the FEX builds that fit it.
- Session logs: the bionic game log and its graphics logs are part of Share logs.
Synced with main twice before the merge (latest sync fbed69ce on main 67b82ad9; Build APK and validation green); a local trial merge on main 3e1fc3e6 had no conflicts and the game-environment, Proton-extra and store-launch tests pass.
* fix(session): report the CPU cache sizes the x86 CPUID reports to Windows programs
* fix(session): clear the staged core caches without following links
* fix(session): stage CPU cache binds per session generation and per core
* fix(session): keep every start's staged CPU caches until the process ends
* fix(session): give every start its own CPU cache staging folder
* test(session): a delayed worker from a recreated service keeps its own cache folder
---------
Co-authored-by: maxjivi05 <maxjividen@gmail.com>
* fix(gog): bind every store root for installer extraction and log its error
* fix(gog): count the extracted size before downloading an offline installer
The installer fallback only checked free space for the download, so a
game that needs the download plus its extracted files failed after
every part was fetched, with innoextract's stream error. The failure
reason now drops innoextract's warnings and bug-report trailer.
* fix(gog): keep the internal store root visible to installer extraction
* fix(games): never give an added folder the internal store guest path
An added folder named Stores was bound at /root/Games/Stores, over the
internal store install root. legacyRoots, used by bindFolder and the
games-folder migration, now gives such a folder a suffixed guest path,
so guestBinds mounts every added root again, matching guestPath and the
session binds.
* fix(games): re-path saved folder binds that hold the internal store guest path
* test(games): verify extractor binds after migrating a saved internal-guest bind
* fix(gog): keep innoextract output in the log and leave the install failure message unchanged
* fix(gog): count known installer part sizes in the free-space check when some part has no size
* fix(launcher): LT and RT keep the focus ring on the tab rail
A trigger step selected the tab like a tap on the rail, which also sent focus into the new page, and each page put it somewhere different. The step now shows the page and focuses its rail item, and for a second puts focus back on the rail if the page takes it, until another key is pressed. Dual screens, which have no rail on the main screen, keep focusing the page.
* fix(launcher): end the trigger step's rail hold when another navigation changes the page
A navigation that changed the selected page during the hold, such as opening a game from a link, was undone: the hold focused the stepped tab's rail item, and that focus switched the page back. The hold now stops as soon as the selection is no longer the one the step made.
* fix(launcher): end the trigger step's rail hold when another navigation opens a page
Opening the Components page does not change the selected tab, so a navigation there during the hold kept it running and the hold could pull focus from Components back to the rail. The hold now also tracks the page key: once the page its own step opened is showing, any other page ends the hold.
---------
Co-authored-by: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>
The unified input surface redrew the overlay on every stick move. Knob-only
moves now redraw through ThrottledRedraw at 33 ms and skip sub-pixel moves
away from the rim. Pad updates still go out on every event; touch down, touch
up and reaching the rim still redraw immediately.
Co-authored-by: Tapuuk <177422350+Tapuuk@users.noreply.github.com>
* fix(library): keep another program of a Steam install out of the Steam app's route
* fix(library): cover a Steam-edited target in the unrouted-program test and docs
* fix(library): keep Steam-edited targets routed and release stale Spacewar imports for other programs
* fix(library): keep Steam-edited targets adopted before the marker existed routed
A saved executable and seen revision without the adoption marker are recognised
from the Steam shortcut record (its target is the current executable and differs
from the one the app asked for), and the marker is stored.
* fix(native): programs started through the rootfs loader show their own command line
Without proot every dynamic guest program runs as "ld.so --preload <hook>
--library-path <dirs> --argv0 <name> <program> <args>", and the kernel's
/proc/<pid>/cmdline kept all of it. Launchers and the session match programs
by their command line, and Wine only moves its Windows command line over its
loader's name when its arguments follow each other, so the Battle.net launcher
never saw Battle.net.exe, gave up after five minutes and ended the session
with the game still running.
The hook now moves the program's own arguments to the front of that area at
start, as an exec of the program would have laid them out.
* fix(native): programs the app starts natively keep their path for /proc/<pid>/exe
* fix(native): the rewritten command line keeps AT_EXECFN naming the program
---------
Co-authored-by: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>
* fix(display): layer buffers are imported as AHardwareBuffers only on the phone's own Vulkan driver
* fix(display): a failed 10-bit layer pool still falls back to 8-bit linear buffers
* fix(epic): hand Epic's terms step to the browser instead of looping the sign-in
When Epic's redirect page answers corrective_action_required (privacy policy or EULA
acceptance, e.g. for a newly created account), open Epic's account sign-in in the Android
browser, where the step is shown, and tell the user to finish it there and retry, instead
of failing verification and reloading the sign-in.
* test(epic): remove live response identifiers from fixture
* test(epic): cover browser step selection
* fix(epic): ignore a stale sign-in page read after the login was reloaded
* fix(epic): hold the browser handoff until the sign-in screen is started
* fix(apps): Up and Down in the app grid follow fast presses and keep the row in view
The grid composes rows ahead of the view without placing them. Down focused a tile there directly, so focus moved into
rows that never scrolled in, and the next Down searched from a tile with no place on screen and landed on the first
tile, sending the list back to the top. Up used the grid's own search, which works from where tiles are drawn at that
moment: with presses faster than the scroll it skipped the first row or drifted a column. And presses aimed from the
last settled focus, so fast ones were lost.
Up and Down now aim from the tile a move is already heading to, scroll that row fully into view, then focus it. At the
first or last row a press leaves the grid as before, unless a move has not landed yet, in which case it waits.
* fix(apps): a newer Up/Down move cancels the one still on its way, and a cancelled reveal frees the edge rows
A move whose target was not yet attached kept retrying its focus after a newer press, so the older tile could take
focus back. Each press now cancels the move before it. The pending target is also cleared when the reveal scroll is
cancelled (for example by a touch scroll), so Down on the last row and Up on the first no longer stay blocked.
* Apps: an Up/Down move holds its target tile by id and clears it only if it is still the latest move
A list update that shifts the tiles no longer leaves the next press aiming from the old index, and a
target that left the list drops its move. A cancelled move finishing late no longer clears the target
of a newer move to the same tile.
* fix(session): serialize launch requests in a coordinator
Replace the gameLaunchRequest counter and the single pendingGameLink field
with a LaunchCoordinator. A launch is now identified by a ticket, so a stale
callback can only act on its own request, and a game link is superseded by
any newer launch. Launching is also refused while a package install stage
is in progress.
* fix(frontend): a replacement intent supersedes uncommitted launch state
A game link that resolved while the launcher was not resumed stayed pending, so
opening Settings, following a notification or picking a shortcut left it in the
coordinator and the next library refresh launched the old game over the new
screen. The same gap let an ACTION_SETUP intent leave an accepted launch current,
so a late Xbox manifest check could start the game after the user had moved on.
A replacement activity intent now cancels every ticket this activity has not
dispatched, and the refresh path may only finish a link owned by the intent the
activity shows. The toast for a superseded store lookup is gated on its ticket,
and the coordinator test now proves cancelAll() invalidates a link ticket.
The deferred Proton-compat launch is untouched: its ordering still predates this
change and has its own follow-up.
* fix(ui): changing the language restarts the launcher instead of leaving it frozen
* fix(ui): a launcher restart no longer starts the startup session
* fix(ui): a stopping launcher no longer clears the hooks its replacement set
* fix(ui): a launcher restart keeps a pending session switch
* fix(ui): a launcher restart hands its state over in-process, not through intent extras
The index carries the sha256 of every language pack, so loading it through a download mirror let the mirror pick both the hash and the pack that gets extracted into the Linux runtime. The index now always comes straight from GitHub; pack bodies can still use mirrors since their hash is trusted.
Co-authored-by: Tapuuk <177422350+Tapuuk@users.noreply.github.com>
* fix: run game thread hints on the SM8750P Snapdragon 8 Elite
* fix: gate game thread hints on the SoC model SocNames resolves
* fix: skip unknown SoC model properties
* fix(loading): show the arm64 Steam client's update progress in every language
The arm64 bootstrapper writes its progress straight into session.log in the
client's language and with thousands separators, e.g.
"正在下载更新 (已下载 184,557,共 573,070 KB)" or
"Downloading update (184,557 of 573,070 KB)". UPDATE_PROGRESS only matched the
forwarded x86-64 form without separators, so the loading screen stayed on
"Waiting for Steam's first frame" with no percentage for the whole ~570 MB
first update. Users took that for a hang and cancelled; after two starts the
installer's repair wiped the partial download, so it started over each time.
Accept separators, and fall back to the bootstrapper's language-independent
"Set percent complete: N" line.
* chore: drop the added comment
* fix(loading): a zero or post-extract percent line no longer reads as a download
* fix(loading): an unknown percent ends the earlier download percent
* fix(session): ignore out-of-range percents and clear a percent after an unknown one
---------
Co-authored-by: guohaomin1995-dev <321670510+guohaomin1995-dev@users.noreply.github.com>
Co-authored-by: maxjivi05 <maxjividen@gmail.com>
* fix: turn on d3dx9 and D3DCompiler 42 for Mount & Blade Warband
Warband compiles its postFX effects at launch through d3dx9_42. With Wine's
built-in d3dcompiler_42 the launch stops on an error dialog (E5017 'Write pass
assignments', then E5033 'Unknown target profile __fx_2_0__'). The native
d3dx9 and D3DCompiler 42 components fix it, but nothing picked them: Steam's
list for the game does not name them and the folder scan only recommends d3dx9.
* fix: turn on D3DCompiler 43 for Don't Starve Together
Don't Starve Together renders through its bundled ANGLE, which compiles
vs_3_0/ps_3_0 shaders with d3dcompiler_43. With Wine's built-in compiler
the bytecode trips DXVK's SM3 parser (`m_info.kind == OperandKind::eSrcReg`
in sm3_parser.h), the render thread stops after "Renderer initialize: Okay"
and the game sits on a black screen. The native D3DCompiler 43 component
fixes it, but Steam's list for the game does not name it.
* fix: turn on D3DCompiler 43 for Europa Universalis IV
EU4 builds its map effects at launch through native d3dx9_43, which compiles
them with d3dcompiler_43. Wine's built-in d3dcompiler_43 fails the terrain,
border, map name and bloom shaders with E5005 ('No compatible 2 parameter
declaration for GetFoWColor'), so the map draws black and province names show
as white blocks. Steam's list for the game names only d3dx9; turning on the
native D3DCompiler 43 component as well fixes the map.
* test: keep one per-game redist test, the one that also covers Steam's d3dx9 pick
The Warband and Don't Starve Together tests only restated their SCRIPTED rows;
Skyrim's test already covers how SCRIPTED picks are added.
* fix(storage): warn when game storage is formatted as FAT32
FAT32 cannot hold files over 4 GB, so Steam games with larger files fail to install and Steam reports 'Not enough disk space'. Warn when such a card is chosen as game storage.
* fix(storage): translate the FAT32 warning into Russian
* fix(storage): warn about FAT32 for Automatic, extra libraries and store folders
Show the FAT32 note in the Second library menu while the effective card is FAT32, so the default Automatic choice is covered, and warn when an additional Steam library or a store install folder is added.
* fix(storage): shorten the FAT32 warning and warn on reselecting a saved folder
* fix(storage): warn for the resolved store target and keep the SD note
---------
Co-authored-by: Dennis Zabolotny <15849186+zdennisz@users.noreply.github.com>
* fix(gog): skip saves GOG Cloud marks deleted
GOG keeps a deleted cloud save in the listing as an empty gzip object
(hash aadd86936a80ee8a369579c3926f1b3c). The listing was read as plain
names without hashes, so every deleted save was downloaded again as an
empty file. Ask for the JSON listing, keep each object's hash, treat
deletion markers as absent, and only send a marked save back once it
changed locally. Local files are never removed.
* docs: credit gogdl and Lutris for the GOG cloud deletion marker
* perf(steam): setup applies Steam's client update itself so the first launch has nothing to unpack
The setup already downloads every package of Steam's client update. droiddeck-steam-preapply now extracts them and writes the .installed and .manifest records the way Steam's updater does, so the first launch verifies and starts instead of unpacking for about half a minute and restarting. When it cannot, the packages stay and Steam updates itself as before.
* perf(setup): the Steam stage skips the plain packages it just applied, and Proton's install trusts the prefetch's checksum
With the whole client update applied from the cached packages, the separate 362 MB plain-package install is redundant: the cache pass applies the update and finishes the install, and the plain install stays as the fallback. DroidDeck Proton's archive was hashed twice more at install time after the prefetch had already verified it; the install now reuses that result while the file is unchanged.
* fix(steam): a failed or cancelled apply leaves nothing stale, extraction stays inside the Steam root, and a cache failure still installs
A failed apply removes its record and the cache marker so the next run retries; cancelling stops the helper; entries that leave the Steam root, directly or through a symlink, are refused; the plain install still runs when the cache pass fails; Proton's install reuses the prefetch's verification only for the same digest.
* fix(steam): a cancelled apply clears the cache marker too
The child-process fix always uses the guided pairing flow, Finish setup opens the setting directly and queues the Steam launch, the Play button carries the first-run progress, the setup bar weighs each download by its real size, and the Steam client packages download over four connections and unpack one at a time under a flock.
The tab layout from #2798 moved Stores into More for anyone who never
arranged their tabs, so the Battle.net and Epic launchers on the Stores page
looked gone after updating from Stable. A layout someone saved is kept.
* fix(test): ProtonMenuAutoTest no longer fetches Proton releases from GitHub
aCachedCheckUpdatesOnlyInstalledFamiliesAndReplacesOlderDroidDeckProton left experimentalRefresh at its default, which downloads the release list with 10 s connect and 15 s read timeouts, so a slow or rate-limited network blew the test's 5 s wait.
* fix(test): a background-thread error no longer halts the unit test JVM
Every Robolectric test runs App.onCreate, which chains CrashHandler onto the default uncaught-exception handler. A plain JVM has none, so the first test's handler halts with exit 2 on any later uncaught error, and the chain grows by one layer per test. A Robolectric lifecycle plugin now resets the default handler to a printing one before each test.
* fix(build): helper script edits no longer invalidate the prepared runtime, and every build uses CI's NDK
* docs(agents): helper script edits no longer need build_local.sh
* feat(onboarding): one setup card, Steam client and Proton downloaded in the background, no component toast
* feat(onboarding): an optional Bluetooth controllers row in the setup card asks for the permission up front
* feat(onboarding): prefetch Steam's whole package cache, one foreground notification, child-process setup while downloads run
* test(steam): the cache pass keeps packages under Steam's names and is not repeated
* feat(onboarding): unpack the whole Steam client ahead of time and record it as installed, downloads no longer wait for a cool device
* feat(onboarding): setup progress on the Steam home page, Bluetooth asked only from the setup card, Steam unpacks its own files
* fix(onboarding): review fixes: removal does not report setup progress, cancel stops the whole prefetch, cache files are verified, no resume toast
* fix(onboarding): a cancelled prefetch is never a setup failure
* fix(onboarding): the Steam fact is updated atomically
* feat(onboarding): Bluetooth controllers moves into the Steam integration list
* ci: keep unit-test scratch out of the runner's shared /tmp
Test JVMs now write temp files under the test task's build folder,
which checkout wipes on every job, so a killed run no longer leaves
Robolectric and JUnit folders behind in /tmp.
Self-hosted runners also clear stale test folders they own in /tmp,
drop the regenerable Gradle build cache when the workspace has under
20 GB free, and log disk use so a full disk is visible in the job.
* test(agent): size check no longer depends on the temp path's length
A symlink's own size is the length of its target path, so the old
100-byte bound failed once the temp dir moved under the build folder.
* ci: never remove a mount point while clearing runner scratch
* ci: keep a scratch folder that anything inside it touched recently
* ci: keep a scratch folder the freshness scan could not read
* feat(steam): first-run defaults for big art on Library home and the bouncing logo screensaver
* fix(steam): seeded keys land in the root store when nested stores close on its last line
* feat(ui): a More tab in the session menu keeps the pages you use least, and holds the way to arrange them
* fix(ui): bumpers walk only the strip, and back leaves a page kept inside More
* feat(ui): a Back to More row at the top of pages kept inside More
* refactor(ui): the arrange pages editor reuses the Edit tabs More divider
* feat(ui): the Session page can be kept inside More
* fix(ui): the on-screen bumpers step across the strip like the physical ones
* fix(addons): CurseForge connects once, reuses its game instance and skips rescans after its own changes
* fix(addons): a settled list is dropped by a refresh, a later change or a newer change
* fix(curseforge): publish the report under the same lock as the turn check
An older change could report its list after a newer one had already
reported, so the fallback marks could miss add-ons the newer change
installed.
* feat(ui): resize the session menu by its edge handle, and set dual screen to auto, on or off from the menu
* fix(ui): the session menu resize handle follows the finger across several moves per frame
* fix(ui): the closed agent menu button has no gap inside its outline
* feat(ui): the session menu's resize handle hovers just past its left edge
* fix(session): turning dual screen on from the menu moves the menu itself to the second screen
* fix(ui): keep the menu width bounds current and restore a pinned second-screen menu after backgrounding