Skip to content

uncharted-android 0.2.10

Pre-release
Pre-release

Choose a tag to compare

@revvv991 revvv991 released this 30 Oct 21:05
· 101 commits to main since this release

Still experimental; no game files are included, you need your own decrypted dump of the collection (version 1.02 of the executables).

Fixed

  • GPU faults on the Adreno 735 (Retroid Pocket G2) - the hangs after a level loads, with a recovery or a lost device. The bundled Turnip now keeps the GPU's command buffers below 4 GB of its address space: the Adreno command processor can fetch wrong contents from a command buffer above that line after a preemption. Mesa has a workaround for this since 26.2, but on Android's KGSL driver it never took effect (the flag does not fit the ioctl it is passed to); this build allocates those buffers through an ioctl that carries it. In our test, 6 of 6 game processes with the rule had no fault, 3 of 6 without it had 56. The earlier workarounds for these faults stay on.
  • Memory: a 128 MiB GPU buffer created and freed every half minute. The copies between depth and color images in the texture cache asked for a fixed 128 MiB staging buffer each time; the pool freed it after 20 seconds idle and made it again at the next copy. The buffer now has the size of the copy (a few MiB), and the GPU memory in use stays flat.

Added

  • The game's update as a folder of its own (#10): a dump that keeps the update apart from the game can keep it as <game folder>-UPDATE next to the game's folder (CUSA02344-UPDATE next to CUSA02344). Its files come first, the game folder's where it has none; either folder can be chosen in the launcher, and Prepare reads the executables the same way.
  • An app icon (#4): a compass rose; no game artwork.

For developers

  • The bundled Turnip's switches are also read from Android system properties (debug.mesa.<name>, for example debug.mesa.tu.page1.skip; the environment wins), and its notes go to the Android log (tag TU) as well: for other apps that load this driver through libadrenotools. TU_IB_LOW4G=0 turns the 4 GB rule off.
  • BB_STAGING_LOG=1 prints the staging pool's large buffers (created, idle, freed) to the log.
  • build.sh stops at a failed Java compile instead of packaging the old classes.

Known issues

  • Snapdragon 8 Elite / 8 Elite Gen 5 (Adreno 8xx): the bundled driver does not render the game correctly (#1, #8); try the driver packages from Settings > Vulkan driver > Download...
  • The sizes below 1080p need version 1.02 of the executables (#3).

0.2.7 to 0.2.9 offer this release in the app (Update); or install uncharted-android-0.2.10.apk over the previous version (same signing key; settings and saves stay). Building from source: see the README.

Checksums

  • uncharted-android-0.2.10.apk SHA-256: a460d640fe3055cfd5a89a2bfa9c2b6fa73eb901eff3e1c254683dd55dd2297b
  • Signing certificate SHA-256: e9f4c3735869e415fbf21647eafb7991b05d6e926f9daf0eea0f88fc3e7bc60b