Emulator Issues #11617
Vulkan/macOS: Framerate tanks if render surface is completely covered by another window
Game ID? (right click the game in the game list, properties, info tab)
MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)
What's the problem? Describe what went wrong.
If you select Vulkan as a backend on macOS, starting emulation and covering the render window completely by moving another window over it makes the framerate drop to single digits. This also happens in Stenzek's experimental Metal build #6385. Interestingly, expanding and moving the Dolphin main window over the render surface doesn't produce this bug with Qt builds, however in the older Wx builds (such as the aforementioned #6385) it does.
Selecting OpenGL as backend doesn't produce this issue.
What steps will reproduce the problem?
- Select Vulkan as backend.
- Run any game.
- Open Finder (or any other app) and resize the window to be bigger than Dolphin's render window.
- Move the window to cover the render window completely (leaving no single pixel uncovered).
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
Is the issue present in the latest stable version?
Doesn't apply, because Vulkan support via MoltenVK has been introduced after 5.0.
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.)
5.0-9173 (Vulkan support for macOS was introduced)
Also PR#6385 (Stenzek's abandoned Metal backend PR)
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
What are your PC specifications? (CPU, GPU, Operating System, more)
iMac (21.5-inch, Late 2013)
CPU: 3,1 GHz Intel Core i7
Graphics: NVIDIA GeForce GT 750M 1024 MB
OS: macOS 10.14.3 (18D109) Mojave
Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)
Can't think of anything.