flycast icon indicating copy to clipboard operation
flycast copied to clipboard

Per Pixel sorting is broken on Android with Adreno

Open DieHardMan5x opened this issue 7 months ago • 4 comments

Platform / OS / Hardware: Android 13 / AyaNeo Pocket DMG

Hardware:

  • Snapdragon 8 Gen 2 with Adreno 740

Flycast version: 2.5 Standalone from Playstore

Description of the Issue Black screen and many 2D Elements are missing, games are unplayable. Polygon and strip sorting work without any issues despite graphical sorting issues of course. Tried two games, SR2 (video) and Marvel vs Capcom 2.

Debugging Steps Tested

  • Tried almost all settings
  • Tried HLE Bios
  • Tried four different Adreno drivers
  • Tried RA core with same results
  • Tried Redream on same device with pixel sorting, no issues

Logs Gathered


Screenshots

Image Image Image Image

https://github.com/user-attachments/assets/ace04888-14db-4540-a48d-b08fbcc9d39d

DieHardMan5x avatar May 15 '25 16:05 DieHardMan5x

Adreno drivers are, to be polite, "perfectible". Sometimes they just don't work at all and there's not much that can be done other that Qualcomm fixing their shit. Try to upgrade your firmware if possible. Otherwise you can try custom GPU drivers.

flyinghead avatar May 15 '25 20:05 flyinghead

Tried 20 different custom drivers but none of them work. The implementation of pixel sorting in redream in works fine.

DieHardMan5x avatar May 15 '25 23:05 DieHardMan5x

Before it was broken with Mali GPU`s https://github.com/flyinghead/flycast/issues/1356 but fixed via https://github.com/flyinghead/flycast/commit/9cc3d1030d149cf6ac9e49aa119737ed864e8ed4 Try to use old build before that fixed.

Unknowncat1991 avatar May 23 '25 22:05 Unknowncat1991

Just tried with stable v2.4, same behavior as with v2.5.

DieHardMan5x avatar May 24 '25 01:05 DieHardMan5x

Tried 20 different custom drivers but none of them work. The implementation of pixel sorting in redream in works fine.

Per pixel sorting works with "turnip_24.2.0_adpkg_R19" on my sd 8 gen 3 phone

dm699 avatar Aug 16 '25 13:08 dm699

Tried 20 different custom drivers but none of them work. The implementation of pixel sorting in redream in works fine.

Per pixel sorting works with "turnip_24.2.0_adpkg_R19" on my sd 8 gen 3 phone

@DieHardMan5x Did you try this?

dm699 avatar Sep 05 '25 05:09 dm699

@dm699

https://github.com/user-attachments/assets/481c1736-47a8-4d52-91e2-b3406dfa2fba

DieHardMan5x avatar Sep 07 '25 17:09 DieHardMan5x

@dm699

screen-20250907-192418.mp4

Damn it works for me, I guess you gotta find a different driver for 8gen2 and maybe try Sega rally 2(usa).chd

https://github.com/user-attachments/assets/ef2af050-a886-4666-9d8a-23b1676ba10b It played fine the first time I tried it but now it gets stuck here in the Europe rev 1 version after I opened the game for the 2nd time to record it

The USA version plays perfectly tho

dm699 avatar Sep 07 '25 17:09 dm699