Tuesday, February 4, 2020

[WORKAROUND] Could not load GLX/OpenGL functions /usr/lib64/VirtualGL/libvglfaker.so: undefined symbol: glXGetProcAddressARB

I've encountered the following problem while starting IntelliJ IDEA via optirun:

$ optirun -c yuv ./idea-IC-193.5662.53/bin/idea.sh
...
[VGL] ERROR: Could not load GLX/OpenGL functions
[VGL] /usr/lib64/VirtualGL/libvglfaker.so: undefined symbol: glXGetProcAddressARB

Quick search gave me this link - https://github.com/VirtualGL/virtualgl/issues/102

Checked VirtualGL version:

$ rpm -qi VirtualGL
VirtualGL-2.5.2-4.fc31.x86_64

Added original VirtualGL yum repo according to https://virtualgl.org/Downloads/YUM

$ cat /etc/yum.repos.d/VirtualGL.repo 
[VirtualGL]
name=VirtualGL official RPMs
baseurl=https://sourceforge.net/projects/virtualgl/files
gpgcheck=1
gpgkey=https://sourceforge.net/projects/virtualgl/files/VGL-GPG-KEY
enabled=1
exclude=VirtualGL-*.*.9[0-9]-*

dnf update detected a new version of VirtualGL:

$ sudo dnf update
VirtualGL official RPMs                                                               7.7 kB/s |  33 kB     00:04    
Dependencies resolved.
======================================================================================================================
 Package                    Architecture            Version                          Repository                  Size
======================================================================================================================
Upgrading:
 VirtualGL                  x86_64                  2.6.3-20191024                   VirtualGL                  2.2 M

Transaction Summary
======================================================================================================================
Upgrade  1 Package

Total download size: 2.2 M
Is this ok [y/N]: y

After VirtualGL installation was completed, IntelliJ IDEA started successfully via optirun.

Here's an existing bug for the problem above - https://bugzilla.redhat.com/show_bug.cgi?id=1706766

No comments:

Post a Comment