Skip to content

[Bug]: Game crashes with VK_ERROR_DEVICE_LOST when opening Super Resolution settings using Vulkan #182

Description

@Yoojexo

Minecraft Version

26.2

Mod Version

0.8.3-alpha.5+opengl

Mod Loader

Fabric

Mod Loader Version

0.19.3

GPU

Intel Arc B580 12 GB

GPU Driver Version

32.0.101.8861

Describe the Bug

After switching Minecraft's graphics backend from OpenGL to Vulkan, opening the Super Resolution configuration screen causes the game to crash.

I switched to Vulkan because the XeSS option states that the Vulkan API is required. However, I cannot reach the XeSS settings because the game crashes while rendering the Super Resolution configuration screen.

The crash occurs with:

com.mojang.blaze3d.GpuDeviceLossException:
VK_ERROR_DEVICE_LOST: Failed to wait for semaphore

The stack trace points to the Vulkan GUI implementation in Super Resolution:

io.homo.superresolution.common.minecraft.B3DVulkanBridge.awaitFence
io.homo.superresolution.core.gui.b3d.B3DGuiPrimaryCommandRing
io.homo.superresolution.core.gui.b3d.B3DGuiVulkanUiRenderer.ensureTarget
io.homo.superresolution.core.gui.GuiRenderInjector.submitB3DVulkanBlit
io.homo.superresolution.core.gui.NanoVGScreen.extractRenderState
Expected behavior

The Super Resolution configuration screen should open normally when Minecraft is using the Vulkan graphics backend, allowing XeSS to be selected and configured.

Actual behavior

The game loses the Vulkan device and crashes immediately after opening the Super Resolution configuration screen.

Additional system information
Operating system: Windows 11 build 26200
Java: Azul OpenJDK 25.0.2
CPU: Intel Core i5-14600KF
GPU: Intel Arc B580 12 GB
Graphics backend: Vulkan
Vulkan version: 1.4.348
GPU driver: Intel 101.8861
Launcher: Modrinth App

Reproduction Steps

Install Minecraft 26.2 with Fabric Loader 0.19.3.
Install Super Resolution 0.8.3-alpha.5+opengl and its required dependencies.
Change the Minecraft graphics backend from OpenGL to Vulkan.
Restart the game with Vulkan enabled.
Open the Mods menu.
Select Super Resolution and open its configuration screen.
The game crashes while rendering the configuration screen, before XeSS can be enabled.

The issue is reproducible every time I open the Super Resolution settings while using Vulkan.

Crash Reports

https://mclo.gs/jHVX2YC

Main exception:

com.mojang.blaze3d.GpuDeviceLossException:
VK_ERROR_DEVICE_LOST: Failed to wait for semaphore

Logs

https://mclo.gs/jHVX2YC

Relevant section:

[Render thread] [net.minecraft.client.Minecraft/INFO]:
Using graphics backend Vulkan, using drivers:
1.4.348 Intel Corporation 101.8861

[Render thread] [net.minecraft.client.Minecraft/INFO]:
Using graphics device: Intel(R) Arc(TM) B580 Graphics (INTEL)

[Render thread] [SuperResolution/Vulkan/INFO]:
Vulkan borrowed initialization completed

Caused by: com.mojang.blaze3d.GpuDeviceLossException:
VK_ERROR_DEVICE_LOST: Failed to wait for semaphore

Screenshots

Not applicable. The game crashes immediately while opening the configuration screen.

Mod List

Minecraft 26.2
Fabric Loader 0.19.3
Fabric API 0.154.2+26.2
Super Resolution 0.8.3-alpha.5+opengl
Mod Menu 20.0.1
Placeholder API 3.1.0-beta.1+26.2
MixinExtras 0.5.4

The crash was reproduced with only Super Resolution, Fabric API, Mod Menu, and their required dependencies installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions