Skip to content

v1.5.0: colour compression, +1.5 FPS (driver turnip-main-c78a9e9-ubwc)

Choose a tag to compare

@tarikbc tarikbc released this 09 Oct 18:55
· 33 commits to main since this release
e4b3373

Age of Empires IV on Android with GameNative: +1.5 FPS from colour compression in a patched Turnip driver.

What changed

  • New driver turnip-main-c78a9e9-ubwc: the v1.3.0 driver (Mesa main c78a9e9) plus patches/turnip/0001. vkd3d-proton gives the game's typeless render targets a format list that the Adreno 740 cannot share compressed data with, so the driver turned UBWC (lossless framebuffer compression) off for the game's largest colour images. Two container variables now keep UBWC on for the two cases the game never views in another format:
    TU_UBWC_RGBA8_IGNORE_R32=1
    TU_UBWC_RGBA16F_INT=1
    
    Without them the driver behaves like the v1.3.0 build. With them, it warns in logcat (UBWC opt-in: ...) if a game ever views a compressed image in another format class; AoE IV did not in any logged run. Details: UBWC.md.
  • The FEX packages are unchanged and attached again: fexcore-aoe4-perf6.wcp for AoE IV, fexcore-aoe4-perf5.wcp for AoE II DE.

Setup change

Import turnip-main-c78a9e9-ubwc.zip (Driver Manager), select it as the AoE IV container's Graphics Driver Version, and add the two variables in the Environment tab. Full setup: README.

Measured

Skirmish benchmark on the AYN Thor, GameNative 1.3.0 test release, the two drivers alternating (minute 1):

Pair v1.3.0 driver v1.5.0 driver, both variables
1 58.1 FPS 60.1 FPS
2 58.6 FPS 59.6 FPS

Mean +1.5 FPS (+2.6 %). Frames over 50 ms did not change. Not tested yet with the variables: a full game and the late-game replay.

File SHA-256
turnip-main-c78a9e9-ubwc.zip a2c79b49451dbe1b3b240f924727033bf6bdc444907dcacc47d80776606ebb0f
fexcore-aoe4-perf6.wcp (same as v1.4.0) 23bd9da0791d0310d551af25b0e82866600d8aadc4cf7ad699500bacbe09ff7b
fexcore-aoe4-perf5.wcp (same as v1.2.0) 20a32eabd5c3cb50082aa0a8f0fb835d66123b05339c48af4284364f6f90119f

License

Mesa is MIT (MESA-LICENSE.txt), FEX is MIT (FEX-LICENSE.txt); the patches follow their project. You need your own copy of the game. Age of Empires is a trademark of Microsoft; this project is not affiliated with Microsoft, Relic, AYN or GameNative.