【docker+rviz】libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver:

问题描述: docker + opengl + rviz
输入rviz显示

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

解决:

export QMLSCENE_DEVICE=softwarecontext

export LIBGL_ALWAYS_INDIRECT=y

解决

你可能感兴趣的:(docker,linux,bash)