System freezes and reboots when I'm running RPI HQ Camera on Jetson Nano

I use Jetson Nano Developer Kit 4GB and Raspberry Pi HQ camera. I tried streaming video but system frezess and reboots.

System info:
Jetpack 4.6.1
IMX477 driver (from ArduCAM)

Output on console when system freezes:
gst-launch-1.0 nvarguscanerasrc I nvoverlaystnk
Settlng pipeline to PAUSED …
Pipeline ls live and does not need PREROLL
Setting pipeline to PLAYING …
New clock: GstSystenclock
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer ls connected…
GST_ARGUS: Available Sensor nodes
GST_ARGUS: 3840 x 2160 FR - 29,999999 fps Duration = 33333334 ; Analog Gain rang
e min 1,000000, max 22,250000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1920 x 1080 FR = 59,999999 fps Duration 16666607 Analog Gain range min 1,000000, max 22,250000; Exposure Range min 13000, nax 693709000;
GST_ARGUS: Running with following settings:
Camera lndex 0
Camera mode a1
Output Stream W = 1920 H = 1080
seconds to Run = 0
Frame Rate = 59,999999
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.

After a few seconds the system reboots

How can I fix this?

Please try another sensor mode.

gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=(int)3840, height=(int)2160 framerate=(fraction)20/1' ! nvvidconv ! nvoverlaysink -e

I tried your suggestion but not working:
Output:

Camera modes:
v4l2-ctl --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: ‘RG10’
Name : 10-bit Bayer RGRG/GBGB
Size: Discrete 4032x3040
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 3840x2160
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.017s (60.000 fps)

Below are some codes we tried, all of them caused the system to reboot:

SENSOR_ID=0
FRAMERATE=60
gst-launch-1.0 nvarguscamerasrc sensor-id=$SENSOR_ID ! “video/x-raw(memory:NVMM),width=4032,height=3040,framerate=$FRAMERATE/1” ! nvvidconv ! “video/x-raw(memory:NVMM),width=1432,height=1080,framerate=$FRAMERATE/1” ! nvoverlaysink

gst-launch-1.0 nvarguscamerasrc sensor-id=$SENSOR_ID ! “video/x-raw(memory:NVMM),width=1920,height=1080,framerate=$FRAMERATE/1” ! nvvidconv ! nveglglessink

gst-launch-1.0 nvarguscamerasrc ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, format=(string)NV12, framerate=(fraction)30/1’ ! nvoverlaysink -e

gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! “video/x-raw(memory:NVMM),width=1920,height=1080,framerate=30/1” ! nvvidconv ! nvoverlaysink

SENSOR_ID=0
FRAMERATE=30
gst-launch-1.0 nvarguscamerasrc sensor-id=$SENSOR_ID ! “video/x-raw(memory:NVMM),width=3840,height=2160,framerate=$FRAMERATE/1” ! nvvidconv ! nvoverlaysink

gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! “video/x-raw(memory:NVMM),width=1280,height=720,framerate=30/1” ! nvvidconv ! nvoverlaysink

Lost a “,” in the pipeline.
Try this

gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=(int)3840, height=(int)2160, framerate=(fraction)20/1' ! nvvidconv ! nvoverlaysink -e

Thanks, the camera worked. But I can’t close the camera. It takes up the entire screen. Keyboard shortcuts (CTRL + ALT + T etc.) don’t work. How can I close it?

Using xvimagesink instead of nvoverlaysink.

gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=(int)3840, height=(int)2160, framerate=(fraction)20/1' ! nvvidconv ! xvimagesink sync=false