Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VulkanMod crashes minecraft on Prism launcher Flatpak version #505

Open
wKaelzx opened this issue Sep 8, 2024 · 4 comments
Open

VulkanMod crashes minecraft on Prism launcher Flatpak version #505

wKaelzx opened this issue Sep 8, 2024 · 4 comments

Comments

@wKaelzx
Copy link

wKaelzx commented Sep 8, 2024

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.(class_310.java:477)
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)
Caused by: java.lang.NullPointerException
at org.lwjgl.system.Checks.check(Checks.java:188)
at org.lwjgl.glfw.GLFW.nglfwGetVideoMode(GLFW.java:1738)
at org.lwjgl.glfw.GLFW.glfwGetVideoMode(GLFW.java:1761)
at net.vulkanmod.config.video.VideoModeManager.getCurrentVideoMode(VideoModeManager.java:44)
at net.vulkanmod.config.video.VideoModeManager.init(VideoModeManager.java:20)
at net.vulkanmod.Initializer.onInitializeClient(Initializer.java:31)
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:399)
... 9 more

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.(class_310.java:477)

-- 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):
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: 1567.20, total: 1581.91
Space in storage for workdir (MiB): available: 65098.99, total: 112848.00
JVM Flags: 2 total; -Xms1024m -Xmx8192m
Launched Version: 1.21.1
Launcher name: PrismLauncher
Backend library: LWJGL version 3.3.3-snapshot
Backend API: Unknown
Window size:
GFLW Platform:
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages:
Is Modded: Definitely; Client brand changed to 'fabric'
Universe: 404
Type: Client (map_client.txt)
Locale: en_BR
System encoding: UTF-8
File encoding: UTF-8
CPU: Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz

@lv37
Copy link

lv37 commented Sep 8, 2024

Make sure you have the GPU acceleration option enabled for Prism launcher through Flatseal
image
This fixed a similar issue for me.

@wKaelzx
Copy link
Author

wKaelzx commented Sep 8, 2024

Make sure you have the GPU acceleration option enabled for Prism launcher through Flatseal image This fixed a similar issue for me.

Thanks for the suggestion but it didnt worked

@lv37
Copy link

lv37 commented Sep 8, 2024

try adding DRI_PRIME=1 to the environment variables for Prism in flatseal (and have the gpu option from before still enabled)
image

@wKaelzx
Copy link
Author

wKaelzx commented Sep 8, 2024

try adding DRI_PRIME=1 to the environment variables for Prism in flatseal (and have the gpu option from before still enabled) image

Didnt worked either

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants