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

[Bug] Trying to use the camera crashes on macOS 15.0 or later #16726

Open
schm1dtmac opened this issue Feb 18, 2025 · 3 comments
Open

[Bug] Trying to use the camera crashes on macOS 15.0 or later #16726

schm1dtmac opened this issue Feb 18, 2025 · 3 comments

Comments

@schm1dtmac
Copy link
Contributor

schm1dtmac commented Feb 18, 2025

Quick summary

Using certain 1080p FaceTime cameras in RPCS3 on macOS 15.0 Sequoia or later will crash the emulator every single time, but this works fine under macOS 14 Sonoma.

Details

Attempting to access the 1080p FaceTime camera built into more recent MacBook Airs (M2+) (and likely Pros too) in RPCS3 on macOS 15 or later currently crashes the emulator with no trace of why in the log itself, unlike in Sonoma on my M2 Air at least.

macOS's own crash report says it occurred when initialising Apple's portrait effects, but I don't have that enabled or active when checking in FaceTime or any other apps using the camera. This may be an upstream Qt issue or even an issue introduced by Apple themselves however. As far as Qt goes, custom compiles of RPCS3 against Qt 6.7.3, Qt 6.8.1 and Qt 6.8.2 all crashed the same way.

Attach a log file

AppleCrashLog.txt (this is more useful)

RPCS3.log (not much crash-related info)

Attach capture files for visual issues

No response

System configuration

System: MacBook Air 2022
SOC: Apple M2
OS: macOS 15.3.1
RPCS3 version used for crash reports: 0.0.34-17498-ec3d9a2c

Other details

No response

@schm1dtmac
Copy link
Contributor Author

schm1dtmac commented Feb 18, 2025

A quick bit of fudgery just made me realise that this issue is likely down to RPCS3 for macOS being built against 13.0 Ventura, since simply compiling against 15.0 Sequoia using 15.0 Homebrew libraries was enough to make the camera work.

Obviously I can't imagine switching the builds to (possibly) require 15.0 or above is even remotely acceptable right now, but based on some market share figures I looked up, if compiling against Sonoma also fixed the camera then that'd be an easier solution by far and would cover the vast majority of active macOS users still.
EDIT: Sonoma compiles also work fine, the issue is purely down to compiling under Ventura it seems.

schm1dtmac added a commit to schm1dtmac/rpcs3 that referenced this issue Feb 19, 2025
schm1dtmac added a commit to schm1dtmac/rpcs3 that referenced this issue Feb 20, 2025
schm1dtmac added a commit to schm1dtmac/rpcs3 that referenced this issue Feb 22, 2025
@nastys
Copy link
Contributor

nastys commented Feb 23, 2025

I can't replicate the issue on my Mac.

MacBook Air M1 8 GB, 7 GPU cores
macOS 15.3.1
SIP: disabled
RPCS3 0.0.34-17507-b08273b1

Camera input: PS Eye
Camera handler: Qt
Camera: FaceTime HD Camera
Camera Flip: No

Camera settings: FaceTime HD Camera, 1280x720, 30 FPS, NV12

I tried VSH -> Accessory settings - Camera device settings.
macOS asks me to allow usage of the camera, then I just have to re-enter the camera settings in the VSH and it works without ever crashing.

schm1dtmac added a commit to schm1dtmac/rpcs3 that referenced this issue Feb 23, 2025
@schm1dtmac
Copy link
Contributor Author

schm1dtmac commented Feb 23, 2025

I can't replicate the issue on my Mac.

MacBook Air M1 8 GB, 7 GPU cores macOS 15.3.1 SIP: disabled RPCS3 0.0.34-17507-b08273b1

Camera input: PS Eye Camera handler: Qt Camera: FaceTime HD Camera Camera Flip: No

Camera settings: FaceTime HD Camera, 1280x720, 30 FPS, NV12

I tried VSH -> Accessory settings - Camera device settings. macOS asks me to allow usage of the camera, then I just have to re-enter the camera settings in the VSH and it works without ever crashing.

It must be hardware-related to a degree then, might be because the M2 Air has a slightly different FaceTime camera (it's a 1080p module instead of 720p for the M1 Air). I rechecked with SIP off to emulate your configuration, it still crashes with the latest master but works fine under the PR/Sonoma build (checked via the Configuration -> Cameras menu bar option).

schm1dtmac added a commit to schm1dtmac/rpcs3 that referenced this issue Feb 25, 2025
schm1dtmac added a commit to schm1dtmac/rpcs3 that referenced this issue Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants