RPCS3 / rpcs3

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

Sonic The Hedgehog 2006 - Ingame but no Graphics #4122

Open NeoSlyde opened 6 years ago

NeoSlyde commented 6 years ago

Here is a video: https://youtu.be/zR_KX4VVJsg Using the build rpcs3-v0.0.4-2018-01-26-20394d9a_win64.zip

Kd-11 we need your magic please

MaikelChan commented 6 years ago

Besides that, it's pretty unstable, with a bunch of "Access violation reading location 0x0" crashes whenever it feels like it. But it's nice to finally see it running.

Here's a log: RPCS3.log.gz

valpackett commented 6 years ago

Looks like the 0x0 violation on the initial load screen was caused by "Load automatic and manual selection", with liblv2 only it does indeed load into the menu, sometimes…

Irixion commented 6 years ago

The 3D assets are there--However it just isn't displaying it in the right order. There was a similar issue with Xenia. There's a conflict in draw priority:

Effects -> Skybox -> Game

What it really should be is:

Game -> Effects -> Skybox

The assets don't flicker in and out of existence, they just appear and disappear over the skybox layer.

ActualMandM commented 6 years ago

Windows 10 64-bit GeForce GTX 1060 6GB i5-7600k 16GB RAM

0.0.5-6553-af89b6219

The in-game graphics shows the sky most of the time, but sometimes it will randomly show geometry.

Emulator: 2018-03-21_12-23-32 Footage

Console: 2018-03-21_12-23-43 Footage

RPCS3.log.gz

idotuxedo commented 5 years ago

How can we fix this?

ActualMandM commented 5 years ago

Here are some RSX captures with a screenshot of what they currently look like.

2019-01-12_12-52-21 BLES00028_20190112124724_capture.zip

2019-01-12_12-52-33 BLES00028_20190112124737_capture.zip

elad335 commented 5 years ago

retest.

Margen67 commented 5 years ago

@elad335 No difference.

ehw commented 5 years ago

Testing with 0.0.6-8257, this is still a problem. The game still suffers from MEM: Access violation reading location 0x0 errors as well.

Metasynic commented 5 years ago

Just tested again with latest build, 0.0.6-8536, and crashed with memory access violation reading 0x0 in the menu. Is it worth making this into a separate issue or is the 0x0 problem a more general issue with RPCS3?

Damin72 commented 5 years ago

Sadly, but still not playable. Tested on new build, after video about fixing MGS4.

Metasynic commented 5 years ago

The memory access violation reading 0x0 issue seems to be fixed by #6385, thank you very much @elad335!

uaqlover commented 4 years ago

there is still The memory access violation reading 0x0 issue with RPCS3 v0.0.7-9228-e380a8c2 Alpha build

ehw commented 4 years ago

