* fix(session): the bottom screen takes touch again while a game runs
Since #2763, a transparent KeepTopActivity covers every other display while a
session is on top. Its window is NOT_TOUCHABLE, but Android gives a
translucent activity alone in its task an ActivityRecordInputSink that eats
every touch on that display (ENABLE_TOUCH_OPAQUE_ACTIVITIES, on for this
target SDK). With the dual-screen panel closed, the bottom screen's launcher,
Cocoon or any other app could not be touched until the session ended, and
the guard stayed over it after Home/PiP as well.
- The guard now takes touches itself: a touch removes it from that display.
- It comes back when the session is top-resumed again, or after 5 s if the
session kept the top spot (the user touched the bottom screen once and
stayed in the game).
- Stopping or entering PiP removes the guards; PiP keeps the session at adj
50 with or without them, so they protected nothing there.
A/B on a Retroid Pocket Duo (Android 16, Cocoon as bottom home): the guard
is on top in every state it was on top on main, except the 5 s after a
bottom touch and PiP. Under lmkd pressure (kills down to adj 50, bottom
home killed 14-31 times per run) neither build lost the top spot.
* test(session): A/B tool for the keep-top guard on rooted dual screens, with Duo findings
* test(session): the guard A/B tool stops on a failed session start and cleans up an interrupted pressure run
* Developer tools: preview states for the Library and the in-game menu
Settings › Developer gets a Preview states group (shown with developer
tools on):
- Library: nothing installed, signed out of every store, or sample games
in every store (each store's storefront games passed off as owned, a
few as installed). A pill on the Library says which preview is on and
ends it. Nothing is installed, removed or signed out, and the preview
is never saved, so a restart always turns it off.
- In-game menu: opens the session menu over the launcher for Steam,
Desktop or a game, without starting a session. Its switches change only
the preview. LB/RB switch pages and B or Back closes it, as in a session.
* Preview states: Back closes the menu preview; signed-out preview covers expired stores
The launcher's exit gesture no longer takes Back while the in-game menu
preview is open, so Back closes the preview. The signed-out Library
preview shows the sign-in card for an expired store with cached games too.
* Developer tools: a UI zoo sheet for previews; previews are read-only
The Developer tab keeps one UI zoo row instead of the preview pickers. It
opens a side sheet listing the in-game menu (Steam, Desktop, game) and the
Library states; nothing shows until one is picked, and picking one closes
the sheet. A Library preview switches to the Library on All games.
While a Library preview is on, opening a game shows a short note instead
of its page, which would act on the real install behind the preview.
Size sorting uses the size a card shows, so a real install shown as not
installed sorts by its catalog size.
* Developer tools: preview shortcuts, a Library toolbar button for preview states
An opt-in Preview shortcuts switch (off by default) puts a flask button
in the Library's toolbar that picks the real library or a preview state
in place, so a state is a tap away while using the launcher normally.
The UI zoo stays the catalog of every preview.
* Preview states: no real sign-in or sign-out from a Library preview
The toolbar's sign-out button is hidden while a Library preview is on,
and the sign-in card's button only says previews are read-only, so a
preview never signs a real account in or out.
* feat(stores): one Manage stores sheet for order, visibility and accounts
Store order, which stores show, and signing in or out now live in one slide-over, the
same one Edit tabs uses, with the same sorter: drag the handle, or Y to grab and the
d-pad to move, A to show or hide.
- The Library's chip row opens it from a sliders chip at its start, in place of the
Store accounts button at the end of the row. The Stores tab's Arrange tabs opens the
same sheet instead of rearranging the chip row in place.
- Each store row shows its account and one action: Sign in, Sign out, Reconnect when the
login expired, or Add key for itch.io.
- A switched-off store leaves the Library's chips too; its games stay under All. A shown
store that is signed out keeps its chip, and picking it shows the Stores tab's sign-in
card in the Library.
- The Stores tab, the Library's chips and the sheet share one store order.
EditTabsSheet and the new sheet share SideSheet, and the tab and store lists share
SortableRows. Sign-in from the Stores tab, the sheet and the Library goes through
startStoreSignIn.
* feat(library): Library chips match the Stores tab, cards fade in on a store change, and the sheet only arranges
The Library's chip row uses the Stores tab's chips, store-colored theme and sliding fill.
Switching store fades and lifts the visible cards in, staggered, and still when animations
are off. Sign-in now lives on each store's own tab, so Manage stores drops its account
buttons and keeps order and show or hide, with each account as a line of text.
* feat(library): chips at the top, the chosen chip's toolbar under them, and a Custom games tab
The Library drops its title row and game count. The store chips are the top row, and
under them the chosen chip's name sits beside search, display, sort, view and the game
file actions, as in the Stores tab. The add button that sat in every header becomes a
Custom games chip that is always there: empty, it opens on a card that adds a game file
or a folder of games; with games in it, its toolbar has the add button.
* feat(library): store-colored focus in the Library, an aligned All chip, and sign out from a store's toolbar
The Library's grid takes the chosen store's theme, so focus rings and accents use its
color as on the Stores tab's pages. All gets a grid mark where the other chips have a
dot, so its label lines up, and the Manage stores chip matches the chips' height. A
signed-in store's toolbar has an account button that asks before signing out, with the
Stores tab's wording.
* feat(library): drop the chosen store's name from the toolbar
The chip above already names it, so the toolbar starts with search.
* fix(library): an empty library keeps its chips, so Custom games and a store's sign-in stay reachable
With no games and no store signed in, the Library used to switch to a separate empty
page without chips. It now shows the chips and toolbar like any other library, with the
empty-library note under All games.
* fix(library): no toolbar between the chips and a sign-in or empty Custom games card
The search, display, sort and view row has nothing to act on there, so the card sits
right under the chips, as it does in the Stores tab, and Down from the chip reaches its
button.
* fix(library): sign-in and empty Custom games cards fill the space under the chips
They were a fixed 300 dp, which left the bottom of the screen empty once the toolbar
above them was gone. They now take the grid's height minus the chip row.
* fix(library): drop the Installed label and lighten the cards' left fade
The Not installed row already divides the two sections, so the Installed label above
the first games goes. The dark fade on the left of the store sign-in card and the Steam
tab's art wall is lighter, so more of the art shows while the title stays readable.
* Library: share the hero wall card and wall fade; icon handle for sign out
The Custom games splash is now built from the same card as the store
sign-in splash, with a drifting wall of the library's covers instead of a
flat gradient and no hint text. The sign-in card and the Steam tab share
one wall fade. The sign-out step shows the account icon as its handle,
like the other toolbar steps, instead of a truncated label.
* Library: sort the Custom games tab in Manage stores; keep search reachable
Opened from the Library, the Manage stores sheet lists Custom games
among the stores so it can be grabbed and moved like them. Its place is
saved as the store it follows, so hiding that store or a new store
arriving keeps it where it was. It has no switch: the tab is always there.
The Custom games splash no longer replaces the toolbar while a search is
active, so a search that matches nothing can still be cleared.
* Manage stores: sort Favorites, Steam and Custom games; hide Favorites and Custom games
Opened from the Library, the sheet lists the Library's own tabs among the
stores. Each one's place is saved as the tab it follows, so hiding a
store or a new store arriving leaves it where it was. Favorites and
Custom games have a switch; Steam can be moved but not hidden.
The sheet takes focus only in controller mode, so opening it by touch no
longer switches to controller focus and its ring. Picking up a controller
while it is open moves focus into it.
Hidden games stay off the Custom games cover wall.
* Library: keep an expired store's tab and offer sign-in when nothing is cached
An expired account no longer drops its Library tab when it has no cached
games: the tab stays and opens on the sign-in card, as on the Stores tab.
With cached games it keeps listing them.
* Log the GPU ceiling, steps and mid-session clock hold changes
The clock log now records the GPU frequency steps and floor once in
its header, probes each limit file as readable or refused, and adds
the allowed GPU maximum to every sample in the CPU cur/max(of top)
style, so a vendor or thermal cap on the GPU ceiling shows up and
changes during a session are visible. Samples are unchanged when no
limit file is readable.
The limit reading is shared with the device info GPU clock range.
Turning the GPU clock hold on or off during a session now logs the
same line the session start logs.
* Ignore a zero GPU ceiling and log hold changes in order
A ceiling file that reads zero is no longer printed as a limit and is listed
as refused, matching how the step list is read. The hold state line is logged
under the same lock as the state change, so overlapping toggles cannot log
out of order.
* Find a GPU ceiling that turns readable later and probe step tables as tables
A ceiling file that read zero at session start is looked for again on each
sample until one is found, and the log notes where it came from. Step and
floor sources are probed with the same parser that reads them, so a table
with a leading zero is listed as readable.
* feat(proton): install prerelease builds
* fix(proton): harden prerelease archive installs
* refactor(proton): drop the superseded test build path
* fix(proton): list only current prerelease builds and label the file install
* fix(proton): hide prerelease rows that are already installed
* fix(proton): keep relative links and modes when unpacking zip and 7z builds
* fix(proton): name file installs without the archive suffix
* fix(proton): confirm a release is gone before removing its build and tighten archive handling
* Show the Experimental section without Developer tools
* Share the refresh guard, recheck sessions before removal, skip other architectures
The update check guard is shared between menu instances and held until the result is published, so a recreated screen joins the running check and results arrive in order. Automatic removal rechecks for a running session after each release lookup. Experimental assets for other CPU architectures are ignored, and in-tree links may start with the current directory.
* Keep an experimental build in place when a session starts during its removal
Removal and session start now share one lock. The tree is renamed out of the
tools folder under that lock only while no session is running, and deleted
afterwards, so a session that starts first keeps its build.
Components > Proton gains an Experimental builds card that installs a Proton build from a .zip, lists it as Experimental-<name> and removes it with its stored and unpacked originals and selections. Replacing a build keeps its user settings and is safe to interrupt.
Co-authored-by: maxjivi05 <maxjividen@gmail.com>
Components > Proton offers a DroidDeck-Proton pre-release that is ahead of Stable through the existing channel toggle. Automatic installs and updates stay on Stable.
* feat(ubisoft): keep Denuvo game tokens per account and product until the game invalidates them
* feat(ubisoft): sync cloud saves through Ubisoft's cloud save service
* fix(xbox): turning cloud saves off passes the offline mode the game save runtime reads
* fix(ubisoft): Ubisoft games list their shared prefix, so they get a saves and cloud tab
* feat(ea): sync cloud saves through EA's cloud sync service
* fix(ea): sync at EA launch and exit, keep one rule snapshot, and check the cloud copy under the write lock
* fix(ubisoft): exact slot versions, scoped save export, and a Denuvo cache bound to its account
* fix(ea): fresh rules per sync, checksums required, backup before restore, and sign-in shown on the saves tab
* fix(ubisoft): launch-time sync on the shared prefix, saves scoped to the game, and Denuvo bound to each launch's account
* fix(ea): back up only the saves a restore replaces, refuse truncated manifests, and need a master title id
* fix(ubisoft): treat a slot whose bytes changed since the last sync as a conflict before uploading over it
* fix(ea): one resolved save folder per sync, refuse case collisions, and walk each folder once
* fix(ubisoft): sync only identified slots, keep live saves and backups safe, and tie a pending eviction to its account
* fix(cloud): a forced download fetches every saved conflict and keeps the ones it could not write
* test(ea): keep the cloud save cases in EaTest
* fix(ubisoft): report only written slots, keep drift conflicts, read whole headers, and never rename a named eviction
* fix(ea): keep real save folders in the inventory, back up any restored file, refuse duplicate or malformed cloud listings
* fix(cloud): commit Ubisoft slots one at a time and stop on a newer cloud write, name skipped and blocked slots, keep unsent conflicts
* fix(ubisoft): acknowledge an invalidation only once its marker is published and never serve a kept token after it
* fix(cloud): a cloud request the launcher cannot write still starts the game and keeps the exit upload
* fix(cloud): scope Ubisoft sync state to the account and product, compare alike slots, keep committed progress, and name partial slots
* fix(ea): ask for sign-in after a rejected refresh, upload saves reached through folder aliases
* fix(cloud): a launch that stops waiting for the cloud download claims it back, so no save is written once the game starts
* fix(ubisoft): name the account in an invalidation marker and never hold the token lock across a pipe write
* fix(ea): only invalid_grant asks for sign-in again, and case collisions count only among synced saves
* test(epic): let the launcher's ask doubles take the claim flag
* fix(ea): apply save rules in their order, match bare patterns inside the save folder, and resolve LocalLow and install folders
* fix(ubisoft): stamp a fresh identifier into a new save that has none, so it can sync
* fix(ubisoft): answer a burn ticket request as unavailable instead of leaving the game waiting
* fix(cloud): read EA manifests with the XML parser, clear conflicts whose sides match, and bound the claim and stall tests
* fix(session): show the recorded reason when a session fails to start
The ended screen now shows any recorded start-up failure message except a plain guest exit, not only PROOT_MISSING. The graphics runtime staging and game environment publish failures now record GRAPHICS_RUNTIME_FAILED and GAME_ENVIRONMENT_FAILED with their own messages instead of looking like a guest exit.
* i18n(session): translate the start failure messages
---------
Co-authored-by: Tapuuk <177422350+Tapuuk@users.noreply.github.com>
Co-authored-by: maxjivi05 <maxjividen@gmail.com>
* fix: route unsupported Xclipse generations upstream
* fix: let Auto load upstream Xclipse pairs
* fix: clear stale auto-owned Xclipse RADV pair
* fix(drivers): clear independently owned fallback selections
* fix(drivers): keep independently chosen drivers when session start reconciles an unsupported Xclipse
* fix(drivers): name the Xclipse from Vulkan before session start picks which drivers Auto clears
* fix(drivers): keep the Vulkan query off the UI thread when session start reconciles Xclipse drivers
* test(drivers): control Xclipse GPU family in auto-driver reconciliation test
* fix(gpu): guard Xclipse auto-driver cleanup when running and handle open-driver bundles
* fix(gpu): keep active RADV-Xclipse-upstream bundle on unsupported Xclipse
* feat(library): add a Hidden tab synced with Steam's hidden games
* fix(library): mark the hidden collection as modified so Steam uploads it
* fix(library): make the Steam hidden write atomic and refresh the hidden set on resume
* feat(library): show an error when hiding a game can't sync with Steam
* fix(library): keep the pending Steam upload list safe when it can't be read
* fix(library): report a failed Steam sync when the upload marker can't be saved
* fix(library): refresh the Steam hidden set from disk after a failed sync
* fix(library): keep the cached hidden set when Steam's file can't be read
* fix(library): handle a malformed hidden entry and a changed Steam root
* fix(library): refuse to overwrite a malformed hidden entry
* fix(library): validate the hidden collection, keep Steam saves separate from upload status and cover cloud and uninstalled games
* fix(library): accept numeric-string ids, keep uninstalled games in the Hidden tab and hide games from the Steam home list
* fix(library): keep hidden Steam games out of the home capsule wall
* fix(library): refresh home art when the hidden set changes and track the Steam account
* fix(library): clear the cached hidden set when the Steam account changes
* fix(library): ignore a previous account's art while the home scan runs
* fix(library): conceal home art for hidden added games that carry a Steam app id
* fix(library): move an unarranged store order to the new default at startup
* fix(stores): forget an unarranged store order instead of saving the default
* fix: address review notes on tab defaults, accounts and hero flight
* fix: zero hero drift for cover-only pages, hide search pills from accessibility
* fix(settings): drop pill semantics while search is open
* chore: consistent code branding
* fix: carry legacy overrides, queues and live sync rows across the rename
* fix: keep queued legacy overrides on a failed rename and separate merged queue entries
* fix(proot): ship proot in the APK and run it from the native library directory
* fix(native): start rootfs programs through an APK-shipped exec loader where data files may not be executed
* fix(audio): start PulseAudio through the system linker where data files may not be executed
* feat: target Android 14 (SDK 34) so Play Protect installs DroidDeck without a warning
* fix: ask for all-files access on Android 11+, reject unloadable ELFs before exec, keep checking the proot pack
* fix: hand host scripts to the kernel, skip startup launch while all-files Settings is open
* fix: run proot from its add-on pack through Android's linker, so the APK carries no proot
* fix: declare high sampling rate sensors for controller gyro at target 34
* fix: offer the rootfs proot fallback only where Android lets proot exec its loader
* test: install the runtime's proot pack in GameFileSync fixtures
* feat(display): black frame insertion on 100 Hz and faster screens
* feat(display): black frame insertion lives in Screen effects
* test(compositor): cover black frame insertion in the render-on-commit harness
* fix(display): keep HDR and pacing intact around black frame insertion
* fix(display): gate black frame insertion on the panel's refresh, not the tick rate
BFI checked the 100 Hz minimum against g_refresh_ns, an average of the time
between handled vsync ticks. BFI presents on every tick, so under load the
ticks run late, the average fell to 95-100 Hz on a 120 Hz panel, and BFI
switched off and on again many times a second (3793 times in one session on
a Retroid Pocket Duo). That showed as uneven flicker.
Use the display mode's refresh (g_output_refresh_mhz) instead, which only
changes when the mode does.
* fix(display): offer black frame insertion for the bottom screen and while it is on
* fix(display): capture a picture, not a black refresh, while black frame insertion strobes
* fix(display): hold black frame insertion off until the last capture ends
* fix(display): keep the game composed while a capture holds black frame insertion
* test(display): a picture hold presents only pictures while black frame insertion runs
* fix(rockstar): ship the launcher service as an add-on pack, not inside the APK
* fix: ship the DiRT ws2_32 stand-in as an add-on pack and reject Windows executables in the APK
* fix(release): reject APK entries under a packed path even when the manifest omits them
* fix(dirt): fetch the ws2_32 stand-in pack once the Linux runtime is installed
* feat(boot-movie): add a Shuffle switch backed by Steam's startup movie shuffle setting
* test(boot-movie): keep unrelated settings unchanged
* fix(boot-movie): keep the Shuffle choice across reset, unreadable configs and running sessions
* fix(boot-movie): track the Shuffle baseline per Steam home and only for values staging wrote
* fix(boot-movie): adopt a Shuffle change made in the inactive Steam home before staging overwrites it
* fix(boot-movie): keep the 60 fps note under the Installed movies row
* fix(session): record the guest start steps in events.jsonl
* fix(session): keep both start step events in the session where the step began
* fix(session): record the controller and pre-guest start steps in events.jsonl
* fix(dual-screen): the bottom-screen terminal keeps its shell when another app covers that screen
* fix(session): sweep the kept terminal shell's process tree when the session ends
* feat(performance): add idle zram compression toggle
* Gate the idle compression toggle on memory cap support and refresh counters first
* fix(zram): retain launcher reclaim when idle compression is off
* test(memory): verify launcher-only reclaim signals
* fix(performance): keep game reclaim when focus is unknown
* fix(performance): say when to turn idle compression off and that it applies on the next session
---------
Co-authored-by: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>
* feat(compositor): pen samples drive the pointer like a mouse
Input record 13 carries the pen's state (in proximity, tip, right and
middle button) and its position in input space as 24.8 fixed point.
Hover moves the pointer, the tip holds the left button, and a record
without the in-proximity bit releases every button. Under a pointer
lock only the buttons pass. A button pressed or released mid-stroke
keeps the implicit grab on the window the stroke started in, unless
that window closed.
* feat(input): a pen moves the pointer while hovering, clicks with its tip and right-clicks with its side button
In Mouse mode (the default) a pen's hover moves the pointer, the tip
holds the left button and the side button right-clicks; Touch keeps it a
finger. The side button can send a middle click or nothing instead, and
a Bluetooth pen key counts as the side button while the pen is near.
With glasses or a program's pointer lock the pen drives the touchpad.
A hover exit followed within 50 ms by more hover or a touch keeps the
pen near, so a pen at the edge of its hover range does not flicker out,
and a hover that sends nothing for 2 s leaves proximity. On the desktop
a pen that comes near releases KWin's grab of a hardware mouse, so the
pen moves KWin's pointer. Whatever cancels touches also ends the pen,
and stylus devices no longer count as hardware mice.
* feat(input): pen mode and side button settings in the Controls tab and the session drawer
A Pen group follows the touch settings once the phone has a stylus
device or a pen event was seen, which is remembered as penSeen and kept
by a settings reset. It holds Pen (Mouse, Touch) and Side button (Right
click, Middle click, Off); Side button is hidden in Touch. Before
Android 14 a touchscreen reports the stylus source without a pen, so
there it counts only with its first pen event. The strings are
translated into all 32 languages.
* docs: describe pen input and its limits
---------
Co-authored-by: alien2003 <11610652+alien2003@users.noreply.github.com>
* feat(theme): AMOLED black, a theme with a pure black page and panels
* feat(theme): rename to True black and let the user pick its highlight color
* fix(theme): True black leaves the page unlit, with no art wash or corner glow
* fix(drivers): never load a KGSL-only display driver on a GPU without KGSL, and report the drivers actually in use
* fix(drivers): gate KGSL-only drivers on the KGSL kernel node, not Adreno detection
nativeSendSceneInput took bare integers (3, 4, 6, 11, 12) and the
wheel step (120) and pointer fixed-point scale (256) were repeated
inline. BottomDesktopPanel kept its own private copies of three of
them. Move them to WaylandCompositor next to the native method and
use them at every call site. No behavior change.
Co-authored-by: Dennis Zabolotny <15849186+zdennisz@users.noreply.github.com>
Game thread hints only ran on the Odin 3 (CQ8725S). Phones with the SM8750 have the same core layout and power HAL, so turn them on there too.
Co-authored-by: Tapuuk <177422350+Tapuuk@users.noreply.github.com>