Project

General

Profile

Emulator Issues #12134

Resizing Vulkan window results in "Failed to grab image from swap chain" popups

Added by nyanpasu64 4 months ago. Updated 4 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

What's the problem? Describe what went wrong.

If I start a game, then resize the window, I get many "Failed to grab image from swap chain" popups.

What steps will reproduce the problem?

  • Switch to Vulkan graphics backend. (I have "render to main window" off.)
  • Start the game.
  • On either the "compiling shaders" screen or when the game is running, start resizing the window back and forth.

You'll get a popup as attached. Clicking the OK button means the bug can recur. Clicking the ignore button seems to prevent further issues, and the game doesn't drop frames even if you keep resizing. But one time it froze the game at 0 VI/s (can't reproduce this issue).

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

Yes, my custom build based on 84d67b3547964e0636092bfb5844af2262728595 (5.0-12088) as well as the latest beta 5.0-11991.

Is the issue present in the latest stable version?

Probably irrelevant, neither DolphinQt nor Vulkan exists in 5.0 I think.

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.)

don't feel like bisecting

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

CPU: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx

GPU: AMD Radeon(TM) RX Vega 10 Graphics
GPU driver: Radeon Software 20.2.2, driver 26.20.15019.19000 (from 2020-02-28, update available)
OS: Windows 10 x64

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

Screenshot attached.

dolphin swap chain popup.png (2.68 KB) dolphin swap chain popup.png Screenshot of the popup. nyanpasu64, 06/06/2020 01:20 AM
Config.7z (5.03 KB) Config.7z nyanpasu64, 06/13/2020 02:43 AM
7816

History

#1 Updated by SuperSamus 4 months ago

I have the same issue with Vulkan (Windows 10, AMD A10-9700, AMD RX460 (Adrenalin 20.5.1)).

#2 Updated by nyanpasu64 4 months ago

I can no longer reproduce the issue. My current "Documents\Dolphin Emulator\Config" is attached. I started to use PrimeHack between my initial bug report and my attempt at reproducing.

If I get the issue again, I'll attach the new config.

Also available in: Atom PDF