Rviz not starting on Nvidia Jetson TX2

asked 2020-06-30 02:57:05 -0500

Hi, the first example of Autoware.auto's tutorial cannot start on my Nvidia Jetson TX2. For the .aderc file I use the following:

    export ADE_DOCKER_RUN_ARGS="--cap-add=SYS_PTRACE --runtime=nvidia -ti --rm -e DISPLAY -v /tmp/.X11- 
           unix:/tmp/.X11-unix \
        -e NVIDIA_VISIBLE_DEVICES=all \
        -e NVIDIA_DRIVER_CAPABILITIES=compute,utility,display" 
    export ADE_GITLAB=gitlab.com 
    export ADE_REGISTRY=registry.gitlab.com 
    export ADE_DISABLE_NVIDIA_DOCKER=false export ADE_IMAGES="
        registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/arm64/ade:master 
        registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/arm64:master
        registry.gitlab.com/apexai/ade-nvidia-cudagl:latest
    "

I have this OS:

NVIDIA Jetson TX2
L4T 32.3.1 [ JetPack 4.3 ]
Ubuntu 18.04.3 LTS
Kernel Version: 4.9.140-tegra
CUDA 10.0.326

After the commands:

$ ade enter
ade$ source /opt/AutowareAuto/setup.bash
ade$ rviz2 -d /opt/AutowareAuto/share/autoware_auto_examples/rviz2/autoware_perception_stack.rviz

it says:

Segmentation fault (core dumped).

and the rviz loading box just flashes on the screen and it doesn't launch. Has anyone solved this before?

Thanks in advance

edit retag flag offensive close merge delete