Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List of games with graphics rendering issues using mali gpu with vulkan backend #15016

Closed
2 tasks done
ghost opened this issue Oct 14, 2021 · 20 comments
Closed
2 tasks done
Labels
GE emulation Backend-independent GPU issues Mali GPU
Milestone

Comments

@ghost
Copy link

ghost commented Oct 14, 2021

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
Screenshot_2021-10-14-08-49-18-082_org ppsspp ppsspp

Midnight Club 3 Dub Edition
Screenshot_2021-10-14-08-48-14-272_org ppsspp ppsspp

Gensou Suikoden
IMG_20211014_091325

Surf's Up™
Screenshot_2021-10-14-08-44-21-508_org ppsspp ppsspp

The Simpsons Game Also Have Graphics Glitch Using Vulkan.
Screenshot_2021-10-14-08-38-56-700_org ppsspp ppsspp

WorkAround I found to help those games is by adding them to compat.ini PixelDepthRounding
Midnight Club L.A Remix
Screenshot_2021-10-14-08-48-53-196_org ppsspp ppsspp

Midnight Club 3 Dub Edition
Screenshot_2021-10-14-08-46-08-214_org ppsspp ppsspp

Gensou Suikoden
IMG_20211014_091402

Surf's Up™
Screenshot_2021-10-14-08-43-53-882_org ppsspp ppsspp

The Simpsons Game
Screenshot_2021-10-14-08-39-23-520_org ppsspp ppsspp

Silent Hill Shattered Memories also have problem using vulkan the flashlight doesn't shine the road.

Screenshot_2021-10-11-05-21-36-260_org ppsspp ppsspp

Workaround is to add this game to ReinterpretFramebuffers fix the flashlight
Screenshot_2021-10-11-05-20-44-424_org ppsspp ppsspp

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

@ghost
Copy link
Author

ghost commented Oct 14, 2021

Related issue #11980 #6265 #13833 #9830

@anr2me
Copy link
Collaborator

anr2me commented Oct 14, 2021

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

@ghost
Copy link
Author

ghost commented Oct 14, 2021

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.

@hrydgard hrydgard added Mali GPU GE emulation Backend-independent GPU issues labels Oct 14, 2021
@ghost
Copy link
Author

ghost commented Oct 15, 2021

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

@anr2me
Copy link
Collaborator

anr2me commented Oct 15, 2021

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

@unknownbrackets
Copy link
Collaborator

unknownbrackets commented Oct 17, 2021

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]

@ghost
Copy link
Author

ghost commented Oct 17, 2021

The most broken graphics on mali-gpu vulkan is The Simpsons Game but fixes by using PixelDepthRounding

opengl
Screenshot_2021-10-17-13-49-33-155_org ppsspp ppssppgold

vulkan
Screenshot_2021-10-17-13-48-58-029_org ppsspp ppssppgold

vulkan with pixeldepthrounding enable
Screenshot_2021-10-17-13-50-26-533_org ppsspp ppssppgold

@ghost
Copy link
Author

ghost commented Oct 22, 2021

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)

@hrydgard hrydgard added this to the Future-Prio milestone Oct 22, 2021
@ghost ghost changed the title [Android][Vulkan][Mali] Compatibility WorkAround For Some Games I Found. [Android][Mali] Vulkan backend workaround issue on some games. Oct 22, 2021
@ghost ghost changed the title [Android][Mali] Vulkan backend workaround issue on some games. [Android][Mali GPU] Vulkan backend workaround issue in some games with graphics glitch. Oct 22, 2021
@ghost
Copy link
Author

ghost commented Oct 28, 2021

Badass Rumble also have a broken map in Vulkan.

OpenGL
Screenshot_2021-10-28-20-45-50-496_org ppsspp ppsspp

Vulkan
Screenshot_2021-10-28-20-45-34-985_org ppsspp ppsspp

PixelDepthRounding is a temporary workaround for this.

@ghost
Copy link
Author

ghost commented Apr 15, 2022

MotorStorm Artic Edge overlay graphic glitches.

Screenrecorder-2022-04-15-21-42-50-212.mp4

Can be work around via DisableAccurateDepth.

@ghost
Copy link
Author

ghost commented Jun 24, 2022

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 :(

@ghost
Copy link
Author

ghost commented Jun 24, 2022

I cannot test Megamind and BadAss Rumble because I don't have those games anymore.

@hrydgard
Copy link
Owner

hrydgard commented Jul 11, 2022

Alright, I managed to improve the workaround to make it work with Surf's Up and Kenka Bancho - Badass Rumble too.

@hrydgard
Copy link
Owner

@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.

@ghost
Copy link
Author

ghost commented Jul 12, 2022

@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 🎉

@hrydgard
Copy link
Owner

Thanks!

I'm taking this one off the 1.13 milestone now then.

@hrydgard hrydgard modified the milestones: v1.13.0, Future-Prio Jul 12, 2022
@ghost
Copy link
Author

ghost commented Jul 12, 2022

How about Silent Hill Shattered Memories added to ReinterpretFramebuffers fix the flashlight?

@hrydgard
Copy link
Owner

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.

@ghost
Copy link
Author

ghost commented Jul 13, 2022

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.

@ghost ghost changed the title [Android][Mali GPU] Vulkan backend workaround issue in some games with graphics glitch. List of games with graphics rendering issues using mali gpu with vulkan backend Aug 3, 2022
@ghost
Copy link
Author

ghost commented Aug 27, 2022

All of the games I mentioned here is now finally fixed so closing this..

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GE emulation Backend-independent GPU issues Mali GPU
Projects
None yet
Development

No branches or pull requests

3 participants