mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-25 07:46:01 +00:00
DroidDeck-Bionic is a Steam compatibility tool that runs the game itself with Android's own libc (bionic) instead of glibc inside proot. Steam, the stores and the session stay on DroidDeck's Linux side unchanged; only the game process leaves proot. It is listed in the Proton list only when "Run without proot" is on, and it is shipped as a pre-release runtime pack (DroidDeck-Bionic-12.8-rNN on Droid-Deck/DroidDeck-Proton), never as the default for other users. Runtime pack (tools/bionic-runtime, .github/workflows/build-bionic-runtime.yml) - CI builds an aarch64 bionic pack: the Wine layer from The412Banner/proton-wine (bionic build), an exec shim, launcher (tool/launch.sh + proton verbs run, runinprefix, waitforexitandrun), gamescope's WSI layer (patches 0117 + 0119), DroidDeck's GPU-load layer, fake input (fakeinput_steam.cpp), GStreamer plugins, Zink/Fast OpenGL Mesa, DXVK, VKD3D-Proton, D7VK and FEX (ARM64EC). - Games run on gamescope's X server; Steam store games reach DroidDeck's Steam (lsteamclient), Steam Input works (shared /dev/shm via libsteamshm), and Steam Cloud maps Windows save folders (tool name contains "Proton"). - DroidDeck's game settings, game-environment fixes, in-game layers and DXVK / VKD3D / FEX choices reach bionic games the same way they reach DroidDeck-Proton games (DD_* setting names). - Prefixes stay compatible both ways with DroidDeck-Proton: dead links are removed, the tool's .NET stubs and comctl32 v6 survive Wine updates, a stale FEX code cache from another FEX build is cleared, drive Z: is the whole device. - Store launches: Xbox (Windows exe path + Xbox runtime environment), GOG and Epic (.bat launchers, games that rename their process). App changes (all additive) - ProtonExtras / ProtonMenu / ExperimentalProtons / droiddeck-proton-extra: DroidDeck-Bionic pre-releases are checked and listed only with Run without proot on, in their own row (not under Experimental); updates replace the older build and carry the default tool and per-game picks over; deleting a tool removes links inside it, never what they point to. - ProtonDefault: a default or game pick left on an older bionic build moves to the installed one; bionic picks start on DroidDeck-Proton when Run without proot is off. - ComponentsManager / ComponentUpdates / ComponentUpdater / ComponentsPage / SessionOverlay: FEX components for DroidDeck-Bionic (bionic-stable on DroidDeck-Components); each tool is offered only FEX builds that fit it. - SessionService: DROIDDECK_DISPLAY_DRIVER tells bionic games which Turnip the display uses when the chosen runtime driver has no Android build. - steam-compatibility: with proot on, a launch sent to a DroidDeck-Bionic tool goes to the newest DroidDeck-Proton (picks stay as set); glibc FEX rows are never applied to a DroidDeck-Bionic tool. - droiddeck-game-env: Steam's install-script evaluator is skipped when its scripts only run processes already marked as done. Tests - New: ComponentsBionicFexTest; extended ComponentsRepublishTest, ExperimentalProtonsTest, ProtonDefaultTest, ProtonExtrasTest, test_game_environment.py, test_proton_extra.py. Device testing (Pocket FIT, Adreno 750; Pocket FIT Elite, Adreno 830) - Steam (Brawlhalla online, Left 4 Dead 2 controller, Black Ops II, Steam Cloud), Xbox, GOG, Epic and Amazon games run; saves carry both ways between DroidDeck-Bionic and DroidDeck-Proton on Xbox, GOG, Epic and Amazon. - Not tested: EA, Ubisoft, Battle.net (no owned game / not signed in).
35 lines
1.2 KiB
YAML
35 lines
1.2 KiB
YAML
name: Build bionic runtime pack and DroidDeck-Bionic tool
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'tools/bionic-runtime/**'
|
|
- 'tools/gamescope/patches/0117-wsi-cache-present-bypass-check.patch'
|
|
- 'tools/gamescope/patches/0119-wsi-default-images-under-limiter.patch'
|
|
- 'app/src/main/cpp/fakeinput_steam.cpp'
|
|
- '.github/workflows/build-bionic-runtime.yml'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-24.04
|
|
timeout-minutes: 45
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Host tools
|
|
run: |
|
|
set -euo pipefail
|
|
sudo apt-get update -qq
|
|
sudo apt-get install -y -qq --no-install-recommends libwayland-bin libwayland-dev libx11-dev libx11-xcb-dev \
|
|
libxcb1-dev libxcb-composite0-dev libglm-dev zstd
|
|
- name: Build
|
|
run: |
|
|
set -euo pipefail
|
|
export NDK="${ANDROID_NDK_LATEST_HOME:-${ANDROID_NDK_HOME:-$ANDROID_NDK_ROOT}}"
|
|
export BUILD_NUMBER=${{ github.run_number }}
|
|
tools/bionic-runtime/build.sh "$RUNNER_TEMP/bionic-runtime" "$PWD/out"
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: droiddeck-bionic-runtime-${{ github.sha }}
|
|
path: out/*
|