Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create the rendering window #1049

Open
LucasMa00 opened this issue Feb 16, 2022 · 2 comments
Open

Unable to create the rendering window #1049

LucasMa00 opened this issue Feb 16, 2022 · 2 comments

Comments

@LucasMa00
Copy link

When I run the commond in the Hello World([Tutorial 1]) on a remote server to tun the subt docker container
sudo ./subt/docker/run.bash osrf/subt-virtual-testbed:latest cave_circuit.ign worldName:=simple_cave_01 robotName1:=X1 robotConfig1:=X1_SENSOR_CONFIG_1 circuit:=cave headless:=true,
there is an error:
process[X1/ros_ign_bridge_gpu_lidar-11]: started with pid [760] [Err] [Ogre2RenderEngine.cc:744] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /var/lib/jenkins/workspace/ogre-2.1-debbuilder/repo/RenderSystems/GL3Plus/src/windowing/GLX/OgreGLXContext.cpp (line 61) [Err] [Ogre2RenderEngine.cc:744] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /var/lib/jenkins/workspace/ogre-2.1-debbuilder/repo/RenderSystems/GL3Plus/src/windowing/GLX/OgreGLXContext.cpp (line 61) process[X1/ros_ign_bridge_front_laser_set_rate-12]: started with pid [858] [Err] [Ogre2RenderEngine.cc:744] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /var/lib/jenkins/workspace/ogre-2.1-debbuilder/repo/RenderSystems/GL3Plus/src/windowing/GLX/OgreGLXContext.cpp (line 61) [Err] [Ogre2RenderEngine.cc:744] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /var/lib/jenkins/workspace/ogre-2.1-debbuilder/repo/RenderSystems/GL3Plus/src/windowing/GLX/OgreGLXContext.cpp (line 61) process[X1/ros_ign_bridge_odom-13]: started with pid [890] [Err] [Ogre2RenderEngine.cc:744] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /var/lib/jenkins/workspace/ogre-2.1-debbuilder/repo/RenderSystems/GL3Plus/src/windowing/GLX/OgreGLXContext.cpp (line 61) [Err] [Ogre2RenderEngine.cc:744] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /var/lib/jenkins/workspace/ogre-2.1-debbuilder/repo/RenderSystems/GL3Plus/src/windowing/GLX/OgreGLXContext.cpp (line 61) process[X1/ros_ign_bridge_battery_state-14]: started with pid [920] [Err] [Ogre2RenderEngine.cc:744] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /var/lib/jenkins/workspace/ogre-2.1-debbuilder/repo/RenderSystems/GL3Plus/src/windowing/GLX/OgreGLXContext.cpp (line 61) [Err] [Ogre2RenderEngine.cc:744] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /var/lib/jenkins/workspace/ogre-2.1-debbuilder/repo/RenderSystems/GL3Plus/src/windowing/GLX/OgreGLXContext.cpp (line 61) process[X1/pose_tf_broadcaster-15]: started with pid [951] [Err] [Ogre2RenderEngine.cc:744] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /var/lib/jenkins/workspace/ogre-2.1-debbuilder/repo/RenderSystems/GL3Plus/src/windowing/GLX/OgreGLXContext.cpp (line 61) [Err] [Ogre2RenderEngine.cc:744] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /var/lib/jenkins/workspace/ogre-2.1-debbuilder/repo/RenderSystems/GL3Plus/src/windowing/GLX/OgreGLXContext.cpp (line 61) [Err] [Ogre2RenderEngine.cc:752] Unable to create the rendering window after [11] attempts. [Err] [Ogre2RenderEngine.cc:681] Failed to create dummy render window.

image
image

@peci1
Copy link
Collaborator

peci1 commented Feb 16, 2022

That's expected. The SubT simulator needs a running X server. Your machine shows none. You can try running the simulator inside xvfb to at least make it running with software rendering.

@LucasMa00
Copy link
Author

That's expected. The SubT simulator needs a running X server. Your machine shows none. You can try running the simulator inside xvfb to at least make it running with software rendering.

Thank you! I have solved this problem using your sugestion. It really helps me a lot, I can finally use simulator on my GPU server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants