-
Notifications
You must be signed in to change notification settings - Fork 222
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
RenderingAPIException causes rviz2 to crash after 100 tries. #672
Comments
Also had this problem, unable to start rviz2 after the latest Ubuntu upgrade of foxy. I was able to run rviz2 before without issues. A simple reboot fixed the issue on my side. |
@david-beaudette ohh. I have tried rebooting and upgrading but still it doesn't work. I am facing this issue from the beginning. I have not been able to start rviz2 since I installed it. Also I Just noticed this was also printed in the beginning before the 100 lines of the above error: |
@jasmeet0915 I found this discussion that appears to have a similar issue: openai/gym#509 (comment) It seems most likely that you're missing this driver? I see that you've already tried some solutions online so please let me know if you've already tried this! Also, are you running in headless mode? An example is docker without a display linked into the environment. |
@jasmeet0915 I'm going to close this issue given the length of time since my response and what appears to be a matching solved issue. Please re-open if the problem persists. |
the issue still persists |
|
also having this issue: Output
Edit: this seems to be an issue of wayland-compatibility, telling QT to run rviz2 via Xwayland solves the issue for me: ros-visualization/rviz#1442 (comment) |
I think recent updates to wayland GUI doesn't support this.You have to install X11 and then proceed. 2)Install x11-sudo apt-get install xorg openbox Try starting rviz2 now. |
|
Hi,
I am not able to get rviz2 to start on my system due to the following error:
[ERROR] [1618426295.882467513] [rviz2]: RenderingAPIException: Unable to create a suitable GLXContext in GLXContext::GLXContext at /tmp/binarydeb/ros-foxy-rviz-ogre-vendor-8.2.1/obj-x86_64-linux-gnu/ogre-v1.12.1-prefix/src/ogre-v1.12.1/RenderSystems/GLSupport/src/GLX/OgreGLXContext.cpp (line 60)
I have ubuntu 20.04 with ros2 foxy and ignition gazebo installed on my system both of which are running fine.
From what I understood, I thought this was a version issue. I have libogre versions 1.8, 1.9 and 2.1 which were installed by the ignition-rendering libraries. But according to the above error message, I guess rviz2 is looking for ogre-1.12 which is not installed. I tried installing the
libogre-1.12
andlibogre-1.12-dev
packages from apt but still no luck and installing this package also removes theignition-citadel
package which I have installed.Does anyone have idea how to resolve this issue?
Cheers
Jasmeet
The text was updated successfully, but these errors were encountered: