RPCS3 / rpcs3

PlayStation 3 emulator and debugger
https://rpcs3.net/
GNU General Public License v2.0
15.33k stars 1.91k forks source link

Skate 2 & 3 - Objects falling through the ground randomly #11936

Open Asinin3 opened 2 years ago

Asinin3 commented 2 years ago

In both Skate 2 and Skate 3, sometimes upon booting the game (around a 1 in 10 chance) certain objects will repeatedly fall through the ground then spawn back at their proper location and fall through the ground again.

In Skate 3, this happens with the benches you can find in the industrial area near second navy.

https://user-images.githubusercontent.com/15137035/166925306-81b389eb-764e-4f24-a7c3-2e7916aec27d.mp4

In Skate 2 this happens to objects such as the bins scattered throughout the streets, and the large blue outdoor umbrella's

https://user-images.githubusercontent.com/15137035/166925612-dae4a8ec-4b49-432d-9a29-2ccda87e6e8b.mp4

This is with SPU+PPU LLVM and Approximate xfloat. No settings are known to fix the issue at this stage, and this is not a new issue, it may not even be a regression. The first time I heard about it in Skate 3 was at least 2 years ago.

mfdsrax2 commented 2 years ago

You need a log and an RSX capture so that developers can locate this issue.

Asinin3 commented 2 years ago

There is nothing written to the log about this issue, nor is it related to settings so a log isn't very useful. The graphics are also not doing anything odd, its more of a physics problem so I doubt a capture will do anything. The devs can ask me in staff channels if they need anything, I am just making this report for documentation sake mainly as we all knew about this for years but it wasn't reported.

Bettehem commented 2 years ago

I have the same issue (although I only have Skate 3), but with the difference that it happens consistently. If using LLVM SPU Decoder, Objects will clip through the ground, no matter what the xfloat accuracy is set to. If it's set to precise or relaxed, the character will fall through the ground too. Only using ASMJIT SPU Decoder seems to fix the clipping issue, but in the past this hasn't been an issue. If I recall, I used LLVM SPU Decoder the last time I played some months ago and the issue wasn't present.

Asinin3 commented 2 years ago

@Bettehem You shouldn't be using Relaxed Xfloat outside of games that are known to work with it. It causes major problems in many games.

Bettehem commented 2 years ago

@Asinin3 I know, but as I said, it didn't matter what the xfloat accuracy was set to, the issue still persisted. I was able to isolate the issue though. The problems with stuff falling through the ground seemed to happen only with rpcs3-git from the AUR, but once I installed rpcs3-bin, the issues disappeared.

batumulia commented 1 year ago

Has this ever been resolved? I have the same happening as well.

Bettehem commented 1 year ago

Hi, I haven't looked into this issue further after I got everything working normally with the rpcs3-bin package

RipleyTom commented 1 year ago

It is an issue with compiling LLVM with gcc. Our bins use clang11 to compile LLVM and don't have this issue. If you build locally using our prebuilt LLVM library it will work. I haven't been able to test with modern clang but I expect it should work too but rpcs3 fails to compile on clang 15+ rn.

cl0ck-byte commented 6 months ago

You shouldn't be using Relaxed Xfloat outside of games that are known to work with it. It causes major problems in many games.

and that was the case here too, turning it off makes game run perfectly with LLVMs, at least with Skate3