How to make work the camera IMX219-77IR on the jetson nano with NoMachine

Forum / NoMachine for Linux / How to make work the camera IMX219-77IR on the jetson nano with NoMachine

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #31140
    ziomario
    Participant

    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.

    #31165
    kroy
    Contributor

    Hi.

    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

    #31176
    ziomario
    Participant

    Hello.

    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 nvivafilter0

    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 nvivafilter0

    gst-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 :

    https://forums.developer.nvidia.com/t/resolution-problems-with-the-camera-imx219-77ir-mounted-on-the-jetson-nano/165140/5

    but anyway there is something wrong.

    #31193
    Britgirl
    Participant

    If 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.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic was marked as solved, you can't post.