mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 13:55:58 +00:00
Add system and imported Qualcomm drivers as Linux runtime choices
(cherry picked from commit 08fbd19f74561231e6a3adc2069686af111bd0ad)
This commit is contained in:
1 parent
ca9f416118
commit
dd6a86a187
18 files changed
+403
-14
No files matched your search
@@ -1,5 +1,10 @@
|
||||
#!/bin/sh
|
||||
export XDG_SESSION_TYPE=x11
|
||||
if [ "${DROIDDECK_SYSTEM_QUALCOMM:-0}" = 1 ]; then
|
||||
export VK_LAYER_PATH="$DROIDDECK_QUALCOMM_ROOT/wsi:$DROIDDECK_QUALCOMM_ROOT/lib"
|
||||
export VK_INSTANCE_LAYERS=VK_LAYER_window_system_integration:VK_LAYER_HYBRIS_compat
|
||||
export WSI_X11_FORCE_SHM=1 DISABLE_GAMESCOPE_WSI=1
|
||||
fi
|
||||
starts=/tmp/droiddeck-mangoapp-starts
|
||||
now=$(date +%s)
|
||||
recent=$(awk -v now="$now" '$1 > now - 60' "$starts" 2>/dev/null)
|
||||
|
||||
Reference in new issue
Block a user