libretro / flycast

Flycast is a multiplatform Sega Dreamcast emulator. NOTE: No longer actively developed, use upstream repo for libretro from now on - https://github.com/flyinghead/flycast
http://reicast.com
GNU General Public License v2.0
155 stars 77 forks source link

Marvel vs. Capcom 2 (USA) characters glitched #1022

Closed afjara closed 3 years ago

afjara commented 3 years ago

Hi, today I launched the core and noticed the characters are glitched when using the latest build ea1278e. Reverting to a previous backup build from november 2020 solved the issue.

Marvel vs  Capcom 2 (USA)-210120-211027

RetroArch 1.9.0 Windows 10 x64 RA video driver set to glcore flycast at default core settings GTX950 with latest nvidia drivers

barbudreadmon commented 3 years ago

Seems to happen when not using per-pixel alpha sorting, thanks for the report, i'll search for the faulty backport

barbudreadmon commented 3 years ago

looks like the mali 400/450 fix is at fault : https://github.com/libretro/flycast/commit/3592cad227a503d2246c3e77c8f1b3c66d65550c

afjara commented 3 years ago

Seems to happen when not using per-pixel alpha sorting, thanks for the report, i'll search for the faulty backport

Thank you too! :)

barbudreadmon commented 3 years ago

mali400/450 fix reverted, it should be ok now

afjara commented 3 years ago

mali400/450 fix reverted, it should be ok now

Thanks!

afjara commented 3 years ago

Glitched characters in MvC 2 re appeared with build f3a7d61 !

afjara commented 3 years ago

UPDATE:

Problem is present when using a GTX950, but not when trying with an Intel HD Graphics 610 laptop.

Both systems set to glcore video driver.

bslenul commented 3 years ago

Yeah, looks like 574d009 reintroduced the guilty Mali fix again, weirdly enough I can't replicate in some games previously affected by this (MvC2 displays fine for example for me), SFA3 is a mess however with GL + per-strip/triangle alpha sorting:

image

image

afjara commented 3 years ago

With default settings and glcore driver, MvC2 seems affected with my nvidia GPU.

Marvel vs  Capcom 2 (USA)-210317-211208

afjara commented 3 years ago

Issue fixed in ddb617a

Thanks @bslenul !