[Linux] Exception in thread "ClientThread"

    Joined
    Feb 27, 2016
    Messages
    6
    Reaction score
    0
    Hello everyone,

    So I just bought and installed Starmade but unfortunately it doesn't work for me.

    Through Steam, it doesn't even start, however if I go to ~/.local/share/Steam/steamapps/common/StarMade and run starmade-launcher, the launcher start , tells me that Starmade.jar is missing.

    So I downloaded the needed files under my home dir then start the game. I get the settings part of the application (screen resolution and so on) but after I click ok it crashes with this error :

    [CLIENT] disposing connection dialog: null
    FULLSCREEN false; 1360 / 768
    Exception in thread "ClientThread"
    java.lang.ExceptionInInitializerError
    at obfuscated.avu.a(SourceFile:1255)
    at obfuscated.avu.g(SourceFile:1260)
    at obfuscated.avu.a(SourceFile:1167)
    at obfuscated.C.h(SourceFile:2858)
    at obfuscated.Pp.run(SourceFile:92)
    at java.lang.Thread.run(Unknown Source)
    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)
    ... 6 more

    Anyone else with the issue ? It looks related to openGL. I know that I have to put LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib32/opengl/nvidia/lib" when I start Steam so I tried for Starmade as well but no luck.

    My configuration is this :

    Gentoo Linux x86_64 - Linux 4.1.15
    4 GB RAM
    Nvidia GTX750 Ti with driver 358.16

    I will report any findings :)
     

    AndyP

    Customer Experience Manager
    Joined
    Aug 15, 2013
    Messages
    1,199
    Reaction score
    264
    • Schine
    • Wired for Logic
    You also need to point your path to the native directory of starmade libs.

    Need to run:
    export LD_LIBRARY_PATH="$PWD/StarMade/native/linux:$LD_LIBRARY_PATH"
    inside the directory above the Starmade one, from the console you launch starmade with, this is partially needed for OpenAL but may also be part of your problem.

    In general this error states the supplied resolution is not accepted by your video card or driver. If you are on a notebook, please try the 1366x768 resolution, as some displays work with 1360 and others with 1366 but many drivers reject such a slight offset to the real resolution.

    - Andy
     
    Joined
    Feb 27, 2016
    Messages
    6
    Reaction score
    0
    Hi Andy,

    Thanks for the answer, it's greatly appreciated :)

    So I tried with your LD_LIBRARY_PATH invocation and with different resolutions/fullscreen on/off and openAL on/off but same issue again.

    Here's my invocation script, with it I can launch the StarMade launcher ( login / play as guest) which then launch the java settings UI. then upon pressing OK I got the same error.

    #!/bin/bash

    cd ~/.local/share/Steam/steamapps/common/StarMade

    export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib32/opengl/nvidia/lib"
    export LD_LIBRARY_PATH="$PWD/StarMade/native/linux:$LD_LIBRARY_PATH"

    $PWD/starmade-launcher


    I'm using a desktop with 1080p screen so I guess I'm fine regarding the resolution. My others games are running fine.

    I tried various others invocation methods as well but no luck.


    Would you have another idea by any chance ?

    Have a nice day !

     

    AndyP

    Customer Experience Manager
    Joined
    Aug 15, 2013
    Messages
    1,199
    Reaction score
    264
    • Schine
    • Wired for Logic
    Does your system fully support OpenGL?
    (It may help to throw in a startup-log as zip, so I can look into it for other possible problem sources.)

    - Andy
     
    Joined
    Feb 27, 2016
    Messages
    6
    Reaction score
    0
    Yes of course, openGL 4.5 with nvidia proprietary drivers. All my other games are working just fine.

    I've attached the output of the invocation. The output is the same with or without the LD_LIBRARY_PATH modifications.

    Cheers.
     

    Attachments

    Joined
    Feb 27, 2016
    Messages
    6
    Reaction score
    0
    By the way, I don't know if it has any influence but, liblwjgl.so and liblwjgl64.so are pointing to libjawt.so which is not found.

    $ /home/myu/.local/share/Steam/steamapps/common/StarMade/StarMade/native/linux ~$ ldd liblwjgl64.so
    linux-vdso.so.1 (0x00007fff14bb6000)
    libm.so.6 => /lib64/libm.so.6 (0x00007fa64341b000)
    libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fa6430d8000)
    libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fa642ec5000)
    libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007fa642cba000)
    libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007fa642aaf000)
    libXxf86vm.so.1 => /usr/lib64/libXxf86vm.so.1 (0x00007fa6428a8000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fa64268c000)
    libjawt.so => not found
    libc.so.6 => /lib64/libc.so.6 (0x00007fa6422f0000)
    libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fa6420cd000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007fa641ec9000)
    libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007fa641cbe000)
    libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007fa641ab8000)
    /lib64/ld-linux-x86-64.so.2 (0x000055f27d75c000)
    libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fa6418b4000)
    libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007fa6416ad000)
    $ /home/myu/.local/share/Steam/steamapps/common/StarMade/StarMade/native/linux ~$ ldd liblwjgl.so
    linux-gate.so.1 (0xf77d0000)
    libm.so.6 => /lib32/libm.so.6 (0xf76fe000)
    libX11.so.6 => /usr/lib32/libX11.so.6 (0xf75ad000)
    libXext.so.6 => /usr/lib32/libXext.so.6 (0xf759a000)
    libXcursor.so.1 => /usr/lib32/libXcursor.so.1 (0xf758f000)
    libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf7581000)
    libXxf86vm.so.1 => /usr/lib32/libXxf86vm.so.1 (0xf757b000)
    libpthread.so.0 => /lib32/libpthread.so.0 (0xf755f000)
    libjawt.so => not found
    libc.so.6 => /lib32/libc.so.6 (0xf73b1000)
    /lib/ld-linux.so.2 (0x565ba000)
    libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf738a000)
    libdl.so.2 => /lib32/libdl.so.2 (0xf7385000)
    libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf7379000)
    libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf7373000)
    libXau.so.6 => /usr/lib32/libXau.so.6 (0xf736f000)
    libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7367000)
     

    AndyP

    Customer Experience Manager
    Joined
    Aug 15, 2013
    Messages
    1,199
    Reaction score
    264
    • Schine
    • Wired for Logic
    Hm, yeah that seems to be a lwjgl thing with your video card.
    According to schema it cannot retrieve the supported display modes.

    - Andy
     
    Joined
    Feb 27, 2016
    Messages
    6
    Reaction score
    0
    I see, too bad

    Well If you want me to try any workaround or version bump of lwjgl, I'm your man of course.

    And thank you for the support so far (in the weekend) ! :)

    Cheers.