Hello.
1)I’m install ROS melodic on my Jetson Nano
2) Connecting ssh -X jetson@192.168.1.75
3) trying to run : rosrun rviz rviz and have error:
[ WARN] [1591968633.352928298]: 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] [1591968633.353122728]: Unable to create the rendering window after 100 tries.
[ INFO] [1591968633.353176531]: Stereo is NOT SUPPORTED
terminate called after throwing an instance of ‘std::logic_error’
what(): basic_string::_M_construct null not valid
Aborted (core dumped)
4) When i run : glxinfo i have error
name of display: :12.0
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
X Error of failed request: GLXBadContext
Major opcode of failed request: 153 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 55
Current serial number in output stream: 54
I’m trying DISPLAY=:0 , all is work! But glxgears open window on my JETSON NANO MONITOR,BUT I NEED TO OPEN ON MY PC MONITOR
P.S. On my PC i have AMD RADEON video, not Nvidia. It’s can be a problem?