Compliance test for v4l2 loopback device /dev/video0:
Driver Info:
Driver name : v4l2 loopback
Card type : Intel MIPI Camera
Bus info : platform:v4l2loopback-000
Driver version : 5.19.17
Capabilities : 0x85200001
Video Capture
Read/Write
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x05200001
Video Capture
Read/Write
Streaming
Extended Pix Format
Required ioctls:
test VIDIOC_QUERYCAP: OK
test invalid ioctls: OK
Allow for multiple opens:
test second /dev/video0 open: OK
test VIDIOC_QUERYCAP: OK
test VIDIOC_G/S_PRIORITY: OK
fail: v4l2-compliance.cpp(736): !ok
test for unlimited opens: FAIL
Debug ioctls:
test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported)
test VIDIOC_LOG_STATUS: OK (Not Supported)
Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK
test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 1 Audio Inputs: 0 Tuners: 0
Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_ENUMAUDOUT: OK (Not Supported)
test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
test VIDIOC_G/S_EDID: OK (Not Supported)
Control ioctls (Input 0):
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK
test VIDIOC_QUERYCTRL: OK
test VIDIOC_G/S_CTRL: OK
test VIDIOC_G/S/TRY_EXT_CTRLS: OK
test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK
test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
Standard Controls: 1 Private Controls: 4
Format ioctls (Input 0):
fail: v4l2-test-formats.cpp(327): Video Output cap not set, but Video Output formats defined
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: FAIL
fail: v4l2-test-formats.cpp(1290): node->has_frmintervals && !cap->capability
test VIDIOC_G/S_PARM: FAIL
test VIDIOC_G_FBUF: OK (Not Supported)
fail: v4l2-test-formats.cpp(623): Video Output cap not set, but Video Output formats defined
test VIDIOC_G_FMT: FAIL
warn: v4l2-test-formats.cpp(784): TRY_FMT cannot handle an invalid pixelformat.
warn: v4l2-test-formats.cpp(785): This may or may not be a problem. For more information see:
warn: v4l2-test-formats.cpp(786): http://<email address hidden>/msg56550.html
test VIDIOC_TRY_FMT: OK
warn: v4l2-test-formats.cpp(1147): S_FMT cannot handle an invalid pixelformat.
warn: v4l2-test-formats.cpp(1148): This may or may not be a problem. For more information see:
warn: v4l2-test-formats.cpp(1149): http://<email address hidden>/msg56550.html
test VIDIOC_S_FMT: OK
test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
test Cropping: OK (Not Supported)
test Composing: OK (Not Supported)
test Scaling: OK (Not Supported)
Codec ioctls (Input 0):
test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
test VIDIOC_G_ENC_INDEX: OK (Not Supported)
test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)
Buffer ioctls (Input 0):
fail: v4l2-test-buffers.cpp(355): timestamp != V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC && timestamp != V4L2_BUF_FLAG_TIMESTAMP_COPY
fail: v4l2-test-buffers.cpp(483): buf.check(Unqueued, i)
fail: v4l2-test-buffers.cpp(612): testQueryBuf(node, i, q.g_buffers())
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: FAIL
test VIDIOC_EXPBUF: OK (Not Supported)
test Requests: OK (Not Supported)
Total for v4l2 loopback device /dev/video0: 45, Succeeded: 40, Failed: 5, Warnings: 6
Test result of v4l2-compliance
u@u-XPS-9320:~$ v4l2-compliance
v4l2-compliance 1.22.1, 64 bits, 64-bit time_t
Compliance test for v4l2 loopback device /dev/video0:
Driver Info: v4l2loopback- 000
Driver name : v4l2 loopback
Card type : Intel MIPI Camera
Bus info : platform:
Driver version : 5.19.17
Capabilities : 0x85200001
Video Capture
Read/Write
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x05200001
Video Capture
Read/Write
Streaming
Extended Pix Format
Required ioctls:
test VIDIOC_QUERYCAP: OK
test invalid ioctls: OK
Allow for multiple opens: G/S_PRIORITY: OK .cpp(736) : !ok
test second /dev/video0 open: OK
test VIDIOC_QUERYCAP: OK
test VIDIOC_
fail: v4l2-compliance
test for unlimited opens: FAIL
Debug ioctls: DBG_G/S_ REGISTER: OK (Not Supported)
test VIDIOC_
test VIDIOC_LOG_STATUS: OK (Not Supported)
Input ioctls: G/S_TUNER/ ENUM_FREQ_ BANDS: OK (Not Supported) G/S_FREQUENCY: OK (Not Supported) S_HW_FREQ_ SEEK: OK (Not Supported) G/S/ENUMINPUT: OK
test VIDIOC_
test VIDIOC_
test VIDIOC_
test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_
test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 1 Audio Inputs: 0 Tuners: 0
Output ioctls: G/S_MODULATOR: OK (Not Supported) G/S_FREQUENCY: OK (Not Supported) G/S/ENUMOUTPUT: OK (Not Supported)
test VIDIOC_
test VIDIOC_
test VIDIOC_ENUMAUDOUT: OK (Not Supported)
test VIDIOC_
test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls: ENUM/G/ S/QUERY_ STD: OK (Not Supported) ENUM/G/ S/QUERY_ DV_TIMINGS: OK (Not Supported) DV_TIMINGS_ CAP: OK (Not Supported)
test VIDIOC_
test VIDIOC_
test VIDIOC_
test VIDIOC_G/S_EDID: OK (Not Supported)
Control ioctls (Input 0): QUERY_EXT_ CTRL/QUERYMENU: OK G/S/TRY_ EXT_CTRLS: OK (UN)SUBSCRIBE_ EVENT/DQEVENT: OK G/S_JPEGCOMP: OK (Not Supported)
test VIDIOC_
test VIDIOC_QUERYCTRL: OK
test VIDIOC_G/S_CTRL: OK
test VIDIOC_
test VIDIOC_
test VIDIOC_
Standard Controls: 1 Private Controls: 4
Format ioctls (Input 0): formats. cpp(327) : Video Output cap not set, but Video Output formats defined ENUM_FMT/ FRAMESIZES/ FRAMEINTERVALS: FAIL formats. cpp(1290) : node->has_ frmintervals && !cap->capability formats. cpp(623) : Video Output cap not set, but Video Output formats defined formats. cpp(784) : TRY_FMT cannot handle an invalid pixelformat. formats. cpp(785) : This may or may not be a problem. For more information see: formats. cpp(786) : http://<email address hidden> /msg56550. html formats. cpp(1147) : S_FMT cannot handle an invalid pixelformat. formats. cpp(1148) : This may or may not be a problem. For more information see: formats. cpp(1149) : http://<email address hidden> /msg56550. html G_SLICED_ VBI_CAP: OK (Not Supported)
fail: v4l2-test-
test VIDIOC_
fail: v4l2-test-
test VIDIOC_G/S_PARM: FAIL
test VIDIOC_G_FBUF: OK (Not Supported)
fail: v4l2-test-
test VIDIOC_G_FMT: FAIL
warn: v4l2-test-
warn: v4l2-test-
warn: v4l2-test-
test VIDIOC_TRY_FMT: OK
warn: v4l2-test-
warn: v4l2-test-
warn: v4l2-test-
test VIDIOC_S_FMT: OK
test VIDIOC_
test Cropping: OK (Not Supported)
test Composing: OK (Not Supported)
test Scaling: OK (Not Supported)
Codec ioctls (Input 0): (TRY_)ENCODER_ CMD: OK (Not Supported) (TRY_)DECODER_ CMD: OK (Not Supported)
test VIDIOC_
test VIDIOC_G_ENC_INDEX: OK (Not Supported)
test VIDIOC_
Buffer ioctls (Input 0): buffers. cpp(355) : timestamp != V4L2_BUF_ FLAG_TIMESTAMP_ MONOTONIC && timestamp != V4L2_BUF_ FLAG_TIMESTAMP_ COPY buffers. cpp(483) : buf.check(Unqueued, i) buffers. cpp(612) : testQueryBuf(node, i, q.g_buffers()) REQBUFS/ CREATE_ BUFS/QUERYBUF: FAIL
fail: v4l2-test-
fail: v4l2-test-
fail: v4l2-test-
test VIDIOC_
test VIDIOC_EXPBUF: OK (Not Supported)
test Requests: OK (Not Supported)
Total for v4l2 loopback device /dev/video0: 45, Succeeded: 40, Failed: 5, Warnings: 6