Project

General

Profile

Actions

Emulator Issues #13067

closed

Vulkan - device runs out of memory on some games

Added by iwubcode about 2 years ago. Updated about 2 years ago.

Status:
Fixed
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:
5.0-17562

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.

Actions #1

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.

Actions #2

Updated by iwubcode about 2 years ago

I should clarify by 'memory' I mean GPU memory, not RAM. Sorry about that!

Actions #3

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.

Actions #5

Updated by iwubcode about 2 years ago

Confirmed fixed. Thanks Kobin!

Actions #6

Updated by Billiard26 about 2 years ago

  • Status changed from New to Fixed
  • Fixed in set to 5.0-17562
Actions

Also available in: Atom PDF