Skip to content

LAS Recomp for Android 0.5.10 (preview): a Mali crash fixed / um travamento na Mali corrigido

Pre-release
Pre-release

Choose a tag to compare

@mamcjr mamcjr released this 01 Nov 12:41
· 1 commit to main since this release

English

A crash on Mali fixed: the game could close by itself, most often around area changes.

  • Crash while playing (issue #2): when the game destroys a texture (it does that a lot when an area changes), the app waited for the render thread to finish its queue, but another of the game's threads could queue new work right after. The render thread then used the GPU driver at the same time as the destroying thread, and a Mali-G57's driver crashed in both. Now the queue stays held until the texture is gone.

Updating from 0.5.9 doesn't build the game code again. Saves aren't touched.

Validation: release APK built and signed with the same key as the previous versions. On the POCO F7 Ultra (Adreno 830, Turnip), issue #2's route (Mysterious Woods, Mabe Village, the Library and out: four area changes) with the native game code on and a Mali-like path simulated: no crash or hang, steady 30 fps, the right picture at each stop. The crash itself was found in a Mali-G57's log and isn't reproducible here, so it's not confirmed on a real Mali yet.

Experimental preview for Android 11+ / ARM64. It does not include any files extracted from the game.


Português

Um travamento na Mali corrigido: o jogo podia fechar sozinho, quase sempre perto de uma troca de área.

  • Fechamento durante o jogo (issue #2): quando o jogo apaga uma textura (o que acontece muito ao trocar de área), o app esperava a thread que desenha terminar a fila, mas outra thread do jogo podia mandar trabalho novo logo em seguida. A thread que desenha passava a usar o driver da GPU ao mesmo tempo que a que apagava a textura, e o driver de uma Mali-G57 caía nas duas. Agora a fila fica segurada até a textura terminar de ser apagada.

Atualizar a partir da 0.5.9 não compila o código do jogo de novo. Os saves não são alterados.

Validação: APK de release compilado e assinado com a mesma chave das versões anteriores. No POCO F7 Ultra (Adreno 830, Turnip), a rota da issue #2 (Floresta Misteriosa, Vila Mabe, a biblioteca e a saída: quatro trocas de área) com o código nativo do jogo ligado e simulando o caminho da Mali: sem travar nem congelar, 30 fps estáveis, a imagem certa em cada parada. O travamento em si foi achado no log de uma Mali-G57 e não se reproduz aqui, então ainda não está confirmado numa Mali de verdade.

Preview experimental para Android 11+ / ARM64. Não inclui arquivos extraídos do jogo.