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

Rendering issue in Spongebob Yellow Avenger #9018

Closed
RinMaru opened this issue Sep 26, 2016 · 24 comments · Fixed by #15907
Closed

Rendering issue in Spongebob Yellow Avenger #9018

RinMaru opened this issue Sep 26, 2016 · 24 comments · Fixed by #15907
Milestone

Comments

@RinMaru
Copy link

RinMaru commented Sep 26, 2016

once in game the 2.5D sections render weirdly but the 3D sections (inside houses) work perfectly
ules00280_00000

@unknownbrackets
Copy link
Collaborator

Did this ever used to work? Is this with default settings?

-[Unknown]

@RinMaru
Copy link
Author

RinMaru commented Sep 27, 2016

yea default settings. ive tried other settings but no dice. Im not sure if this ever worked.

@unknownbrackets
Copy link
Collaborator

Reports say it used to work in v1.2.2 with default settings:

http://report.ppsspp.org/game/ULES00280_1.01

Can you try that version? If it worked then, what's the first git build that stopped working and the last git build that still works?

If v1.2.2 also doesn't work, maybe this has to do with your video card. What device are you using? Which backend? Driver / OS version?

-[Unknown]

@RinMaru
Copy link
Author

RinMaru commented Sep 27, 2016

Windows 10 x64 Home Anniversary Update
Intel HD Graphics 3000
Intel Pentium 2020M 2.40GHz, 4.0GB RAM
nope its still broken in 1.2.2

@kuwoh
Copy link

kuwoh commented Oct 1, 2016

are you using opengl or direct3d

@RinMaru
Copy link
Author

RinMaru commented Oct 1, 2016

@kuwoh Both backends have the issue

@unknownbrackets
Copy link
Collaborator

There's a very good chance this is broken on Intel devices, if other people are seeing it working.

https://github.com/hrydgard/ppsspp/wiki/How-to-find-a-graphic-issue-with-the-GE-debugger

Can you try to find any area when the game suddenly draws gray? This means going through the draws twice: first, step through to see when it draws gray, then hit "Step Frame" and step through again - but stop just before it's about to draw the gray part. If you can post the GE debugger data here, it might help.

-[Unknown]

@RinMaru
Copy link
Author

RinMaru commented Oct 1, 2016

@unknownbrackets not sure i understand to well >"< it turns grey anytime in these areas and fps dips

capture
Im not good at this sort of thing

@RinMaru
Copy link
Author

RinMaru commented Oct 1, 2016

everything works fine inside buildings

ules00280_00001

@unknownbrackets
Copy link
Collaborator

Could you try exporting a GE debugger dump on PC?

To do this, open the game and select Debug -> GE debugger..., then when it's displaying the scene, press Record in the top right. After a second or so, it'll finish and save a trace of the drawing activity.

After that, check the memstick/PSP/SYSTEM/DUMP folder and it'll have created a file named something like "ULES12345_0000.ppdmp". You can zip that and then drag and drop it into a reply here.

-[Unknown]

@RinMaru
Copy link
Author

RinMaru commented Sep 3, 2018

ules00280_00002
ULES00280_0001.zip

@unknownbrackets
Copy link
Collaborator

This is doing something switching 565/8888, and could be getting cleared in some backends based on the hack in #11337. It's switching stride when it does this.

There's also a block transfer upload. Without block transfer or possibly slow efects, you'd be missing a bunch, I think. And older PPSSPP versions than recent git might wipe the screen (maybe still in some backends), not sure.

Finally, it blends the sky using dst.a, but while alpha blending without a texture. It's basically setting alpha in a way that currently requires dual source blending. The block transfer upload will affect this too.

-[Unknown]

@Panderner
Copy link
Contributor

Hmm this bug is existed in latest versions of PPSSPP.
Screenshot_2020-01-09-20-27-24-61_2f85358b2198d26f8aca533d68bee793

@Panderner
Copy link
Contributor

Here's a footage on a real PSP:
Screenshot_2020-03-22-21-47-47-41

@Panderner
Copy link
Contributor

This how it's looks in software renderer:
Screenshot_2020-03-24-12-20-42-35_2f85358b2198d26f8aca533d68bee793

@Panderner
Copy link
Contributor

v1.10.3-1375-g52c6169a5 Still happens:

OpenGL:
Screenshot_2020-12-23-20-14-44-977_org ppsspp ppsspp

Vulkan:
Screenshot_2020-12-23-20-15-03-396_org ppsspp ppsspp

@Panderner
Copy link
Contributor

Direct3D 11:
Screenshot (2)

Direct3D 9:
Screenshot (3)

I tested vulkan on windows but it crashes when i go outside:
Screenshot (1)

@ghost
Copy link

ghost commented Sep 2, 2021

OpenGL

Screenshot_2021-09-02-19-58-51-832_org ppsspp ppsspp

Vulkan

Screenshot_2021-09-02-19-59-09-761_org ppsspp ppsspp
recording.ppdmp.zip

Logs

[DELTED]

@hrydgard
Copy link
Owner

hrydgard commented Sep 2, 2021

Those logs look like from some previous savedata-related crash? Anyway, logs are not going to help debug this one...

@ghost
Copy link

ghost commented Sep 2, 2021

Try again maybe this help?

<<< log_count = 4 >>>
[09-02 21:07:13.027 30135:30135 D/vulkan]
searching for layers in '/data/app/~~1YSdXnKYQ3_Elp_dxjgBrQ==/org.ppsspp.ppsspp-2pqeurYeR1KqDAHu18deAQ==/lib/arm64'

[09-02 21:07:13.027 30135:30135 D/vulkan]
searching for layers in '/data/app/~~1YSdXnKYQ3_Elp_dxjgBrQ==/org.ppsspp.ppsspp-2pqeurYeR1KqDAHu18deAQ==/base.apk!/lib/arm64-v8a'

[09-02 21:07:16.971 30135:30337 I/PPSSPP]
[G3D] !!! Recreated Vulkan pipeline cache (38 pipelines, 0 failed).

[09-02 21:07:29.026 30135:30265 I/PPSSPP]
[G3D] !!! Saved Vulkan pipeline ID cache (42 unique pipelines/42).

@ghost
Copy link

ghost commented Sep 2, 2021

Can't enjoy playing this with a blackscreen as a background using openGL but the issue in Vulkan makes this game unplayable on my phone :(

@hrydgard
Copy link
Owner

hrydgard commented Sep 2, 2021

I'm just saying you don't need to post logs of this game. It's a complicated rendering issue.

@ghost
Copy link

ghost commented Sep 2, 2021

I notice that tantalus media games on ppsspp is problematic on graphics 😐
https://www.tantalus.com.au/games_psp.html

Cars-O Rama
#9850
MX vs ATV Reflex
#9604
Megamind
#13846

@ghost
Copy link

ghost commented Sep 3, 2021

Vulkan issue on this game started in v1.8.0
Screenshot_2021-09-03-11-28-14-412_org ppsspp ppsspp
Using v1.7.1 Vulkan
Screenshot_2021-09-03-11-26-46-499_org ppsspp ppssppgold
Disable Stencil Test ON
Screenshot_2021-09-03-11-27-43-160_org ppsspp ppssppgold
Software Rendering using the latest build on Android.
Screenshot_2022-07-16-22-57-14-665_org ppsspp ppsspp

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

Successfully merging a pull request may close this issue.

5 participants