VulkanMod crashes minecraft on Prism launcher Flatpak version
Describe the bug
I have no idea why it doesnt work with flatpak, maybe it requires some external lib or something that it cant acess from the locked nature of flatpak apps, it doesnt seems to be a problem with my system or the app itself beacuse the app image version works flawless. I've tested modpacks with vulkanmod, plain vulkanmod and with aditional mods and nothing changes, minecraft only starts when i remove the mod. Also it seems that its exclusive to 1.21 since the 1.20 version worked. Vulkanmod installed from Curseforge Minecraft 1.21.1 Fabric loader 0.16.5 Also this is my first time reporting a bug in GitHub i didnt submited something or did something wrong in general please warn me
Steps to reproduce
1- Create new minecraft instances 1.21.1 with fabric or quilt 2- Install lasted VulkanMod from curseforge or modrith 3- Starts game 4- It crashes with error 255
Log files
---- Minecraft Crash Report ---- // I just don't know what went wrong :(
Time: 2024-09-08 09:35:59 Description: Initializing game
java.lang.RuntimeException: Could not execute entrypoint stage 'client' due to errors, provided by 'vulkanmod' at 'net.vulkanmod.Initializer'!
at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:403)
at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33)
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:401)
at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:53)
at net.minecraft.class_310.
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Thread: Render thread
Stacktrace:
at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:403)
at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33)
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:401)
at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:53)
at net.minecraft.class_310.
-- Initialization -- Details: Modules: Stacktrace: at net.minecraft.client.main.Main.main(Main.java:239) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:100) at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129) at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
-- System Details --
Details:
Minecraft Version: 1.21.1
Minecraft Version ID: 1.21.1
Operating System: Linux (amd64) version 6.10.7-200.fc40.x86_64
Java Version: 21.0.4, Flathub
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Flathub
Memory: 720045024 bytes (686 MiB) / 1073741824 bytes (1024 MiB) up to 8589934592 bytes (8192 MiB)
CPUs: 24
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz
Identifier: Intel64 Family 6 Model 63 Stepping 2
Microarchitecture: Haswell (Server)
Frequency (GHz): 2.30
Number of physical packages: 1
Number of physical CPUs: 12
Number of logical CPUs: 24
Graphics card #0 name: Navi 23 [Radeon RX 6600/6600 XT/6600M]
Graphics card #0 vendor: Advanced Micro Devices, Inc. [AMD/ATI] (0x1002)
Graphics card #0 VRAM (MiB): 258.00
Graphics card #0 deviceId: 0x73ff
Graphics card #0 versionInfo: unknown
Virtual memory max (MiB): 16101.57
Virtual memory used (MiB): 6823.30
Swap memory total (MiB): 8192.00
Swap memory used (MiB): 1.25
Space in storage for jna.tmpdir (MiB):
Make sure you have the GPU acceleration option enabled for Prism launcher through Flatseal
This fixed a similar issue for me.
Make sure you have the
GPU accelerationoption enabled for Prism launcher through FlatsealThis fixed a similar issue for me.
Thanks for the suggestion but it didnt worked
try adding DRI_PRIME=1 to the environment variables for Prism in flatseal (and have the gpu option from before still enabled)
try adding
DRI_PRIME=1to the environment variables for Prism in flatseal (and have the gpu option from before still enabled)
Didnt worked either
I'm also having this issue, this is the full crash log crash_log.txt
I've also tried the Flatseal GPU Accelration toggle, no change.
I've been able to successfully run vkcube in the flatpak sandbox. So I don't think it's a flatpak dependency issue. However, installing prismlauncher outside flatpak makes the mod work correctly.
Not a VulkanMod bug, this can be closed.
This fixed a similar issue for me.