intellij stuck with the following error: GLX version 1.3 or higher is required

Answered

When trying to run intellij (2018.3) i get the following error:

libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
ES2 Prism: Error - reported GLX version = 1.2
GLX version 1.3 or higher is required

How can I fix it? 

0
7 comments

Try these steps: https://askubuntu.com/q/923740

Also try adding

-Dprism.order=sw

into Help | Edit Custom VM Options file, like advised here https://askubuntu.com/a/957184.

0
Avatar
Permanently deleted user

I get a similar error when trying to start IntelliJ for the first time on my virtual machine (Linux) - using command line ./idea.sh. Because it doesn't take me to Help|Edit as suggested above I instead added -Dprism.order=sw directly to the idea.vmoptions file in the /bin directory.

This still does not take me past the error message, maybe you can help?

ES2 Prism: Error - reported GLX version = 1.2
GLX version 1.3 or higher is required

0
Avatar
Yaroslav Bedrov

Hello,

Please try to use the bundled JRB11 from http://www.jetbrains.com/idea/download/index.html (option in the drop-down): https://i.imgur.com/4oytoa9.png .

0
Avatar
Permanently deleted user

Thank you that works! (error still persists, see below, but IntelliJ started)

_____________________________

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.intellij.ide.ClassUtilCore to field sun.net.www.protocol.jar.JarFileFactory.fileCache
WARNING: Please consider reporting this to the maintainers of com.intellij.ide.ClassUtilCore
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
ES2 Prism: Error - reported GLX version = 1.2
GLX version 1.3 or higher is required

0

The warnings do not affect IDE operations. As for the error check mentioned thread https://askubuntu.com/questions/923740/glx-version-1-3-or-higher-is-required

0
Avatar
Permanently deleted user

Once IntelliJ started I Edited the VM Options through IntelliJ as suggested above (created a new file). Adding the prism variable and restarting removes the GLX version error. Does this mean I can download the default version of IntelliJ now, or is there a different problem that will cause it not to work?

0

What do you mean by default version?

0

Please sign in to leave a comment.