-
Notifications
You must be signed in to change notification settings - Fork 75
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
rviz2 RenderSystem errors inside the autoware-container on ubuntu 20.04 on nvidia GPU #206
Comments
I cannot reproduce your issue. There might be something in your environment or your volumes selecting the intel driver? Here's my attempt I skipped the volumes as I don't have those setup.
There's the obvious question do you have an nvidia graphics card? Do you have an appropriate nvidia driver installed and enabled? |
I also verified it works w/o the Please try to make a minimum working example of your issue (preferably with a smaller image) to isolate the issue you're encountering. |
So, it looks like the volumes are not the issue.
|
You're running a much newer NVIDIA driver than I've ever tested with nvidia-520 Do you know of others using this same grapics driver with the nvidia/opengl images: https://hub.docker.com/r/nvidia/opengl In the past not all nvidia drivers have been cross compatible. I don't know if that's the case here. The crystal base image is going to be a much older version of Ubuntu which also likely doesn't have the same graphics drivers. That one might be old enough that it detects nvidia incompatability and goes for the Intel driver instead. |
I cannot repro the issue with I do see a similar error with a privately built ROS Galactic image though, so reporting here.
A few weeks ago I was able to spawn *1...Actually, with the autoware Docker image, I can even spawn a GUI e.g. |
Nevermind the |
kinu-garage/hut_10sqft#819 (comment) worked for me. |
Environment:
I have run an autoware container as described in their docs:
rocker --nvidia --x11 --user --volume $HOME/autoware --volume $HOME/autoware_map -- ghcr.io/autowarefoundation/autoware-universe:latest-cuda
After I tried to use rviz2 I received the following output:
After that I tried to run your example:
rocker --nvidia --x11 osrf/ros:crystal-desktop rviz2
and rviz window was displayed. However, I got the following libGL errors and as the output suggests it was trying to load intel drivers instead of nvidia:
I also managed to run rviz2 without errors without nvidia but the performance was unsatisfactory.
The text was updated successfully, but these errors were encountered: