nickel110 / gstthetauvc

Gstreamer theta uvc plugin
GNU Lesser General Public License v2.1
16 stars 11 forks source link

Found 1 Theta(s), but none available. #3

Open alex-uam opened 1 year ago

alex-uam commented 1 year ago

Hi,

I have compiled the gstthetauvc plugin and am attempting to run it on a Jetson Xavier NX, however I receive the error :

ERROR: from element /GstPipeline:pipeline0/GstThetauvcsrc:thetauvcsrc0: Found 1 Theta(s), but none available.

I have successfully gotten it running on a Jetson Xavier AGX, as well as an Ubuntu desktop PC. Just wondering if there are any obvious steps that I've missed for the NX? Possibly permission issues?

Thanks

codetricity commented 1 year ago

I don't have a Jetson Xavier NX. This person had a permission problem with spot core (robot processing board) based on i5 Intel 8th gen. https://community.theta360.guide/t/live-streaming-over-usb-on-ubuntu-and-linux-nvidia-jetson/4359/332?u=craig

The solution was to add permissions to a user called plugdev

sudo usermod -aG plugdev [SPOT_CORE_USER]

I'm not sure if this user is on the OS running on the Jetson Xavier NX.

You can try and post to the forum. I suspect other people are streaming from the Xavier NX. Unfortunately, I don't have one. I'm thinking of getting the Jetson Orin Nano when it comes out.

alex-uam commented 1 year ago

We managed to find the solution. Turns out it was as simple as setting an environmental variable in bash:

export LD_LIBRARY_PATH=/usr/local/lib

For whatever reason, this is automatically set on Intel based Ubuntu, and the Xavier AGX series board, but not the NX!

codetricity commented 1 year ago

Oh wow, this is fascinating. Thanks for sharing this. I'll post this in the forum. Other people had problems with the NX.