Random crashing of VK_ERROR_DEVICE_LOST
Describe the bug
I am experiencing random crashes of VK_ERROR_DEVICE_LOST, sometimes happens in middle of playing and sometimes when joining a world/server. I have newest NVIDIA drivers, and other Vulkan games (Like Arknights Endfield) works fine, but my Minecraft instance with VulkanMod just keeps crashing.
I've heard that the mod has compatibillity issues with Fabric API, but after removing Fabric API and every other mods (including Beryl), the crash still exists.
Also I've heard that adding an argument -Dorg.lwjgl.system.stackSize=256 fixes the problem, but it didn't.
Steps to reproduce
- Install VulkanMod (newest version on Modrinth 0.6.7+1.21.11)
- Use some texture packs. (EDIT: with or without texture packs, it's the same crashing)
- Join a server.
- Game crashes immedieately after joining the world, or crashes a few seconds to minutes when playing.
Log files
[18:55:49] [Render thread/ERROR]: Unreported exception thrown! java.lang.RuntimeException: Failed to submit draw command buffer: VK_ERROR_DEVICE_LOST at knot//net.vulkanmod.vulkan.Renderer.submitFrame(Renderer.java:386) at knot//net.vulkanmod.vulkan.Renderer.endFrame(Renderer.java:330) at knot//com.mojang.blaze3d.systems.RenderSystem.redirect$bee000$vulkanmod$endFrame(RenderSystem.java:1014) at knot//com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:141) at knot//net.minecraft.class_1041.method_15998(class_1041.java:674) at knot//net.minecraft.class_310.method_1523(class_310.java:1411) at knot//net.minecraft.class_310.method_1514(class_310.java:966) at knot//net.minecraft.client.main.Main.main(Main.java:250) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:514) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:72) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [18:55:50] [VoiceChatAuthenticationThread/INFO]: [voicechat] Trying to authenticate voice chat connection [18:55:50] [Render thread/INFO]: [voicechat] Clearing audio channels [18:55:50] [Render thread/INFO]: [voicechat] Disconnecting voicechat ---- Minecraft Crash Report ---- // I bet Cylons wouldn't have this problem.
Time: 2026-06-09 18:55:51 Description: Unexpected error
java.lang.RuntimeException: Failed to submit draw command buffer: VK_ERROR_DEVICE_LOST at knot//net.vulkanmod.vulkan.Renderer.submitFrame(Renderer.java:386) at knot//net.vulkanmod.vulkan.Renderer.endFrame(Renderer.java:330) at knot//com.mojang.blaze3d.systems.RenderSystem.redirect$bee000$vulkanmod$endFrame(RenderSystem.java:1014) at knot//com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:141) at knot//net.minecraft.class_1041.method_15998(class_1041.java:674) at knot//net.minecraft.class_310.method_1523(class_310.java:1411) at knot//net.minecraft.class_310.method_1514(class_310.java:966) at knot//net.minecraft.client.main.Main.main(Main.java:250) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:514) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:72) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head -- Thread: Render thread Stacktrace: at knot//net.vulkanmod.vulkan.Renderer.submitFrame(Renderer.java:386) at knot//net.vulkanmod.vulkan.Renderer.endFrame(Renderer.java:330) at knot//com.mojang.blaze3d.systems.RenderSystem.redirect$bee000$vulkanmod$endFrame(RenderSystem.java:1014) at knot//com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:141)
-- Uptime -- Details: JVM uptime: 32.814s Wall uptime: 25.990s High-res time: 24.913s Client ticks: 425 ticks / 21.250s Stacktrace: at knot//net.minecraft.class_310.method_1587(class_310.java:2477) at knot//net.minecraft.class_310.method_54580(class_310.java:1035) at knot//net.minecraft.class_310.method_1514(class_310.java:990) at knot//net.minecraft.client.main.Main.main(Main.java:250) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:514) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:72) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
-- Affected level -- Details: All players: 4 total; class_746{name=ImLunchtime, id=772814, pos=(22872.818151102627, 76.34923770368529, 35879.14392972934), mode=CREATIVE, permission=permission level: OWNERS}, class_745{name=Bot_HatsuneMiku, id=27544, pos=(22611.001181632048, -11.5, 37152.618543786964), mode=SURVIVAL, permission=net.minecraft.class_12096$$Lambda/0x00000008015d5ec8@1f41e9c}, class_745{name=Bot_Feiqilai, id=666913, pos=(22497.30000001192, 140.0, 37446.563401453444), mode=SURVIVAL, permission=net.minecraft.class_12096$$Lambda/0x00000008015d5ec8@1f41e9c}, class_745{name=Bot_AsukaLangley, id=32229, pos=(-91725.58127633223, 69.0625, -68.79588327574542), mode=SURVIVAL, permission=net.minecraft.class_12096$$Lambda/0x00000008015d5ec8@1f41e9c} Chunk stats: 529, 20 Level dimension: minecraft:overworld Level spawn location: World: (0,-44,0), Section: (at 0,4,0 in 0,-3,0; chunk contains blocks 0,-64,0 to 15,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511) Level time: 209341820 game time, 222757531 day time Server brand: Leaves Server type: Non-integrated multiplayer server Tracked entity count: 85
-- Last reload -- Details: Reload number: 1 Reload reason: initial Finished: Yes Packs: vanilla, cloth-config, fabric-api, fabric-api-base, fabric-api-lookup-api-v1, fabric-biome-api-v1, fabric-block-api-v1, fabric-block-view-api-v2, fabric-command-api-v2, fabric-content-registries-v0, fabric-convention-tags-v1, fabric-convention-tags-v2, fabric-crash-report-info-v1, fabric-data-attachment-api-v1, fabric-data-generation-api-v1, fabric-dimensions-v1, fabric-entity-events-v1, fabric-events-interaction-v0, fabric-game-rule-api-v1, fabric-item-api-v1, fabric-item-group-api-v1, fabric-key-binding-api-v1, fabric-language-kotlin, fabric-lifecycle-events-v1, fabric-loot-api-v2, fabric-loot-api-v3, fabric-message-api-v1, fabric-model-loading-api-v1, fabric-networking-api-v1, fabric-object-builder-api-v1, fabric-particles-v1, fabric-recipe-api-v1, fabric-registry-sync-v0, fabric-renderer-api-v1, fabric-renderer-indigo, fabric-rendering-fluids-v1, fabric-rendering-v1, fabric-resource-conditions-api-v1, fabric-resource-loader-v0, fabric-resource-loader-v1, fabric-screen-api-v1, fabric-screen-handler-api-v1, fabric-serialization-api-v1, fabric-sound-api-v1, fabric-tag-api-v1, fabric-transfer-api-v1, fabric-transitive-access-wideners-v1, fabricloader, ias, optigui, starhud, voicechat, vulkanmod, file/褰╄櫣鍍忕礌RainbowPixel~鈽唙3.6.3.zip, file/褰╄櫣鍍忕礌鈽嗘潙姘戜氦鏄揢I鍗歌浇鍖?zip, file/褰╄櫣鐗╄RainbowTale~鈽唙1.3.4.zip, file/鍗楃儧鈽嗙墿璇孩鐭虫樉绀?.0.zip, file/[1.20.1锛屾敼]搂b搂l鐢樺煄鐚尗搂f鏉愯川鍖? file/Colourful OreUI
-- System Details --
Details:
Minecraft Version: 1.21.11
Minecraft Version ID: 1.21.11
Operating System: Windows 11 (amd64) version 10.0
Java Version: 21.0.7, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 623269552 bytes (594 MiB) / 939524096 bytes (896 MiB) up to 6979321856 bytes (6656 MiB)
CPUs: 32
Processor Vendor: GenuineIntel
Processor Name: 13th Gen Intel(R) Core(TM) i9-13980HX
Identifier: Intel64 Family 6 Model 183 Stepping 1
Microarchitecture: Raptor Lake
Frequency (GHz): 2.42
Number of physical packages: 1
Number of physical CPUs: 24
Number of logical CPUs: 32
Graphics card #0 name: NVIDIA GeForce RTX 4070 Laptop GPU
Graphics card #0 vendor: NVIDIA
Graphics card #0 VRAM (MiB): 8188.00
Graphics card #0 deviceId: VideoController1
Graphics card #0 versionInfo: 32.0.16.1047
Graphics card #1 name: Intel(R) UHD Graphics
Graphics card #1 vendor: Intel Corporation
Graphics card #1 VRAM (MiB): 2048.00
Graphics card #1 deviceId: VideoController2
Graphics card #1 versionInfo: 32.0.101.6790
Memory slot #0 capacity (MiB): 16384.00
Memory slot #0 clockSpeed (GHz): 4.80
Memory slot #0 type: DDR5
Memory slot #1 capacity (MiB): 16384.00
Memory slot #1 clockSpeed (GHz): 4.80
Memory slot #1 type: DDR5
Virtual memory max (MiB): 51837.61
Virtual memory used (MiB): 22703.09
Swap memory total (MiB): 19456.00
Swap memory used (MiB): 65.80
Space in storage for jna.tmpdir (MiB): available: 759527.63, total: 1953313.00
Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB): available: 759527.63, total: 1953313.00
Space in storage for io.netty.native.workdir (MiB): available: 759527.63, total: 1953313.00
Space in storage for java.io.tmpdir (MiB): available: 473045.28, total: 975947.00
Space in storage for workdir (MiB): available: 759527.63, total: 1953313.00
JVM Flags: 11 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx6656m -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:G1HeapRegionSize=32M -XX:MaxGCPauseMillis=50 -XX:+PerfDisableSharedMem -XX:MinHeapFreeRatio=25 -XX:MaxHeapFreeRatio=40
Debug Flags: 0 total;
Fabric Mods:
cloth-config: Cloth Config v20 21.11.153
cloth-basic-math: cloth-basic-math 0.6.1
fabric-api: Fabric API 0.141.4+1.21.11
fabric-api-base: Fabric API Base 1.0.5+4ebb5c083e
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.114+20dc27073e
fabric-biome-api-v1: Fabric Biome API (v1) 17.1.1+4fc5413f3e
fabric-block-api-v1: Fabric Block API (v1) 1.1.10+4ebb5c083e
fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.39+4ebb5c083e
fabric-command-api-v2: Fabric Command API (v2) 2.4.7+6b42a6003e
fabric-content-registries-v0: Fabric Content Registries (v0) 10.2.14+4fc5413f3e
fabric-convention-tags-v1: Fabric Convention Tags 2.1.55+7f945d5b3e
fabric-convention-tags-v2: Fabric Convention Tags (v2) 2.17.3+8ef948ba3e
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.3.23+4ebb5c083e
fabric-data-attachment-api-v1: Fabric Data Attachment API (v1) 1.8.48+eed0806f3e
fabric-data-generation-api-v1: Fabric Data Generation API (v1) 23.4.1+69974c4e3e
fabric-dimensions-v1: Fabric Dimensions API (v1) 4.0.28+4fc5413f3e
fabric-entity-events-v1: Fabric Entity Events (v1) 3.1.1+1d0ab4303e
fabric-events-interaction-v0: Fabric Events Interaction (v0) 4.1.1+3b89ecf63e
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 2.0.3+4fc5413f3e
fabric-item-api-v1: Fabric Item API (v1) 11.5.20+d0c46b9e3e
fabric-item-group-api-v1: Fabric Item Group API (v1) 4.2.36+4fc5413f3e
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.1.7+4fc5413f3e
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.6.15+4ebb5c083e
fabric-loot-api-v2: Fabric Loot API (v2) 3.0.73+3f89f5a53e
fabric-loot-api-v3: Fabric Loot API (v3) 2.0.20+78c8b4663e
fabric-message-api-v1: Fabric Message API (v1) 6.1.12+4ebb5c083e
fabric-model-loading-api-v1: Fabric Model Loading API (v1) 6.0.15+4fc5413f3e
fabric-networking-api-v1: Fabric Networking API (v1) 5.1.6+6b6d71a53e
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 21.1.40+4fc5413f3e
fabric-particles-v1: Fabric Particles (v1) 4.2.12+4fc5413f3e
fabric-recipe-api-v1: Fabric Recipe API (v1) 8.2.4+4ebb5c083e
fabric-registry-sync-v0: Fabric Registry Sync (v0) 6.2.6+1718722b3e
fabric-renderer-api-v1: Fabric Renderer API (v1) 8.0.3+f4ffd2e53e
fabric-renderer-indigo: Fabric Renderer - Indigo 5.0.3+f4ffd2e53e
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.1.43+4ebb5c083e
fabric-rendering-v1: Fabric Rendering (v1) 16.2.10+0290ad933e
fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 5.0.35+4fc5413f3e
fabric-resource-loader-v0: Fabric Resource Loader (v0) 3.3.4+4fc5413f3e
fabric-resource-loader-v1: Fabric Resource Loader (v1) 1.0.10+78c8b4663e
fabric-screen-api-v1: Fabric Screen API (v1) 3.1.7+4ebb5c083e
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.162+4fc5413f3e
fabric-serialization-api-v1: Fabric Serialization API (v1) 1.0.5+4ebb5c083e
fabric-sound-api-v1: Fabric Sound API (v1) 1.0.51+4fc5413f3e
fabric-tag-api-v1: Fabric Tag API (v1) 1.2.20+4fc5413f3e
fabric-transfer-api-v1: Fabric Transfer API (v1) 6.0.25+4fc5413f3e
fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 7.1.0+014c8cec3e
fabric-language-kotlin: Fabric Language Kotlin 1.13.12+kotlin.2.4.0
org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 2.4.0
org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 2.4.0
org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 2.4.0
org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 2.4.0
org_jetbrains_kotlinx_atomicfu-jvm: atomicfu-jvm 0.33.0
org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.11.0
org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.11.0
org_jetbrains_kotlinx_kotlinx-datetime-jvm: kotlinx-datetime-jvm 0.8.0
org_jetbrains_kotlinx_kotlinx-io-bytestring-jvm: kotlinx-io-bytestring-jvm 0.9.0
org_jetbrains_kotlinx_kotlinx-io-core-jvm: kotlinx-io-core-jvm 0.9.0
org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm: kotlinx-serialization-cbor-jvm 1.11.0
org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.11.0
org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.11.0
fabricloader: Fabric Loader 0.18.5
mixinextras: MixinExtras 0.5.3
ias: In-Game Account Switcher 9.0.6+1.21.11-fabric
java: OpenJDK 64-Bit Server VM 21
minecraft: Minecraft 1.21.11
optigui: OptiGUI 2.3.0-beta.10+1.21.9
org_apache_commons_commons-text: commons-text 1.12.0
org_ini4j_ini4j: ini4j 0.5.4
starhud: StarHUD 2.5.2
voicechat: Simple Voice Chat 1.21.11-2.6.18
voicechat_api: Simple Voice Chat API 2.6.13
vulkanmod: VulkanMod 0.6.7+1.21.11
org_lwjgl_lwjgl-shaderc: lwjgl-shaderc 3.3.3
org_lwjgl_lwjgl-shaderc_natives-linux: lwjgl-shaderc 3.3.3
org_lwjgl_lwjgl-shaderc_natives-macos: lwjgl-shaderc 3.3.3
org_lwjgl_lwjgl-shaderc_natives-macos-arm64: lwjgl-shaderc 3.3.3
org_lwjgl_lwjgl-shaderc_natives-windows: lwjgl-shaderc 3.3.3
org_lwjgl_lwjgl-vma: lwjgl-vma 3.3.3
org_lwjgl_lwjgl-vma_natives-linux: lwjgl-vma 3.3.3
org_lwjgl_lwjgl-vma_natives-macos: lwjgl-vma 3.3.3
org_lwjgl_lwjgl-vma_natives-macos-arm64: lwjgl-vma 3.3.3
org_lwjgl_lwjgl-vma_natives-windows: lwjgl-vma 3.3.3
org_lwjgl_lwjgl-vulkan: lwjgl-vulkan 3.3.3
org_lwjgl_lwjgl-vulkan_natives-macos: lwjgl-vulkan 3.3.3
org_lwjgl_lwjgl-vulkan_natives-macos-arm64: lwjgl-vulkan 3.3.3
Launched Version: Vulkan1.21.11
Launcher name: PCL
Backend library: LWJGL version 3.3.3-snapshot
Backend API: Vulkan 1.4.341, Nvidia
Window size: 854x480
GFLW Platform: win32
Render Extensions:
GL debug messages:
-- VulkanMod Device Report -- Device: NVIDIA GeForce RTX 4070 Laptop GPU Vulkan Version: 1.4.341 All required extensions are supported Device: Intel(R) RaptorLake-S Mobile Graphics Controller Vulkan Version: 1.4.311 All required extensions are supported
#@!@# Game crashed! Crash report saved to: #@!@# D:.minecraft\versions\Vulkan1.21.11\crash-reports\crash-2026-06-09_18.55.51-client.txt
It seems like the crash only happens with VSync off. I will keep posting updates on it's behaviour here.
EDIT: crash still exists with VSync off. It's just luck.
EDIT: Also tried things like changing max framerate, resetting video settings, resetting options.txt. They all did not work.
It seems like the crash only happens with VSync off. I will keep posting updates on it's behaviour here.
EDIT: crash still exists with VSync off. It's just luck.
EDIT: Also tried things like changing max framerate, resetting video settings, resetting options.txt. They all did not work.
Can you try with only vulkanmod to see if it crashes?
Yes, it crashes with VulkanMod only.
please also help me, in linux arch btw and IT KEEP CRASHING OF VK_ERROR_DEVICE_LOST even when turning on discrete gpu and using sh -c '__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json mangohud game-performance "$@"' _ idk if wrapper commandhelp just yes my logs btw https://mclo.gs/zoj27MC dont mind me changing to linux
please fix it i cant play minecraft anymore 😭
i'm experiencing this bug too. after about 3 hours of play, the game froze and crashes. i was playing in multiplayer.
specs:
- Intel Core i5 7200U
- 16 GB of RAM DDR4
- Intel HD Graphics 620
- Fedora Silverblue 44
- Minecraft 26.1.2
- VulkanMod 0.6.8
- Vulkan 1.4.354
https://mclo.gs/u7hevyN
i'm experiencing this bug too. after about 3 hours of play, the game froze and crashes. i was playing in multiplayer.
specs:
* Intel Core i5 7200U * 16 GB of RAM DDR4 * Intel HD Graphics 620 * Fedora Silverblue 44 * Minecraft 26.1.2 * VulkanMod 0.6.8 * Vulkan 1.4.354https://mclo.gs/u7hevyN
Does it crash without other mods?
i'm experiencing this bug too. after about 3 hours of play, the game froze and crashes. i was playing in multiplayer.
specs:
* Intel Core i5 7200U * 16 GB of RAM DDR4 * Intel HD Graphics 620 * Fedora Silverblue 44 * Minecraft 26.1.2 * VulkanMod 0.6.8 * Vulkan 1.4.354https://mclo.gs/u7hevyN
Does it crash without other mods?
yes, i got another occurrence of the same VK_ERROR_DEVICE_LOST crash, after 11 minutes of gameplay, without other mods
https://mclo.gs/HrVAwMp