NOAA-PMEL / PyFerret

The PyFerret program and Python module from NOAA/PMEL
https://ferret.pmel.noaa.gov/Ferret/
The Unlicense
60 stars 22 forks source link

libGL error: No matching fbConfigs . . . #72

Open ryofurue opened 4 years ago

ryofurue commented 4 years ago

When making a plot on pyferret, I get these error messages:

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

It's a Linux system. I wrote how I installed pyferret in the following "issue":

https://github.com/NOAA-PMEL/PyFerret/issues/71

karlmsmith commented 4 years ago

I have seen these messages (for a long time) using a RHEL7 system through a terminal on a Mac OS X (Mojave) with XQuartz for the X-Windows display. This occurs when XQuartz starts up and is not specific to PyFerret. Using eog (image display software provided by RHEL7) also shows this error. For that reason I have not worried about it since it doesn't seem to cause a problem and I have not been able to find an appropriate solution.

ryofurue commented 4 years ago

Thanks for the comment! If it doesn't cause any problem on PyFerret, that's just something we can safely ignore.

--- Random discussion --- Perhaps the reason may be a misconfiguration of Xorg on the Linux server. The following are random findings.

It seems that PyFerret looks for libGL.so.1 and finds ultimately

/usr/lib64/libGL.so.1

( $strace -o log.txt -f pyferret )

(On the other hand, eog on my system doesn't (seem to) link with libGL at all. )

This discussion

https://askubuntu.com/questions/834254/steam-libgl-error-no-matching-fbconfigs-or-visuals-found-libgl-error-failed-t

seems to me to suggest that libGL is a wrong version or Xorg tries to use something libGL doesn't have.