VulkanMod icon indicating copy to clipboard operation
VulkanMod copied to clipboard

Crashing after starting minecraft

Open teeepeck-bit opened this issue 1 year ago • 9 comments

Describe the bug

ive been using vulkan mod for 2 months and it was ok, but since i updated the intel drivers it shows this error when i turn on minecraft. i reinstalled minecraft + deleted .minecraft folder, added more ram to jvm arguments, reinstalled nvidia drivers, updated java, checked the mods alongside vulkan mod, installed older intel drivers, used older version of vulkan mod, used prismlauncher (to try if its not problem with the minecraft launcher) and used different version of fabric and i have no idea what is wrong. (btw its 1.21.4 fabric)

ERROR:

The game crashed: initializing game Error: java.lang.OutOfMemoryError: Out of stack space.The game crashed: initializing game Error: java.lang.OutOfMemoryError: Out of stack space.

Image

Steps to reproduce

idk what to put here

Log files

latest.log 2025-08-27-7.log.gz

teeepeck-bit avatar Aug 27 '25 16:08 teeepeck-bit

Same issue on RTX 3060 TI

ilovethensa avatar Aug 28 '25 13:08 ilovethensa

Same issue on RTX 3050 mobile

Venisey avatar Aug 30 '25 17:08 Venisey

Same issue here on a 4060 (40 series card)

HoneyBerries avatar Aug 30 '25 21:08 HoneyBerries

Same thing on a laptop 5060, and mod version VulkanMod_1.21.1-0.5.5.

crash-2025-10-16_00.35.28-client.txt

ghost avatar Oct 15 '25 21:10 ghost

Same issue on RTX 3060

VeryBaaad avatar Nov 28 '25 12:11 VeryBaaad

i have the same issue on rtx 5070 Ti on version 1.20.1 and vulkan mod version 0.5.2

Pietruszka33 avatar Dec 26 '25 06:12 Pietruszka33

@teeepeck-bit This issue should be fixed in 1.21.10 vulkanmod 0.5.7. But if you use older version then add -Dorg.lwjgl.system.stackSize=256 to you jvm arguments

Versatile-One avatar Dec 26 '25 07:12 Versatile-One

I just tested with the setup described here and got the same crash.

Details

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head -- Thread: Render thread Stacktrace: at knot//org.lwjgl.system.MemoryStack.nmalloc(MemoryStack.java:322) at knot//org.lwjgl.vulkan.VkExtensionProperties.malloc(VkExtensionProperties.java:210) at knot//org.lwjgl.vulkan.VkInstance.getAvailableDeviceExtensions(VkInstance.java:82) at knot//org.lwjgl.vulkan.VkInstance.getInstanceCapabilities(VkInstance.java:45) at knot//org.lwjgl.vulkan.VkInstance.(VkInstance.java:29) at knot//net.vulkanmod.vulkan.Vulkan.createInstance(Vulkan.java:242) at knot//net.vulkanmod.vulkan.Vulkan.initVulkan(Vulkan.java:138) at knot//net.vulkanmod.vulkan.VRenderSystem.initRenderer(VRenderSystem.java:67) at knot//com.mojang.blaze3d.systems.RenderSystem.initRenderer(RenderSystem.java:539) at knot//net.minecraft.class_310.(class_310.java:541)

-- Initialization -- Details: Modules: Stacktrace: at knot//net.minecraft.client.main.Main.main(Main.java:234) 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) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:243) at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:278) at org.multimc.EntryPoint.listen(EntryPoint.java:143) at org.multimc.EntryPoint.main(EntryPoint.java:34)

