https://bugs.dolphin-emu.org/https://bugs.dolphin-emu.org/favicon.ico?12020-05-25T00:05:29ZDolphin bug trackerEmulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7392762020-05-25T00:05:29ZJMC4789JMC4789@gmail.com
<ul></ul><p>Unfortunately Intel's Vulkan driver on Windows sucks and I don't think there's anything we can do about this. I'll see if Stenzek has a different opinion than me.</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7392772020-05-25T18:18:20ZAnuskuss
<ul></ul><p><a class="user active user-mention" href="https://bugs.dolphin-emu.org/users/2094">@JMC4789</a> I semi-agree with you. Although I had my fair share of problems with Intel graphics, I had my problems on my desktop with Nvidia as well. It's just Windows that sucks tbh, but that's another topic. If you guys don't care about this it's fine, I'll just stay at this version or update and use DX12 but my point still stands: What are the odds that Intel f*cked something up a full year ago that they couldn't have fixed or atleast encountered after 16 updates?</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7393122020-06-01T00:15:13ZAnuskuss
<ul></ul><blockquote>
<p>What are the odds that Intel f*cked something up a full year ago that they couldn't have fixed or atleast encountered after 16 updates?</p>
</blockquote>
<p>Make that 17.</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7393542020-06-05T22:14:43ZAnuskuss
<ul></ul><p>I'm almost certain that this is a shader issue because when jumping between drivers, it sometimes crashes while compiling them on the newer drivers. What would be a good way to disable the drawing of shaders to rule that out? I don't really code but I can follow directions if you guys want to work with me.</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7393552020-06-05T22:16:50ZTechjartecknojar@gmail.com
<ul></ul><p>If you disable shaders you just won't be able to see anything. Shaders are the core of how Dolphin emulates the behavior of GX.</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7393632020-06-06T14:34:14ZAnuskuss
<ul></ul><p><a class="user active user-mention" href="https://bugs.dolphin-emu.org/users/6514">@Techjar</a> Yeah, I understand that I just wanna see if it would still crash without shaders. Which I guess based on your comment it shouldn't.</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7395392020-06-28T03:08:16ZAnonymous
<ul></ul><p>This issue was resolved for me in the latest driver releases by Intel. Try build 8280 or 8336 and see if they work for you also.</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7395562020-06-29T20:00:27ZAnuskuss
<ul></ul><p>@ShadowMyst Still not working for me. Could you test the attached fifo file?</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7395572020-06-29T20:25:06ZAnonymous
<ul></ul><p>Sorry, not experienced enough to work with those directly. What intel gpu do you have?</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7395582020-06-29T20:31:48ZAnuskuss
<ul></ul><p>It's actually pretty simple. Just download the file and open it in Dolphin. If it's working you should see a loop of the first second of the Wii warning screen. If it doesn't, just a black screen follow by a "Failed to submit command buffer" (if you've "Use Panic Handlers" active).</p>
<p><strong>OS:</strong> Windows 10 1809<br>
<strong>GPU:</strong> Intel Iris Plus 640</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7395592020-06-29T21:11:18ZAnonymous
<ul></ul><p>Give me a moment. Not certain what will happen on my end since I'm running 10th Gen Ice Lake with Iris Plus G7.</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7395602020-06-29T21:14:19ZAnonymous
<ul></ul><p>Works fine for me. Keeps looping. The issue appears to be how your specific GPU functions with the Intel drivers; not the drivers in general.</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7395612020-06-29T21:19:51ZAnuskuss
<ul></ul><p>Interesting. It could very well be that the newer GPUs get more testing and thus this issue slipped through. Do you have any unusual settings set in Dolphin? Also are you running Windows 10 2004?</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7395622020-06-29T21:26:22ZAnonymous
<ul></ul><p>All my settings are kept at default, with the exception of having set 2 games to specifically turn off Arbitrary MipMapping for a decent performance boost (Rogue Squadron II and III). I tested your off under Windows 10 2004 and macOS 10.5.5.</p>
<p>I remember when I filed a similar report earlier this year that Stenzek said "Intel's driver up until recently would crash when booting because despite advertising support for dual-source blend, clearly hadn't tested any pipelines which used them because they'd kill it with a null pointer access."</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7395632020-06-29T21:48:20ZAnonymous
<ul></ul><p>Which method of shader compilation are you using? Synchronous, Asynchronous (Ubershaders) or Synchronous (Ubershaders)? Before it was fixed by Intel for the Ice Lake Iris Plus gpu, it would only occur for me on Synchronous and Asynchronous (Ubershaders); never on Synchronous (Ubershaders). Have you tried all 3?</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7395642020-06-29T22:29:42ZAnuskuss
<ul></ul><p>Yep, I already went through all settings and the only setting which affects this is switching from Vulkan to another backend (or staying on <code>26.20.100.6861</code>).</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7395652020-06-29T22:49:15ZAnonymous
<ul></ul><p>Definitely seems specific to the 640. Stenzek would be the final say though.</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7395662020-06-29T23:02:31ZAnuskuss
<ul></ul><p>Also happening to friend of mine on 655 and latest Win10.</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7395672020-06-29T23:11:22ZAnonymous
<ul></ul><p>It might be better to say it is specific to the Gen 9/9.5 GPUs. Unless we hear from someone with an even older system.</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7395682020-06-30T01:30:33ZAnonymous
<ul></ul><p>I have an update for you Anuskuss. I just did a clean re-install of Win 10 on my MacBook Pro 2020 and was able to reproduce the issue there. So it affects Gen 10 as well. No clue why it didn't happen before, but I honestly can't remember what version of the intel drivers were installed on my prior BootCamp configuration.</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7411452021-02-14T04:59:38ZAnuskuss
<ul></ul><blockquote>
<p>I have turned on the Vulkan validation layer (Graphics -> Advanced -> Debugging -> Enable API Validation Layers) but there is not a single line in the log. Maybe it's not setup properly?</p>
</blockquote>
<p>Turns out I had to install the Vulkan SDK to use the validation layer. After setting everything up and logging <em>Host GPU</em> only, I see these repeating lines in the log:</p>
<pre><code>14:07:784 VideoBackends\Vulkan\VulkanContext.cpp:674 E[Host GPU]: Vulkan debug report: (Validation) Validation Error: [ VUID-vkAcquireNextImageKHR-semaphore-01286 ] Object 0: handle = 0xa,540,ac0,000,000,009, type = VK_OBJECT_TYPE_SEMAPHORE; | MessageID = 0xe9,e4b,2a9 | vkAcquireNextImageKHR: Semaphore must not be currently signaled or in a wait state. The Vulkan spec states: If semaphore is not VK_NULL_HANDLE it must be unsignaled (https://vulkan.lunarg.com/doc/view/1.2.162.1/windows/1.2-extensions/vkspec.html#VUID-vkAcquireNextImageKHR-semaphore-01286)
14:07:784 VideoBackends\Vulkan\VulkanContext.cpp:674 E[Host GPU]: Vulkan debug report: (Validation) Validation Error: [ VUID-vkQueuePresentKHR-pWaitSemaphores-03268 ] Object 0: handle = 0x23,24a,6f1,b18, type = VK_OBJECT_TYPE_QUEUE; Object 1: handle = 0x8,3d4,ee0,000,000,00b, type = VK_OBJECT_TYPE_SEMAPHORE; | MessageID = 0x25,1f8,f7a | vkQueuePresentKHR: Queue VkQueue 0x23,24a,6f1,b18[] is waiting on pWaitSemaphores[0] (VkSemaphore 0x8,3d4,ee0,000,000,00b[]) that has no way to be signaled. The Vulkan spec states: All elements of the pWaitSemaphores member of pPresentInfo must reference a semaphore signal operation that has been submitted for execution and any semaphore signal operations on which it depends (if any) must have also been submitted for execution (https://vulkan.lunarg.com/doc/view/1.2.162.1/windows/1.2-extensions/vkspec.html#VUID-vkQueuePresentKHR-pWaitSemaphores-03268)
</code></pre>
<p>By the way, Intel has released (atleast) 30 driver revisions since <code>26.20.100.6861</code> so it's getting more and more unlikely that it's a driver regression. My theory about this being a case where Intel is doing something more strictly than AMD/Nvidia to provoke this error honestly sounds pretty likely to me.</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7438632022-03-07T00:27:44ZRena
<ul></ul><p>This is not specific to Windows. I'm getting it on Artix Linux for the past couple weeks. It seems to be completely random. Anywhere between a few seconds to several minutes after starting a game it'll freeze with this message spammed endlessly until I close the emulator. It's practically guaranteed to happen within 15 minutes.</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7453872022-10-28T00:50:36ZJMC4789JMC4789@gmail.com
<ul></ul><p>Can you test this on the latest dev builds? A lot of changes have been made to Vulkan recently that may help this.</p>
Emulator - Emulator Issues #12121: Vulkan: Failed to submit command bufferhttps://bugs.dolphin-emu.org/issues/12121?journal_id=7454042022-10-29T01:11:10ZAnuskuss
<ul></ul><p>Nope, stil bad. Thankfully, my new system has a real GPU and I don't have to deal with shitty Intel GPUs ever again.<br>
However, my new system does have an Tiger Lake iGPU, and it still doesn't work, even though I'm on Linux now. So I was right, it's very likely not a driver issue (well Rena already sort of confirmed it, but they could've just tested the attached FIFO file instead of giving some vague scenario).</p>