mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-06 21:15:43 +00:00
perf(bionic): FEX's disk cache on, as DroidDeck-Proton's launcher sets it
DroidDeck-Proton's proton script sets FEX_DISKCACHE=1 by default; the bionic launcher did not, so FEX translated code paths again on every run and DiRT Showdown's worst frame was ~21 ms (min fps 46.7) where DroidDeck-Proton's was ~14 ms. FEX keeps the cache in the prefix (AppData/Local/fex-emu/DiskCache), keyed by its build and settings, so a game switched between DroidDeck-Proton and DroidDeck-Bionic rebuilds it once after each switch (bionic's FEX replaced DroidDeck-Proton's cache folder in the test). A game's own FEX_DISKCACHE in DroidDeck's game environment still wins. DiRT Showdown on the Pocket FIT (r17 + this setting): first run 90.2 avg / 50.2 min, then 97.2 / 68.2 and 96.4 / 70.9 (r17 without it 92.9 / 46.7; DroidDeck-Proton 90.9 / 69.9).
This commit is contained in:
1 parent
6b00181c1d
commit
0f08981dd8
1 file changed
+1
-1
@@ -87,7 +87,7 @@ export GAMESCOPE_WSI_MIN_IMAGE_COUNT=${GAMESCOPE_WSI_MIN_IMAGE_COUNT:-4} GAMESCO
|
||||
# and memcpy parts); droiddeck-game-env's per-game choices (FEX_* in the environment, e.g. .NET, Unity) win.
|
||||
export FEX_TSOENABLED=${FEX_TSOENABLED:-1} FEX_VECTORTSOENABLED=${FEX_VECTORTSOENABLED:-0} \
|
||||
FEX_MEMCPYSETTSOENABLED=${FEX_MEMCPYSETTSOENABLED:-0} FEX_HALFBARRIERTSOENABLED=${FEX_HALFBARRIERTSOENABLED:-1} \
|
||||
FEX_X87REDUCEDPRECISION=${FEX_X87REDUCEDPRECISION:-1} FEX_MULTIBLOCK=${FEX_MULTIBLOCK:-1} FEX_MAXINST=${FEX_MAXINST:-500}
|
||||
FEX_X87REDUCEDPRECISION=${FEX_X87REDUCEDPRECISION:-1} FEX_MULTIBLOCK=${FEX_MULTIBLOCK:-1} FEX_MAXINST=${FEX_MAXINST:-500} FEX_DISKCACHE=${FEX_DISKCACHE:-1}
|
||||
echo "fex $(env | grep '^FEX_' | sort | tr '\n' ' ')"
|
||||
echo "sync ntsync=$WINENTSYNC esync=$WINEESYNC ssbs=${WINE_FORCE_SSBS:-0} tu_debug=${TU_DEBUG:-} kept=$(echo $KEEP)"
|
||||
export WINESTEAMCLIENTPATH64=$ROOTFS/root/.local/share/Steam/androidarm64/libsteamclient.so
|
||||
|
||||
Reference in new issue
Block a user