Closed VRichardJP closed 6 months ago
Missed the nvidia environment variables NVIDIA_DRIVER_CAPABILITIES
(and NVIDIA_VISIBLE_DEVICES
?).
With the 2 set to all
, rviz and other applications now work.
That is curious though, because I think I never set these variables before and my setup was working just fine. Anyway, it works now.
Checklist
Description
I just rebuilt autoware docker image with the latest codebase (bf95c380db6debdf07fb9b6854036df567e98903):
Since then I have not been able to run any Qt based application (rviz2, rqt, turtlesim...) from a docker container. The application always crashes with a segfault:
Other GUI application (e.g. xterm) have no issue.
When I run the programs with gdb, I see this:
Somehow, there is no problem when I use
rocker
. For example:But my setup is based on vscode devcontainer and docker-compose files, so I would rather to fix the "normal" docker way.
Expected behavior
No crash.
Actual behavior
Qt based apps crash.
Steps to reproduce
Versions
Possible causes
No response
Additional context
No response