Open gmchoi96 opened 9 months ago
Thanks for opening this Issue! We need you to:
Fill out the description.
Action: Edit description and replace <!- ... -->
with actual values.
@gmchoi96 Thank you for the report. We are looking into it.
@gmchoi96 Can you try to do this command (xhost +local:docker >/dev/null 2>&1
) on the terminal and launch the simulator using movai-flow-simulator
command please?
@gmchoi96 I think your MOVAI Flow installation is all good, we have positive traces showing NVIDIA GPU card found
, NVIDIA Container Toolkit found
and the container itself is starting so, everything seems to be well detected and working at the driver level at this step.
However, if you have done and redone the installation of the drivers after starting MOVAI Flow, I would recommend you to reboot your host (yes only way to fix some issues about lib and drivers mismatch), recreate the containers with movai-flow-reset
and then follow the steps of @MithunKinarullathil:
xhost +local:docker
movai-flow-launch
movai-flow-simulator
Finally, note that you can also have hit this issue or similar where CUDA, libmesa and nvidia-drivers are conflicting and prevent QT and OpenGL to work correctly...
@MithunKinarullathil @AlexFernandes-MOVAI Thanks for replying
Unfortunately, it didn't work out the way you suggested.
movai-flow-reset
xhost +local:docker >/dev/null 2>&1
movai-flow-launch
movai-flow-simulator
the error was the same
issue About the given link This is a newly installed driver that also removed the nvidia driver provided by default in Ubuntu.
additionally Is there any need to modify the docker_compose.yml file?
I saw a post saying it was solved by editing the file... but I couldn't try it because the process wasn't detailed.
@MithunKinarullathil @AlexFernandes-MOVAI Thanks for replying
Unfortunately, it didn't work out the way you suggested.
movai-flow-reset
xhost +local:docker >/dev/null 2>&1
movai-flow-launch
movai-flow-simulator
the error was the same
issue About the given link This is a newly installed driver that also removed the nvidia driver provided by default in Ubuntu.
additionally Is there any need to modify the docker_compose.yml file?
No, there isn't. We tested in several PCs and it worked without any modifications.
I saw a post saying it was solved by editing the file... but I couldn't try it because the process wasn't detailed.
If you could provide the link that would be helpful. We currently are not able to figure out the issue. If you have solved the issue, please feel free to open a PR.
Have you checked our docs before proceeding?
Issue Description
When running Gazebo, the following error occurs:
[GUI] [Err] [Application.cc:757] [QT] Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
The nvidia driver was also installed, and rviz and mov.ai are running.
Steps to Reproduce
Actual Behaviour
When entering the command movavi-flow-simulator, gazebo should run normally. I think it works. Generally gazebo works fine, not mov.ai
Expected Behaviour
It seems that driver-related problems occur when running gazebo through docker. This is because there is no driver problem when running Gazebo normally, and I think the problem is the same as the Gazebo problem that occurred when I installed the nvidia driver incorrectly before.
Screenshots/GIFs
Versions
Possible workarounds
Additional Details