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

Consider Downgrading MoltenVK to 1.2.9 to fix crashing #2382

Open
yippeeeyay opened this issue Jan 13, 2025 · 6 comments
Open

Consider Downgrading MoltenVK to 1.2.9 to fix crashing #2382

yippeeeyay opened this issue Jan 13, 2025 · 6 comments
Assignees
Labels
crash causes crash dependencies Pull requests that update a dependency file request miscellaneous requests…

Comments

@yippeeeyay
Copy link
Contributor

Firstly, hope you're doing well, and congrats on getting the app to the App Store!

Newer versions of MoltenVK (1.2.10+) have an issue with Metal Argument Buffers, which causes incorrect rendering of graphics and crashing especially on older Apple GPU devices (A12 and older). In emuThree, A12 and older Apple devices will either crash or have incorrect texture rendering when starting a 3DS game.

Metal Argument Buffers only became enabled by default starting with MoltenVK 1.2.10

Here are some issues opened by the developers of DolphiniOS and Retroarch for iOS on this specific problem:
KhronosGroup/MoltenVK#2403
KhronosGroup/MoltenVK#2395

Downgrading to MoltenVK 1.2.9 would be beneficial as it would stop the crashes on Apple A12 GPU devices and older and also potentially solve graphical issues that are present on newer devices as well (mostly for 3DS).

If you do not want to downgrade, you can also disable Metal Argument Buffers by setting it to 0 instead of the default which is 1.
MVK_CONFIG_USE_METAL_ARGUMENT_BUFFERS=0
(The MoltenVK docs describe how to edit the config)

@yippeeeyay yippeeeyay added the request miscellaneous requests… label Jan 13, 2025
@Gaphilly
Copy link

Hi,
I recently installed the App Store build of Provenance on my A11 iPhone 8, but the app will not launch, instead crashing instantly. Could this issue be related to the problem I'm having?

@Gaphilly
Copy link

I am running the latest iOS 16 version and have Provenance updated to the latest version (3.0.1) by the way

@urherenow
Copy link
Contributor

urherenow commented Jan 14, 2025

I am running the latest iOS 16 version and have Provenance updated to the latest version (3.0.1) by the way

Consider that your device is too damn old. The latest IOS is IOS 18.2.1. Your’re not on the latest IOS, because your hardware isn’t even supported by Apple anymore.

@Gaphilly
Copy link

Gaphilly commented Jan 14, 2025

I acknowledge I have old and unsupported hardware and pretty ancient software but considering the most recent system Provenance emulates is the PSP, which came out 13 years before my iPhone 8 and has far worse performance, I don't think my hardware is going to be a problem. If you're gonna be this unhelpful, please do not bother replying at all.

@Gaphilly
Copy link

Screw this I'm using RetroArch

@JoeMatt JoeMatt added crash causes crash dependencies Pull requests that update a dependency file labels Jan 20, 2025
@JoeMatt
Copy link
Member

JoeMatt commented Jan 20, 2025

I'll look into this. The newer Molten added a big performance boost to 3DS on my devices.
If i can disable or build my own from source that could work perhaps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash causes crash dependencies Pull requests that update a dependency file request miscellaneous requests…
Projects
None yet
Development

No branches or pull requests

4 participants