Forum / NoMachine for Linux / How to make work the camera IMX219-77IR on the jetson nano with NoMachine
- This topic has 3 replies, 3 voices, and was last updated 3 years, 9 months ago by Britgirl.
-
AuthorPosts
-
January 6, 2021 at 17:32 #31140ziomarioParticipant
Hello.
I’ve just bought the Waveshare camera,model IMX219-77IR and I’ve installed it on top of my jetson nano. I’m trying to make it work correctly following the wiki,here :
https://www.waveshare.com/wiki/IMX219-77IR_Camera
After some research, I’ve found that this command works exactly as I want only if the HDMI monitor is attached :
gst-launch-1.0 nvarguscamerasrc ! ‘video/x-raw(memory:NVMM),width=3820, height=2464, framerate=21/1, format=NV12’ ! nvvidconv flip-method=0 ! ‘video/x-raw,width=960, height=616’ ! nvvidconv ! nvegltransform ! nveglglessink -e
instead,if I’m in headless mode,it gives this error :
nvbuf_utils: Could not get EGL display connection
Setting pipeline to PAUSED …
Using winsys: x11
ERROR: Pipeline doesn’t want to pause.
Setting pipeline to NULL …
Freeing pipeline …
and :
gst-launch-1.0 nvarguscamerasrc ! ‘video/x-raw(memory:NVMM),width=3820, height=2464, framerate=21/1, format=NV12’ ! nvvidconv flip-method=0 ! ‘video/x-raw,width=960, height=616’ ! nvvidconv ! xvimagesink -e
This is what happens : https://ibb.co/KjdS3xZ
Can some suggest to me how to modify that command to make it work inside NoMachine with the jetson nano that’s in headless mode ? thanks.
January 7, 2021 at 09:37 #31165kroyContributorHi.
If you used the previous workaround – and installed XFCE4 – physical desktop with XFCE4 works fine. We can’t test with that specific model of camera you are using unfortunately, but that error you posted is related to nvidia drivers, it seems:
https://forums.developer.nvidia.com/t/nvivafilter-could-not-get-egl-display-connection/69307
January 7, 2021 at 19:35 #31176ziomarioParticipantHello.
I disabled the x server with the command : sudo systemctl set-default multi-user.target
following this guide :
https://www.nomachine.com/AR02R01074
because I had a lot of flickering inside the NoMachine window. What you suggest to me to do now ? I should re enable it ? but why if now it works fine ? I tried all these pipelines and no one worked right now :
gst-launch-1.0 -e videotestsrc ! nvivafilter cuda-process=true customer-lib-name=”libnvsample_cudaprocess.so” ! ‘video/x-raw(memory:NVMM), format=(string)NV12’ ! nvoverlaysink
nvbuf_utils: Could not get EGL display connection
WARNING: erroneous pipeline: could not link videotestsrc0 to nvivafilter0gst-launch-1.0 -e videotestsrc ! nvivafilter cuda-process=true customer-lib-name=”libnvsample_cudaprocess.so” ! ‘video/x-raw(memory:NVMM), format=(string)NV12’ ! nvoverlaysink
nvbuf_utils: Could not get EGL display connection
WARNING: erroneous pipeline: could not link videotestsrc0 to nvivafilter0gst-launch-1.0 videotestsrc is-live=true ! nvvidconv ! ‘video/x-raw(memory:NVMM), format=I420’ ! nvivafilter customer-lib-name=”./libnvsample_cudaprocess.so” cuda-process=true ! ‘video/x-raw(memory:NVMM), format=RGBA’ ! nvegltransform ! nveglglessink
nvbuf_utils: Could not get EGL display connection
Setting pipeline to PAUSED …
Using winsys: x11
ERROR: Pipeline doesn’t want to pause.
Setting pipeline to NULL …
Freeing pipeline …this seems to be the better one…
gst-launch-1.0 nvarguscamerasrc ! ‘video/x-raw(memory:NVMM),width=3820, height=2464, framerate=21/1, format=NV12’ ! nvvidconv flip-method=0 ! ‘video/x-raw,width=960, height=616’ ! nvvidconv ! xvimagesink -e
since it produces something like this :
but anyway there is something wrong.
January 11, 2021 at 10:28 #31193BritgirlKeymasterIf the flickering has gone, then leave you’re NoMachine settings as they are 😉 You’re better off contacting the nvidia developer forums for the other issues.
-
AuthorPosts
This topic was marked as solved, you can't post.