Jump to content

Linux startup crash caused by missing xrandr


zekthedeadcow

Recommended Posts

I believe version 33.15 is supposed to hint about missing xrander but hint does not appear in current IWBUMS

startup crash is resolved by installing xrandr (on Arch it was xorg-xrandr)

 

error message looks like this:

64-bit java detected
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option UseSplitVerifier; support was removed in 8.0
Setting breakpad minidump AppID = 108600
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198255737301 [API loaded no]
Exception in thread "main" java.lang.ExceptionInInitializerError
        at zombie.gameStates.MainScreenState.main(MainScreenState.java:130)
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)
        ... 1 more

 

Link to comment
Share on other sites

Try editing the ProjectZomboid.sh and make sure that the class path looks like this, thats another solution:

SET PZ_CLASSPATH=java/jinput.jar;java/lwjgl.jar;java/lwjgl_util.jar;java/sqlite-jdbc-3.8.10.1.jar;java/trove-3.0.3.jar;java/uncommons-maths-1.2.3.jar;java/javacord-2.0.17-shaded.jar;java/guava-23.0.jar;java/

I believe this bug is pretty rare and it happened only when updating from the older 38 version to the new 40 version of the game if I remember correctly.
Or did this happen on a fresh install?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...