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

Raspberry pi: glitching 2D fighting games with threaded rendering #997

Open sergioad opened 3 years ago

sergioad commented 3 years ago

Hello friends when playing SFIII on Flycast with the "Threaded rendering" option enabled I am getting lots of issues on my Raspberry pi 4, this issue apparently also aplies in other 2D fighting games like CvS 1, CvS 2 and MvC2

barbudreadmon commented 3 years ago

I can't reproduce this issue with the information you provided (i don't own a pi4 though), so i'm considering 2 possibilities :

sergioad commented 3 years ago

Hello @barbudreadmon thanks for the super quick response, I have not set anything different, and let me tell you... while disabling threaded rendering highly improves Street fighter III sadly it worsens Capcom vs SNK 2 as the music is chopped here and there

Regarding my settings everything was set to the defaults including the resolution

BTW how is that Vulkan support going? When the rpi Vulkan gets integrated to the next version of the video drivers I will surely play Flycast + vulkan + my 1950 MHz overclock

barbudreadmon commented 3 years ago

everything was set to the defaults including the resolution

Could you confirm it's currently set to 640x480 ? i think some distro were changing that default setting, so maybe retropie too

sergioad commented 3 years ago

It is, I will check out the scaling options to see if the aspect ratio was charged like they did on PSP and GBA

sergioad commented 3 years ago

Could you confirm it's currently set to 640x480 ? i think some distro were changing that default setting, so maybe retropie too

I already tried using the core provided aspect ratio and the problem persists, it might start perfectly fine but the graphics start to glitch after executing lots of super moves Street Fighter III - 3rd Strike v1 001 (2000)(Capcom)(NTSC)(US) ! -201228-155700

barbudreadmon commented 3 years ago

I managed to reproduce this with your instructions (well, it didn't look as bad though), it seems to only happens with per-triangle alpha sorting, i couldn't reproduce with the other alpha sorting choices.

sergioad commented 3 years ago

In the pi you only have per triangle and other (I do not remember the name) which is less accurate

barbudreadmon commented 3 years ago

which is less accurate

Yeah, and it doesn't seem to happen when using this one.

sergioad commented 3 years ago

No, I only get some screen tearing when I dash a lot using per strip alpha sorting

It is very noticeable in Guilty Gear X but also occurs in other games like CvS 1 & 2

sergioad commented 3 years ago

Any idea how to solve it? Three months in and does not seem to be solved in updates, if I can help please let me know