-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[macOS] [Arm Native] LLVM: Segfault before launching any game #12882
Comments
Can be reproduced in latest commit, build on M1 Apple Silicon with cmake arg Tried to run with static PPU/SPU decoder, which able to boot into game, but missing all 3D graphics. Also, please consider to add native aarch64 release in CI if possible, Rosetta significant reduce the CPU performance which is usually a bottleneck in PS3 emulation. |
I think this may be related to Ventura. I just made a build on Ventura now and it failed as described above. But I also made a build at the same time on Monterey in a VM, and it went in-game. It actually crashed shortly after that, but that crash was unrelated. Can anyone else with an M1 and Monterey confirm this? |
for what it's worth, i was able to start playing "the last of us" on macbookpro M2 (14" 2023 model)
the game did start, and i played for a minute or so, i thought i'd try to tweak a bit more settings so i did quit game, and after that it could never be started again. no matter what i did with settings.. reverting back to previously working ones, default, or even tweak more, nothing worked. let me know if you need more logs, or running some tests. |
hmm.. ok, if i delete the configuration directory in after the game ran the first time, i can no longer start it again as i was saying above, and when i try anyway (to start the game again) then rpcs3 shows a black game window, and if i try to stop emulation or quit rcps3 then app becomes unresponsive, and i see in the log panel messages like this: |
It looks to me like you are testing the CI builds, which are x86 and run through Rosetta. If you want to test an Arm build, here are the build instructions: Edit:
If it was the Arm build it would compile the modules for the cyclone architecture, not westmere. |
ah, my bad :) |
I renamed the issue to make it a bit clearer |
yes sorry about the confusion and my posts completely off target. |
If you can make your own build, please post how it goes. But I suspect it will not launch any games for you due to this issue. The Arm build (when it works) can only play a handful of 2D games at this time. I usually test with Dragon's Crown, and the Arkedo series also work. Maybe some other 2D games I haven't tested work as well. It will not play any 3D games without further development. |
i see, thank you for those details. i bet both x86 and arm builds make use of same libs. most probably moltenvk, i wonder what differs that much as to break 3d completely for arm builds. |
I was able to build Game halt immediately with I hope this helps :) |
Thanks for testing, though I expected it to fail on Ventura. If anyone can test with Monterey, that would be great. If we can confirm the issue is with a change in macOS, that would help identify the issue. |
Quick summary
RPCS3 will segfault when trying to launch any game.
Edit: Segfault doesn't happen if:
Edit: After the LLVM 16 update, it's no longer Ventura-only. LLVM fails on Ventura and Monterey.
Details
RPCS3 will segfault with the following error on launching any game. You can see that the segfault location is the same, though the thread may be different:
For Demon's Souls:
For Dragon's Crown:
Build with regression
Unknown
Edit: This is likely to do with Ventura, and not an RPCS3 regressionEdit: After the LLVM 16 update, it's no longer Ventura-only. LLVM fails on Ventura and Monterey.
Attach two log files
RPCS3.logEdit: New log from after the LLVM 16 update:
RPCS3.log
System configuration
M1 Pro, macOS 13 Ventura
Other details
I cannot identify the commit that introduced the regression since there are currently no Arm builds in CI.
It likely happened between #12620 and now. That PR broke Arm compilation and it has only been fixed yesterday.Edit: This is likely to do with Ventura, and not an RPCS3 regressionEdit: After the LLVM 16 update, it's no longer Ventura-only. LLVM fails on Ventura and Monterey.
The text was updated successfully, but these errors were encountered: