Project

General

Profile

Actions

Emulator Issues #12275

open

Dolphin randomly crashes when leaving fullscreen with Vulkan

Added by danileon95 over 4 years ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

All games? (Mario Sunshine and Mario Galaxy tested)

Game ID? (right click the game in the game list, Properties, Info tab)

[Put Game ID here]

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

[Put MD5 Hash here]

What's the problem? Describe what went wrong.

When leaving fullscreen using the Vulkan backend, there's a change that Dolphin will crash with a "Failed to submit command buffer" message.

What steps will reproduce the problem?

With the Vulkan backend and borderless window disabled, press alt+enter multiple times until Dolphin eventually crashes.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

5.0-12665

Is the issue present in the latest stable version?

I don't think the stable Dolphin version has a Vulkan backend.

If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)

[First broken version number here (if applicable)]

If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer

[Attach any fifologs if possible, write a description of fifologs and screenshots here to assist people unfamiliar with the game.]

What are your PC specifications? (CPU, GPU, Operating System, more)

It's a laptop.
i7 9750H
RTX 2070
32 GB RAM
Windows 10 64 bit

Please note that this is a Nvidia Optimus laptop, meaning it has 2 graphics cards. There are 2 monitors, the internal one and an external one. The internal screen is wired to the intel GPU, while the external monitor is wired to the Nvidia GPU directly. I'm playing Dolphin on the external monitor. I'm not sure if this could have anything to do with this, but just in case.

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

[Anything else here]

Actions #1

Updated by JMC4789 over 4 years ago

Does this happen with dualcore disabled?

Actions #2

Updated by danileon95 over 4 years ago

JMC4789 wrote:

Does this happen with dualcore disabled?

Yes. I don't use dual core mode.

Actions #3

Updated by JMC4789 over 4 years ago

Can you try to bisect to see if this is a regression? I can't get this to happen on my GTX 1070.

Actions #4

Updated by danileon95 over 4 years ago

JMC4789 wrote:

Can you try to bisect to see if this is a regression? I can't get this to happen on my GTX 1070.

The bisect tool for Windows is broken, and I'm not familiar with git bisect. I guess I can try to learn it, but in the meantime, does anyone in the team have access to the setup I mentioned? Nvidia Optimus laptop, and Dolphin running in an external monitor that is wired to the Nvidia GPU. I have a feeling it's related to that somehow.

Actions #5

Updated by fonztech 2 months ago

This also happens on Kubuntu 24.04.1 LTS, on my HP G5 450, with Nvidia 930MX, using the Vulkan backend.
I installed proprietary drivers and set the performance mode, so NO ¨on-demand mode¨ (my battery is already dying, lol).
This happens only with Vulkan and NOT OpenGL, but OpenGL is too slow on this PC...
I think it's something due to the Vulkan Context... it fails to find the window, because:

  1. if you set ¨render in main window¨, then it crashes in the same moment when you switch to ¨fullscreen¨
  2. if you disable ¨render in main window¨, then it crashes after entering and exiting the fullscreen twice. On the second exit, it crashes, but Dolphin works on the background... if you click something, like ¨Stop¨, it crashes.
    How can I help you? I don´t have any stack trace...
Actions

Also available in: Atom PDF