# Resolution problems with the camera IMX219-77IR mounted on the jetson nano

**URL:** <https://forums.developer.nvidia.com/t/resolution-problems-with-the-camera-imx219-77ir-mounted-on-the-jetson-nano/165140>\
**Category:** Jetson Nano\
**Tags:** camera\
**Created:** [January 4, 2021, 8:39pm UTC](https://forums.developer.nvidia.com/t/resolution-problems-with-the-camera-imx219-77ir-mounted-on-the-jetson-nano/165140 "2021-01-04T20:39:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![marietto2008](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/marietto2008/32/16033_2.png) [@marietto2008](https://forums.developer.nvidia.com/u/marietto2008)\
**Post date:** [January 4, 2021, 8:39pm UTC](https://forums.developer.nvidia.com/t/resolution-problems-with-the-camera-imx219-77ir-mounted-on-the-jetson-nano/165140/1 "2021-01-04T20:39:02Z")

</div>

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 :

> **[IMX219-77IR Camera - Waveshare Wiki](https://www.waveshare.com/wiki/IMX219-77IR_Camera)**

my problem is that every resolution I try,the video stream cannot be limited inside a window that’s smaller than the resolution of my monitor (hdmi 1920x1080) and for this reason when I run this command :

> **`DISPLAY=:0.0** **gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=800,** **height=600, format=(string)NV12, framerate=(fraction)20/1' !**  **nvoverlaysink -e`**

I can’t work ! I can’t do anything else,because the video stream cover all the windows that are under it. In addition,when I log inside the jetson nano with the nomachine client and I try to run the camera,I don’t see anything on the screen (I’m in headless mode). Is there a way to show what the camera sees in headless mode and with the video stream limited inside a window smaller than 1920x1080 ?

---

<div class="post-metadata">

**Author:** ![ShaneCCC](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/shaneccc/32/14043_2.png) [@ShaneCCC](https://forums.developer.nvidia.com/u/ShaneCCC)\
**Post date:** [January 5, 2021, 2:49am UTC](https://forums.developer.nvidia.com/t/resolution-problems-with-the-camera-imx219-77ir-mounted-on-the-jetson-nano/165140/3 "2021-01-05T02:49:19Z")

</div>

You can use others sink like xvimagesink instead of nvoverlaysink

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [January 8, 2021, 2:35am UTC](https://forums.developer.nvidia.com/t/resolution-problems-with-the-camera-imx219-77ir-mounted-on-the-jetson-nano/165140/7 "2021-01-08T02:35:42Z")

</div>

Hi @marietto2008,

I don’t quite understand what does it mean “I don’t see anything on the screen (I’m in headless mode).”

AFAIK, headless mode means you connects no monitor/screen. This comment sounds a contradict.

---

<div class="post-metadata">

**Author:** ![marietto2008](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/marietto2008/32/16033_2.png) [@marietto2008](https://forums.developer.nvidia.com/u/marietto2008)\
**Post date:** [January 8, 2021, 11:05am UTC](https://forums.developer.nvidia.com/t/resolution-problems-with-the-camera-imx219-77ir-mounted-on-the-jetson-nano/165140/8 "2021-01-08T11:05:08Z")

</div>

I know. I don’t want to connect a monitor / screen to the nano,but I would like to see the video stream captured by the camera while I’m using Windows 10 where I have installed the no-machine client ; the no machine server is installed on the ubuntu 18 on the nano on top of xfce 4. I will mount the nano on a drone that will fly in the sky. It’s important that I see what the camera sees when I’m sitting in front of my workstation. This is the project that I’m working on :

[https://www.hackster.io/jonmendenhall/jetson-nano-search-and-rescue-ai-uav-9ca547](https://www.hackster.io/jonmendenhall/jetson-nano-search-and-rescue-ai-uav-9ca547)

Can you give me some documentation to learn how to do that ? thanks.

---

<div class="post-metadata">

**Author:** ![ShaneCCC](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/shaneccc/32/14043_2.png) [@ShaneCCC](https://forums.developer.nvidia.com/u/ShaneCCC)\
**Post date:** [January 8, 2021, 11:22am UTC](https://forums.developer.nvidia.com/t/resolution-problems-with-the-camera-imx219-77ir-mounted-on-the-jetson-nano/165140/9 "2021-01-08T11:22:00Z")

</div>

I think you file another topic for it, Please have a check the RTSP or v4l2loopback.

> [@How my camera can display what it sees directly inside the no machine window,in headless mode](https://forums.developer.nvidia.com/t/how-my-camera-can-display-what-it-sees-directly-inside-the-no-machine-window-in-headless-mode/165456):
>
> I’m trying to configure correctly this cam : because I want to run it on my jetson nano when it is in headless mode within the nomachine client window. It means that I want to see what the camera sees while I’m using ubuntu 18.04 installed on the nano within the nomachine client. Following the suggestions of the nomachines guys,I have disabled the xserver using this command : sudo systemctl set-default multi-user.target and I have installed xfce4. It works when the HDMI monitor is attache…

> [@TX2 onboard camera in Chromium](https://forums.developer.nvidia.com/t/tx2-onboard-camera-in-chromium/164994):
>
> I’m trying to get to work my Jetson TX2s CSI camera module in Chromium browser. So far I have done this: using Nvidia guidance on building v4l2loopback module (version 0.12.5) from [GitHub - umlaeute/v4l2loopback: v4l2-loopback device](https://github.com/umlaeute/v4l2loopback.git) configured v4l2loopback to provide with /dev/video2 2.1 launching module with insmod v4l2loopback.ko devices=1 video\_nr=2 exclusive\_caps=1 was not working, Firefox did not recognize device 2.2 launching module with insmod v4l2loopback.ko devices=1 video\_nr=…

---

<div class="post-metadata">

**Author:** ![marietto2008](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/marietto2008/32/16033_2.png) [@marietto2008](https://forums.developer.nvidia.com/u/marietto2008)\
**Post date:** [January 9, 2021, 3:29pm UTC](https://forums.developer.nvidia.com/t/resolution-problems-with-the-camera-imx219-77ir-mounted-on-the-jetson-nano/165140/12 "2021-01-09T15:29:47Z")

</div>

Hello.

thanks to you,all,finally I’ve been able to see what my camera (model waveshare ; IMX219-77IR) sees using nomachine and the v4l2loopback device,using these commands :

```auto
sudo rmmod v4l2loopback
sudo modprobe v4l2loopback exclusive_caps=1 video_nr=2
gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! video/x-raw, width=1920, height=1080, framerate=30/1, format=YUY2 ! identity drop-allocation=1 ! v4l2sink device=/dev/video2

```

I have also tested the cam with the browsers firefox and chromium on these websites :

![](https://global.discourse-cdn.com/nvidia/original/3X/0/6/060815183476c0d7d6c50537f7253060b0609080.png) [Vidyard](https://www.vidyard.com/cam-test/)

 ![](https://global.discourse-cdn.com/nvidia/original/3X/c/9/c9d9f1d5e886c1cb646d15cae20f7489eda50ac1.png)

### [Test my webcam - Vidyard](https://www.vidyard.com/cam-test/)

Go beyond traditional video hosting and unlock the power of video.

Est. reading time: 3 minutes

![](https://global.discourse-cdn.com/nvidia/original/3X/a/c/ac55c000c9d2d0c1aa3ef708a3570c9e09bf6179.png) [Online Mic Test](https://www.onlinemictest.com/webcam-test/)

 ![](https://global.discourse-cdn.com/nvidia/original/3X/5/4/543a03338c32888b169fd2d9e843c9a1e98364bc.png)

### [Webcam Test - Check Your Camera With Our Online Tool](https://www.onlinemictest.com/webcam-test/)

Use this webcam test to check if your computer or phone camera is working and properly configured.

With Firefox,both the websites are not able able to work,but chromium does. That it works with the v4l2loopback device,but it’s not enough for me. Can some one explain to me how can I see what the cam sees while I’m using Windows ? that’s because in the project that I’m working on,the camera will be mounted on top of a drone and I would like to use Windows or Linux outside of nomachine,to display what the camera sees when the drone is flying. Keep in consideration that I will attach to the nano the “huawei e3372 4g” dongle to provide to the drone a mobile connection,instead of a wi-fi connection and this may have an impact to the performance of the encoder used.

---

<div class="post-metadata">

**Author:** ![nadeemm](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nadeemm/32/367020_2.png) [@nadeemm](https://forums.developer.nvidia.com/u/nadeemm)\
**Post date:** [October 15, 2021, 6:53am UTC](https://forums.developer.nvidia.com/t/resolution-problems-with-the-camera-imx219-77ir-mounted-on-the-jetson-nano/165140/14 "2021-10-15T06:53:51Z")

</div>


