Closed pantomm closed 1 year ago
It looks like a GPU driver bug. What Video settings are you using?
It looks like a GPU driver bug. What Video settings are you using?
It only happens when I'm using per pixel sorting. and btw, why there's no per pixel on opengl?
I Just test it on retroarch and it doesn't have any flickering on native resolution
There's no per-pixel on OpenGL ES (mobile) because of limitations of the API.
The flycast core for retroarch is using the same code as standalone.
The latest master build includes a tentative fix for this issue. Please test and report.
Pixel 6a, latest Android, latest RetroArch (v1.17.0), latest FlyCast.
The Vulkan/Per-Pixel sorting seems to work for me now (previously it caused many issues or had lots of corruption), but it is more unstable compared to OpenGL when fast-forwarding. I get a lot of display corruption and/or complete RetroArch crash-outs when running fast forward during certain loading screens (usually the initial game bootup). Tested Sonic Adventure, Jet Set Radio and Bangai-O.
I'm going to continue using Vulkan/Per-Pixel sorting despite this though as the visual fixes are significantly better and performance doesn't seem hindered despite the better sorting, so whatever you've done has definitely fixed something.
I've been messing around with fixing this issue on my Retroid Pocket 4 Pro (Mali G77 MC9 if i recall correctly) (my test game is Sonic Adventure 2) and I have noticed the corruption seems to be reduced significantly when Enable RTT is turned on (I'm also using Delay Frame Swapping, Native Depth Interpolation, and Fix Upscale Bleeding Edge but none of those seem to be doing very much? it's difficult to tell). Running the game at 640x480 seems to eliminate it entirely outside of the title screen. Interesting results. I should also note that the first Sonic Adventure experiences this much less than the provided video.
Android 14, Flycast Retroarch core bc51aef, RA 1.17.0
Despite what I said, after being done with Sonic Adventure (which generally only crashed if I used fast forward) and some very, very brief visual corruption during some menu transitions), I switched to playing Rayman 2 and was getting crashes not only when using fast forward every time, but when reaching a certain point in the World Map/Level Select, halting my progress.
Despite the significant visual benefits to using per-pixel on Vulkan, the Vulkan driver support is just far too crashy to be usable. I was willing to not fast forward, but it's halting progress now lol
https://user-images.githubusercontent.com/50849304/232162857-0580bfb8-a0f2-4df1-ae5f-7991bd360219.mp4
Platform / OS / Hardware: Xiaomi 11t / Android 13