List of games with graphics rendering issues using mali gpu with vulkan backend
Gamemulatorer opened this issue · comments
What should happen
Some games have graphics glitch on mali-gpu using vulkan backend but I found a workaround to fix them.
Map Graphics Issue Affected Games Using Vulkan Only.
Midnight Club L.A Remix
The Simpsons Game Also Have Graphics Glitch Using Vulkan.
WorkAround I found to help those games is by adding them to compat.ini PixelDepthRounding
Midnight Club L.A Remix
Silent Hill Shattered Memories also have problem using vulkan the flashlight doesn't shine the road.
Workaround is to add this game to ReinterpretFramebuffers fix the flashlight
Who would this benefit
All android phones with mali gpu (vulkan supported only)
Platform (if relevant)
Android
Games this would be useful in
NPJH50535
Other emulators or software with a similar feature
No response
Checklist
- Check the latest git build in case it's already implemented.
- Search for other requests of the same feature.
Are PixelDepthRounding and ReinterpretFramebuffers supposed to affects Vulkan only? or will it cause issue on other Renderer or Non-Mali?
Because if the Mali bugs exist on Vulkan only.. may be you shouldn't choose Vulkan on these buggy GPU?
But it's nice to know what's fixed them :) so may be the devs can make a better workaround specific for these GPU
Are PixelDepthRounding and ReinterpretFramebuffers supposed to affects Vulkan only? or will it cause issue on other Renderer or Non-Mali?
I don't know other gpu if affected by this issue.
Because if the Mali bugs exist on Vulkan only.. may be you shouldn't choose Vulkan on these buggy GPU?
Vulkan perform better on my phone :)
But it's nice to know what's fixed them :) so may be the devs can make a better workaround specific for these GPU
Yes I hope hrydgard and unknown find a proper fix so that I don't need to use those workaround.
Peter Jackson KingKong also having flickering on terrain textures, but fix by adding this game to PixelDepthRounding compat.ini
PixelDepthRounding OFF
flickering_ground.mp4
PixelDepthRounding ON
no_flickering_ground.mp4
ge dump
kingkong.ppdmp.zip
That flickering on the terrain textures looks like z-fighting, it's common to happen even on PC games, usually expanding the z-buffer bit size/width fixes this kind of issue, but may affect the performance
I assume the "fix" here is actually forcing early z tests off. We could try forcing NO_DEPTH_CANNOT_DISCARD_STENCIL on for Mali as well.
We do currently explicitly output layout (early_fragment_tests) in
, and maybe that's causing some problem in these cases? I had done that to hopefully push renders to give us better performance, but maybe there are cases where it's unsafe?
-[Unknown]
New discover game that glitch using vulkan
MegaMind Blue Depender minimize glitch using PixelDepthRounding
#13846
Worms Open Warfare 1 and 2 background glitch using vulkan can be fixed by DisableAccurateDepth
#12380
Wall-E Workday also have a graphics glitch using vulkan but can workaround using DisableAccurateDepth compat.ini
#14168
Capcom Classic Collection Reload menu background is missing but can workaround by DisableAccurateDepth see ~ #13357 (comment)
MotorStorm Artic Edge overlay graphic glitches.
Screenrecorder-2022-04-15-21-42-50-212.mp4
Can be work around via DisableAccurateDepth.
The new compat.ini MaliDepthStencilBugWorkaround fixes the Simpsons Game and Suikoden: Woven Web of The Centuries but didn't fix Magical Girl Lyrical Nanoha and Surf Up :(
I cannot test Megamind and BadAss Rumble because I don't have those games anymore.
Alright, I managed to improve the workaround to make it work with Surf's Up and Kenka Bancho - Badass Rumble too.
@Gamemulatorer Can you check if it works with Suikoden and Magical Girl Lyrical Nanoha too, and if so, make me some compat.ini entries? Don't have frame dumps of those.
@Gamemulatorer Can you check if it works with Suikoden and Magical Girl Lyrical Nanoha too, and if so, make me some compat.ini entries? Don't have frame dumps of those.
Yes it also fixes Nanoha Magical Girl (ULJS-00385). Thank you so much 🎉
Thanks!
I'm taking this one off the 1.13 milestone now then.
How about Silent Hill Shattered Memories added to ReinterpretFramebuffers fix the flashlight?
Hm, but does it? When I tried the flashlight was still pretty bad. Though, I might have tried the other Silent Hill game.
Either way those games need a lot more work, which I do plan to do.
Hm, but does it? When I tried the flashlight was still pretty bad. Though, I might have tried the other Silent Hill game.
Yes it's fixes the flashlight issue atleast on my phone.
All of the games I mentioned here is now finally fixed so closing this..