Hi,
I have a pedestrian detection application. I want this to boot up as soon as the board is turned on.
What are the steps to be followed for that?
Kindly help,
Thanks,
Pratosha
Hi,
I have a pedestrian detection application. I want this to boot up as soon as the board is turned on.
What are the steps to be followed for that?
Kindly help,
Thanks,
Pratosha
You may find some reference here:
https://devtalk.nvidia.com/default/topic/1029769/?comment=5243422
[url]https://devtalk.nvidia.com/default/topic/1021316/jetson-tk1/jetson-tk1-how-to-add-startup-application-i-want-to-execute-it-right-after-booting-up-/post/5198436/#5198436[/url]
Hi Andrey1984,
From the comment - https://devtalk.nvidia.com/default/topic/1029769/jetson-tx2/how-to-auto-run-shell-script-made-by-me-when-tx2-system-is-booted-/post/5244186/#5244186
We are using CUDA, TensorRT,Camera and display - how can we run our shell script/application on ubuntu 16.04 at boot?
Any detailed stepwise procedure for this?
Please help
Thanks,
Pratosha
I can’t answer completely, but you’ll want a virtual X server running, and the user the script runs as will need to have the DISPLAY set to this server. Additionally, if that user is not root, then the user needs to be a member of group “video” (users “ubuntu” and “nvidia” are already part of this…user “root” doesn’t need this).
Consider that use of the GPU means you need something to display to on the Jetson itself…a context. It doesn’t have to be a real display…a buffer (from the virtual X server) will do nicely. Think desktop sharing software. Unfortunately, I have no recommendations of particular servers.
Once the virtual server is available your script can work. This is an additional requirement for GPU access via script in addition to just running a script with no GPU dependencies.