Emulator Issues #13067
closedVulkan - device runs out of memory on some games
0%
Description
Game Name?
Donkey Kong Country Returns / Opoona / likely others
Game ID? (right click the game in the game list, Properties, Info tab)
SF8E01 / RPOEC8
What's the problem? Describe what went wrong.
When running certain games under Vulkan, the device will run out of memory.
What steps will reproduce the problem?
Play the opening level of Donkey Kong Country Returns, notice how the memory keeps growing. Alternatively, play the opening of Opoona. Right after you roll out of bed, memory will continue to climb.
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. 5.0-17560
Is the issue present in the latest stable version?
No
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-17499
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
Unfortunately, a fifo log does not seem to reproduce the issue.
Updated by JMC4789 about 2 years ago
if you turn off Scaled EFB copies, does that help? It looks like an extension of our texture cache bug.
Updated by iwubcode about 2 years ago
I should clarify by 'memory' I mean GPU memory, not RAM. Sorry about that!
Updated by iwubcode about 2 years ago
JMC4789 wrote:
if you turn off Scaled EFB copies, does that help? It looks like an extension of our texture cache bug.
I tested with Opoona, actually on master corruption will occur at some point causing memory allocation to stop. However, in such a state Dolphin is likely to crash (such as changing the IR)
This is only an issue with Vulkan, no other backend exhibits this issue. So I do not believe this is an emulation issue.
Updated by K0bin about 2 years ago
This fixes the bug: https://github.com/dolphin-emu/dolphin/pull/11143
Updated by Billiard26 about 2 years ago
- Status changed from New to Fixed
- Fixed in set to 5.0-17562