dusty-nv / jetson-inference

Hello AI World guide to deploying deep-learning inference networks and deep vision primitives with TensorRT and NVIDIA Jetson.
https://developer.nvidia.com/embedded/twodaystoademo
MIT License
7.75k stars 2.97k forks source link

Don't render GUI when running output.render() #1800

Closed taher968 closed 6 months ago

taher968 commented 7 months ago

I am trying to run a custom script on my Jetson Nano which takes an rtp stream as input and outputs a webrtc stream and it is working correctly. The only issue is that I always need to connect the Jetson to a screen as it throws OpenGL/CUDA errors when I don't. I don't necessarily need the GUI display as I am outputting a webrtc screen which I can view on a browser. Is there any way of the Jetson to not render a GUI when running output.Render() and just output to the stream. I want to be able to do so even when connected through SSH.

tianyatianya commented 6 months ago

+1, I have the same problem.

tianyatianya commented 6 months ago

+1, I have the same problem.

dusty-nv commented 6 months ago

@taher968 @tianyatianya yes, disable X11-forwarding on your SSH connection (or unset DISPLAY), or set --headless when you run the script or video option

taher968 commented 6 months ago

That worked, Thanks @dusty-nv