Project

General

Profile

Actions

Emulator Issues #11655

closed

Possible memory leak using Vulkan backend on macOS

Added by twotonkatrucks about 5 years ago. Updated over 4 years ago.

Status:
Won't fix
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
OS X
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?

Any

Game ID? (right click the game in the game list, properties, info tab)

N/A

MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)

N/A

What's the problem? Describe what went wrong.

Dolphin's memory consumption grows unboundedly when running any game with Vulkan backend where after several hours the machine runs out of virtual memory. It's been verified on Mojave. The behavior only occurs with Vulkan/MoltenVK SDK 1.1.97.0 and the latest 1.1.101.0. The memory consumption is normal and holds steady around 600-800MB with games tested when switching out the latest libvulkan.dylib with an older version 1.1.92.1. This behavior is only seen on dev version 5.0-9834 and above.

For more info, see the following forum threads
https://forums.dolphin-emu.org/Thread-dolphin-the-latest-version-and-mojave
https://forums.dolphin-emu.org/Thread-dolphin-using-up-way-too-much-memory

What steps will reproduce the problem?

  1. Download latest dev version of Dolphin (or any version above 5.0-9832).
  2. Open Dolphin.
  3. Set backend to Vulkan.
  4. Run any game.
  5. Monitor memory consumption while playing.

NOTE: It's not clear whether this is mac only issue as I don't have a Windows or linux machine available for testing. However, the behavior has been verified by me and one other Dolphin forum member on macOS (Mojave).

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-9888

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?

5.0-9834

What are your PC specifications?

CPU : Intel Cor i7 - 2.8GHz
GPU : AMD Radeon Pro 555
OS : macOS 10.14.4

Actions #1

Updated by twotonkatrucks about 5 years ago

My humble suggestion for a temporary fix would be downgrade libvulkan.dylib to version 1.1.92.1 for now since that seems to fix things - unless there are some code that depends on the later versions.

Actions #2

Updated by Pizuz over 4 years ago

Did you test this with the current version? Dolphin bundles a new MVK version now which should fix this.

Actions #3

Updated by Billiard26 over 4 years ago

  • Operating system OS X added
  • Operating system deleted (N/A)
Actions #4

Updated by Billiard26 over 4 years ago

  • Status changed from New to Won't fix

No response from user.

Will re-open upon request.

Actions

Also available in: Atom PDF