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

Indiana Jones and the Staff of Kings graphics issues (Mali, ES 2.0) #11598

Open
hrydgard opened this issue Nov 26, 2018 · 12 comments
Open

Indiana Jones and the Staff of Kings graphics issues (Mali, ES 2.0) #11598

hrydgard opened this issue Nov 26, 2018 · 12 comments

Comments

@hrydgard
Copy link
Owner

hrydgard commented Nov 26, 2018

Originally reported here, on a Mali 400 device:

https://forums.ppsspp.org/showthread.php?tid=2301

Seems the graphics have broken at some point.

A frame dump would help, see https://github.com/hrydgard/ppsspp/wiki/How-to-create-a-frame-dump

2018-11-02_172701

@hrydgard hrydgard added this to the v1.8.0 milestone Nov 26, 2018
@ghost
Copy link

ghost commented Nov 27, 2018

Look like a similar issue #11573 but different game

Screenshot

screenshot_2018-11-27-12-22-07

@ppmeis
Copy link
Contributor

ppmeis commented Dec 3, 2018

Tested on latest Windows build. It looks fine:
image

@hrydgard hrydgard modified the milestones: v1.8.0, v1.9.0 Feb 10, 2019
@ghost
Copy link

ghost commented Feb 10, 2019

Disable Slower Effects ON

screenshot_2019-02-11-02-13-12

Disable Slower Effects OFF

screenshot_2019-02-11-02-12-58

Mali-450 GPU
PPSSPP-v1.7.5-438-gccfcbc746

@unknownbrackets
Copy link
Collaborator

The "disable slower effects" checkbox should possibly be renamed to "increase graphics bugs but also speed".

If it's only broken with slower effects disabled, it's not broken. It's working as well as possible.

-[Unknown]

@hrydgard
Copy link
Owner Author

Although in the post above, it looks like the opposite... Maybe confused ON/OFF?

@unknownbrackets
Copy link
Collaborator

Oh, my mistake. If this only happens on Mali-4xx, maybe it's a depal issue or else shader blending then? Maybe the shader fails due to shader complexity but then we copy the pixels anyway?

-[Unknown]

@hrydgard
Copy link
Owner Author

Yeah, that seems like a fairly likely explanation..

@ghost
Copy link

ghost commented May 19, 2021

Just a reminder that this issue only can produce on a phone with opengl 2.0 mali 400 series gpu.

@hrydgard hrydgard removed this from the Future milestone May 19, 2021
@hrydgard
Copy link
Owner Author

hrydgard commented May 19, 2021

It's not a solved issue so I'm reluctant to close, it might get accidentally fixed by another fix in the future, but probably won't ever get around to digging deep here, so removing the milestone.

@hrydgard hrydgard changed the title Indiana Jones and the Staff of Kings graphics issues Indiana Jones and the Staff of Kings graphics issues (Mali, ES 2.0) May 19, 2021
@unknownbrackets
Copy link
Collaborator

#11573 caused a similar issue to this one, and I noticed its dump produces some interesting artifacts in the software renderer. Leaving some notes here in case it's helpful.

Everything is fine through draw 111. For 112/151, it then textures that onto the depth buffer using src.a * src + zero, but this somehow leaves some gaps between the rectangles it drew. It then uses this for bloom, which makes some purple bleed all over the screen.

The x coordinates are 0.5 - 32.4375, 32.5 - 64.4375, etc. up through 240.4375. The y coordinates are similar, always 0.5 - 136.4375 for each rectangle. This is done in throughmode, so there's probably an issue with how these coordinates are rounding while in throughmode. If I adjust the offset for the draw, it rounds properly.

I'd guess the artifacting in this issue might be related to some sort of depth buffer usage too.

-[Unknown]

@10522
Copy link

10522 commented Mar 6, 2023

@hrydgard, @unknownbrackets, is it possible to fix this problem?

@ghost
Copy link

ghost commented Mar 6, 2023

@hrydgard, @unknownbrackets, is it possible to fix this problem?

Use v1.13.0 I think disable slower effects still available on that version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants