[Bug] "Stray" Vulkan API error ErrorDeviceLost #421

Open
opened 2024-12-21 18:58:08 +00:00 by Antisunny · 1 comment
Antisunny commented 2024-12-21 18:58:08 +00:00 (Migrated from github.com)

Description of the issue

00:00:44.776 |E| GUI.RenderThread Application : Unhandled exception caught: Ryujinx.Graphics.Vulkan.VulkanException: Unexpected API error "ErrorDeviceLost".
   at Ryujinx.Graphics.Vulkan.CommandBufferPool.Return(CommandBufferScoped cbs, ReadOnlySpan`1 waitSemaphores, ReadOnlySpan`1 waitDstStageMask, ReadOnlySpan`1 signalSemaphores) in D:\a\Ryujinx\Ryujinx\src\Ryujinx.Graphics.Vulkan\CommandBufferPool.cs:line 279
   at Ryujinx.Graphics.Vulkan.PipelineFull.FlushCommandsImpl() in D:\a\Ryujinx\Ryujinx\src\Ryujinx.Graphics.Vulkan\PipelineFull.cs:line 258
   at Ryujinx.Graphics.Vulkan.SyncManager.Create(UInt64 id, Boolean strict) in D:\a\Ryujinx\Ryujinx\src\Ryujinx.Graphics.Vulkan\SyncManager.cs:line 50
   at Ryujinx.Graphics.GAL.Multithreading.CommandHelper.<>c.<InitLookup>b__5_1[T](Span`1 memory, ThreadedRenderer threaded, IRenderer renderer) in D:\a\Ryujinx\Ryujinx\src\Ryujinx.Graphics.GAL\Multithreading\CommandHelper.cs:line 43
   at Ryujinx.Graphics.GAL.Multithreading.ThreadedRenderer.RenderLoop() in D:\a\Ryujinx\Ryujinx\src\Ryujinx.Graphics.GAL\Multithreading\ThreadedRenderer.cs:line 146
   at Ryujinx.Graphics.GAL.Multithreading.ThreadedRenderer.RunLoop(ThreadStart gpuLoop) in D:\a\Ryujinx\Ryujinx\src\Ryujinx.Graphics.GAL\Multithreading\ThreadedRenderer.cs:line 115
   at Ryujinx.Ava.AppHost.RenderLoop() in D:\a\Ryujinx\Ryujinx\src\Ryujinx\AppHost.cs:line 1062
   at System.Threading.Thread.StartCallback()

Reproduction steps

  1. start the game,
  2. select a profile or start a new game
  3. play/jump to Chapter 2 "Dead City",there will be a immediate crash, the whole Ryujinx program exit
  4. tried recompile the shader and rebuild PPTC. didn't work.

Log file

Ryujinx_1.2.78_2024-12-22_02-46-37.log

OS

Windows 11

Ryujinx version

1.2.78

Game version

1.0.6

CPU

Intel(R) Core(TM) Ultra 9 185H

GPU

Intel Arc B580

RAM

32G

List of applied mods

No response

Additional context?

No response

### Description of the issue ``` 00:00:44.776 |E| GUI.RenderThread Application : Unhandled exception caught: Ryujinx.Graphics.Vulkan.VulkanException: Unexpected API error "ErrorDeviceLost". at Ryujinx.Graphics.Vulkan.CommandBufferPool.Return(CommandBufferScoped cbs, ReadOnlySpan`1 waitSemaphores, ReadOnlySpan`1 waitDstStageMask, ReadOnlySpan`1 signalSemaphores) in D:\a\Ryujinx\Ryujinx\src\Ryujinx.Graphics.Vulkan\CommandBufferPool.cs:line 279 at Ryujinx.Graphics.Vulkan.PipelineFull.FlushCommandsImpl() in D:\a\Ryujinx\Ryujinx\src\Ryujinx.Graphics.Vulkan\PipelineFull.cs:line 258 at Ryujinx.Graphics.Vulkan.SyncManager.Create(UInt64 id, Boolean strict) in D:\a\Ryujinx\Ryujinx\src\Ryujinx.Graphics.Vulkan\SyncManager.cs:line 50 at Ryujinx.Graphics.GAL.Multithreading.CommandHelper.<>c.<InitLookup>b__5_1[T](Span`1 memory, ThreadedRenderer threaded, IRenderer renderer) in D:\a\Ryujinx\Ryujinx\src\Ryujinx.Graphics.GAL\Multithreading\CommandHelper.cs:line 43 at Ryujinx.Graphics.GAL.Multithreading.ThreadedRenderer.RenderLoop() in D:\a\Ryujinx\Ryujinx\src\Ryujinx.Graphics.GAL\Multithreading\ThreadedRenderer.cs:line 146 at Ryujinx.Graphics.GAL.Multithreading.ThreadedRenderer.RunLoop(ThreadStart gpuLoop) in D:\a\Ryujinx\Ryujinx\src\Ryujinx.Graphics.GAL\Multithreading\ThreadedRenderer.cs:line 115 at Ryujinx.Ava.AppHost.RenderLoop() in D:\a\Ryujinx\Ryujinx\src\Ryujinx\AppHost.cs:line 1062 at System.Threading.Thread.StartCallback() ``` ### Reproduction steps 1. start the game, 2. select a profile or start a new game 3. play/jump to `Chapter 2 "Dead City"`,there will be a immediate crash, the whole Ryujinx program exit 4. tried recompile the shader and rebuild PPTC. didn't work. ### Log file [Ryujinx_1.2.78_2024-12-22_02-46-37.log](https://github.com/user-attachments/files/18219617/Ryujinx_1.2.78_2024-12-22_02-46-37.log) ### OS Windows 11 ### Ryujinx version 1.2.78 ### Game version 1.0.6 ### CPU Intel(R) Core(TM) Ultra 9 185H ### GPU Intel Arc B580 ### RAM 32G ### List of applied mods _No response_ ### Additional context? _No response_
Daenorth commented 2024-12-22 05:10:14 +00:00 (Migrated from github.com)

Head over to https://discord.gg/ryujinx and the #help channel and post a log there.

Head over to https://discord.gg/ryujinx and the #help channel and post a log there.
Sign in to join this conversation.
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MeloNX/Ryujinx-ryubing#421
No description provided.