[libcamera-devel] Video recording on PinePhone Re: libcamera on pinephone

Rafael Diniz rafael at riseup.net
Tue Jul 5 08:50:15 CEST 2022


Hi Pavel,

It seems you are running a kernel without Sebatian patches for sun6i-csi 
and camera drivers. I don't get those ioctl errors anymore.

Rafael

>> If you have ideas, that would be welcome.
>>
>> [14:35:02.518919771] [14750] ERROR V4L2 v4l2_videodevice.cpp:1181
>> /dev/video2[17:cap]: Unable to enumerate frame sizes: Inappropriate
>> ioctl for device
>> [14:35:02.519839224] [14750] ERROR SimplePipeline simple.cpp:1268
>> Searching for device
> 
> I have on particular idea, this needs to be debugged, but I'd recommend
> fixing the above two errors first (or at the very least ensuring they're
> not the culprit).
> 
>> 0:00:07.496271506 14749   0x55bdd61000 INFO            libcamerasrc
>> gstlibcamerasrc.cpp:241:gst_libcamera_src_open:<libcamerasrc0> Using
>> camera '/base/i2c-csi/rear-camera at 4c'
>> Pipeline is live and does not need PREROLL ...
>> 0:00:07.497367174 14749   0x55bde3a400 DEBUG           libcamerasrc
>> gstlibcamerasrc.cpp:391:gst_libcamera_src_task_enter:<libcamerasrc0>
>> Streaming thread has started
>> Pipeline is PREROLLED ...
>> Setting pipeline to PLAYING ...
>> New clock: GstSystemClock
>> 0:00:07.499074034 14749   0x55bde3a400 DEBUG           libcamerasrc
>> gstlibcamerasrc.cpp:422:gst_libcamera_src_task_enter:<libcamerasrc0>
>> Srcpad config...
>>
>> (gst-launch-1.0:14749): GStreamer-Video-CRITICAL **: 00:08:37.503:
>> gst_video_format_to_string: assertion 'format !=
>> GST_VIDEO_FORMAT_UNKNOWN' failed
>> [14:35:02.525362860] [14751]  INFO Camera camera.cpp:1029 configuring
>> streams: (0) 1280x720-YUYV
>> 0:00:07.536242338 14749   0x55bde3a400 TRACE           libcamerasrc
>> gstlibcamerasrc.cpp:332:gst_libcamera_src_task_run:<libcamerasrc0>
>> Requesting buffers
>> ^Chandling interrupt.
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20220705/323c9ca2/attachment.sig>


More information about the libcamera-devel mailing list