Re: [PATCH 4/4] media: staging/ipu7: Add monochrome pixel formats

From: Ruslan Koreev

Date: Thu Oct 01 2026 - 10:48:16 EST


Hi Qiling,

On Tue, Sep 29, 2026 at 09:25:39PM +0800, Qiling Zhu wrote:
> Since you reported successful plain-V4L2 Y10/Y10P streaming on
> next-20260924, could you share the exact media-ctl/v4l2-ctl commands
> and any setup performed before STREAMON?

I tested on next-20260924 with intel-ipu6 bound to 8086:b05d and v1
patches 1-3, with the vd55g1 changes reworked for v2. Before the plain
V4L2 test, I ran the following with libcamera 0.7.2:

cam -l
timeout 30 cam -c '\_SB_.LNK1' -C5 -s width=804,height=704

That captured five frames at 804x704 R8. Afterwards, media-ctl -p
showed Y8_1X8/804x704 on sensor pad 0 and CSI2 pads 0 and 1. The sensor
link was enabled and immutable, and this capture link was enabled:

"Intel IPU6 CSI2 2":1 -> "Intel IPU6 ISYS Capture 16":0

I did not enable any links manually. I have not repeated this sequence
from a fresh boot using only media-ctl and v4l2-ctl, so the prior
libcamera setup is relevant to reproducing my test.

For each format, I ran these commands first:

sudo media-ctl -V '"vd55g1 1-0010":0 [fmt:Y10_1X10/804x704]'
sudo media-ctl -V '"Intel IPU6 CSI2 2":0 [fmt:Y10_1X10/804x704]'
sudo media-ctl -V '"Intel IPU6 CSI2 2":1 [fmt:Y10_1X10/804x704]'

Then, for Y10 (with the trailing space in the FourCC):

sudo v4l2-ctl -d /dev/video16 --set-fmt-video \
'width=804,height=704,pixelformat=Y10 '
sudo v4l2-ctl -d /dev/video16 --get-fmt-video
sudo timeout 20 v4l2-ctl -d /dev/video16 --stream-mmap=4 \
--stream-count=5 --stream-to=/tmp/ir-Y10.raw

I repeated the three media-ctl commands, then used:

sudo v4l2-ctl -d /dev/video16 --set-fmt-video \
'width=804,height=704,pixelformat=Y10P'
sudo v4l2-ctl -d /dev/video16 --get-fmt-video
sudo timeout 20 v4l2-ctl -d /dev/video16 --stream-mmap=4 \
--stream-count=5 --stream-to=/tmp/ir-Y10P.raw

Both Y10 and Y10P captured five frames successfully and the images
looked correct.

I have not tested next-20260928, so I cannot yet explain the EPIPE.
Could you capture media-ctl -p immediately before STREAMON and any
IPU or vd55g1 messages from dmesg after it fails?

Ruslan