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

More Ignore address in gpu #16303

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

More Ignore address in gpu #16303

wants to merge 3 commits into from

Conversation

sum2012
Copy link
Collaborator

@sum2012 sum2012 commented Oct 30, 2022

work arround #16297 for ignore address

The game get struck after this logging
48:37:015 idle0 E[G3D]: GPU\GPUCommon.cpp:1396 CALL to illegal address 00000000 - ignoring! data=000000
After this pr,the game return to menu normally

@sum2012 sum2012 added the GE emulation Backend-independent GPU issues label Oct 30, 2022
@unknownbrackets
Copy link
Collaborator

I tried the following code on a real PSP:

	(GE_CMD_BASE << 24) | 0x000000,
	(GE_CMD_OFFSETADDR << 24) | 0x000000,
	(GE_CMD_AMBIENTCOLOR << 24) | 0x000001,
	(GE_CMD_CALL << 24) | 0x000000,
	(GE_CMD_AMBIENTCOLOR << 24) | 0x000002,
	(GE_CMD_FINISH << 24) | 0x000000,
	(GE_CMD_END << 24) | 0x000000,

...And had to remove my battery to reset my PSP, because it locked up hard. There must be something wrong in the game where it's writing this code to the display list. I hope it's not a dcache or timing thing...

Maybe we could skip the ERROR state if "ignore bad memory access" is enabled, although a lot of crashes are driven by executing garbage VRAM...

-[Unknown]

@sum2012 sum2012 marked this pull request as draft October 30, 2022 20:38
@sum2012 sum2012 changed the title More Ignore address 0 in gpu More Ignore address in gpu Nov 13, 2022
@sum2012 sum2012 marked this pull request as ready for review November 13, 2022 07:48
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants