jetson-inference: OpenGL failed to open X11 server connection
Unfortunately I dont get any video input from my usb camera since OpenGL fails:

I have tested the my-detection.py script and wanted to forward the camera stream to another computer via RTP. What did I miss?

About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 18 (7 by maintainers)
@lilhoser try running detectnet.py without
display://0, and it should only try to create the X11/XGL window (and if it fails to, should gracefully continue). On the other hand, if you explicitly statedisplay://0, it will not proceed if it can’t create it. It will always try to create the window unless you use the--headlessflag.Fixed… the issue on the original code is that the while is checking for the display.isStreaming… and fails… so let it go into the while loop first then check after with the if not camera.IsStreaming() and no display.IsStreaming().