[Question] Running hardware accelerated app in nvidia jetson nano docker container #734
Replies: 6 comments
-
@ruisebastiao interesting test, unfortunately I don't really have any insight but I'm curious about the solution. Do you see anything in the backtrace Can you reproduce this on stock nvidia L4T JP 4.4? If so I'd cross post on the nvidia forum too. |
Beta Was this translation helpful? Give feedback.
-
@dwalkes here is the gdb bt:
|
Beta Was this translation helpful? Give feedback.
-
My 2 cents.
Do you find anything related to nvidia20ac498a in your roots?
It looks to me that the code is trying to access a Unix socket with that
name, it fails and doesn't get some initialization data which causes the
crash.
…On Thu, Oct 15, 2020, 17:14 Rui Sebastiao ***@***.***> wrote:
@dwalkes <https://github.com/dwalkes> here is the gdb bt:
(gdb) bt
#0 0x0000007fb78736a4 in ?? () from /usr/lib/aarch64-linux-gnu/libGLX_nvidia.so.0
#1 0x0000007fb78a0d10 in ?? () from /usr/lib/aarch64-linux-gnu/libGLX_nvidia.so.0
#2 0x0000007fb7b497e4 in glXCreateContext () from /usr/lib/aarch64-linux-gnu/libGLX.so.0
#3 0x0000005555558230 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#442 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEDDM24MELUWVZIMBTWAD43SK37WDANCNFSM4SRW6LBQ>
.
|
Beta Was this translation helpful? Give feedback.
-
Yes that was also one of my first tries, i searched in the container and in the host and i didn't find any file with that name, i search for nvidia* because the other part changes in the following container executions |
Beta Was this translation helpful? Give feedback.
-
Just confirmed that in nvidia L4T JP 4.4 the result is the same. gdb output:
|
Beta Was this translation helpful? Give feedback.
-
@ruisebastiao good or bad news depending on how you look at it... good that there isn't something different about meta-tegra, bad that it's less likely some Matt Madison Magic will be able to solve it :) I'd definitely cross post it on NVIDIA developer forum, at least to make sure they are aware of it. |
Beta Was this translation helpful? Give feedback.
-
Hello,
this issue is not really related to meta-tegra, but i'm hopping to get some help here.
Following the instructions at https://github.com/NVIDIA/nvidia-docker/wiki/NVIDIA-Container-Runtime-on-Jetson i am doing some tests for running GUI apps in a docker container in a jetson nano, i'm using the following code to do the tests:
everything works well, in this example i run the container in host mode (--network host) but i have an application where i want to run the container isolated from the host, after i remove
--network host
and run the container, doing the same steps i got the following error:the strace log:
gdb log:
why i'm getting the segmentation fault only running in the isolated mode. Maybe i have to mount other things besides
/tmp/.X11-unix/:/tmp/.X11-unix
i'm using the dunfell-l4t-r32.4.3 branch
Beta Was this translation helpful? Give feedback.
All reactions