Seg fault with the examples
kmonte opened this issue · 7 comments
I ran the scripts with
./buildPatchedKernel.sh
sudo reboot 0
./installLibrealsense.sh
And when I try to run the example code (either rs-capture or realsense-viewer) on my tx2 I segfault and coredump.
It turns out the examples were segfaulting when I was running over ssh (with X forwarding enabled).
Do they run on board the Jetson?
Yes they do run on board the Jetson.
Do you have any potential solutions/reasons as to why they don't work with X forwarding?
This is a question better asked on the librealsense Github account. This repository simply holds scripts to install librealsense2 on a Jetson TX Development Kit. If the library appears to work correctly onboard the Jetson, anything past that is beyond what this repository can help with.
Ok, thanks.
Additionally (again I'm not sure if this is out of scope for you), the realsense examples do not seem to be using the gpu.
As far as GPU usage, that has not my experience. See this article: https://www.jetsonhacks.com/2018/07/10/librealsense-update-nvidia-jetson-tx-dev-kits/
If you go about 8:20 into the video, there is a graph of GPU usage.
Same problem here with ssh -X connection causes segfault. If you find a solution, please post back here.