* 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>
* fix(input): stop controller rumble when the game that started it is gone
A crashed game never sends the stop for a held rumble, so the keepalive re-armed it every 1.5 s until the session ended. A held effect now stops on the next keepalive once the process that sent it or the Steam game it started in has exited. The fake controller also stops its rumble when it's closed or the playing effect is erased, like the kernel does.
* test: read the test's own pid from /proc/self
* fix(input): track who plays rumble on each slot, check the game when a hold starts
The process that plays an effect now owns it, and only the handle currently playing on a slot sends the stop when it closes or erases its effect. A held effect records whether a game is running when it starts, and keeps checking that its sender still exists even when its start time couldn't be read.
* fix(input): only cache a running game, not its absence
A new hold claimed right after a no-game result reused it, so a game that started within the cache window was never watched.
* fix(input): treat a vanished sender of our own user as gone
Guest processes run as the app's user, so the app can always see them in /proc. If one is missing at the first lookup it already exited; only senders of another user (root-spawned guests) are left unchecked.
* fix(input): a stop only ends rumble the same process started
The fake controller's playing-handle tracking is per process, so another process closing or erasing its older effect still sent a slot-wide stop. The app now ignores a stop whose sender isn't the one behind the slot's current effect; stops from an unknown sender work as before.
---------
Co-authored-by: Tapuuk <177422350+Tapuuk@users.noreply.github.com>
* fix(session): keep the session awake while a browser hand-off is pending
When a program in the session opens a link in the Android browser, the
session view goes to the background and auto or manual suspend froze the
session within a couple of seconds. Programs that wait for the browser to
call back to a local listener (external sign-in flows) were frozen before
the callback arrived, so the sign-in never completed, and the session then
needed a tap to continue.
An open-url request now starts a browser hand-off that counts as a visible
surface until the session view comes back to the front or ten minutes pass.
Ordinary backgrounding still suspends as before.
* fix(session): hold through a display power change and only after the browser opens
* Start a launcher-run game without scanning its folder and keep Play on Starting until it launches
* Create the shared added-games cache under one lock
* Read a rewritten game manifest again instead of reusing the saved ranking
* Tie a saved ranking to the declared executables that exist
* feat(storage): name, select and remove every prefix and store game
* feat(storage): bulk remove picks prefixes, shader caches or both
* fix(storage): count and clear a game's shader cache in every library
* fix(storage): guard shared prefixes, batches and active downloads
* fix(storage): count each shader cache once across games
* fix(storage): hold store uninstalls against downloads and keep every shortcut's options
* fix(stores): keep download cleanup and uninstall from overlapping
* fix(stores): wait for an installer's file discard before uninstalling
* fix(stores): a reinstall waits for the cancelled download's file cleanup
* fix(storage): fast first scan, readable 4:3 layout and every shader cache counted
* fix(storage): keep store sizes current and track discards from failing jobs
* fix(stores): uninstall waits for a cancelled update's cleanup
* test(stores): a reinstall waits for a failed job's discard