Repository navigation
BOTWRecompAndroid 0.4.7 (beta 39): mapa certo com a Economia de RAM, opção de sombras e menos esperas por shaders
Pre-releaseBeta 39. O mapa e o minimapa não ficam mais escuros com a Economia de RAM ligada, chega a opção Vídeo > Sombras, e o jogo espera menos por shaders. Várias mudanças vieram de colaboradores (obrigado, Propinbo e HallanBR!).
Correções
- Mapa e minimapa escuros com a "Economia de RAM" ligada (#471, #478): com o zoom no mapa, ou no minimapa, a imagem ficava escura.
- Causa: com a Economia de RAM, depois de enviar uma textura à GPU o app devolvia a memória dela ao Android, e essa memória passava a ler zeros. Mas o jogo às vezes cria a textura de novo sobre a mesma memória sem carregar o arquivo outra vez, e ela era enviada a partir dos zeros.
- Agora: a memória vai para o swap do Android com o conteúdo guardado: a economia continua, e nada vira zero. Se você tinha o problema, conte se resolveu.
- Frame rate 40 / 45 em telas de 120 Hz (#455): o HyperOS deixa o jogo em 60 Hz até ele pedir mais, e o modo caía para 30. Agora o app pergunta ao Android a maior taxa que a tela oferece e pede 120 Hz. Contribuição do HallanBR.
Novidades
- Vídeo > Sombras: desliga as sombras do jogo. A imagem fica mais chapada, mas a GPU trabalha um pouco menos (−0,8 ms por quadro num Snapdragon 8 Gen 3). Só vale a pena num celular no limite. Contribuição do HallanBR (#457).
- Menos esperas por shaders:
- os shaders que o quadro precisa agora são montados antes dos outros, e a thread de render faz o trabalho ela mesma em vez de esperar na fila (Propinbo, #481);
- a tradução dos shaders fica guardada junto do cache, e não é refeita a cada abertura (Propinbo, #482);
- com Turnip e com a Mali (driver r49 ou mais novo), menos combinações de pipeline para montar (Propinbo, #483).
- Mali: texturas trocadas sem parar o jogo: a troca de slots de textura vai para a fila da thread de render em toda Mali, sem esperar que ela esvazie (Propinbo, #485).
- Relatório de travamento: se nenhum quadro termina por 5 s, o log agora lista também cada thread do jogo e o que ela está esperando. Quem tem o travamento depois de 30-40 min (#401, #489): espere uns 15 s depois de travar, feche o app e mande o
botwrecomp-log-previous.txt. - Desempenho: o relógio é lido uma vez por passe, não por draw (HallanBR, #452), e as cópias das listas de comandos anotam os fences enquanto copiam (HallanBR, #456).
Não precisa compilar o código do jogo de novo: é só instalar por cima. Na primeira abertura os shaders são traduzidos de novo uma vez.
Problemas conhecidos
- O jogo pode travar depois de 30-40 min (#401 na Mali-G1, #489 numa Adreno 710): a GPU termina tudo e as threads do jogo param. O novo relatório deve mostrar onde.
- 4 GB de RAM: perto de 20 fps no mundo, e o fps cai quando o aparelho esquenta.
- Mali: a memória ainda pode crescer em sessões longas. A grama ainda pode ficar preta.
- RADV no Xclipse 530: o jogo cai dentro do driver RADV ao entrar no mundo (#383).
- 1.0.0 em combate: os inimigos podem deixar linhas pretas ao morrer. Use a 1.8.2 ou a 1.9.0.
- A chuva cai mais devagar que no console. A grama baixa ao longe só aparece de perto. No driver de fábrica da Qualcomm, o fundo do menu de pausa fica preto.
Nenhum arquivo do jogo vem incluído. Testada no POCO F7 Ultra (Adreno 830, Turnip). Para instalar e configurar: 0.1.0-beta. Créditos no README.
Beta 39. The map and minimap no longer go dark with RAM saving on, there's a new Video > Shadows option, and the game waits less for shaders. Several changes came from contributors (thank you, Propinbo and HallanBR!).
Fixes
- Dark map and minimap with "RAM saving" on (#471, #478): zoomed in on the map, or on the minimap, the picture went dark.
- Cause: with RAM saving, once a texture was on the GPU the app gave its memory back to Android, and that memory then read as zeros. But the game sometimes makes the texture again over the same memory without loading the file again, and it was uploaded from the zeros.
- Now: the memory goes to Android's swap with its contents kept: the saving stays, and nothing turns to zeros. If you had this problem, please tell us whether it's fixed.
- Frame rate 40 / 45 on 120 Hz screens (#455): HyperOS keeps a game at 60 Hz until it asks for more, and the mode fell to 30. The app now asks Android for the screen's highest refresh rate and asks for 120 Hz. Contributed by HallanBR.
New
- Video > Shadows: turns the game's shadows off. The picture looks flatter, but the GPU works a little less (−0.8 ms a frame on a Snapdragon 8 Gen 3). Only worth it on a phone at its limit. Contributed by HallanBR (#457).
- Fewer waits for shaders:
- the shaders a frame needs are now built before the others, and the render thread does the work itself instead of waiting in the queue (Propinbo, #481);
- shader translations are kept beside the cache instead of redone at each start (Propinbo, #482);
- with Turnip and Mali (driver r49 or newer), fewer pipeline combinations to build (Propinbo, #483).
- Mali: texture changes without stopping the game: texture slot changes go into the render thread's queue on every Mali, without waiting for it to empty (Propinbo, #485).
- Freeze report: if no frame finishes for 5 s, the log now also lists each of the game's threads and what it is waiting for. If you get the freeze after 30-40 min (#401, #489): wait about 15 s after it freezes, close the app, and send
botwrecomp-log-previous.txt. - Performance: the clock is read once a pass, not once a draw (HallanBR, #452), and command-list copies note their fences while copying (HallanBR, #456).
No need to build the game's code again: just install over the previous version. Shaders are translated again once, the first time.
Known issues
- The game can freeze after 30-40 min (#401 on Mali-G1, #489 on an Adreno 710): the GPU finishes everything and the game's threads stop. The new report should show where.
- 4 GB RAM: close to 20 fps in the world, and fps drops as the device heats up.
- Mali: memory can still grow over long sessions. Grass can still be black.
- RADV on Xclipse 530: the game crashes inside the RADV driver when entering the world (#383).
- 1.0.0 in combat: enemies can leave black lines when they die. Please use 1.8.2 or 1.9.0.
- Rain falls slower than on the console. Short grass in the distance only appears up close. On Qualcomm's stock driver, the pause menu's background is black.
No game files are included. Tested on the POCO F7 Ultra (Adreno 830, Turnip). To install and set up: 0.1.0-beta. Credits in the README.