虚拟机Ubuntu远程启动Jetson nano RVIZ图形界面失败
作者:互联网
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
[ WARN] [1644470253.456780410]: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /build/ogre-1.9-i02lBV/ogre-1.9-1.9.0+dfsg1/RenderSystems/GL/src/GLX/OgreGLXContext.cpp (line 61)
rviz::RenderSystem: error creating render window: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /build/ogre-1.9-i02lBV/ogre-1.9-1.9.0+dfsg1/RenderSystems/GL/src/GLX/OgreGLXContext.cpp (line 61)
[ WARN] [1644470253.516090970]: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /build/ogre-1.9-i02lBV/ogre-1.9-1.9.0+dfsg1/RenderSystems/GL/src/GLX/OgreGLXContext.cpp (line 61)
rviz::RenderSystem: error creating render window: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /build/ogre-1.9-i02lBV/ogre-1.9-1.9.0+dfsg1/RenderSystems/GL/src/GLX/OgreGLXContext.cpp (line 61)
......
[ WARN] [1644470258.516816469]: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /build/ogre-1.9-i02lBV/ogre-1.9-1.9.0+dfsg1/RenderSystems/GL/src/GLX/OgreGLXContext.cpp (line 61)
rviz::RenderSystem: error creating render window: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /build/ogre-1.9-i02lBV/ogre-1.9-1.9.0+dfsg1/RenderSystems/GL/src/GLX/OgreGLXContext.cpp (line 61)
[ WARN] [1644470258.556742799]: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /build/ogre-1.9-i02lBV/ogre-1.9-1.9.0+dfsg1/RenderSystems/GL/src/GLX/OgreGLXContext.cpp (line 61)
rviz::RenderSystem: error creating render window: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /build/ogre-1.9-i02lBV/ogre-1.9-1.9.0+dfsg1/RenderSystems/GL/src/GLX/OgreGLXContext.cpp (line 61)
[ERROR] [1644470258.557052020]: Unable to create the rendering window after 100 tries.
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_M_construct null not valid
================================================================================REQUIRED process [rviz-9] has died!
process has died [pid 9678, exit code -6, cmd /opt/ros/melodic/lib/rviz/rviz -d /home/jetson/transbot_ws/src/transbot_nav/rviz/transbot_navigate.rviz __name:=rviz __log:=/home/jetson/.ros/log/fb3115c6-8a2e-11ec-8462-e884a5f6185a/rviz-9.log].
log file: /home/jetson/.ros/log/fb3115c6-8a2e-11ec-8462-e884a5f6185a/rviz-9*.log
Initiating shutdown!
================================================================================
[send_mark-10] killing on exit
[rviz-9] killing on exit
[move_base-8] killing on exit
[save_map-7] killing on exit
[world_canvas_server-5] killing on exit
[rosapi-4] killing on exit
[map_server-1] killing on exit
[rosbridge_websocket-3] killing on exit
[amcl-2] killing on exit
Traceback (most recent call last):
File "/home/jetson/software/world_canvas/src/world_canvas_server/scripts/world_canvas_server", line 15, in <module>
world_canvas_server.AnnotationsServer()
File "/home/jetson/software/world_canvas/src/world_canvas_server/src/world_canvas_server/annotations_server.py", line 61, in __init__
wr.MessageCollection("world_canvas", "worlds", WorldCanvas)
File "/home/jetson/software/world_canvas/src/warehouse_ros_mongo/src/warehouse_ros_mongo/message_collection.py", line 76, in __init__
self.db = self.conn[db]
AttributeError: MessageCollection instance has no attribute 'conn'
2022-02-10 13:17:38+0800 [autobahn.twisted.websocket.WebSocketServerFactory] (TCP Port 9090 Closed)
2022-02-10 13:17:38+0800 [-] Stopping factory <autobahn.twisted.websocket.WebSocketServerFactory object at 0x7f8459f190>
2022-02-10 13:17:38+0800 [-] Main loop terminated.
shutting down processing monitor...
... shutting down processing monitor complete
done
待解决问题
标签:src,ogre,虚拟机,line,1.9,rviz,GLXContext,图形界面,RVIZ 来源: https://blog.csdn.net/weixin_53664762/article/details/122858803