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

Battleground 3 Homebrew shadow glitch on Mali gpu #12851

Closed
ghost opened this issue Apr 23, 2020 · 19 comments
Closed

Battleground 3 Homebrew shadow glitch on Mali gpu #12851

ghost opened this issue Apr 23, 2020 · 19 comments
Labels
Confirmed Driver Bug Driver bug, so questionable to put in too much effort. Mali GPU OpenGL

Comments

@ghost
Copy link

ghost commented Apr 23, 2020

What happens?

This game is super lag and it has a graphic glitches see the shadow of the tank
Screenshot_20200424-071453

What should happen?

Should running smooth and no graphics glitches.

What hardware, operating system, and PPSSPP version? On desktop, GPU matters for graphical issues.

Android 6.0.1
Mali-450 MP4
Octacore 1.36GHz
PPSSPP v1.9.3-702-gitbuild

For the GE Dump see my comment here #8923 (comment)

@ghost ghost changed the title PPSSPP Hembrew Game Battleground 3 Graphics Glitches and Performance Issue [Android] [OpenGL] PPSSPP Homebrew Game Battleground 3 Graphics Glitches and Performance Issue Apr 23, 2020
@LunaMoo
Copy link
Collaborator

LunaMoo commented Apr 23, 2020

Works fine on PC:
BG3H00252_00001

So glitches are either Mali specific or caused by your settings.

As for performance, be realistic, that's an old phone with 8 very weak cores, meanwhile this game while not really that complex does run at 60 fps which is always harder to run smoothly on weak hardware.

@ghost
Copy link
Author

ghost commented Apr 24, 2020

Im currently using default settings :)

@ghost
Copy link
Author

ghost commented Apr 24, 2020

I tried psp x1 rendering resolution the game performance improve a little bit but the graphics glitches is getting worst or maybe it's only my GPU Mali-450 has this issue like Monster Hunter 3rd HD graphics glitches #7218
Screenshot_20200424-080613
Screenshot_20200424-080621

@LunaMoo
Copy link
Collaborator

LunaMoo commented Apr 24, 2020

You can try this to improve performance ~ at the cost of framerate ofc:

//For Battlegrounds 3 v0.5.0 from PPSSPP homebrew store
_C0 30fps patch
_L 0xE0070ABB 0x00015DDC
_L 0x20015DDC 0x0A200800
_L 0x20002000 0x0E210ABB
_L 0x20002004 0x00000000
_L 0x20002008 0x0E210ABB
_L 0x2000200C 0x00000000
_L 0x20002010 0x0A205750
_L 0x20002014 0x00000000
_C0 30fps patch [Disable]
_L 0x20015DDC 0x0E210ABB

Althrough I can't tell whatever it's much better than just using frameskipping.

Edit: sorry, messed up one line and it wasn't working;p, fixed now.

@ghost
Copy link
Author

ghost commented Apr 24, 2020

You can try this to improve performance ~ at the cost of framerate ofc:

//For Battlegrounds 3 v0.5.0 from PPSSPP homebrew store
_C0 30fps patch
_L 0xE0070ABB 0x00015DDC
_L 0x20015DDC 0x0A200800
_L 0x20002000 0x0E210ABB
_L 0x20002004 0x00000000
_L 0x20002008 0x0E210ABB
_L 0x2000200C 0x00000000
_L 0x20002010 0x0A205750
_L 0x20002014 0x00000000
_C0 30fps patch [Disable]
_L 0x20015DDC 0x0E210ABB

Althrough I can't tell whatever it's much better than just using frameskipping.

Edit: sorry, messed up one line and it wasn't working;p, fixed now.

Thanks I will test this asap 👍

@ghost
Copy link
Author

ghost commented Apr 24, 2020

Thanks for the 30fps cheat the game performance improve much better
Screenshot_20200424-101123

@ghost ghost closed this as completed Apr 24, 2020
@Panderner
Copy link
Contributor

How about the shadows

@ghost
Copy link
Author

ghost commented Apr 24, 2020

How about the shadows

that's a driver bug I think..

@LunaMoo
Copy link
Collaborator

LunaMoo commented Apr 24, 2020

Reopening since it's still an existing issue, just limited to Mali gpu.

@LunaMoo LunaMoo reopened this Apr 24, 2020
@hrydgard hrydgard added this to the Future milestone Apr 24, 2020
@LunaMoo LunaMoo changed the title [Android] [OpenGL] PPSSPP Homebrew Game Battleground 3 Graphics Glitches and Performance Issue Battleground 3 Homebrew shadow glich on Mali gpu Apr 24, 2020
@LunaMoo LunaMoo changed the title Battleground 3 Homebrew shadow glich on Mali gpu Battleground 3 Homebrew shadow glitch on Mali gpu Apr 24, 2020
@unknownbrackets
Copy link
Collaborator

Can anyone test if this happens on newer Malis? Just to confirm if it's the same as the known Mali driver bug.

-[Unknown]

@Saramagrean
Copy link
Contributor

Mali T-880 (GLES 3.2) broken shadow is happen on OpenGL only, Vulkan is fine.

OpenGL
Screenshot_20200425-061503_PPSSPP

Vulkan
Screenshot_20200425-061529_PPSSPP

@ghost
Copy link
Author

ghost commented Apr 24, 2020

Mali T-880 (GLES 3.2) broken shadow is happen on OpenGL only, Vulkan is fine.

OpenGL
Screenshot_20200425-061503_PPSSPP

Vulkan
Screenshot_20200425-061529_PPSSPP

@Saramagrean thanks I thought this is only a driver bug of Mali-400 series..

Also noticed in your screenshot that this game performance are not good on your phone both OGL and Vulkan 😅

@Panderner
Copy link
Contributor

Anybody have you tried a GE Dump?

@ghost
Copy link
Author

ghost commented Apr 25, 2020

Anybody have you tried a GE Dump?

#12851 (comment)

@Panderner
Copy link
Contributor

No. Not that comment here's a GE Dump:
BG3H00252_0001.zip

@ghost
Copy link
Author

ghost commented Apr 25, 2020

No. Not that comment here's a GE Dump:
BG3H00252_0001.zip

In that comment I already mentioned where's my GE Dump 🙂

@hrydgard hrydgard added the Confirmed Driver Bug Driver bug, so questionable to put in too much effort. label Apr 25, 2020
@hrydgard
Copy link
Owner

On Galaxy S8+ (Mali-G71), the game works correctly at full speed on both OpenGL and Vulkan.

I don't think this one is really worth bothering with, since it is pretty clearly some sort of driver bug. Closing.

@Panderner
Copy link
Contributor

On Galaxy S8+ (Mali-G71), the game works correctly at full speed on both OpenGL and Vulkan.

I don't think this one is really worth bothering with, since it is pretty clearly some sort of driver bug. Closing.

Are you using S8 Exynos? Let me see that bug exists for newer Mali GPUs running GLES 3.x?

@hrydgard
Copy link
Owner

Yes, S8 Exynos

@unknownbrackets unknownbrackets removed this from the Future milestone Apr 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confirmed Driver Bug Driver bug, so questionable to put in too much effort. Mali GPU OpenGL
Projects
None yet
Development

No branches or pull requests

5 participants