-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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] Mario Strikers: Battle League - Crash when starting any match or training #4704
Labels
bug
Something isn't working
Comments
AaronO
added a commit
to AaronO/Ryujinx
that referenced
this issue
May 4, 2023
Command buffer errors currently trigger an exception "DeviceLost" crashing the process. Looking at [MKV's code](https://github.com/KhronosGroup/MoltenVK/blob/53a4eb26f2fbd7322eb087eb4af263fe466543b0/MoltenVK/MoltenVK/GPUObjects/MVKQueue.mm#L392-L408) we observe that: - It hard fails if error is: ``` MTLCommandBufferErrorBlacklisted || MTLCommandBufferErrorNotPermitted || MTLCommandBufferErrorDeviceRemoved ``` - Otherwise fails conditionally if `config.resumeLostDevice == false` (current default) For Ryujinx's use-case it's more graceful to resume on those errors rather than crashing the app, the error isn't totally silenced since `mvk` still logs it Fixes Ryujinx#4704, Ryujinx#4575
Does the game actually render correctly (or at least good enough to be playable) with this change? |
Yes it is playable and I do not observe any new rendering issues (apart from what we already know about the audience) |
AcK77
pushed a commit
that referenced
this issue
May 10, 2023
Command buffer errors currently trigger an exception "DeviceLost" crashing the process. Looking at [MKV's code](https://github.com/KhronosGroup/MoltenVK/blob/53a4eb26f2fbd7322eb087eb4af263fe466543b0/MoltenVK/MoltenVK/GPUObjects/MVKQueue.mm#L392-L408) we observe that: - It hard fails if error is: ``` MTLCommandBufferErrorBlacklisted || MTLCommandBufferErrorNotPermitted || MTLCommandBufferErrorDeviceRemoved ``` - Otherwise fails conditionally if `config.resumeLostDevice == false` (current default) For Ryujinx's use-case it's more graceful to resume on those errors rather than crashing the app, the error isn't totally silenced since `mvk` still logs it Fixes #4704, #4575
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of the issue
Crash when starting any match or training
similar error as #4575
Reproduction steps
Start any match or training, crash after a short while
build commit 250fc51 via the following command
Log file
Ryujinx_1.1.735-macos+250fc5137_2023-04-28_11-24-22.log
OS
macOS Ventura 13.3.1
Ryujinx version
1.1.735-macos+250fc5137
Game version
1.3.1
CPU
M2
GPU
M2
RAM
24GB
List of applied mods
No response
Additional context?
No response
The text was updated successfully, but these errors were encountered: