Hi, I tested the patches on qcs8550 (which should be the same as sm8550) and I seemed to get different results with v4l2-compliance sometimes. Also, ffmpeg never seemed to work. ffmpeg cmdline: sudo ffmpeg -loglevel debug -c:v h264_v4l2m2m -i rickroll.mp4 -f null /dev/null Partial output: [h264_v4l2m2m @ 0xaaaabf7a22b0] probing device /dev/video0 [h264_v4l2m2m @ 0xaaaabf7a22b0] driver 'iris_driver' on card 'iris_decoder' in mplane mode [h264_v4l2m2m @ 0xaaaabf7a22b0] Using device /dev/video0 [h264_v4l2m2m @ 0xaaaabf7a22b0] driver 'iris_driver' on card 'iris_decoder' in mplane mode [h264_v4l2m2m @ 0xaaaabf7a22b0] requesting formats: output=H264/none capture=Q08C/yuv420p [h264_v4l2m2m @ 0xaaaabf7a22b0] output buffer[0] initialization (Cannot allocate memory) [h264_v4l2m2m @ 0xaaaabf7a22b0] output unmap plane (Invalid argument)) [h264_v4l2m2m @ 0xaaaabf7a22b0] no v4l2 output context's buffers [h264_v4l2m2m @ 0xaaaabf7a22b0] can't configure decoder [vist#0:0/h264 @ 0xaaaabf741e70] Error while opening decoder: Cannot allocate memory [vost#0:0/wrapped_avframe @ 0xaaaabf760570] Error initializing a simple filtergraph Error opening output file /dev/null. Error opening output files: Cannot allocate memory [AVIOContext @ 0xaaaabf742c30] Statistics: 1703936 bytes read, 44 seeks After trying several times, it just fails: [h264_v4l2m2m @ 0xaaaaf7f852b0] probing device /dev/video0 [h264_v4l2m2m @ 0xaaaaf7f852b0] probing device /dev/video1 [h264_v4l2m2m @ 0xaaaaf7f852b0] Could not find a valid device [h264_v4l2m2m @ 0xaaaaf7f852b0] can't configure decoder [vist#0:0/h264 @ 0xaaaaf7f24e70] Error while opening decoder: Invalid argument [vost#0:0/wrapped_avframe @ 0xaaaaf7f43570] Error initializing a simple filtergraph Error opening output file /dev/null. Error opening output files: Invalid argument v4l2-compliance output: [alarm@ayn-odin2 ~]$ sudo v4l2-compliance -d /dev/video0 v4l2-compliance 1.26.0, 64 bits, 64-bit time_t Compliance test for iris_driver device /dev/video0: Driver Info: Driver name : iris_driver Card type : iris_decoder Bus info : platform:iris_bus Driver version : 6.7.0 Capabilities : 0x84204000 Video Memory-to-Memory Multiplanar Streaming Extended Pix Format Device Capabilities Device Caps : 0x04204000 Video Memory-to-Memory Multiplanar Streaming Extended Pix Format Detected Stateful Decoder 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(763): !ok test for unlimited opens: FAIL Debug ioctls: test VIDIOC_DBG_G/S_REGISTER: OK 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 (Not Supported) test VIDIOC_G/S_AUDIO: OK (Not Supported) Inputs: 0 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: 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: 48 Private Controls: 0 Format ioctls: test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK test VIDIOC_G/S_PARM: OK (Not Supported) test VIDIOC_G_FBUF: OK (Not Supported) test VIDIOC_G_FMT: OK test VIDIOC_TRY_FMT: OK test VIDIOC_S_FMT: OK test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported) test Cropping: OK test Composing: OK test Scaling: OK (Not Supported) Codec ioctls: test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported) test VIDIOC_G_ENC_INDEX: OK (Not Supported) test VIDIOC_(TRY_)DECODER_CMD: OK Buffer ioctls: fail: v4l2-test-buffers.cpp(553): ret != EINVAL (got 9) test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: FAIL test CREATE_BUFS maximum buffers: OK fail: v4l2-test-buffers.cpp(814): VIDIOC_EXPBUF is supported, but the V4L2_MEMORY_MMAP support is missing or malfunctioning. fail: v4l2-test-buffers.cpp(815): VIDIOC_EXPBUF is supported, but the V4L2_MEMORY_MMAP support is missing, probably due to earlier failing format tests. test VIDIOC_EXPBUF: OK (Not Supported) failed to stat file fail: v4l2-test-buffers.cpp(2140): ret != EINVAL && ret != EBADR && ret != ENOTTY (got 9) test Requests: FAIL Total for iris_driver device /dev/video0: 46, Succeeded: 43, Failed: 3, Warnings: 0 [alarm@ayn-odin2 ~]$ sudo v4l2-compliance -d /dev/video1 v4l2-compliance 1.26.0, 64 bits, 64-bit time_t Failed to open /dev/video1: Invalid argument [alarm@ayn-odin2 ~]$ sudo v4l2-compliance -d /dev/video0 v4l2-compliance 1.26.0, 64 bits, 64-bit time_t Failed to open /dev/video0: Invalid argument