VulkanMod
VulkanMod copied to clipboard
Minecraft 1.20.1 crashes with OutOfMemoryError: Out of stack space during Vulkan initialization
Describe the bug
Environment
- Minecraft: 1.20.1
- Loader: Fabric 0.19.3
- VulkanMod: 0.5.2
- Fabric API: 0.92.9
- Java: Microsoft OpenJDK 17.0.15
- OS: Windows 11 25H2
- GPU: NVIDIA GeForce RTX 4060
- Driver: 610.62
Description
Minecraft crashes during startup while VulkanMod is initializing.
The crash happens every time before the main menu appears.
Steps to reproduce
- Install Fabric Loader 0.19.3
- Install Fabric API
- Install VulkanMod 0.5.2
- Launch Minecraft
Expected behavior
Minecraft starts normally.
Actual behavior
Minecraft crashes with:
java.lang.OutOfMemoryError: Out of stack space
Stack trace points to:
net.vulkanmod.vulkan.Vulkan.createInstance()
Additional information
- Fabric API only -> Works
- Adding VulkanMod -> Always crashes
- Same result with Official Launcher, CurseForge, and Modrinth App
- vulkaninfo works correctly
- Deleting config/cache does not help
- Changing JVM arguments does not help
Crash report and latest.log are attached.
Steps to reproduce
Steps to reproduce
- Install a clean Minecraft 1.20.1 instance.
- Install Fabric Loader 0.19.3.
- Add only the following mods:
- Fabric API 0.92.9
- VulkanMod 0.5.2
- Do not install any other mods.
- Launch the game with the default Microsoft OpenJDK provided by the official launcher.
- The game crashes before the title screen with: java.lang.OutOfMemoryError: Out of stack space
Log files
@ryryraryra-web add -Dorg.lwjgl.system.stackSize=256
to your jvm arguments. This can be closed.