flyinghead / flycast

Flycast is a multiplatform Sega Dreamcast, Naomi, Naomi 2 and Atomiswave emulator
GNU General Public License v2.0
1.29k stars 161 forks source link

[Mali G68] Sonic Adventure(US) corrupted texture flickering when running on per-pixel transparency #1497

Closed Hotate90 closed 1 month ago

Hotate90 commented 2 months ago

OS: Android 14, One UI 6.0

Github hash: https://github.com/flyinghead/flycast/commit/d46b181

Hardware: Samsung Galaxy Tab S9 FE (Exynos 1380, Mali G68 MP5, 8GBs RAM)

Description of the Issue

(VULKAN) When running on per-pixel transparency, there's a lot of corrupted texture flickering. This doesn't happen with the other two transparency modes and per-strip is the most stable, however it breaks a bit of the game's geometry, including Sonic himself. Game runs at full speed with no other graphic glitches to speak of otherwise. This issue is more apparent when running the game with the 60FPS mod - vanilla version flickers on menus but normalizes during gameplay. 60FPS version flickers everywhere.

Haven't tested other games to check if these issues are game-specific or widespread throughout.

Debugging Steps Tested

Screenshots

Screenshot_20240428_014143_Flycast Screenshot_20240428_014621_Flycast

flyinghead commented 2 months ago

This is an issue with your GPU or GPU driver. There are many issues in per-pixel on mobile devices in general, and with Mali GPUs in particular. See #1234, #1014 and #1356.