Bug 30% Shader Critical error v0.199.535 linux

    Joined
    Jan 2, 2016
    Messages
    50
    Reaction score
    46
    Linux,

    Shadows off

    VertSync Off and On - same





    Didn't have this in 472 or 492
     
    Joined
    Feb 27, 2017
    Messages
    27
    Reaction score
    6
    I'm getting the same error as well, running on Ubuntu 16.04 64 bit, bundled java. Quick google search suggests that this may be a problem with OpenGL - what version are you running, or are you using different video drivers? I've got:
    Code:
    ~$ glxinfo | grep "OpenGL version"
    OpenGL version string: 3.0 Mesa 12.0.6
     
    Joined
    Jan 2, 2016
    Messages
    50
    Reaction score
    46
    I'm getting the same error as well, running on Ubuntu 16.04 64 bit, bundled java. Quick google search suggests that this may be a problem with OpenGL - what version are you running, or are you using different video drivers? I've got:
    Code:
    ~$ glxinfo | grep "OpenGL version"
    OpenGL version string: 3.0 Mesa 12.0.6
    Same OpenGL
    I'm using the latest updated Intel Drivers (with that Intel tool)

    But that shouldn't matter - cos 472 and 492 versions work just fine.

    A quick search through the forum suggests this same thing crops up now and again, when new updates are out.
     
    Joined
    Feb 27, 2017
    Messages
    27
    Reaction score
    6
    I just switched from 472 too. No suggestions on what to do to fix it on our end?

    Edit: Well, I got a little farther by changing the version in all the vertex shader files from 120 to 130 with the following commands:
    Code:
    cd ~/PATH_TO_STARMADE/StarMade/data/shader/
    find . -type f -name "*.vsh" -print0 | xargs -0 sed -i "s/\#version 120/\#version 130/g"
    This got me to the point where I could see the spawn dialog box, but then I got an illegalStateException.

    More Edit:

    Found a suggestion on a previous OpenGL bug to copy the data/shader folder from a previous, working version to the updated version, so I copied the shader folder from 472, but same issue as my previous try - it got past the 30% loading point, but then illegalStateException. I'll try with the 492 data/shader folder, but beyond that I don't want to spend much more time trying to find a workaround.
     
    Last edited:
    Joined
    Jan 2, 2016
    Messages
    50
    Reaction score
    46
    Yeah, I just don't feel like messing with that stuff this time. I'll just wait till it's fixed & stay on 472 for now ... :/
     
    Joined
    Feb 27, 2017
    Messages
    27
    Reaction score
    6
    Okay, fair enough.

    After a bit more digging and testing, it seems to make like setting the shader files to use version=130 instead of version=120 is a step in the right direction, but the bug that follows after that seems to be tied to the fact that my graphics drivers on this machine (using the built-in radeon) don't support the shader extension:

    Code:
    glxinfo | grep "gpu"
    This command doesn't show GL_EXT_gpu_shader4 under the list of available extensions. Maybe try that command yourself, and if it does, you might be able to get away with that first fix I tried?
     
    Joined
    Aug 29, 2016
    Messages
    16
    Reaction score
    1
    Same situation Here. But i am on windows. This new "Spring Cleaning" update is some piece of work...
     

    AndyP

    Customer Experience Manager
    Joined
    Aug 15, 2013
    Messages
    1,199
    Reaction score
    264
    • Schine
    • Wired for Logic
    We will look into that, and try to fix it.

    - Andy
     

    schema

    Cat God
    Joined
    Feb 17, 2012
    Messages
    1,552
    Reaction score
    2,604
    • Schine
    Sorry about that. Usually the extension is supported on >OpenGL30. It was used to fix the problems with OSX. I'll try to make a hotfix ready ASAP
     
    • Like
    Reactions: Vvolodymyr

    schema

    Cat God
    Joined
    Feb 17, 2012
    Messages
    1,552
    Reaction score
    2,604
    • Schine
    There is a possible fix on the dev branch now (fully compatible with the release). Please check if that is working for you. If it is, we can load it to the release branch.
     
    • Like
    Reactions: DukeofRealms
    Joined
    Jul 10, 2013
    Messages
    626
    Reaction score
    486
    • Community Content - Bronze 2
    • Purchased!
    • Legacy Citizen 7
    Tried the dev version.
    At 30% i log in.
    Spawn box appear and i start turning around, normal; then "IllegaleStateException : fonction not supported" error.
    Tried on servers and on local.
     
    Joined
    Feb 27, 2017
    Messages
    27
    Reaction score
    6
    I'll try too in a little bit, but that was the same error I was getting after editing the shader files - some function in the game was still calling the extension. I'll post the log files once I have a chance to test myself.

    Edit: Yep, same error as before from when I changed the shader files, IllegalStateError from still trying to call that extension. The relevant part of the log:

    Code:
    [2017-04-27 07:37:08] java.lang.IllegalStateException: Function is not supported
    [2017-04-27 07:37:08]     at org.lwjgl.BufferChecks.checkFunctionAddress(BufferChecks.java:58)
    [2017-04-27 07:37:08]     at org.lwjgl.opengl.EXTGpuShader4.glVertexAttribIPointerEXT(EXTGpuShader4.java:258)
    [2017-04-27 07:37:08]     at obfuscated.jw.a(SourceFile:141)
    [2017-04-27 07:37:08]     at obfuscated.hA.a(SourceFile:755)
    [2017-04-27 07:37:08]     at obfuscated.hA.a(SourceFile:1197)
    [2017-04-27 07:37:08]     at obfuscated.hA.e_(SourceFile:392)
    [2017-04-27 07:37:08]     at obfuscated.hU.e_(SourceFile:395)
    [2017-04-27 07:37:08]     at obfuscated.hv.e(SourceFile:566)
    [2017-04-27 07:37:08]     at obfuscated.hv.e_(SourceFile:442)
    [2017-04-27 07:37:08]     at obfuscated.aFN.g(SourceFile:546)
    [2017-04-27 07:37:08]     at obfuscated.aFN.a(SourceFile:687)
    [2017-04-27 07:37:08]     at obfuscated.aFT.b(SourceFile:703)
    [2017-04-27 07:37:08]     at obfuscated.V.e(SourceFile:1110)
    [2017-04-27 07:37:08]     at org.schema.game.common.Starter.startMainMenu(SourceFile:1489)
    [2017-04-27 07:37:08]     at org.schema.game.common.Starter.main(SourceFile:1034)
    I'm uploading the entire log and the graphicsinfo.txt file I'm guessing was created for testing specifically this.
     

    Attachments

    Last edited:

    schema

    Cat God
    Joined
    Feb 17, 2012
    Messages
    1,552
    Reaction score
    2,604
    • Schine
    Thank you. This kinda means that the initial fix worked at least. This is a followup problem I can fix. There will be a new build in 20 minutes.

    Looks like some drivers ditch the extensions if the "real" thing is available. Unfortunately on my linux installation (ubuntu + nvidia) there was no error, so I have to wait for player feedback.
     
    • Like
    Reactions: Vvolodymyr
    Joined
    Feb 27, 2017
    Messages
    27
    Reaction score
    6
    Okay, thanks for the fast responses to this!

    Edit: Just saw the new dev version on the launcher, no IllegalStateException on starting up a single-player world. Thanks!
     
    Last edited:
    Joined
    Jan 2, 2016
    Messages
    50
    Reaction score
    46
    Yaay :) - the 535b workssss :)

    Edit: tried singleplayer and mp server. Both work fine without errors or login problems.
     
    Last edited:
    Joined
    Jul 10, 2013
    Messages
    626
    Reaction score
    486
    • Community Content - Bronze 2
    • Purchased!
    • Legacy Citizen 7
    ok, it works. Thanks for saving my virtual life.
    Still problems with not seeing blocks (not the transparent and lod, all the rest) while normal light quality is on but thats for another thread.