Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

videoOutput.Render() save video error #189

Open
kankanjiuzou123 opened this issue Dec 7, 2023 · 5 comments
Open

videoOutput.Render() save video error #189

kankanjiuzou123 opened this issue Dec 7, 2023 · 5 comments

Comments

@kankanjiuzou123
Copy link

I use videoOput.Render to save the video, and the following error occurs. However, I have no problem using the same code on other orin devices. What is the reason?
image
image

@kankanjiuzou123
Copy link
Author

image
I'm also very confused here, why need to create gldisplay to save the video?

@kankanjiuzou123
Copy link
Author

There are still some questions that bother me. When I connect to orin remotely through vscode ssh, there is no problem running the code. Although some errors will be reported (as shown below), the video can still be saved after a while, but when I use mobaxterm to connect to orin , an error will be reported when running the code. I am very confused as to why this happens. Please help me answer my doubts. Thank you!

vscode ssh error:
image
image

mobaxterm ssh error:
In addition to the above errors using vscode ssh, there are also the following errors:
image

The difference is that after reporting the error, vscode ssh can save the video, while mobaxterm will cause the program to interrupt. What is the reason for this? I look forward to your reply.

@dusty-nv
Copy link
Owner

dusty-nv commented Dec 7, 2023

The difference is that after reporting the error, vscode ssh can save the video, while mobaxterm will cause the program to interrupt. What is the reason for this? I look forward to your reply.

Hi @kankanjiuzou123, in your MobaXterm session settings, make sure X11-Forwarding is disabled. jetson-utils uses CUDA/OpenGL interoperability for display, and that doesn't work with X11 tunneling.

@kankanjiuzou123
Copy link
Author

The difference is that after reporting the error, vscode ssh can save the video, while mobaxterm will cause the program to interrupt. What is the reason for this? I look forward to your reply.

Hi @kankanjiuzou123, in your MobaXterm session settings, make sure X11-Forwarding is disabled. jetson-utils uses CUDA/OpenGL interoperability for display, and that doesn't work with X11 tunneling.
Hello,thank you for your reply,I turned off x11-forwarding but the same error still occurred, and the program startup speed was much slower than vscode remote-ssh.Do I need to do anything else?
image
image

@dusty-nv
Copy link
Owner

dusty-nv commented Dec 8, 2023

Hi @kankanjiuzou123, I'm not exactly sure what's going on or if there is some other setting in MobaXTerm (it seems you have a newer version than I do), but due to the cudaGraphicsGLRegisterBuffer() error it does point to an issue with the display.

Try running video-viewer/detectnet/ect program with --headless flag and see if that helps, it will disable use of the display.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants