WSL2中Ubuntu24.04(ROS2-Jazzy)中rviz2显示不正常
场景
wsl2+Ubuntu24.04+ros-jazzy
错误
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
MESA: error: ZINK: failed to choose pdev
原因
openGL版本太高4.1,需要降低版本
解决
export MESA_GL_VERSION_OVERRIDE=3.3 export LIBGL_ALWAYS_SOFTWARE=1 export LIBGL_ALWAYS_INDIRECT=0