报错信息
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Could not initialize OpenGL for RasterGLSurface, reverting to RasterSurface.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Segmentation fault (core dumped)
解决方法
export LIBGL_ALWAYS_INDIRECT=1
参考
https://github.com/XQuartz/XQuartz/issues/231