hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.22k stars 2.17k forks source link

Rear view mirror glitch in Ridge Racer 2 (EDIT: Caused by cheat) #18002

Closed kristianity77 closed 1 year ago

kristianity77 commented 1 year ago

Game or games this happens in

Ridge racers 2

What area of the game

In any race, there are now visual glitches when looking in the rear view mirror. Happens on all renderers. It used to work fine but am not sure which version, it's been a good few months since I last played.

What happens

Garbled graphics where the mirror should be. You can part see the reflections but they are innacurate.

What should happen

Should look correct

GE frame capture

No response

Platform

Android

Mobile phone model or graphics card

AMD (Aya neo) and desktop Nvidia 3070ti

PPSSPP version affected

Latest official and latest dev build

Last working version

Not sure

Graphics backend (3D API)

Vulkan

Checklist

hrydgard commented 1 year ago

Hi, I don't see any problems at all with the rearview mirror. Could you upload a screenshot here? Just drag into the edit textbox when you write a comment.

kristianity77 commented 1 year ago

P_20230829_200013

kristianity77 commented 1 year ago

P_20230829_200328

Clearer on this pic. There is a tiny bit of the rear view mirror at the top which appears to be correct, but all at the bottom is messed up

hrydgard commented 1 year ago

Ok, that's weird. I don't see that at all on Windows, but will try other platforms shortly.

kristianity77 commented 1 year ago

Just to be clear this is windows I'm using, not sure why it says android in my original post. The error occurs no matter what renderer I use also. This is on an Aya neo 2 device and also my desktop which are both windows 11 latest updates. One is amd 6800u with on board and graphics, the other is a 3070ti GPU

kristianity77 commented 1 year ago

It even occurs in software rendering which surprised me

hrydgard commented 1 year ago

Is it on some specific track? With some specific car?

kristianity77 commented 1 year ago

Any track, with any car

kristianity77 commented 1 year ago

Ok to try and help I have rolled back to v1.14.2 and the issue isn't there. It seems it's somewhere after this point it was introduced.

hrydgard commented 1 year ago

What about 1.15.4 , or the latest buildbot builds?

I'm still really baffled, I only see correct graphics in the mirrrors, in the latest builds. Of course, some detail is dropped as it is on the real PSP, but no real glitches.

image
kristianity77 commented 1 year ago

The latest official version works on my Nvidia card, but gives the mirror issue on my AMD card.

The AMD card version works from anything prior to 1.14.2, but not anything afterwards. I can switch between the two versions on the same system and one works, the other doesn't.

It seems it's an issue with AMD GPUs and something has changed from the version of ppsspp a few months back to the latest ones

hrydgard commented 1 year ago

ok, I will check on AMD tomorrow.

kristianity77 commented 1 year ago

P_20230829_205210

kristianity77 commented 1 year ago

That's AMD on 1.14.2

kristianity77 commented 1 year ago

So just one more thing to note. I've tested quite a few of the older versions of ppsspp and the last official build that is bug free is 1.15.3. it works perfectly on that build. Sorry I couldn't be more help!

hrydgard commented 1 year ago

So you're saying that 1.15.4 is buggy then, while 1.15.3 is fine? Surprising given the small amount of differences between 1.15.3 and 1.15.4, but if that's the case, could be a useful bit of information.

hrydgard commented 1 year ago

Tested, my AMD RX480 renders this perfectly well, too, in both Vulkan and OpenGL (haven't yet tested the other backends)

unknownbrackets commented 1 year ago

Software rendering can't really be related to the graphics card, so if it happens there too it seems like it must be either related to some setting, or some different ISO...? Or else it always happens in software rendering.

-[Unknown]

hrydgard commented 1 year ago

Oh yeah, forgot that the problem was reported with software too. Can we have a screenshot of that as well? Because that does seem unlikely...

hrydgard commented 1 year ago

I'm unable to reproduce this on anything, including on software rendering. So I'm going to post-pone further work until after 1.16.

kristianity77 commented 1 year ago

I can reproduce this and I now know what causes it and I apologise as it seems it's not directly related to ppsspp as such. It was a cheat I had enabled for the game unknowingly. When I disabled it it went away. So yes, apologies!

hrydgard commented 1 year ago

Could you paste the particular cheat that caused it here? Maybe someday we'll add warnings for known bad cheats, and in that case it's good to have it. Though, not likely anytime soon.

kristianity77 commented 1 year ago

It's the cheat for extended rendering distance of the mirror