Testing with 0.0.9-9925-a0612ff4 Alpha. The crashing seems to be back, and the graphics are still acting up exactly as they have always been. :(

ehw commented 4 years ago

Testing with 0.0.10-10474-bfee5415 Alpha. The game is still crashing with Recompiler (LLVM) with the memory access violation. The graphics are still acting up as they have always been.

ActualMandM commented 4 years ago

Can confirm that this bug still happens on 0.0.10-10474.

2020-06-07_18-24-14
Silver3310 commented 4 years ago

Just like the screenshot above, the same (RPCS3 Version: 0.0.10-10494-e485c9c7 Alpha)

kd-11 commented 4 years ago

This game doesn't send the draw commands to RSX, it's not a rendering issue, its likely an rsx driver problem. RSX captures only dump what is seen by RSX and the draw calls are clearly not present there either. I'll see what can be done about it.

kd-11 commented 4 years ago

As I feared, this is not a graphics problem. It appears to be a synchronization bug in lv2 kernel semaphores. The game has two threads to manage which objects are on screen and presumably tag them to be rendered by the render thread, but they are not running and are stuck in an infinite loop. I'll try and fix it but if I don't make progress in 48h I'll have to unassign from my queue.

kd-11 commented 4 years ago

Removed CPU/Firmware tags. This game seems to be unstable, it appears I just had an unlucky run. Subsequent runs show the culling threads are running but for some reason the objects are not prepared for drawing, I believe the game's CPU logic thinks they are offscreen.

KenzieMac130 commented 4 years ago

RPCS3 Version: 0.0.12-10851-3e1b7625 Alpha

No crashing, just flickering. It feels like the game is almost playable after this issue is fixed. What does render seems intact, audio is there and it performs beautifully. Could easily become the best way to play (...experience?) Sonic 06.

Edit: Nevermind... When attempting to progress (blind) I am running into those crashes at the loading screens.

ultra0000 commented 4 years ago

so i tried running it with version 0.0.12-11039-6590366f Alpha, the background of the UI is black and it just gets stuck in "compiling shaders" after the first cutscene, might be my shitty pc. (dont even know why im trying this emulator with this pc, at least it runs simple 3d games in this emulator like sonic adventure and 2d games) imagen imagen imagen

ultra0000 commented 4 years ago

ok forget the comment i did before, now it runs with missing graphics imagen

kira1000 commented 3 years ago

Game still has this issue but aside from that runs smoothly, minimap SOMETIMES pops in. I DID notice that in a YT video from 2019, someone got it to flicker to a degree that he/she could play the game and that was in RPCS3 0.0.6 -8084. I also want to note that using multithreaded RSX causes the text on the title screen/main menu to vanish and for the game to not go past the team selection screen. sonic 06

ehw commented 3 years ago

Game still has all the issues mentioned before, including the "E VM: Access violation reading location 0x0 (unmapped memory) [type=u0]" errors that occur randomly when loading. This still occurs as of 0.0.16-12344. No change at all.

B00MST3R commented 2 years ago

I can confirm this game is still buggy on the latest version too.

ultra0000 commented 2 years ago

so, i decided to try to run this game on 0.0.21-13346-78b8bd80, it's basically the same but i've also found more crashes that may or may not happen when testing the game multiple times: -the crash we already know about (after skipping the opening cutscene, during the loading screen, what i mean with "during" is that the game freezes with the "NOW LOADING..." text on screen) -a crash when getting to the main menu after pressing start on the title screen -another crash after selecting the "SINGLE PLAYER" option on the main menu -and another one after the loading screen from the opening cutscene (what i mean with "after" is that the "NOW LOADING..." text was gone when the crash happened)

Valknyx commented 2 years ago

I have hope someday this will be fixed

ultra0000 commented 2 years ago

alright so i can't replicate the pressing start on the title screen and the crash after selecting the "SINGLE PLAYER" option on the main menu but the others still happen. i have taken the last line of the logs of when the crashes happen. i've also found another crash which crashes the emulator with an error after skipping the intro cutscene and not even getting into the first loading screen.

after loading screen (after this happens, trying to stop the game crashes the emulator): F {PPU[0x1000000] Thread (main_thread) [0x00e56004]} VM: Access violation reading location 0xc0ad (unmapped memory)

during loading screen (able to stop the emulator but it does take a bit): E VM: Access violation reading location 0x0 (unmapped memory)

error after skipping the intro cutscene: image

i could replicate those issues and provide the full logs if anyone really wants to fix the issues the emulator has with this game.

ultra0000 commented 2 years ago

recap of the issues with this game, on 0.0.21-13503: -constant crashes (mentioned above) -main menu background not rendering properly (flickering) rpcs3_vn4XW32wja -world not rendering properly (flickering) rpcs3_W3jaU7k6jw rpcs3_dQh4z2AXgH

elad335 commented 2 years ago

Linking to #12258 which fixes its random crashes and allows it to render some more graphics.

noskap commented 1 year ago

The 3D assets are there--However it just isn't displaying it in the right order. There was a similar issue with Xenia. There's a conflict in draw priority:

Effects -> Skybox -> Game

What it really should be is:

Game -> Effects -> Skybox

The assets don't flicker in and out of existence, they just appear and disappear over the skybox layer.

would it be possible to write a canary patch for this?

Edit: my bad, there already is a canary patch

TailsGuy commented 1 year ago

It's also a problem on the Japanese version, which isn't any surprise to be frank.

https://github.com/RPCS3/rpcs3/assets/70661792/fa058949-e8b8-4d35-8500-338885814ac2

TailsGuy commented 1 year ago

Pretty much the exact same issues as other regions, without a canary patch. flickering graphics, no main menu background.