Commit Graph
2655 Commits
Author SHA1 Message Date
The412Banner 43ff1db06b fix(appimage): DwarFS AppImages unpack without proot (#3161) 2026-11-24 17:50:04 -05:00
The412Banner f934feb457 fix(input): Remote Play connects again after the controls revert (#2968)
#2958 reverted the controller redesign and its follow-ups, and #2946 was
in that list, so streaming_client lost the real libudev again. #2963
brought back #2942 but not #2946. With the session's udev answers,
SDL3 in streaming_client hands a virtual pad's handle to the real
udev_device_get_driver and crashes about a second after it starts.

streaming_client in steamrtarm64/steamrt64 keeps the real libudev again,
like the Steam client. The no-driver answer for pads that #2946 also
added is left to #2915, which covers every device call.
2026-11-24 17:49:59 -05:00
xlulx 79d41b29ad fix(gamescope): the nested mouse moves the pointer while touch is Disabled (#2961)
The nested Wayland pointer reaches wlserver as touch 0, and in the Disabled
touch click mode wlserver_touchmotion returned before moving anything.
Buttons go through wlserver_mousebutton, so they still arrived, at an X
pointer that stayed at (0,0). Steam picks Disabled for Don't Starve
Together: DroidDeck's cursor followed the mouse while every click landed
in the top-left corner. The nested pointer now warps the X pointer in
Disabled as in the other modes; real fingers are still ignored.
2026-11-24 17:49:54 -05:00
Kurt Himebauch bb6523cd9c fix(display): keep the 16:9 stretch size on the game screen after Steam resizes it (#2738) 2026-11-24 17:49:49 -05:00
Albert Carreras 925e9743a8 fix(game-env): draw Dragon Quest Monsters 4 slime bodies (#2847)
At the game's default monster mesh detail, slimes show only their tips.
Set the two skeletal mesh detail values in Engine.ini before each launch,
in the prefix the game profile selects, and keep the file's permissions.
The game ignores -ini: overrides and deletes a writable Engine.ini after
reading it, so a launch argument or a one-time write does not work.
2026-11-24 17:49:44 -05:00
JM LamboandJacob Lambert 049c4be6e5 fix(desktop): Plasma draws on the system PowerVR driver (#2836)
* fix(desktop): Plasma draws on the system PowerVR driver

KWin lacks the Android-buffer Wayland protocol the system PowerVR driver's
swapchain needs, so every Plasma client failed with "zink: could not create
swapchain" and the desktop stayed black under the cursor. Plasma's clients now
present through DRI on that path, as the Steam session already does.

* test(desktop): the kopper override reaches Plasma's child processes

* test(desktop): check the kopper override where Plasma launches

---------

Co-authored-by: Jacob Lambert <183008808+JMLambo@users.noreply.github.com>
2026-11-24 17:49:39 -05:00
e36cf24ba9 fix(guest): use /usr/bin/python3 in the payload shebangs, not /usr/bin/env (#2930)
PRoot's link2symlink resolves /usr/bin/env to a `.l2s.env….` stub and the
guest's uutils coreutils multicall refuses that name:

  Security violation: Requested utility 'env' does not match executable
  name: /usr/lib/cargo/bin/coreutils/.l2s.env0001.0116

Every exec of these five scripts therefore dies with GUEST_EXIT 1 before
Python starts, 20-60 ms into the session. They are droiddeck-diagnostic-
inventory (the session's first child), droiddeck-desktop-bookmarks (the
desktop's bookmarks refresh), droiddeck-ime, droiddeck-steam-games and
droiddeck-steam-shortcuts.

The absolute interpreter is what the other payload scripts already use,
and the guest runtime installs the python3 package (tools/ubuntu/
packages-runtime.txt), so /usr/bin/python3 exists in the rootfs.

Only the tracked overlay copies change: app/src/main/assets/linuxfs is
generated by the stageSessionScripts Gradle task, so the asset copies
follow from the overlay.

Co-authored-by: Pablo González <pgm1207@users.noreply.github.com>
Co-authored-by: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>
2026-11-24 17:49:33 -05:00
The412BannerandKurt Himebauch 1772291da7 fix(native): programs started through the rootfs loader show their own command line (#3055)
* 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>
2026-11-24 17:48:17 -05:00
The412Banner 3c4ac03656 fix(display): layer buffers are imported as AHardwareBuffers only on the phone's own Vulkan driver (#3076)
* 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
2026-11-24 17:33:21 -05:00
The412Banner 7248d01b1b fix(storage): the Add game picker lists every card the file manager can open (#3123) 2026-11-24 17:30:41 -05:00
The412Banner f1f98c3bab fix(graphics): let Auto-installed display drivers fall back to the system driver (#2977) 2026-11-24 17:30:36 -05:00
The412Banner 4405e2a389 fix(graphics): the Mali bridge switch works on GPUs without a Mali kernel node (#3164) 2026-11-24 17:30:32 -05:00
Kurt Himebauch 67b82ad9b4 fix(epic): hand Epic's terms step to the browser instead of looping the sign-in (#2421)
* 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
2026-11-24 17:20:00 -05:00
The412Banner 33bdc75a99 fix(logs): Share logs includes RPCS3's own log from the session (#3130) 2026-11-24 17:19:54 -05:00
The412Banner a573f8b14f fix(session): a fixed portrait resolution applies when landscape is set to Follow screen (#3124) 2026-11-24 17:19:50 -05:00
MaxsTechReviewandKurt Himebauch 7630173b24 fix(ddsession): keep path and status buffers off the wrapper fast path (#3071)
dd_descriptor_unlink, dd_descriptor_rmdir and dd_descriptor_rename put
one or two PATH_MAX buffers on their own frame (12 KB, 24 KB), and
dd_status_without_tracer put its 16 KB status buffer there, even on the
common path that only calls through to libc. Threads with small stacks,
such as .NET or Wine threads near their guard page, could overflow in
an otherwise plain unlink, rename or open.

The wrappers now do only the cheap checks and call the real function;
the buffers live in noinline helpers that run only when the descriptor
store or the status rewrite is actually needed. A test compiles both
sources with -fstack-usage and keeps each wrapper frame under 1 KB.

Co-authored-by: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>
2026-11-24 17:19:24 -05:00
DeathKhan 7d942367fd fix(apps): Up and Down in the app grid follow fast presses and keep the row in view (#2906)
* 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.
2026-11-24 17:14:45 -05:00
The412Banner da0a01a25b fix(input): pace stick-only pad reports to the guest at 250 Hz (#2902)
* fix(input): pace stick-only pad reports to the guest at 250 Hz

* fix(input): drop stale paced pad callbacks and time the interval from the flush
2026-11-24 17:14:40 -05:00
visail 9a7cb70969 fix(session): serialize launch requests in a coordinator (#3044)
* 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.
2026-11-24 17:14:35 -05:00
Kurt Himebauch 7c8f5c2707 fix(ui): changing the language restarts the launcher instead of leaving it frozen (#3163)
* 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
2026-11-24 16:26:55 -05:00
MaxsTechReview 14b130500f fix(desktop): a program started through a directory link knows its real path (#3158)
* fix(desktop): a program started through a directory link knows its real path

* fix(desktop): a missing or non-directory component still fails the lookup
2026-11-24 16:23:06 -05:00
MaxsTechReview afe81ea69f fix(fex): x86-64 DwarFS AppImages start and GLib programs reach D-Bus (#3162)
* fix(fex): a program run from a descriptor keeps its argv[0] and an absolute /proc/self/exe

* fix(fex): 64-bit programs send their socket credentials through the hook

D-Bus clients fill SCM_CREDENTIALS with getuid(), which is 0 under the guest. FEX sent x86-64 sendmsg straight to the kernel, which refused the fake root uid with EPERM, so GLib programs lost the session bus and every portal. sendmsg, recvmsg and getsockopt now go through libc like the identity calls, so the hook puts in the real ids and shows the peer as root.
2026-11-24 16:21:40 -05:00
MaxsTechReview 5ca0575e67 fix(gog): resolve exact-path depot overlays before validation (#2720) 2026-11-24 16:18:24 -05:00
Kurt Himebauch 9e405ec92c fix(game-env): run Hades II at D3D12 feature level 12_2 (#2855) 2026-11-24 16:18:20 -05:00
TapuukandTapuuk 8f0e124b5d fix(runtime): fetch the KDE language-pack index directly from GitHub (#2845)
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>
2026-11-24 16:18:15 -05:00
xlulx 31c475d5e1 fix(session): run game thread hints on the SM8750P Snapdragon 8 Elite (#2914)
* 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
2026-11-24 16:18:10 -05:00
MaxsTechReview 46206b3e16 fix(desktop): links read into a buffer sized from lstat show their guest target (#3157)
* fix(desktop): links read into a buffer sized from lstat show their guest target

lstat reports the guest length of a link stored with a rootfs target, and dpkg's
update-alternatives then reads it with exactly that many bytes. readlink filled the
buffer with the start of the host path, which could no longer be mapped back, so
every alternative looked dangling ("current alternative /data/dat is unknown").
The whole target is read first, mapped, then copied into the caller's buffer.

* fix(desktop): a zero-sized readlink buffer still fails with EINVAL

* test(desktop): read errno before printing the zero-size readlink result
2026-11-24 16:18:05 -05:00
4399db4716 fix(loading): show the arm64 Steam client's update progress in every language (#2651)
* 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>
2026-11-24 16:17:17 -05:00
informalTechCode ee6cf20ae4 fix(glasses): correct One Pro+ tracking and enable verified controls (#2680)
* fix(glasses): correct One Pro+ tracking and enable verified controls

* fix(i18n): translate current XREAL family guidance
2026-11-24 16:17:12 -05:00
Moroni Granja 2a51b044c5 fix: a Steam target whose file is gone goes back to the app's exe (#2411)
* fix: a Steam target whose file is gone goes back to the app's exe

A shortcut Target edited in Steam is kept across the client's restart on
purpose, but it was kept even after the file it names disappeared. When the
app's own exe already equalled the recorded proposal, nothing replaced the dead
target: Steam started `System/launcher.exe`, Wine answered
`err:steam:run_process Failed to create process ...: 2`, and the game never ran
(#694, after #1644 and #2022 removed the two real causes).

The merge now treats a target that is not a file as no edit at all and writes
the listing's exe and StartIn. The check runs in the guest, where the shortcut's
paths live.

Fixes #694

* fix: keep a Steam target whose card is not mounted

- The app recreates /mnt/droiddeck-sd and /mnt/bannerlator-sd before binding the card, so the
  mountpoint outlives a removed card. A target directly under one had an existing parent, so
  the missing-file repair overwrote the edited Exe and Start In and kept them overwritten.
- The repair now needs the target's storage to be there: a card mountpoint that lists nothing
  is a card that is not in the device, and the edit is kept for when it returns. Extra Steam
  libraries under /mnt/droiddeck-lib/<id> get the same check.
- test_a_steam_target_under_a_bare_card_mountpoint_is_kept fails without the check and asserts
  both fields; test_a_steam_target_under_a_mounted_card_goes_back_to_the_apps keeps the repair.

* fix: repair a Steam target removed with its folder

- A missing target is gone when its storage is mounted and either its folder is still
  there or it lives in a tree the app always has (internal store installs, the internal
  Steam library). An update that removes the whole game folder now repairs the shortcut.
- Store volumes and added game folders are removable mounts too: /mnt/droiddeck-stores/<id>
  and /root/Games/<name> are checked for content before a target under them is treated as
  gone, so an unplugged volume keeps the edited Exe and Start In.
- Tests: internal folder removed repairs both fields; a bare store mountpoint and a card
  mountpoint keep both; a mounted card still repairs. 84 tests pass.

* fix: classify a Steam target by its resolved path

- A target such as /root/Games/Stores/../../../mnt/droiddeck-sd/Other.exe matched the
  internal prefix and was repaired while the card was out. internal_target and
  removable_mount now normalize the path before choosing the storage class, so the
  decision follows the file the target resolves to; the kept text is unchanged.
- test_a_steam_target_is_classified_by_its_resolved_path fails before the normalization
  (the edit is replaced) and keeps both fields after it. 85 tests pass.
2026-11-24 16:17:04 -05:00
Shawn Montgomery ab023667a0 fix(xbox): a bundle's own packaging files don't stop the legacy install (#3003)
Halo Wars: Definitive Edition's EAppx bundle leaves AppxBlockmap.xml at
the top of the game folder, and its one package folder has its own, so
hoist refused the install with "Extraction would overwrite ...". The
files a package container carries about itself (AppxBlockMap.xml,
AppxSignature.p7x, [Content_Types].xml, AppxMetadata) now replace the
bundle's copies, found by name regardless of letter casing. A game file
in the way still stops a fresh install.
2026-11-24 16:17:00 -05:00
JM LamboandJacob Lambert 0a27c8bb98 fix(desktop): Firefox renders in software on the system PowerVR driver (#2839)
* fix(desktop): Firefox draws on the system PowerVR driver

Under the nested KWin on the system PowerVR driver, Firefox's Wayland window
stops updating partway through drawing and repaints only where the pointer
moves. Through Xwayland it draws normally, so Desktop runs Firefox on X11 on
that path.

* fix(desktop): Firefox renders in software on the system PowerVR driver

The Xwayland workaround only worked because Firefox fell back to software
WebRender there. The breakage follows hardware WebRender on zink, not the
Wayland window: with MOZ_ACCELERATED=0 Firefox draws correctly on Wayland,
so it keeps native Wayland features such as fractional scaling.

---------

Co-authored-by: Jacob Lambert <183008808+JMLambo@users.noreply.github.com>
2026-11-24 16:16:55 -05:00
Kurt Himebauch bcd4e0d99f fix(agent): the setup install retries on transient source errors and no longer accepts a held-back package (#2904) 2026-11-24 16:16:50 -05:00
xlulx 86ea861818 fix(frontend): turn on native DirectX shader compilers for Warband, Don't Starve Together and EU4 (#2998)
* 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.
2026-11-24 16:16:45 -05:00
Dennis ZabolotnyandDennis Zabolotny 76e0460064 fix(storage): warn when game storage is formatted as FAT32 (#2883)
* 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>
2026-11-24 16:16:40 -05:00
Ouse 64647e0d99 fix(input): normalize hardware Escape before Back handlers (#2976) 2026-11-24 16:16:35 -05:00
MaxsTechReview 8bb1895702 fix(gog): skip saves GOG Cloud marks deleted (#3025)
* 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
2026-11-24 16:16:31 -05:00
LarzVader ae47876386 fix(venus): Zink draws on Mali-G610 when the depth test is off (#3102)
With depthTestEnable off, Vulkan ignores depthCompareOp. The Mali-G610 driver behind Venus
(Nothing Phone (2a), Dimensity 7200 Pro) applies it anyway, even without a depth attachment.
Zink leaves the op at VK_COMPARE_OP_NEVER whenever GL has the depth test off, so every fragment
Zink draws is thrown away: clears and copies work, draws never show. This is the black Steam UI
when it renders through Zink and the black picture of OpenGL games such as Stardew Valley. DXVK
sets ALWAYS in the same case, which is why D3D games drew.

The layer now hands the driver ALWAYS while the depth test is off:
- vkCmdSetDepthTestEnable and vkCmdSetDepthCompareOp keep the state per command buffer, which
  vkBeginCommandBuffer clears. While the test is off the driver gets ALWAYS; turning it on again
  restores the application's op.
- A pipeline with the depth test off and neither state dynamic is created with ALWAYS.

It is on for every device with gaps. ALWAYS for a disabled depth test changes nothing on a driver
that follows the spec.
2026-11-24 16:16:26 -05:00
LarzVader 6e252ea3ad fix(venus): destroying a null handle no longer grows the Mali layer's maps (#3101)
The handle maps use key 0 for an empty slot. vkDestroyBuffer, vkFreeMemory and the other destroy
calls accept VK_NULL_HANDLE, and map_remove(0) matched the first empty slot it reached, so every
such call lowered count without removing anything. Once count wrapped below zero, every map_put
saw a full table and doubled it, and each rehash took twice as long as the one before.

Steam's web helper frees null buffers about 50,000 times in a few minutes. On a Mali-G610 its UI
stalled periodically for 0.2 s, 0.37 s, 0.75 s, 1.5 s and then 3 s, and the buffer map reported a
count of 4294967295.

map_get, map_put and map_remove now ignore key 0. On a Nothing Phone (2a) running 0.7.1 with this
change, the buffer map stayed at 256 slots after 115,000 frees and the stalls were gone.
2026-11-24 16:16:19 -05:00
MaxsTechReview 1f82db66ac fix(desktop): flatpaks that point Vulkan at their GL extension still get the session's driver (#3159) 2026-11-24 15:33:53 -05:00
MaxsTechReview fbeefc9c9a fix(desktop): programs started by name run scripts without a shebang line (#3155) 2026-11-24 15:33:49 -05:00
Kurt Himebauch 2e3b69e9ff perf(steam): setup applies Steam's client update so the first launch has nothing to unpack (#3152)
* 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
2026-11-24 15:18:41 -05:00
Kurt Himebauch 9db80cebd9 chore: add EnzoDLofi to trusted-test-builds.txt (#3156) 2026-11-24 14:26:23 -05:00
LunaDL f920aad104 Feat: toggle to show hud only in a game (#2970)
* Add HUD visibility toggle for active games

* Add HUD visibility translations for all languages

* Fix HUD game visibility and Turkish strings

* Support compositor-only HUD game detection

* Fix HUD activity reconciliation and Steam focus

* Clear stale Gamescope focus metadata

* Clear stale Steam focus when metadata is unavailable

* Prevent HUD flicker on metadata read failures

* Prevent HUD visibility flicker

* Fix HUD visibility during compositor activity

* Fix HUD visibility during compositor activity

* Prevent Steam SHM frames activating HUD

* Fix HUD activity detection when Steam is focused

* Remove HUD detection comments

* Fix HUD game activity detection

* Fix HUD compositor activity detection

* Use Gamescope frames for HUD activity detection

* Restore fullscreen SHM frame statistics callback

* Restore fullscreen SHM frame statistics callback

* Fix HUD SHM frame reporting

* Prevent Steam focus from activating game-only HUD

* Fix SHM frame freshness guard and test harness

* Used suggestion code from rabbit

* Ignore Steam UI frames for game-only HUD

* Keep default HUD stats updating over Steam UI

* Isolate Steam fallback frame statistics

* Isolate Steam fallback frame statistics

* Trigger HUD APK build
2026-11-24 14:19:42 -05:00
MaxsTechReview e709e1c454 fix(desktop): Go programs see the session's identity and paths (#3154)
* fix(desktop): Go programs see the session's identity and paths

Static Go programs now get the session's root identity from getuid and its
relatives, and set*id calls succeed, as C and x86 programs already do. The
added code also takes over Go's second raw system call function (and its
golang.org/x/sys copy), which getuid goes through.

Go programs that link the C library (snapd, gocryptfs, ipp-usb) get the same
code: their Go note is found past the other notes, and the code fits before
a data segment that does not start on a page boundary. snap now reaches the
session's snapd and installs snaps.

* fix(desktop): read every Go note and retry Go programs after a failed scan
2026-11-24 14:07:01 -05:00
The412Bannerandmaxjivi05 5f8655b13e fix(flatpak): find sandbox sources named by their kernel path when the session runs without proot (#3059)
Co-authored-by: maxjivi05 <maxjividen@gmail.com>
2026-11-24 11:39:52 -05:00
MaxsTechReview c298da6f60 fix(nativeguest): keep loader paths out of guest environment (#3147)
* fix(nativeguest): keep loader paths out of guest environment

* fix(nativeguest): preserve caller library search paths

* fix(nativeguest): preserve empty caller library path components
2026-11-24 10:30:54 -05:00
Kurt Himebauch caf16c8aa5 fix(steam): a failed package claim fails the install (#3149)
run_parallel is called in an || list, which switches set -e off inside it and inside its workers, so a failed claim left the worker's index empty and the worker exited successfully with packages unclaimed. The worker now checks the claim itself and marks the run failed, and claim_next uses the same flock command as the unpack lock.
2026-11-24 10:15:38 -05:00
Kurt Himebauch c1dd542f97 fix(steam): the parallel installer claims packages under a flock (#3145)
The parallel workers claimed packages with mkdir, which is not atomic in the app's guest shell: two workers sometimes took the same package and about 3 installs in 8 failed on a device. Claims now come from a counter under a flock, and a counter that cannot be read or written fails the worker.
2026-11-24 09:51:16 -05:00
The412Bannerandmaxjivi05 cf44aaed14 fix(appimage): catalog AppImages start without proot (#3077)
* fix(appimage): catalog AppImages start without proot

* fix(appimage): cache cleanup does not follow symlinked entries

* fix(appimage): keep unpacked copies in use and track subsecond changes

* fix(appimage): extract native images through an open descriptor

---------

Co-authored-by: maxjivi05 <maxjividen@gmail.com>
2026-11-24 09:37:09 -05:00