flycast icon indicating copy to clipboard operation
flycast copied to clipboard

Ground textures flashing and disappearing in Spikers Battle (NAOMI) on Mali

Open jolumatro opened this issue 8 months ago • 4 comments

Platform / OS / Hardware: Android/Gamma OS/ Anbernic RG505M (Unisoc T618/Mali G52)

Flycast version: 2.4 and also last week's dev builds

Hardware: Anbernic RG505M (Unisoc T618/Mali G52) Also happens on Retroid Pocket 2S (Unisoc T610/Mali G52MC2)

Both devices using Driver Mali-G52 version 27.0.0 as detected by Flycast

Description of the Issue

As seen on the screenshots, the ground textures disappear and reappear in attract mode

Debugging Steps Tested

  • For repro: Simply start Spikers Battle and let it run
  • Tried both backends (OpenGL/Vulkan)
  • Tried all 3 sorting methods, no difference
  • Tried with Native Depth Interpolation on/off, no changes
  • Enabled copy rendered textures to VRAM, same result
  • Tried different texture filtering options

Logs Gathered

No logs gathered

Screenshots

Image Image Image

jolumatro avatar May 04 '25 20:05 jolumatro

I can reproduce this on a Mali-G52 MC2 GPU. It looks like typical Z-fighting for which there is no easy fix.

flyinghead avatar May 06 '25 16:05 flyinghead

Thanks! Just out of curiosity, I tested on a Snapdragon 695 now, it is all perfect there.

jolumatro avatar May 08 '25 08:05 jolumatro

By the way, if needed testing (for this or another issue) these are my devices:

-Anbernic RG505M -Retroid Pocket 2S -Snapdragon 695 device with 4GB RAM -Snapdragon 865 device with 8GB RAM

jolumatro avatar May 08 '25 08:05 jolumatro

Update: Got my hands on a T616 tablet (Realme Pad Mini) with Mali G57 MP1 Flycast shows driver version 32.0.0 Still happens (tested now with 2.5)

jolumatro avatar May 11 '25 11:05 jolumatro