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

[Regression] XMB Stopped Working (#14090) #14123

Closed
Jonathan44062 opened this issue Jul 3, 2023 · 32 comments · Fixed by #14437
Closed

[Regression] XMB Stopped Working (#14090) #14123

Jonathan44062 opened this issue Jul 3, 2023 · 32 comments · Fixed by #14437
Assignees

Comments

@Jonathan44062
Copy link

Quick summary

The famous PR which fixes GT Games breaks XMB, It has taken us a while to realize
It crashes with this error message
F {PPU[0x100002b] Thread (ScePafJob) [mms: 0x00d19b5c]} VM: Access violation reading location 0x1c (unmapped memory)

Details

Working 0.0.27-15096
image

Broken 0.0.27-15111 (#13917)
image

Build with regression

0.0.27-15111

Attach two log files

Working
XMB Works.log.gz

Broken
RPCS3.log.gz

Attach capture files for visual issues

None

System configuration

OS - Windows 10 22H2
CPU - i7 8700
GPU - GTX NIVIDIA 1070 Ti
Driver version - 536.23

Other details

No response

@azsenca
Copy link

azsenca commented Jul 4, 2023

Same for me. Only black screen... Ryzen 5 5500, rtx 3060ti, windows 11

Here is the log:
RPCS3.log

@AniLeo AniLeo changed the title [Regression] XMB Stopped Working [Regression] XMB Stopped Working (#13917) Jul 4, 2023
@Tha14
Copy link
Contributor

Tha14 commented Jul 7, 2023

I have the same hardware as @Darkhost1999 but I am on Windows 10. For me it crashes early on:
RPCS3.log

@MastaG
Copy link

MastaG commented Jul 7, 2023

For me it crashes immediately on Fedora 38.
RPCS3: SIG: Thread terminated due to fatal error: Segfault reading location 0000000000000148 at 00007efcdea44473.

@AniLeo
Copy link
Member

AniLeo commented Jul 7, 2023

@elad335 can you check as it comes from #13917?

@elad335
Copy link
Contributor

elad335 commented Jul 7, 2023

Enable "PPU Calling History" in vsh config file and upload log. I can't reproduce locally.

@Jonathan44062
Copy link
Author

Still crashes, I set PPU Calling History to True
RPCS3.log

@letsgoawaydev
Copy link

happening to me with
AMD Ryzen 5 5600X
RTX 3060ti

@letsgoawaydev
Copy link

it might be related to the nvidia drivers, as everybody here seems to have nvidia cards.

@elad335
Copy link
Contributor

elad335 commented Jul 10, 2023

Relared debug improvements were merged, it's a good idea to re-upload log with PPU Calling History enabled.

@Jonathan44062
Copy link
Author

New log
RPCS3.log.gz

@letsgoawaydev
Copy link

also this actually broke a game for me, the game is called nfl blitz. it wont move past the loading screen. using the version where the xmb works fixes this issue

@solarmystic
Copy link

solarmystic commented Jul 11, 2023

I discovered something that could be of interest (maybe).

If I compile all the VSH PPU modules on build 0.0.28-15111 (the affected build according this issue report) after wiping all existing VSH PPU cache in rpcs3\cache of course, VSH will work just fine on rpcs3, at least on my end.

image

I could then bring forward those compiled modules to boot VSH with no issue even on the latest master. (0.0.28-15341 as of this post)

image

On the other hand, if I compile VSH PPU modules on 0.0.28-15096 (again, making sure i wipe all PPU cache in rpcs3\cache), I can't bring those modules forward and it will then cause the exact issue as stated in this issue report.

image

Logfiles:-
Not working if PPU modules compiled from 15096 brought forward
RPCS3.zip

Working if PPU modules compiled from 15111 brought forward
RPCS3.log.gz

@demerest
Copy link

Have the same issue in 15341
Wiping cache didn't help
Ryzen 7 5700X
RTX 4070

@jlnhlfan
Copy link

I can't even get it to load because new modules get endlessly created just when you think they've all been created, or it looks like it's about to be completed.

Processor Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz 2.90 GHz
Installed RAM 16.0 GB
GPU processor: NVIDIA GeForce GTX 1650

@Darkhost1999
Copy link
Contributor

image
I can reproduce the issue in visual studio but not from my emulator directory or clean extracted folder

@ieee802dot11ac
Copy link

Can confirm I am also having this issue on latest master. Arch Linux, R5 3600, Radeon RX 570, 16GB ram. Updating to latest firmware (4.90) did not help.

RPCS3.log.gz

@Darkhost1999
Copy link
Contributor

Enable "PPU Calling History" in vsh config file and upload log. I can't reproduce locally.

Delete your mms folder and rebuild your database on next boot of vsh.
It's not vsh that's broken its the mms contents.

@elad335
Copy link
Contributor

elad335 commented Jul 30, 2023

Can the issue be safely closed than?

@Darkhost1999
Copy link
Contributor

Darkhost1999 commented Jul 30, 2023

Can the issue be safely closed than?

No, because it's still a regression. The database should be able to complete being built. I'm just saying that vsh can't display anything because none of it's database can be built after the mentioned build. Vsh.self works fine just black screen as if someone turned on Null rendering but it's just because mms/db failed to build.

@Darkhost1999
Copy link
Contributor

You can find crash logs in the dev_hdd0/mms/db folder. They're written in the actual PS3 format as if from a real PS3.

@elad335
Copy link
Contributor

elad335 commented Jul 30, 2023

Can you bitwise compare which files are different when produced by the the two builds?

@Darkhost1999
Copy link
Contributor

Sadly, I'm not sure how to do that. That's why I'm hoping you can reproduce by moving your mms folder somewhere else then booting vsh.self to watch it fail

@Darkhost1999
Copy link
Contributor

Delete your mms folder and rebuild your database on next boot of vsh.
It's not vsh that's broken its the mms contents.

These instructions aren't working for me today. The issue is still produced in a clean folder of RPCS3 but in my personal folder deleting the mms folder rebuilds the database and restarts vsh just fine. Booting and working on master for me.

@Darkhost1999
Copy link
Contributor

#14090
rpcs3-v0.0.28-15255-b0a34670_win64-works.log
Screenshot 2023-08-03 151737
rpcs3-v0.0.28-15259-554b27a8_win6-broken.log
Screenshot 2023-08-03 151516
Broken folder does not produce an mms folder.
Screenshot 2023-08-03 152253
Reason the regression went unnoticed is that those who have their mms folder from before the regression can keep booting fine without issue. As noted I managed to reproduce before by deleting the mms folder. However, on master it seems that that is no longer the case. A file that is different after a certain build is this db.err file. The build that allows the production of this db.err file is assumed to be from the same regression.
db.zip
Compressed to be able to upload. Size of file is 1kb.
I was asking Elad if they know how to look at this file because it is an error as if produced by a real ps3
image
So basically if you do rebuild your database on master branch this is the file that is different from before and this is what I can see from that error file.
Screenshot 2023-08-03 151120
I performed a lot of testing to come to this conclusion

@azsenca
Copy link

azsenca commented Aug 4, 2023

@Darkhost1999 Can you upload your mms folder, so I can try if it works for me? I have mms folder, but it is empty...

@Darkhost1999
Copy link
Contributor

@Darkhost1999 Can you upload your mms folder, so I can try if it works for me? I have mms folder, but it is empty...

The mms from your ps3 should work. Or just downgrade your rpcs3 version and build 1. I don't know the copyright for the files, so I do not wish to accidentally violate them.

@TheKurtix
Copy link

Same problem

F {PPU[0x100002b] Thread (ScePafJob) [mms: 0x00d19b5c]} VM: Access violation reading location 0x1c (unmapped memory)

Win 11 - Ryzen 7 3700x - Nvidia 3080

@soulcollectivex
Copy link

soulcollectivex commented Aug 6, 2023

Very similar issue happens with me running RPCS3 Version "0.0.29-15444-6672499d Alpha | master"
I have not been able to view the XMB at all, it just complies ppu modules and then stays at a black screen.
there are multiple errors in the log, but I also get this error:
F {PPU[0x100002b] Thread (ScePafJob) [mms: 0x00d19b5c]} VM: Access violation reading location 0x1c (unmapped memory)

I'm running RPCS3 on a Razer Blade 15 Advanced Edition Laptop on Win 10 with Intel 11th gen core i7 11800H, Nvidia RTX 3080 Laptop GPU, with 64gb of ram

@the-loan-wolf
Copy link

i am also having this same problem with rpcs3-v0.0.29-15452-343ba873_linux64.AppImage
`qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""

WARNING: radv is not a conformant Vulkan implementation, testing use only.

WARNING: radv is not a conformant Vulkan implementation, testing use only.

Failed to initialize QMediaPlayer "Could not find the videoconvert GStreamer element"

Failed to initialize QAudioOutput "Could not find the audioconvert GStreamer element"

RPCS3: PPU[0x100002b] Thread (ScePafJob) [mms: 0x00d19b5c]: VM: Access violation reading location 0x1c (unmapped memory)`

@AniLeo AniLeo changed the title [Regression] XMB Stopped Working (#13917) [Regression] XMB Stopped Working (#14090) Aug 6, 2023
@elad335
Copy link
Contributor

elad335 commented Aug 6, 2023

For it to work locally you need frash cache such as from a fresh install, there is no "remove VSH cache" yet.

@MSuih
Copy link
Member

MSuih commented Aug 6, 2023

On windows, you can erase all folders not marked with game serial from cache directory to clear both firmware and VSH modules. Then start VSH again and both will be recompiled.

@MastaG
Copy link

MastaG commented Aug 7, 2023

On Linux (Fedora 38) with todays git and starting fresh (removing ~/.config/rpcs3 and ~/.cache/rpcs3) it seems to be fixed :)
Vsh now compiles and runs fine.

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

Successfully merging a pull request may close this issue.