Rviz can not open in ubuntu18.04

asked 2021-12-23 08:51:16 -0500

Hardliu gravatar image

updated 2021-12-28 11:27:40 -0500

osilva gravatar image

when I try to open rviz, it's will display errors.

[ INFO] [1640269957.506665159]: rviz version 1.13.23
[ INFO] [1640269957.506734274]: compiled against Qt version 5.9.5
[ INFO] [1640269957.506749333]: compiled against OGRE version 1.9.0 (Ghadamon)
[ INFO] [1640269957.514238673]: Forcing OpenGl version 0.

rviz::RenderSystem: error creating render window: boost::thread_resource_error: Resource temporarily unavailable
[ WARN] [1640269959.982329944]: OGRE EXCEPTION(2:InvalidParametersException): Window with name 'OgreWindow(0)' already exists in GLRenderSystem::_createRenderWindow at /build/ogre-1.9-B6QkmW/ogre-1.9-1.9.0+dfsg1/RenderSystems/GL/src/OgreGLRenderSystem.cpp (line 1057)

rviz::RenderSystem: error creating render window: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /build/ogre-1.9-B6QkmW/ogre-1.9-1.9.0+dfsg1/RenderSystems/GL/src/GLX/OgreGLXContext.cpp (line 61)
[ERROR] [1640269960.307447341]: Unable to create the rendering window after 100 tries.
Segmentation fault
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
glxinfo | grep "OpenGL"

OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 495.29.05
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 495.29.05
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 495.29.05
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
edit retag flag offensive close merge delete

Comments

Hi @Hardliu please use 10101 to format your question to improve readability.

osilva gravatar image osilva  ( 2021-12-28 11:28:28 -0500 )edit

Insufficient details provided to provide support.

osilva gravatar image osilva  ( 2021-12-29 13:24:58 -0500 )edit

@osilva If there are missing details you think it needs you should ask for them instead of closing (and downvoting, presumably)

lucasw gravatar image lucasw  ( 2021-12-30 11:08:49 -0500 )edit

I raised an issue yesterday. I’m concerned this type of questions are attracting traffic but no intent to follow up

osilva gravatar image osilva  ( 2021-12-30 11:22:21 -0500 )edit

I don't see a problem as it currently is (if the user profile has suspect links or other odd behavior is evident on the user page that's different, should be documented and called out). New users might disappear but their questions can still have value, can be answered and updated for the benefit of others. Maybe someone else with the same error will find this and add some more details- it could even take several years for that to happen, but once it does it's still helpful in following years for other people.

lucasw gravatar image lucasw  ( 2021-12-30 11:41:31 -0500 )edit
1

@lucasw thank you for the feedback.

osilva gravatar image osilva  ( 2021-12-30 11:48:00 -0500 )edit