l4t 28.2.1 : where are VIDIOC_G_PARM and VIDIOC_S_PARM ?


I would like to use v4l2 ioctls to control the frame rate of my sensor connected to a Jetson TX-1 CSI MIPI-2 interface. Unfortunately, ioctl(VIDIOC_G_PARM) and ioctl(VIDIOC_S_PARM) return error ENOTTY. Will they be made available shortly ?

hello phdm,

would you please access the camera sensor via nvarguscamerasrc and given the frame rate?
for example,

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

if you would like to access it with VI drivers,
please refer to below function to update the request frame rate.

static int tegra_channel_enum_frameintervals{...}
  1. I have problems (crashes) using the “nvarguscamerasrc” that I would like to double-check before answering

  2. tegra_channel_enum_frameintervals only lists the availables framerates, but does not allow to choose one.