mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-05 20:45:43 +00:00
de75e6bdecf844e60233987aa3a4e6ae366f1fb4
120
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
de75e6bdec | fix(vulkan): wait for completion before device-loss cleanup | ||
|
|
b26934e914 | fix(framegen): preserve armed mode across device loss | ||
|
|
cae6c78403 | fix(vulkan): notify modules on device loss | ||
|
|
caf0d6e77b | fix(vulkan): harden device-loss recovery | ||
|
|
a4337db148 | fix(vulkan): avoid stale shared-memory backups | ||
|
|
7e60e36195 | fix(vulkan): defer module teardown until cache cleanup | ||
|
|
db4c0b83db | fix(vulkan): destroy cached views before backing images | ||
|
|
b06c3bb03c | fix(vulkan): declare recovery initializer before fallback | ||
|
|
3e29f2084b | fix(framegen): require manual re-arm after device loss | ||
|
|
28376a5639 | fix(vulkan): restore compositor after device loss | ||
|
|
e0296a1176 | Feat(Shaders): Improves SMAA quality and better performance of screen effects (#3051) | ||
|
|
2ce1563b5f |
fix(display): clients pacing on presentation feedback draw at the frame limit, not the panel rate (#3311)
Report the frame limit's interval as the refresh in presentation feedback |
||
|
|
eace3106d6 |
fix(display): a frame limit no longer piles up releases for clients that draw into new buffers (#3310)
* Stop holding releases for clients that never wait for them * Cover the release queue cap in the release regression tests |
||
|
|
50a7b1b9f5 | fix(compositor): report a client's first hidden cursor (#3245) | ||
|
|
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 |
||
|
|
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 |
||
|
|
a2587f4f20 |
fix(display): preserve padded layer buffer layouts (#2985)
* fix(display): preserve padded layer buffer layouts * fix(display): fall back when layer allocation fails * fix(display): write linear targets at their row pitch |
||
|
|
4349563fd1 |
feat(display): zero-copy presentation toggle and compositor display buffers (#2905)
* feat(display): zero-copy presentation toggle and compositor display buffers Adds a Zero-copy presentation switch under Steam Settings, Display, Session Display (on by default), and a display-buffer allocator in the compositor: a Vulkan driver that states displayBuffers asks it for the memory of the images it exports, so frames presented through the nested compositor are gralloc buffers that go on the display layer without a copy. Compressed buffers are offered only where the device's allocator matches the layout the drivers render to; everything else stays on the copy path. The private buffer protocol is renamed to droiddeck-ahb-v1. * fix(display): zero-copy frames keep the full refresh rate Two buffers set on the game layer inside one refresh replaced each other, and a frame that slipped into the next refresh made the compositor hold and drop the on-time frame behind it. The layer now queues buffers, and a refresh takes a second frame when the one before it took none. The pacing tool no longer counts its dump time in the frame rate. * Keep cropped scenes on the display layer and pace layer frames evenly Accept any in-bounds source crop for the display layer and map the draw geometry the same way the copy path does. Time layer frames against the display's frame timeline, and when the game's rate is a steady whole fraction of the refresh rate show each frame a fixed number of refreshes after the last so uneven arrivals no longer reach the screen. * List zero-copy in the settings map * Hold display buffers until the display releases them A buffer the game or gamescope rendered straight into went back to its client as soon as the next one was latched, with the display's release fence attached to the dma-buf. The KGSL driver does not wait on that fence, so the client could draw into a buffer the panel was still reading. Display buffers now wait for the release fence before the release event, and gamescope composites only into output images the host has released. * Keep the game picture copy-free when an overlay has no display layer When the display cannot give a second layer of its own to an overlay, the compositor tells gamescope how many planes it can show directly. gamescope then composes its overlays into the game picture, which still reaches the display without a copy. * feat(session): the panel refresh rate follows the session's frame rate The session learns the panel's refresh rates and reports the refresh rate and frame rate it wants. The panel moves to the highest rate the frame rate divides evenly, frame generation counts at its output rate, and a panel whose rate the system holds offers only that rate. * feat(session): the panel follows a frame rate the game holds on its own The compositor reports the game's frame rate once a second. A rate that holds for three seconds and divides a panel rate becomes the content rate when neither the app's limit nor the session's limiter is setting the pace, so a game capped in its own settings gets a panel rate its frames divide into. A rate that was dropped has to hold twice as long before it is used again. * Show generated frames on the game's display layer With frame generation on, the game's own frames stay on their display layer untouched and each generated frame is placed on the same layer between them, timed across the game's frame interval. The compositor pass is kept when effects, HDR routing or a cursor need it, or when the panel cannot show the multiplied rate. * Keep scaling, generated frames and HDR on the display layer A scaler or frame generation with zero-copy on now draws once into the display layer instead of falling back to the copied surface. HDR output goes to the layer when the panel supports it; on a panel without HDR the picture is tone-mapped on the same path, and the toggle is labelled to match what the panel can do. * Spread a frame limit the refresh rate does not divide evenly across refreshes * Cover the spare-tick and panel-rate paths in the compositor source tests * Pin the gamescope build with the display-plane, release, refresh and limiter patches * Give the layer and terminal-caller harnesses the black fill state they compile against * feat(display): switch HDR during a session without restarting the app The compositor now offers HDR whenever the device can present it, and the HDR setting only decides whether the session uses it. Both HDR switches set gamescope's hdr_enabled, the compositor's HDR output and zero-copy for the running session. gamescope patch 0139 lets hdr_enabled change after start. The 'Restart the app to apply.' hint is removed from every locale. * Remake the output images in the new format when HDR is switched during a session * Pin the gamescope build that switches HDR during a session * Apply a saved HDR opt-out at session start and keep HDR retries with their session * Serialise the HDR output switch with the gate opening * feat(display): keep the client's HDR setting and the session's in step The session publishes its HDR state with the other device controls and the client helper applies it to the client's own display setting. A change made in the client is reported back and goes through the same switch the drawer and Session Display use, so all three always show one value. * fix(desktop): keep the display-buffer socket when the runtime directory is cleared The desktop launcher removed everything in the runtime directory except the compositor's Wayland socket, which took the display-buffer socket with it, so no desktop program could ask for display buffers and every frame was copied. * fix(display): the client's HDR setting follows the session in every client mode The bridge only ran when a variable nothing sets was present, so the client's HDR setting and the session's never met. It now runs whenever the session publishes an HDR state, and a client that has no such setting is asked again only every ten seconds. * fix(display): harden display-buffer hand-off, layer fallbacks and HDR sync - Stop closing a buffer handle's descriptor the allocator still owns, and free an allocation whose reply could not be sent. - Rebuild the advertised buffer formats when zero-copy is switched during a session. - Fall back to the copy path when a layer buffer cannot be allocated, and hide the game layer when it is skipped for a frame. - Keep a release fence that has not signalled instead of rendering into a buffer the display still reads. - Ignore a refresh-target reset from a client that does not own the target. - Restart the content-rate measurement after a pause, clear it when the game stops, and lengthen engagement only for a rate that was released before. - Compare colour conversions by their values, and read padded cursor buffers at their row width. - Use the running session's mode for the HDR and zero-copy settings, probe the display before screen effects are pushed, retry a held panel mode, and ignore callbacks after the activity is destroyed. - Write a newer HDR value while an earlier write is settling, and reapply the value after the bridge is reinstalled. |
||
|
|
3c0d25d83b |
fix(display): read linear client frames at their row pitch when the driver has no explicit modifier layouts (#2927)
* fix(display): read linear client frames at their row pitch when the driver has no explicit modifier layouts * fix(display): keep row-pitch copied client frames eligible for layer presentation * fix(display): order the readback layout change after the staging copy * fix(display): skip the modifier import query when the driver lacks VK_EXT_image_drm_format_modifier * test(display): the compositor's source-extracting tests follow the linear dma-buf helpers vkp_image_destroy now frees through destroy_image_objects, render_impl stages linear dma-bufs and the external-image release asks foreign_image; the two tests that compile these functions out of vk_present.c extract or stub them, with the image's new buffer fields in their fakes. --------- Co-authored-by: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> |
||
|
|
a139d9eff4 |
fix(compositor): hold releases from synchronized subsurfaces until the parent commits (#2721)
* fix(compositor): hold releases from synchronized subsurfaces until the parent commits gamescope's Wayland backend moves layers between synchronized subsurface planes and commits the parent last. Each child commit was applied at once, so a buffer leaving one plane could be released before the next plane took it, and gamescope then logged "Compositor released us but we were not acquired". A buffer attached again also dropped its queued release, and the buffer trace records every attach. * fix(compositor): hold a synchronized release at its sync boundary and recheck holds on set_desync --------- Co-authored-by: maxjivi05 <maxjividen@gmail.com> |
||
|
|
bf0260de61 |
fix(effects): keep upscaling and sharpening at panel size with frame generation on (#2728)
* fix(effects): keep upscaling and sharpening at panel size with frame generation on * fix(effects): stub sharpening query in the terminal callers probe |
||
|
|
eabcfc7b74 |
chore: consistent code branding (#2800)
* 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 |
||
|
|
d116021ff3 |
Feat: Add SMAA as a anti-alliasing option and the buttom for FXAA becomes a switch. (#2708)
* Add SMAA screen effect option * Atualizar o smaa_frag.h * Atualizar o smaa.frag * Fix SMAA endpoint and crossing-edge area weights * Atualizar o smaa.frag * Fix SMAA diagonal edge blending * Regenerate SMAA fragment shader header * Fix SMAA diagonal fallback detection * Add anti-aliasing translations * Fix Korean anti-aliasing label |
||
|
|
a8c1a9ff4d |
Feat: Add new button for integer scalling, adds tolerancy and rename (#2690)
* Add integer scaling mode * Fix integer scaling view-space input bounds * Improve integer scaling tolerance * Add Fit and Auto scaling toggle to session drawer * Translate Fit and Integer scaling labels * Clarify integer scaling cropping hint * Update integer scaling hint across translations * Fix integer scaling settings and translations * Fix controller input for integer scaling * Complete integer scaling hint translations * Fix integer scaling hint translations * Restore XML declaration quote style * Use double quotes in XML declarations * Add missing norugeuingz translatisn * fix: include math.h for roundf integer scaling * fix: link math library in Vulkan caller tests * Fix integer scaling translations * Fix Italian integer scaling string * Fix Italian scaling hint apostrophe |
||
|
|
758e7983fa |
feat(display): black frame insertion on 100 Hz and faster screens (#2653)
* 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 |
||
|
|
c7ff93ec19 |
Feat: adds a interger scalling (another option) (#2620)
* Add integer scaling mode * Add Fit and Auto options for integer scaling * Update vk_present.c ( removed comentarios) * Fix integer scaling view-space input bounds * Fix integer scaling view coordinate ratios * Fix glasses touch and effective Cardboard alignment * Translate integer scaling settings * Fix glasses picture bounds scaling |
||
|
|
4e3eeea5e2 |
fix(graphics): fall back from unsupported auto display drivers (#2356)
* fix(graphics): fall back from unsupported auto display drivers * refactor(graphics): drop the unused Auto recommendation lookup * fix(graphics): repair automatic display fallback build * test(wayland): keep Vulkan caller harness linkable --------- Co-authored-by: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> |
||
|
|
decab6ea90 |
feat(input): a pen moves the pointer while hovering, clicks with its tip and right-clicks with its side button (#2625)
* 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> |
||
|
|
9ce6d45be8 |
Feat: Add per game screens effects (#2472)
* Add per-game screen effects profiles
* Fix stale screen effects callbacks
* Fix per-game screen effects profile handling
* Fix screen effects restoration on cancelled launch
* Allow nullable screen effects profile in drawer
* Fix per-game screen effects initialization
* Fix per-game screen effects tracking
* Tighten Steam process detection tests
* Fix per-game screen effects profile resolution
* Fix per-game screen effects profile selection
* Fix screen effects cleanup on game exit
* Fix Steam closing between game launches
* Update SessionService.kt comments removed
* Fix screen effects profile synchronization
* Fix saving screen effects without profile
* Prevent stale screen effects overwriting active profile
* Refresh screen effects on session resume
* Update SessionActivity.kt ( used rabbit suggested fixed )
* Fix Steam game exit detection and return
* Clear screen effects profile while awaiting Steam exit
* Preserve screen effects profile when game restarts
* Refactor screen effects sync and fix game exit handling
* Fix Steam URL game ID fallback
* Add screen effects translations for all locales
* Add per-game screen effects profiles
* Fix per-game screen effects preset persistence
* Fix screen effects profile upscaler handling
* Fix screen effects profile synchronization
* Fix screen effects focus profile synchronization
* Fix screen effects profile restoration on resume
* Fix screen effects profile switching
* Fix Steam game launch rollback target
* Fix screen effects upscaler profile inheritance
* Update SessionActivity.kt ( removed coments )
* Remove unused setup stores translations
* Guard screen effects profile rollback
* Fix per-game screen effects and queued launches
* Fix queued game state and suspend-aware startup timeout
* Fix integer scaling picture bounds
* Fix nullable automatic screen effects profile validation
* Fix integer scaling fallback for small outputs
* Revert "Fix integer scaling fallback for small outputs"
This reverts commit
|
||
|
|
b6d77bc3d8 | Dead code cleanup (#2638) | ||
|
|
b52ce7e4c5 | Feat:Add per-game frame generation profiles (#2473) | ||
|
|
01bfe8519e | fix(session): preserve guest monotonic time after long pauses (#2393) | ||
|
|
17936530aa | feat(display): add left and right picture alignment (#2384) | ||
|
+1 |
3733c50902 |
feat: non-Adreno graphics stack (Venus, open driver pairs, gamescope patches) (#2029)
* Retain compositor resources when GPU completion is unconfirmed * Stop quarantined GPU callers before retries and mapped writes * Support Android hardware-buffer presentation over Wayland * Support PowerVR swapchains and linear image imports in Gamescope * Bundle verified PowerVR graphics components through existing build preparation * Detect and select the system Vulkan backend on PowerVR * Apply PowerVR Steam and game compatibility during normal launches * Show PowerVR support through existing driver and component controls * Update existing hardware guidance for system Vulkan support * Import the shared system Vulkan readiness check * Discover and propagate the actual PowerVR render node * Prune obsolete PowerVR runtimes after guest processes exit * Retain external DMA-BUF ownership after GPU quarantine * Name the PowerVR HAL selection explicitly * Isolate component UI tests from application startup * Cover the inherited FEX preset in PowerVR profile tests * Log test worker failures for CI diagnosis * Remove temporary test logging after diagnostic CI * Prefer system dependencies for the Android Vulkan loader * Capture raw stderr before test worker termination * Remove the temporary test worker crash probe * Import pinned DXVK recipe prerequisite from PowerVR PR570 Copy only the standalone build recipe, source pin, BC-format prerequisite and presentation-sync patch/check from wallentx/DroidDeck at |
||
|
|
e879375ca4 |
fix: upscale game buffers before native-resolution composition (#1367)
* fix: upscale game buffers before native-resolution composition * fix: drop an added code comment from the effects source draw * fix: effects source keeps pillarboxed games and near-full source rectangles * fix: a larger opaque draw above keeps the full composition path --------- Co-authored-by: maxjivi05 <maxjividen@gmail.com> |
||
|
|
8171bf20fd | Merge latest origin/main and resolve conflicts | ||
|
|
c5577478ca |
chore: remove source comments and unused code, translate every missing string (#1965)
* chore(i18n): translate every missing string in all locales Adds the 87 strings the bottom-screen Dashboard and in-game stats pages introduced to all 32 locales, plus the 51 older settings strings Japanese and the 50 Chinese locales were still missing. Every locale now has all 3456 translatable strings with the same placeholders as English. Also translates 36 entries that were still English where the language does not use the English word, and makes es-419 touch_app_id use the same %1$s placeholder as English. * chore(patches): drop comments from the lines downstream patches add Removes comment lines and trailing comments from lines our patches add, with hunk headers recounted. Lines that a later patch uses as context and the upstream backport 0123 are left as they are. The gamescope, FEX, proot and xodus series still apply to their pinned sources, and the patched trees differ only in those comments. test_hud_frames now finds the HUD writer by its first declaration. * docs: credit Greenlight, Better xCloud, viture-v2, GameNative and DiRTTelemetryErrorFix These were credited only in source headers and NOTICE files. * chore: remove source comments and unused functions Removes explanatory comments from first-party Kotlin, Java, C, C++, Rust, TypeScript, Python, shell, Gradle, CMake and workflow files. License and attribution headers stay, and vendored third-party trees, generated files and license files are untouched. A shellcheck directive is kept, and udevmon's fallthrough comments became fallthrough attributes. Syntax trees and token streams match the previous sources apart from the comments and Python docstrings. Module docstrings that argparse prints are kept, and device-smoke.sh prints the same --help text from a heredoc. Also removes 37 functions and 4 fields that nothing referenced. * chore: remove comments from the Syncthing integration and the latest main sources * docs: credit Syncthing and the syncthing-android fork * chore(i18n): translate the Syncthing strings in all locales The 107 strings the Syncthing integration added are now in all 32 locales. sync_web_path_locked names the Syncthing tab by its label. * docs: credit @xXJSONDeruloXx for the HUD metric readers The CPU, GPU load, thermal and battery readers come from their PerformanceHudView pull requests #777, #877, #991, #1406 and #1573. The FusionHUD credit line is unchanged. * docs: credit the HUD metric readers to @xXJSONDeruloXx's work |
||
|
|
8cb5c2168e |
feat(hud): GPU load and clock without root where Android blocks kgsl (#1969)
On some Adreno devices (the Retroid Pocket Duo) SELinux hides kgsl's sysfs nodes from apps, so the HUD showed no GPU % and no GPU clock. Devices whose nodes are readable keep using them; nothing changes there or on GPUs without kgsl. Where the nodes are blocked: - GPU %: a native reader maps kgsl's memstore read-only (any kgsl client may) and samples the ringbuffer start/end timestamps once a millisecond while a HUD is shown. That covers all GPU work, Android's own composition included. - Backup for GPU %: an implicit Vulkan layer in the guest (tools/gpuload) and the compositor time their own GPU work with timestamp queries. It runs until the memstore stamps are seen moving, and for the whole session if they never move. - GPU clock: a small GPU job of our own reads the always-on and RBBM cycle counters (libgpuclock). The HUD diagnostics export lists which source each GPU value came from. tools/gpuload/build.sh takes the Vulkan headers from build_local.sh's NDK first and keeps NDK paths with spaces intact. |
||
|
|
a2a5f84711 | Merge origin/main into feat/malibridge-v25 | ||
|
|
dbf114a0f2 | fix: draw the guest cursor into the glasses picture (#1925) | ||
|
|
d4a6d95127 | Merge MaliBridge integration (feat/malibridge) into 0.6.7 | ||
|
|
b91e8fdeab |
fix: a session in picture-in-picture draws at 30 fps instead of the full refresh (#1842)
* fix: a session in picture-in-picture draws at 30 fps instead of the full refresh Since auto picture-in-picture became the default (#1727), pressing Home leaves the session running in a small window that takes no input. A game kept drawing at its full rate there: on a REDMAGIC Astra 2 Among Us in picture-in-picture drew 3.31 W, the same as playing it and about 1.05 W more than a suspended session. While in picture-in-picture the compositor now paces the session at 30 fps (or a lower limit already set). Mirroring to glasses keeps the glasses rate, and the display mode request ignores the picture-in-picture limit so the app in front is not slowed. * fix: keep the no-argument output limit the glasses pacing tests read * fix: hold scene renders to the output limit and keep frame generation off in picture-in-picture A frame limit only paced dmabuf buffer releases, so a shared-memory client was still drawn on every vsync with its frame callbacks sent at the panel's rate. The vsync tick now waits until the limit's interval, less half a refresh, has passed since the last scene. Frame generation is disarmed while picture-in-picture is shown and armed again when it ends; frame generation requests are applied in order. * Give the commit render harness the frame limit hold * Hold scene renders to a frame limit deadline, also on the fallback timer, and keep frame generation for glasses mirroring in picture in picture |
||
|
|
0a5955d6fa |
Merge remote-tracking branch 'droiddeck/main' into feat/malibridge
# Conflicts: # README.md # app/src/main/java/com/droiddeck/launcher/gpu/TurnipDriver.java # app/src/main/java/com/droiddeck/launcher/runtime/BwrapSpawner.kt # app/src/main/res/values-ar/strings.xml # app/src/main/res/values-b+es+419/strings.xml # app/src/main/res/values-bg/strings.xml # app/src/main/res/values-cs/strings.xml # app/src/main/res/values-da/strings.xml # app/src/main/res/values-de/strings.xml # app/src/main/res/values-el/strings.xml # app/src/main/res/values-es/strings.xml # app/src/main/res/values-fi/strings.xml # app/src/main/res/values-fr/strings.xml # app/src/main/res/values-hi/strings.xml # app/src/main/res/values-hu/strings.xml # app/src/main/res/values-in/strings.xml # app/src/main/res/values-it/strings.xml # app/src/main/res/values-ja/strings.xml # app/src/main/res/values-ko/strings.xml # app/src/main/res/values-ms/strings.xml # app/src/main/res/values-nb/strings.xml # app/src/main/res/values-nl/strings.xml # app/src/main/res/values-pl/strings.xml # app/src/main/res/values-pt-rPT/strings.xml # app/src/main/res/values-pt/strings.xml # app/src/main/res/values-ro/strings.xml # app/src/main/res/values-ru/strings.xml # app/src/main/res/values-sv/strings.xml # app/src/main/res/values-th/strings.xml # app/src/main/res/values-tr/strings.xml # app/src/main/res/values-uk/strings.xml # app/src/main/res/values-vi/strings.xml # app/src/main/res/values-zh-rCN/strings.xml # app/src/main/res/values-zh-rHK/strings.xml # app/src/main/res/values-zh-rTW/strings.xml # app/src/main/res/values/strings.xml # tools/linuxfs/overlay/usr/local/bin/droiddeck-game-env |
||
|
|
29c83976d0 | Move the Linux runtime to Ubuntu 26.04 LTS with a separate Kubuntu desktop (#1733) | ||
|
|
110cfc28f8 |
feat: FusionHUD replaces the session HUD, with MangoHud's readings (#1743)
The session HUD is FusionHUD (Bannerlator's HUD) with every reading taken from the same source, and worked out the same way, as the MangoHud build that runs Steam's performance overlay in a DroidDeck session. - gamescope patch 0125 (gamescope-3.16.29-p19) shares the frame times that mangoapp reads (one per signalled commit of connector 0) in a ring named by DROIDDECK_HUD_FRAMES; the app reads it once per display frame and counts the compositor's frames when gamescope sends none. - MangoHud's rules: FPS over periods of at least 500 ms, frame time = 1000/FPS, 200-frame graph on a fixed 0-50 ms scale; CPU, GPU, temperatures, RAM, swap, VRAM and battery from MangoHud's sources. Zones 22/26/28 are typed as GPU and DDR sensors, so Steam's overlay CPU temperature no longer includes them. - Five sizes in a panel shaped like the DroidDeck mark, with a centred header, one left edge, neon outline and FPS; Minimal is the default size. Settings on a new "Performance HUD" drawer page, with Bannerlator's options. - The HUD reads sensors and polls frames only while it is drawn (not while hidden, in picture-in-picture or behind another app), keeps its place after picture-in-picture, and the diagnostics export has its own reader. Device-tested on the AYANEO Pocket FIT: same readings as Steam's overlay side by side in Dead Cells; the HUD updates in a game, hides in picture-in-picture and comes back in place, no crashes. |
||
|
|
8549ac9ce8 |
perf(compositor): draw a new frame when it arrives (#1707)
A new game frame waited for the next screen tick before the compositor drew it: 1.9-3.5 ms on average at 144 Hz, measured with the pacing counters. With frames going straight back to the game (no compositor limit), the compositor now draws as soon as the clients' requests are handled, at most once per refresh, and presentation times stay on the tick. gamescope delivers about one frame per refresh, so the tick leaves a frame younger than one refresh for the next arrival to draw, unless the tick itself changed the window, effects or headset pose; a frame no other frame follows is drawn at the tick after. Once a held frame is still waiting at the next tick (a client paced by frame callbacks), the tick draws every frame for a second before holding one again. The queued draw checks again that drawing on arrival is still on. Paced output (glasses), streaming and frame generation keep drawing on the tick. The hidden pref renderOnCommit (default on) turns it off. The pacing log line counts the scenes drawn on arrival. On the device new frames wait 0.12 ms instead of ~2 ms. |
||
|
|
067dabe81c |
perf(compositor): screen tick on its own thread, pacing counters (#1678)
The Choreographer frame callback that drives the compositor ran on the app's main thread, so main-thread work delayed the tick before it reached the compositor thread. It now runs on a display-priority HandlerThread with its own Choreographer; the session pref vsyncThread (default true) switches back to the main thread. Each resume posts a new callback with its own generation, so one left queued from an earlier resume, on either thread, stops itself instead of ticking twice. A new 10 s "pacing" log line reports how late the tick reaches the compositor, how long a new frame waits to be drawn, game frames against buffers re-attached after an empty attach, empty attaches and distinct buffers, and presentation feedback shown, replaced before drawing and not drawn. |
||
|
|
4c7e59ed8b |
feat: Steam's Frame Limit decides; gamescope and the limit follow the refresh rate (#1650)
Remove the Performance mode switch. The session always runs the way Performance mode did: replaced buffers go back to the game at once (except while mirroring to glasses), gamescope's WSI layer and winex11 reuse their per-present window checks, and games get eight swapchain images while uncapped. Steam's Frame Limit in the Quick Access menu is the only limit. gamescope 3.16.29-p15 (p14 plus two patches): - 0119: with the Frame Limit on, gamescope forces FIFO while the WSI layer hands the driver MAILBOX, so a game with eight images could queue up to seven frames ahead of the screen. While the limiter forces FIFO the layer uses its default of 3 images; DXVK and VKD3D-Proton recreate their swapchain when the limiter changes, other apps are asked to with VK_SUBOPTIMAL_KHR. - 0120: -r fixed gamescope's pacing and limiter rate for the whole session. With GAMESCOPE_NESTED_REFRESH_FOLLOWS_HOST=1 a rate the host has reported for 300 ms replaces it (a switch from 144 to 120 Hz passes through 72 Hz for a few frames), and Steam gets the display information again. The session sets it whenever it passes -r. Steam keeps its Frame Limit as the client setting gamescope_app_target_framerate and offers the values gamescope's display state lists. After a refresh change, a limit the new rate does not offer (72 at 120 Hz) left the slider on its first value while the game kept the old limit. The Steam helper watches the offered values and, once they settle, keeps the limit when it is still offered and moves it to the highest value otherwise, through Steam's own setting so the slider shows it. Steam's webpack does not expose its module cache, so the gamescope service is found by the calls its module makes, and the helper retries the install every 10 s until Steam is ready. The session window asks for the fastest mode the peak refresh setting allows and chose again only when the display changed, so after it had asked for 60 Hz, raising Android's refresh setting left the display, gamescope and the limit at 60. It now also chooses again when peak_refresh_rate or min_refresh_rate changes. |
||
|
|
3943794b0e |
waylandcomp: import layer pool buffers as AHardwareBuffers off Adreno
A non-QTI gralloc handle (Arm/MediaTek gralloc on Mali) has no layout the compositor can read, so the pool import guessed a linear dma-buf and failed. On drivers other than Qualcomm's the compositor device enables VK_ANDROID_external_memory_android_hardware_buffer and VK_EXT_queue_family_foreign and imports such buffers as AHardwareBuffers; the linear dma-buf stays as the last resort. Adreno/Turnip keeps the same device and the dma-buf path. |
||
|
|
9b68b33e73 | fix: pick the HUD surface by the scene's draw order |