-- System Details -- Details: Minecraft Version: 1.21.10 Minecraft Version ID: 1.21.10 Operating System: Linux (amd64) version 6.17.7-ba22.fc43.x86_64 Java Version: 25.0.1, Red Hat, Inc. Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Red Hat, Inc. Memory: 254985384 bytes (243 MiB) / 536870912 bytes (512 MiB) up to 1073741824 bytes (1024 MiB) CPUs: 16 Processor Vendor: AuthenticAMD Processor Name: AMD Ryzen 7 5800X 8-Core Processor Identifier: AuthenticAMD Family 25 Model 33 Stepping 0 Microarchitecture: Zen 3 Frequency (GHz): 4.85 Number of physical packages: 1 Number of physical CPUs: 8 Number of logical CPUs: 16 Graphics card #0 name: AD104 [GeForce RTX 4070 Ti] Graphics card #0 vendor: NVIDIA Corporation (0x10de) Graphics card #0 VRAM (MiB): 16416.00 Graphics card #0 deviceId: 0x2782 Graphics card #0 versionInfo: unknown Virtual memory max (MiB): 20090.92 Virtual memory used (MiB): 29960.63 Swap memory total (MiB): 4096.00 Swap memory used (MiB): 2711.32 Space in storage for jna.tmpdir (MiB): Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB): Space in storage for io.netty.native.workdir (MiB): Space in storage for java.io.tmpdir (MiB): available: 15913.04, total: 15994.93 Space in storage for workdir (MiB): available: 344262.66, total: 475315.00 JVM Flags: 2 total; -Xms512m -Xmx1024m Debug Flags: 0 total; Fabric Mods: asyncparticles: AsyncParticles 0.7.1-alpha mixinsquared: MixinSquared 0.3.3 badoptimizations: BadOptimizations 2.4.0 c2me: Concurrent Chunk Management Engine 0.3.6+alpha.0.9+1.21.10 c2me-base: Concurrent Chunk Management Engine (Base) 0.3.6+alpha.0.9+1.21.10 c2me-client-uncapvd: Concurrent Chunk Management Engine (Client/Uncap View Distance) 0.3.6+alpha.0.9+1.21.10 c2me-fixes-chunkio-threading-issues: Concurrent Chunk Management Engine (Fixes/Chunk IO/Threading Issues) 0.3.6+alpha.0.9+1.21.10 c2me-fixes-general-threading-issues: Concurrent Chunk Management Engine (Fixes/General/Threading Issues) 0.3.6+alpha.0.9+1.21.10 c2me-fixes-worldgen-threading-issues: Concurrent Chunk Management Engine (Fixes/WorldGen/Threading Issues) 0.3.6+alpha.0.9+1.21.10 c2me-fixes-worldgen-vanilla-bugs: Concurrent Chunk Management Engine (Fixes/WorldGen/Vanilla Bugs) 0.3.6+alpha.0.9+1.21.10 c2me-notickvd: Concurrent Chunk Management Engine (No Tick View Distance) 0.3.6+alpha.0.9+1.21.10 c2me-opts-allocs: Concurrent Chunk Management Engine (Optimizations/Memory Allocations) 0.3.6+alpha.0.9+1.21.10 c2me-opts-chunkio: Concurrent Chunk Management Engine (Optimizations/Chunk IO) 0.3.6+alpha.0.9+1.21.10 c2me-opts-dfc: Concurrent Chunk Management Engine (Optimizations/Density Function Compiler) 0.3.6+alpha.0.9+1.21.10 c2me-opts-math: Concurrent Chunk Management Engine (Optimizations/Math) 0.3.6+alpha.0.9+1.21.10 c2me-opts-natives-math: Concurrent Chunk Management Engine (Optimizations/Natives Math) 0.3.6+alpha.0.9+1.21.10 c2me-opts-scheduling: Concurrent Chunk Management Engine (Optimizations/Scheduling) 0.3.6+alpha.0.9+1.21.10 c2me-opts-worldgen-general: Concurrent Chunk Management Engine (Optimizations/General WorldGen) 0.3.6+alpha.0.9+1.21.10 c2me-opts-worldgen-vanilla: Concurrent Chunk Management Engine (Optimizations/Vanilla WorldGen) 0.3.6+alpha.0.9+1.21.10 c2me-rewrites-chunk-serializer: Concurrent Chunk Management Engine (Rewrites/Chunk Serializer) 0.3.6+alpha.0.9+1.21.10 c2me-rewrites-chunk-system: Concurrent Chunk Management Engine (Rewrites/Chunk System) 0.3.6+alpha.0.9+1.21.10 c2me-rewrites-chunkio: Concurrent Chunk Management Engine (Rewrites/Chunk IO) 0.3.6+alpha.0.9+1.21.10 c2me-server-utils: Concurrent Chunk Management Engine (Server Utils) 0.3.6+alpha.0.9+1.21.10 c2me-threading-lighting: Concurrent Chunk Management Engine (Threading/Lighting) 0.3.6+alpha.0.9+1.21.10 com_electronwill_night-config_core: core 3.6.5 com_electronwill_night-config_toml: toml 3.6.5 com_ibm_async_asyncutil: asyncutil 0.1.0 io_reactivex_rxjava3_rxjava: rxjava 3.1.12 net_objecthunter_exp4j: exp4j 0.4.8 org_jctools_jctools-core: jctools-core 4.0.5 org_reactivestreams_reactive-streams: reactive-streams 1.0.4 clientsort: ClientSort 2.1.4+1.21.10 cloth-config: Cloth Config v20 20.0.149 cloth-basic-math: cloth-basic-math 0.6.1 dynamic_fps: Dynamic FPS 3.10.1 net_lostluma_battery: battery 1.3.0 entityculling: EntityCulling 1.9.3 transition: TRansition 1.0.8 trender: TRender 1.0.8 fabric-api: Fabric API 0.138.3+1.21.10 fabric-api-base: Fabric API Base 1.0.0+14b92d896f fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.106+d17682156f fabric-biome-api-v1: Fabric Biome API (v1) 16.1.0+c2417d4f6f fabric-block-api-v1: Fabric Block API (v1) 1.1.5+d17682156f fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.34+e4fd1b926f fabric-command-api-v2: Fabric Command API (v2) 2.4.0+c0ab2d5d6f fabric-content-registries-v0: Fabric Content Registries (v0) 10.2.6+b6a242646f fabric-convention-tags-v1: Fabric Convention Tags 2.1.49+7f945d5b6f fabric-convention-tags-v2: Fabric Convention Tags (v2) 2.17.0+ff7bc77d6f fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.3.18+33df5e6e6f fabric-data-attachment-api-v1: Fabric Data Attachment API (v1) 1.8.33+cd3b9e596f fabric-data-generation-api-v1: Fabric Data Generation API (v1) 23.2.27+d8b85ef16f fabric-dimensions-v1: Fabric Dimensions API (v1) 4.0.22+38b9cc196f fabric-entity-events-v1: Fabric Entity Events (v1) 2.1.13+fde3702c6f fabric-events-interaction-v0: Fabric Events Interaction (v0) 4.0.36+5ba217126f fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.1.1+e47eaae56f fabric-item-api-v1: Fabric Item API (v1) 11.5.11+9bce411b6f fabric-item-group-api-v1: Fabric Item Group API (v1) 4.2.27+86b3ae576f fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.1.1+b3ba9c486f fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.6.9+33df5e6e6f fabric-loot-api-v2: Fabric Loot API (v2) 3.0.67+3f89f5a56f fabric-loot-api-v3: Fabric Loot API (v3) 2.0.14+d17682156f fabric-message-api-v1: Fabric Message API (v1) 6.1.7+3154c1c86f fabric-model-loading-api-v1: Fabric Model Loading API (v1) 6.0.4+3ffd6ef06f fabric-networking-api-v1: Fabric Networking API (v1) 5.1.0+b095d8db6f fabric-object-builder-api-v1: Fabric Object Builder API (v1) 21.1.28+9bce411b6f fabric-particles-v1: Fabric Particles (v1) 4.2.3+a0ee59a46f fabric-recipe-api-v1: Fabric Recipe API (v1) 8.2.0+39709ef06f fabric-registry-sync-v0: Fabric Registry Sync (v0) 6.1.42+679c8c5c6f fabric-renderer-api-v1: Fabric Renderer API (v1) 7.2.2+3706cdf36f fabric-renderer-indigo: Fabric Renderer - Indigo 4.1.3+d7df91576f fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.1.38+86b3ae576f fabric-rendering-v1: Fabric Rendering (v1) 16.2.0+bee81f016f fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 5.0.28+33df5e6e6f fabric-resource-loader-v0: Fabric Resource Loader (v0) 3.3.1+d4d4122a6f fabric-resource-loader-v1: Fabric Resource Loader (v1) 1.0.4+14959b836f fabric-screen-api-v1: Fabric Screen API (v1) 3.1.0+9c82a7986f fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.151+d17682156f fabric-serialization-api-v1: Fabric Serialization API (v1) 1.0.0+d857c9766f fabric-sound-api-v1: Fabric Sound API (v1) 1.0.45+328a75ba6f fabric-tag-api-v1: Fabric Tag API (v1) 1.2.13+2fa446b26f fabric-transfer-api-v1: Fabric Transfer API (v1) 6.0.15+79ec2c126f fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 6.5.3+41eb43436f fabricloader: Fabric Loader 0.18.1 mixinextras: MixinExtras 0.5.0 faster-random: Faster Random 5.1.0 ferritecore: FerriteCore 8.0.2 java: OpenJDK 64-Bit Server VM 25 lithium: Lithium 0.20.1+mc1.21.10 minecraft: Minecraft 1.21.10 modernfix: ModernFix 5.20.6 modmenu: Mod Menu 16.0.0-rc.1 placeholder-api: Placeholder API 2.8.0+1.21.9 moreculling: More Culling 1.5.0-beta.2 conditional-mixin: conditional mixin 0.6.3 mousetweaks: Mouse Tweaks 2.29 nochatreports: No Chat Reports 1.21.10-v2.16.0 noisium: Noisium 2.8.1+mc1.21.10 scalablelux: ScalableLux 0.1.6+fabric.c25518a threadtweak: ThreadTweak 0.1.7+mc1.21.9 vmp: Very Many Players 0.2.0+beta.7.217+1.21.10 vulkanmod: VulkanMod 0.5.7 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 zume: Zume 1.2.0 Launched Version: 1.21.10 Backend library: LWJGL version 3.3.3-snapshot Backend API: Unknown Window size: GFLW Platform: wayland Render Extensions: ERR GL debug messages: Is Modded: Definitely; Client brand changed to 'fabric' Universe: 404 Type: Client (map_client.txt) Locale: en_GB System encoding: UTF-8 File encoding: UTF-8 CPU: 16x AMD Ryzen 7 5800X 8-Core Processor

-- VulkanMod Device Report -- Device Manager not initialized

Turning on "Use system version of GLFW" doesn't resolve it either.

But adding -Dorg.lwjgl.system.stackSize=256 to the JVM args does allow it to run. 4070Ti, NVIDIA-SMI 590.44.01, Driver Version: 590.44.01, CUDA Version: 13.1

cgiAlexis avatar Jan 01 '26 00:01 cgiAlexis

Are you running it through flatpak? if so you need to enable wayland

Image

C03Player avatar Apr 08 '26 15:04 C03Player