flyinghead / flycast

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

[Vulkan] "blocky" corrupted blocks running many games (Mslug 6, mvc2, etc) #194

Closed MagnusPrime12 closed 3 years ago

MagnusPrime12 commented 3 years ago

Platform / OS / Hardware: Windows 10 latest version, RX 480 8GB, Ryzen 2600, Radeon Adrenaline 21.2.3 (latest AMD driver) Flycast Version: Flycast Dojo for FightCade version : dojo-0.3.2 (settings screenshot)

Description of the Issue

Games run at full speed for me only with Vulkan. But games like MvC2 and Mslug 6 has screen corruption in form of blockiness. Mslug 6 is the worst (attached) and is unplayable. I assume many 2D games will have similar issues. But MVC2 would have lines on the characters, still playable, but annoying "blocky" lines corruption. Like missing a layer of emulation almost.

Debugging Steps Tested

  1. I tried various settings like in the graphics areas. doesn't seem to help. Still "blocky" and "corrupted". Attached is what i have latest.
  2. If I use OGL, everything is normal, but input lag and general lag is horrendous.

Screenshots

Setting1 Setting2 Capture Image1 Capture
flyinghead commented 3 years ago

Set Texture Upscaling to 1. Only use this option after verifying that it works fine with the game.

MagnusPrime12 commented 3 years ago

@flyinghead , didn't work. Still had the same issue. Here is another screen shot...more obvious.

Capture
flyinghead commented 3 years ago

Any change when setting Transparent Sorting to Per Triangle?

MagnusPrime12 commented 3 years ago

@flyinghead , nope, still the same thing.

flyinghead commented 3 years ago

Can you try the latest Flycast standalone build?

I'm using an RX550 at the moment (ubuntu 20) and no issue with mslug6 or any other game.

MagnusPrime12 commented 3 years ago

Can you try the latest Flycast standalone build?

I'm using an RX550 at the moment (ubuntu 20) and no issue with mslug6 or any other game.

@flyinghead Where can I find it? Not too familiar with Github in general.

flyinghead commented 3 years ago

Latest master: https://flyinghead.github.io/flycast-builds/

MagnusPrime12 commented 3 years ago

Latest master: https://flyinghead.github.io/flycast-builds/

Will do so later and reply back. TIA!

MagnusPrime12 commented 3 years ago

@flyinghead , how very strange. I tried the latest standalone. I would check "vulcan" box, save it, close the emu. Restart it, I see vulkan still check. Then I would load any game, game would load, but I felt it was laggy...then I restart the emu and the vulkan box is unchecked...almost like it's not allow me to play with Vulkan...so strange.

MagnusPrime12 commented 3 years ago

@flyinghead , just reporting back. I took an older 2/18 master build (flycast-win_x64-fast-17e46a1d8f9a3c40b132280eb72abc9db4ec98fe) and that one saved vulkan settings fine. And roms runs crisp. So whatever you guys did on later builds messed up the vulkan saving/settings saving option. Please regress latest build on why settings are not being saved...

flyinghead commented 3 years ago

The Vulkan setting regression should be fixed in the next build: https://github.com/flyinghead/flycast/commit/ca107953fe2d4495740ac77598a60c82c7420492

MagnusPrime12 commented 3 years ago

@flyinghead , I just test it. It works now!!! You guys are quick and awesome. Thanks for everything you have done to bring back my childhood.