mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 21:06:09 +00:00
x86-64 client: run native Linux games, 32-bit preloads, no Deck flags
- DroidDeck direct: a compatibility tool the x86 client gets in its own compatibilitytools.d, running a native Linux game with Valve's scout library runtime under FEX instead of the Steam Linux Runtime container (pressure-vessel, which needs bwrap). Left 4 Dead 2 (BL_X64_DIRECT_APPS) is mapped to it in the x86 config while that client is not running. - The session shim and the controller reader are also built for i386 and preloaded through glibc's $LIB, so 32-bit games get them too. - The runtime's bin/ on the client's PATH (steam-runtime-launch-client). - No -steamdeck -steamos3 for the x86 client yet: its SteamOS audio manager aborts on the runtime's PulseAudio 13 (pa_operation_get_state).
This commit is contained in:
1 parent
2d2ffd9d05
commit
49f1ceaadc
4 files changed
+111
-17
No files matched your search
@@ -28,7 +28,7 @@ concurrency:
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
env:
|
||||
PRELOAD_CACHE_VERSION: v4
|
||||
PRELOAD_CACHE_VERSION: v5
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -187,6 +187,14 @@ jobs:
|
||||
-pthread -std=c++17 -static-libstdc++ -static-libgcc -Wl,--exclude-libs,ALL \
|
||||
-o "$D/libfakeinput-x86_64.so" app/src/main/cpp/fakeinput_steam.cpp -ldl
|
||||
strip --strip-unneeded "$D/libfakeinput-x86_64.so"
|
||||
# And for 32-bit x86 programs (Left 4 Dead 2 and the other Source games are i386).
|
||||
sudo apt-get install -y -qq gcc-multilib g++-multilib >/dev/null
|
||||
gcc -m32 -shared -fPIC -O2 -Wall -pthread \
|
||||
-o "$D/libblsession-i386.so" tools/linuxfs/preload/*.c -ldl
|
||||
g++ -m32 -shared -fPIC -O2 -Wall -Wno-attributes -Wno-nonnull-compare \
|
||||
-pthread -std=c++17 -static-libstdc++ -static-libgcc -Wl,--exclude-libs,ALL \
|
||||
-o "$D/libfakeinput-i386.so" app/src/main/cpp/fakeinput_steam.cpp -ldl
|
||||
strip --strip-unneeded "$D/libblsession-i386.so" "$D/libfakeinput-i386.so"
|
||||
aarch64-linux-gnu-gcc -shared -fPIC -O2 -Wall -pthread \
|
||||
-o "$D/libblfastpath.so" tools/proot/fastpath/fastpath.c -ldl
|
||||
aarch64-linux-gnu-strip --strip-unneeded "$D/libblfastpath.so"
|
||||
|
||||
Reference in new issue
Block a user