Project

General

Profile

Actions

Emulator Issues #11819

closed

Crash on macOS when enabling GPU Texture Decoding with Vulkan Backend - crash in Vulkan::CommandBufferManager::SubmitCommandBuffer

Added by gilcel over 4 years ago. Updated over 1 year ago.

Status:
Fixed
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 (Wii or GC) choosen.

What's the problem? Describe what went wrong.

On macOS choose "Vulkan Backend" an enable "GPU Texture Decoding" (Safe or Fast).

Start a game:

  • With a GC-game the N-Logo is displayed but will crash immediately when the intro screen of the game appears.
  • With a Wii-game it crashes immediately, no Wii logo is displayed.

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

Dolphin dev version 5.0-10772, tried also older dev-version, but same crash, it seems to be an issue in the function Vulkan::CommandBufferManager::SubmitCommandBuffer()

Is the issue present in the latest stable version?

No since stable version 5.0 is 3 years ago and no Vulkan Backend for Dolphin existed then...
However with OpenGL backend it doesn't crash when "GPU Texture Decoding" is enabled.

Tried recording with Fifolog, but here it's clearly not a graphical issue...

Crash with:

Application Specific Information:
-[MTLIOAccelComputeCommandEncoder bindEmulationArguments]:53: failed assertion `No compute pipeline state bound'

Here's "CrashReporter" log:

Thread 15 Crashed:
0   libsystem_kernel.dylib        	0x00007fff791ce2c6 __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff79289bf1 pthread_kill + 284
2   libsystem_c.dylib             	0x00007fff791386a6 abort + 127
3   libsystem_c.dylib             	0x00007fff7910120d __assert_rtn + 324
4   com.apple.Metal               	0x00007fff51c9268e MTLReportFailure + 567
5   com.apple.Metal               	0x00007fff51c50468 -[MTLIOAccelComputeCommandEncoder bindEmulationArguments] + 350
6   com.apple.driver.AppleIntelHD4000GraphicsMTLDriver	0x00007fff4504c4f3 -[MTLIGAccelComputeCommandEncoder dispatchThreadgroups:threadsPerThreadgroup:] + 209
7   libvulkan.dylib               	0x0000000118812b18 MVKCmdDispatch::encode(MVKCommandEncoder*) + 120
8   libvulkan.dylib               	0x00000001187bcddb MVKCommandEncoder::encode(id<MTLCommandBuffer>) + 139
9   libvulkan.dylib               	0x00000001187bcc1b MVKCommandBuffer::submit(MVKQueueCommandBufferSubmission*) + 363
10  libvulkan.dylib               	0x00000001187ecc64 MVKQueueCommandBufferSubmission::execute() + 420
11  libvulkan.dylib               	0x00000001187eb7c1 MVKQueue::submit(unsigned int, VkSubmitInfo const*, VkFence_T*) + 561
12  org.dolphin-emu.dolphin       	0x000000010f9656ea Vulkan::CommandBufferManager::SubmitCommandBuffer(unsigned int, VkSwapchainKHR_T*, unsigned int) + 234

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

Apple Mac mini (Late 2012) Core i7 with "Intel HD Graphics 4000",
macOS 10.14.6 and vulkansdk-macos-1.1.114.0 (vulkansdk-macos-1.1.108.0 also tested).


Files

crash.txt (67.2 KB) crash.txt core dump Pizuz, 08/07/2019 07:27 PM
Screenshot 2020-06-03 at 22.18.59.png (50.2 KB) Screenshot 2020-06-03 at 22.18.59.png Missing textures Pizuz, 06/03/2020 08:26 PM
Actions

Also available in: Atom PDF