当前位置: 代码网 > it编程>开发工具>Docker > 在Docker中使用ROS的rviz时出现错误“libGL error: No matching fbConfigs or visuals found;“的解决方法

在Docker中使用ROS的rviz时出现错误“libGL error: No matching fbConfigs or visuals found;“的解决方法

2024年08月06日 Docker 我要评论
【代码】在Docker中使用ROS的rviz时出现错误"libGL error: No matching fbConfigs or visuals found;"的解决方法。

报错信息

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

(0)

相关文章:

版权声明:本文内容由互联网用户贡献,该文观点仅代表作者本人。本站仅提供信息存储服务,不拥有所有权,不承担相关法律责任。 如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 2386932994@qq.com 举报,一经查实将立刻删除。

发表评论

验证码:
Copyright © 2017-2025  代码网 保留所有权利. 粤ICP备2024248653号
站长QQ:2386932994 | 联系邮箱:2386932994@qq.com