[libcamera-devel] libcamera on pinephone

Jacopo Mondi jacopo at jmondi.org
Tue Jun 21 09:40:25 CEST 2022


Hi Pavel,

On Mon, Jun 20, 2022 at 11:28:34PM +0200, Pavel Machek wrote:
> Hi!
>
> > > However cam recently gained support for an SDL output which might be
> > > easier to exercize.
> > >
> > > > build/test/camera/capture -- sounds like something suitable for basic
> > > > testing? But it has "platform/vimc.0 Sensor B" hardcoded and that's
> > > > not present.
> > >
> > > test/ contains the library unit tests, not something that is interesting
> > > for users
> > >
> > > > Are there tools such as list sensors, acquire one frame for testing,
> > > > ...?
> > >
> > > Yes, cam does that.
> >
> > `cam -l` to list cameras
> > `cam -c 1 -C 10` to capture 10 frames from the first camera
> > `cam -h` for more :-)
>
> Thanks for pointers. It seems that pinephone's drivers are not nearly
> good enough to work with libcamera. (And fixing kernel is hard ATM,
> plus I'd really like something working, first).
>
> ffmpeg works with same drivers, so I short-circuited most of the
> checks to get libcamera to try to use similar config.
>
> ffmpeg -s 1280x720 -f video4linux2 -i /dev/video2 -vframes 5
> /tmp/photo%d.jpg
> ...
>   Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720, 331776 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
> Stream mapping:
>   Stream #0:0 -> #0:0 (rawvideo (native) -> mjpeg (native))
> ...
>
> mobian at mobian:~/g/libcamera$ cat run
> LIBCAMERA_LOG_FILE=/tmp/camera.log LIBCAMERA_LOG_LEVELS=*:DEBUG build/src/cam/cam -c 1 -I --capture=10 --file=/tmp/
> mobian at mobian:~/g/libcamera$ ./run
> Using camera /base/i2c-csi/rear-camera at 4c as cam0
> 0: 1280x720-YUV420
>  * Pixelformat: YUV420 (1280x720)-(1280x720)/(+1,+1)
>   - 1280x720
>  fd 14 fd 14plane is out of buffer: buffer length=1384448, plane offset=1382400, plane length=345600
>
> I'm attaching my hacks and debug output... if you have idea what is
> wrong there, please help. I guess I broke something because "plane out
> of buffer" does not seem right.

Could you share a pointer to the pinephone BSP to see how the driver
handles YUV420 ?

Libcamera maps YUV420 to either V4L2_PIX_FMT_YUV420 for driver using the
single-planar V4L2 API or V4L2_PIX_FMT_YUV420M for the multi-planar
version. As far as I understand it this is not exactly precise as the
YUV420 and YUV420M formats differ because for the former  the planes are
contiguous while in the M version they live at different memory
locations. Depending how a driver maps the single/multi API it implements
to one of the two format versions, libcamera might be picking
the wrong one.

Could you print the length of all planes and see how they look like in
memory ? Also note that the two planes have the same fd so they
seem to be contiguous in memory if I'm not mistaken ?

Thanks
   j

>
> Best regards,
>
> 								Pavel
>
>
> --
> People of Russia, stop Putin before his war on Ukraine escalates.


> diff --git a/README.rst b/README.rst
> index f81d6e2e..e89dba98 100644
> --- a/README.rst
> +++ b/README.rst
> @@ -101,6 +101,13 @@ for android: [optional]
>  for lc-compliance: [optional]
>          libevent-dev
>
> +Basic testing with cam utility
> +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> +
> +cam utility can be used for basic testing. You may want to start with
> +"build/src/cam/cam -c 1 -I --capture=10 --file=/tmp/".
> +
> +
>  Using GStreamer plugin
>  ~~~~~~~~~~~~~~~~~~~~~~
>
> diff --git a/src/cam/image.cpp b/src/cam/image.cpp
> index fe2cc6da..6fdf3995 100644
> --- a/src/cam/image.cpp
> +++ b/src/cam/image.cpp
> @@ -46,6 +46,7 @@ std::unique_ptr<Image> Image::fromFrameBuffer(const FrameBuffer *buffer, MapMode
>  		}
>
>  		const size_t length = mappedBuffers[fd].dmabufLength;
> +		std::cerr << " fd " <<  fd;
>
>  		if (plane.offset > length ||
>  		    plane.offset + plane.length > length) {
> @@ -53,6 +54,7 @@ std::unique_ptr<Image> Image::fromFrameBuffer(const FrameBuffer *buffer, MapMode
>  				  << length << ", plane offset=" << plane.offset
>  				  << ", plane length=" << plane.length
>  				  << std::endl;
> +			assert(false);
>  			return nullptr;
>  		}
>  		size_t &mapLength = mappedBuffers[fd].mapLength;
> diff --git a/src/libcamera/camera_sensor.cpp b/src/libcamera/camera_sensor.cpp
> index d055c16a..36909413 100644
> --- a/src/libcamera/camera_sensor.cpp
> +++ b/src/libcamera/camera_sensor.cpp
> @@ -287,7 +287,6 @@ int CameraSensor::validateSensorDriver()
>  			LOG(CameraSensor, Error)
>  				<< "Mandatory V4L2 control " << utils::hex(ctrl)
>  				<< " not available";
> -			err = -EINVAL;
>  		}
>  	}
>
> diff --git a/src/libcamera/pipeline/simple/simple.cpp b/src/libcamera/pipeline/simple/simple.cpp
> index bc0cb1a0..ae054347 100644
> --- a/src/libcamera/pipeline/simple/simple.cpp
> +++ b/src/libcamera/pipeline/simple/simple.cpp
> @@ -477,17 +477,28 @@ int SimpleCameraData::init()
>  	if (ret < 0)
>  		return ret;
>
> +	LOG(SimplePipeline, Error) << "Trying pipelines";
> +
>  	/*
>  	 * Generate the list of possible pipeline configurations by trying each
>  	 * media bus format and size supported by the sensor.
>  	 */
>  	for (unsigned int code : sensor_->mbusCodes()) {
> -		for (const Size &size : sensor_->sizes(code))
> +	  for (const Size &size : sensor_->sizes(code)) {
> +	    LOG(SimplePipeline, Error) << "Trying pipeline " << code << " " << size.width << " x " << size.height;
> +	    if (size.width != 1280)
> +	      continue;
> +	    if (size.height != 720)
> +	      continue;
> +	    if (code != 8198)
> +	      continue;
>  			tryPipeline(code, size);
> +	  }
>  	}
>
>  	if (configs_.empty()) {
>  		LOG(SimplePipeline, Error) << "No valid configuration found";
> +
>  		return -EINVAL;
>  	}
>
> @@ -495,8 +506,11 @@ int SimpleCameraData::init()
>  	for (const Configuration &config : configs_) {
>  		formats_[config.captureFormat].push_back(&config);
>
> -		for (PixelFormat fmt : config.outputFormats)
> +		for (PixelFormat fmt : config.outputFormats) {
> +		  LOG(SimplePipeline, Error) << "Pushing back pixel format " << fmt;
>  			formats_[fmt].push_back(&config);
> +
> +		}
>  	}
>
>  	properties_ = sensor_->properties();
> @@ -546,7 +560,9 @@ void SimpleCameraData::tryPipeline(unsigned int code, const Size &size)
>  		<< " ]";
>
>  	for (const auto &videoFormat : videoFormats) {
> -		PixelFormat pixelFormat = videoFormat.first.toPixelFormat();
> +	  PixelFormat pixelFormat = videoFormat.first.toPixelFormat();
> +	  //(void) videoFormat;
> +	  //PixelFormat pixelFormat(0x32315559); //videoFormat.first.toPixelFormat();
>  		if (!pixelFormat)
>  			continue;
>
> @@ -1265,6 +1281,8 @@ bool SimplePipelineHandler::match(DeviceEnumerator *enumerator)
>  	const SimplePipelineInfo *info = nullptr;
>  	unsigned int numStreams = 1;
>
> +	LOG(SimplePipeline, Error) << "Searching for device";
> +
>  	for (const SimplePipelineInfo &inf : supportedDevices) {
>  		DeviceMatch dm(inf.driver);
>  		media_ = acquireMediaDevice(enumerator, dm);
> @@ -1276,7 +1294,9 @@ bool SimplePipelineHandler::match(DeviceEnumerator *enumerator)
>
>  	if (!media_)
>  		return false;
> +	LOG(SimplePipeline, Error) << "Have device";
>
> +
>  	for (const auto &[name, streams] : info->converters) {
>  		DeviceMatch converterMatch(name);
>  		converter_ = acquireMediaDevice(enumerator, converterMatch);
> @@ -1293,6 +1313,8 @@ bool SimplePipelineHandler::match(DeviceEnumerator *enumerator)
>  		return false;
>  	}
>
> +	LOG(SimplePipeline, Error) << "Have sensors";
> +
>  	/*
>  	 * Create one camera data instance for each sensor and gather all
>  	 * entities in all pipelines.
> @@ -1321,6 +1343,9 @@ bool SimplePipelineHandler::match(DeviceEnumerator *enumerator)
>  	if (entities.empty())
>  		return false;
>
> +	LOG(SimplePipeline, Error) << "Have entities";
> +
> +
>  	/*
>  	 * Insert all entities in the global entities list. Create and open
>  	 * V4L2VideoDevice and V4L2Subdevice instances for the corresponding
> @@ -1361,6 +1386,9 @@ bool SimplePipelineHandler::match(DeviceEnumerator *enumerator)
>  		entities_[entity] = { std::move(video), std::move(subdev), {} };
>  	}
>
> +	LOG(SimplePipeline, Error) << "Opened entities";
> +
> +
>  	/* Initialize each pipeline and register a corresponding camera. */
>  	bool registered = false;
>
> diff --git a/src/libcamera/v4l2_subdevice.cpp b/src/libcamera/v4l2_subdevice.cpp
> index 98a3911a..8358f9a2 100644
> --- a/src/libcamera/v4l2_subdevice.cpp
> +++ b/src/libcamera/v4l2_subdevice.cpp
> @@ -455,8 +455,8 @@ int V4L2Subdevice::setFormat(unsigned int pad, V4L2SubdeviceFormat *format,
>  	subdevFmt.which = whence == ActiveFormat ? V4L2_SUBDEV_FORMAT_ACTIVE
>  			: V4L2_SUBDEV_FORMAT_TRY;
>  	subdevFmt.pad = pad;
> -	subdevFmt.format.width = format->size.width;
> -	subdevFmt.format.height = format->size.height;
> +	subdevFmt.format.width = 1280; //format->size.width;
> +	subdevFmt.format.height = 720; //format->size.height;
>  	subdevFmt.format.code = format->mbus_code;
>  	subdevFmt.format.field = V4L2_FIELD_NONE;
>  	fromColorSpace(format->colorSpace, subdevFmt.format);
> @@ -465,7 +465,10 @@ int V4L2Subdevice::setFormat(unsigned int pad, V4L2SubdeviceFormat *format,
>  	if (ret) {
>  		LOG(V4L2, Error)
>  			<< "Unable to set format on pad " << pad
> -			<< ": " << strerror(-ret);
> +			<< ": " << strerror(-ret)
> +			<< " " << format->size.width << "x" << format->size.height
> +			<< " code " << format->mbus_code
> +			<< " colorspace " << subdevFmt.format.colorspace;
>  		return ret;
>  	}
>
> diff --git a/src/libcamera/v4l2_videodevice.cpp b/src/libcamera/v4l2_videodevice.cpp
> index 430715af..79ff142b 100644
> --- a/src/libcamera/v4l2_videodevice.cpp
> +++ b/src/libcamera/v4l2_videodevice.cpp
> @@ -1072,12 +1072,22 @@ std::vector<V4L2PixelFormat> V4L2VideoDevice::enumPixelformats(uint32_t code)
>  	std::vector<V4L2PixelFormat> formats;
>  	int ret;
>
> -	if (code && !caps_.hasMediaController()) {
> +	if (code && !caps_.hasMediaController() && code != 8198) {
>  		LOG(V4L2, Error)
> -			<< "Media bus code filtering not supported by the device";
> +			<< "Media bus code filtering not supported by the device "
> +			<< "code " << code;
>  		return {};
>  	}
>
> +	LOG(V4L2, Error)
> +	  << "Forcing format for pinephone";
> +
> +	//formats.push_back(V4L2PixelFormat(V4L2_PIX_FMT_YUYV));
> +	formats.push_back(V4L2PixelFormat(0x32315559));
> +	return formats;
> +
> +
> +
>  	for (unsigned int index = 0; ; index++) {
>  		struct v4l2_fmtdesc pixelformatEnum = {};
>  		pixelformatEnum.index = index;
> @@ -1106,6 +1116,9 @@ std::vector<SizeRange> V4L2VideoDevice::enumSizes(V4L2PixelFormat pixelFormat)
>  	std::vector<SizeRange> sizes;
>  	int ret;
>
> +	sizes.emplace_back(Size{ 1280, 720 });
> +	return sizes;
> +
>  	for (unsigned int index = 0;; index++) {
>  		struct v4l2_frmsizeenum frameSize = {};
>  		frameSize.index = index;
> @@ -1662,6 +1675,17 @@ int V4L2VideoDevice::queueBuffer(FrameBuffer *buffer)
>  		return ret;
>  	}
>
> +	LOG(V4L2, Debug) << "Queued buffer " << buf.index;
> +	{
> +	  V4L2DeviceFormat format;
> +	  getFormat(&format);
> +	  LOG(V4L2, Debug) << "Format is  " << format << utils::hex(format.fourcc.fourcc());
> +
> +	  // BAD: we really want i420.
> +
> +	}
> +
> +
>  	if (queuedBuffers_.empty()) {
>  		fdBufferNotifier_->setEnabled(true);
>  		if (watchdogDuration_)

> [3:39:16.275803041] [5272]  INFO IPAManager ipa_manager.cpp:138 libcamera is not installed. Adding '/my/libcamera/build/src/ipa' to the IPA search path
> [3:39:16.278416168] [5272] DEBUG IPAModule ipa_module.cpp:329 ipa_ipu3.so: IPA module /my/libcamera/build/src/ipa/ipu3/ipa_ipu3.so is signed
> [3:39:16.278783477] [5272] DEBUG IPAManager ipa_manager.cpp:240 Loaded IPA module '/my/libcamera/build/src/ipa/ipu3/ipa_ipu3.so'
> [3:39:16.281495943] [5272] DEBUG IPAModule ipa_module.cpp:329 ipa_rpi.so: IPA module /my/libcamera/build/src/ipa/raspberrypi/ipa_rpi.so is signed
> [3:39:16.281910254] [5272] DEBUG IPAManager ipa_manager.cpp:240 Loaded IPA module '/my/libcamera/build/src/ipa/raspberrypi/ipa_rpi.so'
> [3:39:16.282478949] [5272] DEBUG IPAModule ipa_module.cpp:329 ipa_rkisp1.so: IPA module /my/libcamera/build/src/ipa/rkisp1/ipa_rkisp1.so is signed
> [3:39:16.282656041] [5272] DEBUG IPAManager ipa_manager.cpp:240 Loaded IPA module '/my/libcamera/build/src/ipa/rkisp1/ipa_rkisp1.so'
> [3:39:16.282933262] [5272] DEBUG IPAModule ipa_module.cpp:329 ipa_vimc.so: IPA module /my/libcamera/build/src/ipa/vimc/ipa_vimc.so is signed
> [3:39:16.283058977] [5272] DEBUG IPAManager ipa_manager.cpp:240 Loaded IPA module '/my/libcamera/build/src/ipa/vimc/ipa_vimc.so'
> [3:39:16.283888976] [5272]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3654-7f500a6c-dirty (2022-06-20T21:53:21+02:00)
> [3:39:16.284617011] [5273] DEBUG Camera camera_manager.cpp:106 Starting camera manager
> [3:39:16.295003058] [5273] DEBUG DeviceEnumerator device_enumerator.cpp:224 New media device "cedrus" created from /dev/media0
> [3:39:16.295602962] [5273] DEBUG DeviceEnumerator device_enumerator_udev.cpp:95 Defer media device /dev/media0 due to 1 missing dependencies
> [3:39:16.297101910] [5273] DEBUG DeviceEnumerator device_enumerator_udev.cpp:320 All dependencies for media device /dev/media0 found
> [3:39:16.297225999] [5273] DEBUG DeviceEnumerator device_enumerator.cpp:252 Added device /dev/media0: cedrus
> [3:39:16.298323136] [5273] DEBUG DeviceEnumerator device_enumerator.cpp:224 New media device "sun6i-csi" created from /dev/media1
> [3:39:16.302758643] [5273] DEBUG DeviceEnumerator device_enumerator_udev.cpp:95 Defer media device /dev/media1 due to 1 missing dependencies
> [3:39:16.303871614] [5273] DEBUG DeviceEnumerator device_enumerator_udev.cpp:320 All dependencies for media device /dev/media1 found
> [3:39:16.303970702] [5273] DEBUG DeviceEnumerator device_enumerator.cpp:252 Added device /dev/media1: sun6i-csi
> [3:39:16.304805285] [5273] DEBUG Camera camera_manager.cpp:149 Found registered pipeline handler 'PipelineHandlerIPU3'
> [3:39:16.305684327] [5273] DEBUG Camera camera_manager.cpp:149 Found registered pipeline handler 'PipelineHandlerRPi'
> [3:39:16.305808875] [5273] DEBUG RPI raspberrypi.cpp:1143 Unable to acquire a Unicam instance
> [3:39:16.305878587] [5273] DEBUG Camera camera_manager.cpp:149 Found registered pipeline handler 'PipelineHandlerRkISP1'
> [3:39:16.306146058] [5273] DEBUG Camera camera_manager.cpp:149 Found registered pipeline handler 'SimplePipelineHandler'
> [3:39:16.306247938] [5273] ERROR SimplePipeline simple.cpp:1284 Searching for device
> [3:39:16.306323483] [5273] DEBUG DeviceEnumerator device_enumerator.cpp:312 Successful match for media device "sun6i-csi"
> [3:39:16.306499492] [5273] ERROR SimplePipeline simple.cpp:1297 Have device
> [3:39:16.306779672] [5273] ERROR SimplePipeline simple.cpp:1316 Have sensors
> [3:39:16.307916519] [5273] DEBUG SimplePipeline simple.cpp:383 Found capture device sun6i-csi
> [3:39:16.308871274] [5273] DEBUG V4L2 v4l2_device.cpp:623 'gc2145 3-003c': Control: Exposure (0x00980911)
> [3:39:16.309453844] [5273] DEBUG V4L2 v4l2_device.cpp:623 'gc2145 3-003c': Control: Horizontal Flip (0x00980914)
> [3:39:16.309596559] [5273] DEBUG V4L2 v4l2_device.cpp:623 'gc2145 3-003c': Control: Vertical Flip (0x00980915)
> [3:39:16.309704981] [5273] DEBUG V4L2 v4l2_device.cpp:623 'gc2145 3-003c': Control: Auto Exposure (0x009a0901)
> [3:39:16.309899199] [5273] DEBUG V4L2 v4l2_device.cpp:623 'gc2145 3-003c': Control: Auto Exposure, Bias (0x009a0913)
> [3:39:16.310080083] [5273] DEBUG V4L2 v4l2_device.cpp:623 'gc2145 3-003c': Control: Analogue Gain (0x009e0903)
> [3:39:16.310252675] [5273] DEBUG V4L2 v4l2_device.cpp:623 'gc2145 3-003c': Control: Test Pattern (0x009f0903)
> [3:39:16.310452351] [5273] DEBUG V4L2 v4l2_device.cpp:623 'gc2145 3-003c': Control: Digital Gain (0x009f0905)
> [3:39:16.315036907] [5273] DEBUG CameraSensor camera_sensor.cpp:197 'gc2145 3-003c': Optional V4L2 control 0x009a0923 not supported
> [3:39:16.315230500] [5273]  WARN CameraSensor camera_sensor.cpp:212 'gc2145 3-003c': Recommended V4L2 control 0x009a0922 not supported
> [3:39:16.315302379] [5273] ERROR V4L2 v4l2_subdevice.cpp:318 'gc2145 3-003c': Unable to get rectangle 2 on pad 0: Inappropriate ioctl for device
> [3:39:16.315427301] [5273]  WARN CameraSensor camera_sensor.cpp:239 'gc2145 3-003c': The PixelArraySize property has been defaulted to 1600x1200
> [3:39:16.315490888] [5273] ERROR V4L2 v4l2_subdevice.cpp:318 'gc2145 3-003c': Unable to get rectangle 1 on pad 0: Inappropriate ioctl for device
> [3:39:16.315552599] [5273]  WARN CameraSensor camera_sensor.cpp:250 'gc2145 3-003c': The PixelArrayActiveAreas property has been defaulted to (0, 0)/1600x1200
> [3:39:16.315635436] [5273] ERROR V4L2 v4l2_subdevice.cpp:318 'gc2145 3-003c': Unable to get rectangle 0 on pad 0: Inappropriate ioctl for device
> [3:39:16.315693148] [5273]  WARN CameraSensor camera_sensor.cpp:258 'gc2145 3-003c': Failed to retrieve the sensor crop rectangle
> [3:39:16.315744817] [5273]  WARN CameraSensor camera_sensor.cpp:264 'gc2145 3-003c': The sensor kernel driver needs to be fixed
> [3:39:16.315795736] [5273]  WARN CameraSensor camera_sensor.cpp:266 'gc2145 3-003c': See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information
> [3:39:16.315853989] [5273] ERROR CameraSensor camera_sensor.cpp:287 'gc2145 3-003c': Mandatory V4L2 control 0x009e0902 not available
> [3:39:16.315908908] [5273] ERROR CameraSensor camera_sensor.cpp:287 'gc2145 3-003c': Mandatory V4L2 control 0x009f0902 not available
> [3:39:16.315963494] [5273] ERROR CameraSensor camera_sensor.cpp:287 'gc2145 3-003c': Mandatory V4L2 control 0x009e0901 not available
> [3:39:16.325850808] [5273]  WARN CameraSensorProperties camera_sensor_properties.cpp:174 No static properties available for 'gc2145'
> [3:39:16.326986655] [5273]  WARN CameraSensorProperties camera_sensor_properties.cpp:176 Please consider updating the camera sensor properties database
> [3:39:16.327055909] [5273]  WARN CameraSensor camera_sensor.cpp:410 'gc2145 3-003c': Failed to retrieve the camera location
> [3:39:16.327286086] [5273] DEBUG SimplePipeline simple.cpp:430 Found pipeline: [gc2145 3-003c|0] -> [0|sun6i-csi]
> [3:39:16.328075625] [5273] DEBUG SimplePipeline simple.cpp:383 Found capture device sun6i-csi
> [3:39:16.328459727] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Contrast (0x00980901)
> [3:39:16.328688863] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Saturation (0x00980902)
> [3:39:16.328800577] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Hue (0x00980903)
> [3:39:16.328897707] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: White Balance, Automatic (0x0098090c)
> [3:39:16.329024963] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Red Balance (0x0098090e)
> [3:39:16.329126426] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Blue Balance (0x0098090f)
> [3:39:16.329220097] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Exposure (0x00980911)
> [3:39:16.329311977] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Gain, Automatic (0x00980912)
> [3:39:16.329408815] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Gain (0x00980913)
> [3:39:16.329508736] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Horizontal Flip (0x00980914)
> [3:39:16.329602116] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Vertical Flip (0x00980915)
> [3:39:16.329694037] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Power Line Frequency (0x00980918)
> [3:39:16.329856462] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Auto Exposure (0x009a0901)
> [3:39:16.330014969] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Focus, Automatic Continuous (0x009a090c)
> [3:39:16.330129975] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Auto Focus, Start (0x009a091c)
> [3:39:16.330224729] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Auto Focus, Stop (0x009a091d)
> [3:39:16.330318734] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Auto Focus, Status (0x009a091e)
> [3:39:16.330431114] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Pixel Rate (0x009f0902)
> [3:39:16.330524411] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Test Pattern (0x009f0903)
> [3:39:16.332566760] [5273] DEBUG CameraSensor camera_sensor.cpp:197 'ov5640 3-004c': Optional V4L2 control 0x009a0923 not supported
> [3:39:16.332694766] [5273]  WARN CameraSensor camera_sensor.cpp:212 'ov5640 3-004c': Recommended V4L2 control 0x009a0922 not supported
> [3:39:16.332761853] [5273] ERROR V4L2 v4l2_subdevice.cpp:318 'ov5640 3-004c': Unable to get rectangle 2 on pad 0: Inappropriate ioctl for device
> [3:39:16.332830565] [5273]  WARN CameraSensor camera_sensor.cpp:239 'ov5640 3-004c': The PixelArraySize property has been defaulted to 2592x1944
> [3:39:16.332887151] [5273] ERROR V4L2 v4l2_subdevice.cpp:318 'ov5640 3-004c': Unable to get rectangle 1 on pad 0: Inappropriate ioctl for device
> [3:39:16.332942112] [5273]  WARN CameraSensor camera_sensor.cpp:250 'ov5640 3-004c': The PixelArrayActiveAreas property has been defaulted to (0, 0)/2592x1944
> [3:39:16.333003573] [5273] ERROR V4L2 v4l2_subdevice.cpp:318 'ov5640 3-004c': Unable to get rectangle 0 on pad 0: Inappropriate ioctl for device
> [3:39:16.333058409] [5273]  WARN CameraSensor camera_sensor.cpp:258 'ov5640 3-004c': Failed to retrieve the sensor crop rectangle
> [3:39:16.333107953] [5273]  WARN CameraSensor camera_sensor.cpp:264 'ov5640 3-004c': The sensor kernel driver needs to be fixed
> [3:39:16.333157372] [5273]  WARN CameraSensor camera_sensor.cpp:266 'ov5640 3-004c': See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information
> [3:39:16.333209416] [5273] ERROR CameraSensor camera_sensor.cpp:287 'ov5640 3-004c': Mandatory V4L2 control 0x009e0902 not available
> [3:39:16.333263544] [5273] ERROR CameraSensor camera_sensor.cpp:287 'ov5640 3-004c': Mandatory V4L2 control 0x009e0901 not available
> [3:39:16.341026297] [5273] DEBUG CameraSensor camera_sensor.cpp:362 'ov5640 3-004c': Test pattern mode 2 ignored
> [3:39:16.341194555] [5273] DEBUG CameraSensor camera_sensor.cpp:362 'ov5640 3-004c': Test pattern mode 3 ignored
> [3:39:16.341248766] [5273] DEBUG CameraSensor camera_sensor.cpp:362 'ov5640 3-004c': Test pattern mode 4 ignored
> [3:39:16.341343645] [5273]  WARN CameraSensor camera_sensor.cpp:410 'ov5640 3-004c': Failed to retrieve the camera location
> [3:39:16.341470818] [5273] DEBUG CameraSensor camera_sensor.cpp:606 'ov5640 3-004c': Apply test pattern mode 0
> [3:39:16.341682870] [5273] DEBUG SimplePipeline simple.cpp:430 Found pipeline: [ov5640 3-004c|0] -> [0|sun6i-csi]
> [3:39:16.341867629] [5273] ERROR SimplePipeline simple.cpp:1346 Have entities
> [3:39:16.342158852] [5273] DEBUG V4L2 v4l2_device.cpp:623 'gc2145 3-003c': Control: Exposure (0x00980911)
> [3:39:16.342363570] [5273] DEBUG V4L2 v4l2_device.cpp:623 'gc2145 3-003c': Control: Horizontal Flip (0x00980914)
> [3:39:16.342466575] [5273] DEBUG V4L2 v4l2_device.cpp:623 'gc2145 3-003c': Control: Vertical Flip (0x00980915)
> [3:39:16.342569330] [5273] DEBUG V4L2 v4l2_device.cpp:623 'gc2145 3-003c': Control: Auto Exposure (0x009a0901)
> [3:39:16.342708295] [5273] DEBUG V4L2 v4l2_device.cpp:623 'gc2145 3-003c': Control: Auto Exposure, Bias (0x009a0913)
> [3:39:16.342881637] [5273] DEBUG V4L2 v4l2_device.cpp:623 'gc2145 3-003c': Control: Analogue Gain (0x009e0903)
> [3:39:16.342975725] [5273] DEBUG V4L2 v4l2_device.cpp:623 'gc2145 3-003c': Control: Test Pattern (0x009f0903)
> [3:39:16.343171651] [5273] DEBUG V4L2 v4l2_device.cpp:623 'gc2145 3-003c': Control: Digital Gain (0x009f0905)
> [3:39:16.343925313] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Contrast (0x00980901)
> [3:39:16.344124197] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Saturation (0x00980902)
> [3:39:16.344229661] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Hue (0x00980903)
> [3:39:16.344324415] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: White Balance, Automatic (0x0098090c)
> [3:39:16.344418420] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Red Balance (0x0098090e)
> [3:39:16.344517633] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Blue Balance (0x0098090f)
> [3:39:16.344639806] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Exposure (0x00980911)
> [3:39:16.344730852] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Gain, Automatic (0x00980912)
> [3:39:16.344821148] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Gain (0x00980913)
> [3:39:16.344917361] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Horizontal Flip (0x00980914)
> [3:39:16.345007490] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Vertical Flip (0x00980915)
> [3:39:16.345096328] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Power Line Frequency (0x00980918)
> [3:39:16.345235418] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Auto Exposure (0x009a0901)
> [3:39:16.345348382] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Focus, Automatic Continuous (0x009a090c)
> [3:39:16.345460762] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Auto Focus, Start (0x009a091c)
> [3:39:16.345551183] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Auto Focus, Stop (0x009a091d)
> [3:39:16.345641229] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Auto Focus, Status (0x009a091e)
> [3:39:16.345759235] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Pixel Rate (0x009f0902)
> [3:39:16.345849864] [5273] DEBUG V4L2 v4l2_device.cpp:623 'ov5640 3-004c': Control: Test Pattern (0x009f0903)
> [3:39:19.610561499] [5273] DEBUG V4L2 v4l2_videodevice.cpp:632 /dev/video2[18:cap]: Opened device platform:csi: sun6i-video: sun6i-csi
> [3:39:19.611149153] [5273] ERROR SimplePipeline simple.cpp:1389 Opened entities
> [3:39:19.724160566] [5273] DEBUG MediaDevice media_device.cpp:826 /dev/media1[sun6i-csi]: ov5640 3-004c[0] -> sun6i-csi[0]: 0
> [3:39:19.947472095] [5273] DEBUG MediaDevice media_device.cpp:826 /dev/media1[sun6i-csi]: gc2145 3-003c[0] -> sun6i-csi[0]: 1
> [3:39:19.947724066] [5273] ERROR SimplePipeline simple.cpp:480 Trying pipelines
> [3:39:19.947924909] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 4104 1600 x 1200
> [3:39:19.948071291] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8198 1600 x 1200
> [3:39:19.948137003] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8199 1600 x 1200
> [3:39:19.948194130] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8200 1600 x 1200
> [3:39:19.948249508] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8201 1600 x 1200
> [3:39:19.948303719] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12289 1600 x 1200
> [3:39:19.948374014] [5273] ERROR SimplePipeline simple.cpp:500 No valid configuration found
> [3:39:20.063791920] [5273] DEBUG MediaDevice media_device.cpp:826 /dev/media1[sun6i-csi]: gc2145 3-003c[0] -> sun6i-csi[0]: 0
> [3:39:23.398525960] [5273] DEBUG MediaDevice media_device.cpp:826 /dev/media1[sun6i-csi]: ov5640 3-004c[0] -> sun6i-csi[0]: 1
> [3:39:23.398878436] [5273] ERROR SimplePipeline simple.cpp:480 Trying pipelines
> [3:39:23.399136323] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 4103 160 x 120
> [3:39:23.399252579] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 4103 176 x 144
> [3:39:23.399359043] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 4103 320 x 240
> [3:39:23.399464548] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 4103 640 x 480
> [3:39:23.399666641] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 4103 720 x 480
> [3:39:23.399775980] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 4103 720 x 576
> [3:39:23.399881568] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 4103 1024 x 768
> [3:39:23.399985531] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 4103 1280 x 720
> [3:39:23.400148748] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 4103 1920 x 1080
> [3:39:23.400256086] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 4103 2592 x 1944
> [3:39:23.400433803] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 4104 160 x 120
> [3:39:23.400543559] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 4104 176 x 144
> [3:39:23.400648855] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 4104 320 x 240
> [3:39:23.400752860] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 4104 640 x 480
> [3:39:23.400856324] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 4104 720 x 480
> [3:39:23.400959954] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 4104 720 x 576
> [3:39:23.401063042] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 4104 1024 x 768
> [3:39:23.401166964] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 4104 1280 x 720
> [3:39:23.401272011] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 4104 1920 x 1080
> [3:39:23.401376057] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 4104 2592 x 1944
> [3:39:23.401546274] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8198 160 x 120
> [3:39:23.401656696] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8198 176 x 144
> [3:39:23.402516196] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8198 320 x 240
> [3:39:23.404576838] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8198 640 x 480
> [3:39:23.404623507] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8198 720 x 480
> [3:39:23.404669426] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8198 720 x 576
> [3:39:23.404714095] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8198 1024 x 768
> [3:39:23.404758764] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8198 1280 x 720
> [3:39:23.405558136] [5273] DEBUG SimplePipeline simple.cpp:676 Link 'ov5640 3-004c':0 -> 'sun6i-csi':0 configured with format 1280x720-UYVY8_2X8
> [3:39:23.405692267] [5273] ERROR V4L2 v4l2_videodevice.cpp:1082 /dev/video2[18:cap]: Forcing format for pinephone
> [3:39:23.406091037] [5273] DEBUG SimplePipeline simple.cpp:553 Adding configuration for 1280x720 in pixel formats [ YU12 ]
> [3:39:23.406547809] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8198 1920 x 1080
> [3:39:23.406602520] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8198 2592 x 1944
> [3:39:23.406701983] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8200 160 x 120
> [3:39:23.406750152] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8200 176 x 144
> [3:39:23.406795446] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8200 320 x 240
> [3:39:23.406841032] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8200 640 x 480
> [3:39:23.406885950] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8200 720 x 480
> [3:39:23.406929869] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8200 720 x 576
> [3:39:23.406975330] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8200 1024 x 768
> [3:39:23.407020040] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8200 1280 x 720
> [3:39:23.407064376] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8200 1920 x 1080
> [3:39:23.407109670] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8200 2592 x 1944
> [3:39:23.407182382] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8207 160 x 120
> [3:39:23.407229967] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8207 176 x 144
> [3:39:23.407275428] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8207 320 x 240
> [3:39:23.407320263] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8207 640 x 480
> [3:39:23.407413226] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8207 720 x 480
> [3:39:23.407459978] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8207 720 x 576
> [3:39:23.407505439] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8207 1024 x 768
> [3:39:23.407549858] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8207 1280 x 720
> [3:39:23.407593985] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8207 1920 x 1080
> [3:39:23.407638862] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8207 2592 x 1944
> [3:39:23.407711782] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8209 160 x 120
> [3:39:23.407759326] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8209 176 x 144
> [3:39:23.407804037] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8209 320 x 240
> [3:39:23.407849206] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8209 640 x 480
> [3:39:23.407893416] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8209 720 x 480
> [3:39:23.407937252] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8209 720 x 576
> [3:39:23.407981337] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8209 1024 x 768
> [3:39:23.408080217] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8209 1280 x 720
> [3:39:23.408133303] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8209 1920 x 1080
> [3:39:23.408179222] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 8209 2592 x 1944
> [3:39:23.408252517] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12289 160 x 120
> [3:39:23.408300436] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12289 176 x 144
> [3:39:23.408345313] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12289 320 x 240
> [3:39:23.408389857] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12289 640 x 480
> [3:39:23.408434984] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12289 720 x 480
> [3:39:23.408479278] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12289 720 x 576
> [3:39:23.408523863] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12289 1024 x 768
> [3:39:23.408568449] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12289 1280 x 720
> [3:39:23.408612868] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12289 1920 x 1080
> [3:39:23.408657328] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12289 2592 x 1944
> [3:39:23.408729790] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12290 160 x 120
> [3:39:23.408777376] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12290 176 x 144
> [3:39:23.408822420] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12290 320 x 240
> [3:39:23.408867672] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12290 640 x 480
> [3:39:23.408912549] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12290 720 x 480
> [3:39:23.408956843] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12290 720 x 576
> [3:39:23.409001012] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12290 1024 x 768
> [3:39:23.409044972] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12290 1280 x 720
> [3:39:23.409089849] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12290 1920 x 1080
> [3:39:23.409134393] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12290 2592 x 1944
> [3:39:23.409205897] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12307 160 x 120
> [3:39:23.409253066] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12307 176 x 144
> [3:39:23.409298109] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12307 320 x 240
> [3:39:23.409343487] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12307 640 x 480
> [3:39:23.409387697] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12307 720 x 480
> [3:39:23.409432241] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12307 720 x 576
> [3:39:23.409476951] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12307 1024 x 768
> [3:39:23.409740839] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12307 1280 x 720
> [3:39:23.409790467] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12307 1920 x 1080
> [3:39:23.409835677] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12307 2592 x 1944
> [3:39:23.409910598] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12308 160 x 120
> [3:39:23.409958808] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12308 176 x 144
> [3:39:23.410004060] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12308 320 x 240
> [3:39:23.410049438] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12308 640 x 480
> [3:39:23.410093856] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12308 720 x 480
> [3:39:23.410138609] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12308 720 x 576
> [3:39:23.410183236] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12308 1024 x 768
> [3:39:23.410227488] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12308 1280 x 720
> [3:39:23.410272073] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12308 1920 x 1080
> [3:39:23.410316576] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 12308 2592 x 1944
> [3:39:23.410388704] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 16385 160 x 120
> [3:39:23.410436206] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 16385 176 x 144
> [3:39:23.410481209] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 16385 320 x 240
> [3:39:23.410525836] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 16385 640 x 480
> [3:39:23.410570838] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 16385 720 x 480
> [3:39:23.410615424] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 16385 720 x 576
> [3:39:23.410659592] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 16385 1024 x 768
> [3:39:23.410703803] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 16385 1280 x 720
> [3:39:23.410747597] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 16385 1920 x 1080
> [3:39:23.410791974] [5273] ERROR SimplePipeline simple.cpp:488 Trying pipeline 16385 2592 x 1944
> [3:39:23.411122615] [5273] ERROR SimplePipeline simple.cpp:510 Pushing back pixel format YUV420
> [3:39:23.416087773] [5273] DEBUG Camera camera_manager.cpp:161 Pipeline handler "SimplePipelineHandler" matched
> [3:39:23.416380787] [5273] ERROR SimplePipeline simple.cpp:1284 Searching for device
> [3:39:23.416585589] [5273] DEBUG Camera camera_manager.cpp:149 Found registered pipeline handler 'PipelineHandlerUVC'
> [3:39:23.416722012] [5273] DEBUG Camera camera_manager.cpp:149 Found registered pipeline handler 'PipelineHandlerVimc'
> [3:39:23.418210585] [5272] DEBUG SimplePipeline simple.cpp:824 Largest stream size is 1280x720
> [3:39:23.418452680] [5272] DEBUG SimplePipeline simple.cpp:876 Picked 1280x720-UYVY8_2X8 -> 1280x720-YUV420 for max stream size 1280x720
> [3:39:23.418809655] [5272] DEBUG Camera camera.cpp:970 streams configuration: (0) 1280x720-YUV420
> [3:39:23.418987956] [5272] DEBUG SimplePipeline simple.cpp:824 Largest stream size is 1280x720
> [3:39:23.419077877] [5272] DEBUG SimplePipeline simple.cpp:876 Picked 1280x720-UYVY8_2X8 -> 1280x720-YUV420 for max stream size 1280x720
> [3:39:23.419954336] [5272] DEBUG SimplePipeline simple.cpp:824 Largest stream size is 1280x720
> [3:39:23.420261393] [5272] DEBUG SimplePipeline simple.cpp:876 Picked 1280x720-UYVY8_2X8 -> 1280x720-YUV420 for max stream size 1280x720
> [3:39:23.420576116] [5272]  INFO Camera camera.cpp:1029 configuring streams: (0) 1280x720-YUV420
> [3:39:23.425795370] [5273] DEBUG SimplePipeline simple.cpp:676 Link 'ov5640 3-004c':0 -> 'sun6i-csi':0 configured with format 1280x720-UYVY8_2X8
> [3:39:23.439211606] [5273] DEBUG V4L2 v4l2_videodevice.cpp:1237 /dev/video2[18:cap]: 3 buffers requested.
> [3:39:23.440764432] [5273] DEBUG Buffer framebuffer.cpp:340 Buffer is contiguous
> [3:39:23.441345377] [5273] DEBUG Buffer framebuffer.cpp:340 Buffer is contiguous
> [3:39:23.441695102] [5273] DEBUG Buffer framebuffer.cpp:340 Buffer is contiguous
> [3:39:23.441847276] [5273] DEBUG V4L2 v4l2_videodevice.cpp:1237 /dev/video2[18:cap]: 0 buffers requested.
> [3:39:23.446917731] [5272] DEBUG Request request.cpp:358 Created request - cookie: 0



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20220621/30e21973/attachment-0001.sig>


More information about the libcamera-devel mailing list