#[SOLVED] Modded minecraft crashing in initialization phase

42 messages · Page 1 of 1 (latest)

eager hare
#

Every time i try to launch a modpack through prismlauncher, i keep getting this error:

java.lang.ExceptionInInitializerError
at net.minecraft.client.Minecraft.func_175594_ao(Minecraft.java:680)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:456)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:105)
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes(LinuxDisplay.java:951)
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:738)
at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
... 13 more

-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Linux (amd64) version 6.15.2-arch1-1
Java Version: 1.8.0_452, Temurin
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Temurin
Memory: 1532571728 bytes (1461 MB) / 1930952704 bytes (1841 MB) up to 3817865216 bytes (3641 MB)
JVM Flags: 2 total; -Xms512m -Xmx4096m
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:

#

I think this might also be useful:
Launched Version: 1.12.2
LWJGL: 2.9.4
OpenGL: ERROR RuntimeException: No OpenGL context found in the current thread.
GL Caps:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: Unity-1.6.5-1.12-YABBandaid.zip, Unity 1.12 addon, Unity-Modded-1.12 - Copie
Current Language: ERROR NullPointerException: null
Profiler Position: N/A (disabled)
CPU: <unknown>

i installed prismlauncher through pacman

full oriole
#
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
    at org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes(LinuxDisplay.java:951)
    at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:738)
    at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
    ... 13 more
    OpenGL: ERROR RuntimeException: No OpenGL context found in the current thread.

Minecraft can't instantiate video output. Is your system fully up to date, as well as your drivers?

eager hare
#

well, for my drivers i think yes, i just installed them yesterday

#

same for arch itself, afaik the bootable comes with the latest version

full oriole
#

Does the same happen with a vanilla instance?

eager hare
#

yes

full oriole
#

Are you sure you have the correct drivers?

#

What's your graphics card?

eager hare
#

well, i have a 3050 TI mobile and i installed open-dkms

#

nvidia-open-dkms

#

and nvidia-utils as well

full oriole
#

Is your system fully up to date? Run pacman -Syu, are there any kernel/driver updates? I guess there shouldn't be any if you installed them yesterday anyway

#

Are you using Wayland?

eager hare
#

yes

#

tried running that command but it makes me uninstall tlp because tlp and asusctl conflict, but i'd rather uninstall asusctl sincer it's useless for me now, but the sudo make uninstall command won't work

full oriole
#

This probably shouldn't matter on wayland, but is xorg-xrandr installed?

full oriole
#
pacman -Q xorg-xrandr
eager hare
#

it isn't

full oriole
#

Install it and see if it works. From what I see on the internet, Minecraft utilizes xrandr to get all the available display modes

eager hare
#

does it take a while to install?

#

nevermind

full oriole
eager hare
#

i installed asusctl not as a pacman package

full oriole
#

Okay, so it's not a package conflict, it's a file conflict then, right? Pacman complains that some files already exist in the filesystem, right?

eager hare
full oriole
#

So it is a pacman package

#
sudo pacman -Rsn asusctl

to remove it

eager hare
#

aight, but afair i only installed asusctl from aur

full oriole
#

Yes, when you build a package from the AUR, it gets installed with pacman, just like any other one

eager hare
#

ah right

full oriole
#

Resolve the conflict and perform a pacman -Syu once again

#

Don't forget about linux-headers which you cancelled

#

Install that xrandr thingy, maybe it'll help

#

And reboot, just in case

eager hare
#

i think this are all the packages i need to update

full oriole
#

They aren't needed for Minecraft to work but at least we both know that no kernel/nvidia update awaits

eager hare
#

well, that solved it

full oriole
#

Minecraft works?

eager hare
#

[SOLVED] Modded minecraft crashing in initialization phase

eager hare