Verification performed for v4l2-relayd (0.2.0-0ubuntu1.1) from resolute-
proposed on Ubuntu 26.04 LTS (Resolute) amd64.

1. Unpatched package (0.2.0-0ubuntu1 from resolute release pocket):
Running v4l2-relayd with an RGBA 1280x800 source pipeline (matching 
libcamerasrc SoftISP output) into the YUY2 1280x720 output pipeline on 
/dev/video32 fails immediately during negotiation:

$ v4l2-relayd --version
v4l2-relayd (0.2.0)
$ GST_DEBUG=V4L2_RELAYD:6 /usr/bin/v4l2-relayd -d \
  -s "videotestsrc num-buffers=30 ! capsfilter 
caps=video/x-raw,format=RGBA,width=1280,height=800,framerate=30/1" \
  -i "videotestsrc" \
  -o "appsrc name=appsrc 
caps=video/x-raw,format=YUY2,width=1280,height=720,framerate=30/1 ! 
videoconvert ! v4l2sink name=v4l2sink device=/dev/video32"
0:00:00.015463551      28707      28707 INFO             V4L2_RELAYD 
src/v4l2-relayd.c:463:main: Running...
0:00:00.015732858      28707      28707 DEBUG            V4L2_RELAYD 
src/v4l2-relayd.c:350:output_pipeline_bus_call: Output pipeline state changed 
from NULL to READY
0:00:00.015878394      28707      28707 DEBUG            V4L2_RELAYD 
src/v4l2-relayd.c:350:output_pipeline_bus_call: Output pipeline state changed 
from READY to PAUSED
0:00:00.023032229      28707      28707 ERROR            V4L2_RELAYD 
src/v4l2-relayd.c:152:backend_pipeline_bus_call: Internal data stream error.

2. Patched package (0.2.0-0ubuntu1.1 from resolute-proposed):
$ dpkg-query -W v4l2-relayd
v4l2-relayd     0.2.0-0ubuntu1.1

- Verified systemd sandboxing in /usr/lib/systemd/system/[email protected]:
DeviceAllow=char-dma_heap
DeviceAllow=/dev/udmabuf rw
DeviceAllow=/dev/dma_heap/system rw

- Verified v4l2loopback buffer pool config in /etc/modprobe.d/v4l2-relayd.conf:
options v4l2loopback exclusive_caps=1 card_label="Virtual Camera" max_buffers=8

- Verified RGBA 1280x800 to YUY2 1280x720 conversion and streaming to 
/dev/video32:
$ GST_DEBUG=V4L2_RELAYD:6 /usr/bin/v4l2-relayd -d \
  -s "videotestsrc num-buffers=30 ! capsfilter 
caps=video/x-raw,format=RGBA,width=1280,height=800,framerate=30/1" \
  -i "videotestsrc" \
  -o "appsrc name=appsrc 
caps=video/x-raw,format=YUY2,width=1280,height=720,framerate=30/1 ! 
videoconvert ! v4l2sink name=v4l2sink device=/dev/video32"
0:00:00.015151988      28890      28890 INFO             V4L2_RELAYD 
src/v4l2-relayd.c:482:main: Running...
0:00:00.015263014      28890      28890 DEBUG            V4L2_RELAYD 
src/v4l2-relayd.c:369:output_pipeline_bus_call: Output pipeline state changed 
from NULL to READY
0:00:00.015407766      28890      28890 DEBUG            V4L2_RELAYD 
src/v4l2-relayd.c:369:output_pipeline_bus_call: Output pipeline state changed 
from READY to PAUSED
0:00:00.041177187      28890      28890 DEBUG            V4L2_RELAYD 
src/v4l2-relayd.c:369:output_pipeline_bus_call: Output pipeline state changed 
from PAUSED to PLAYING

- Non-regression test with default VIDEOSRC=videotestsrc also
transitions to PLAYING cleanly with 0 errors.

Marking verification-done-resolute.

** Tags removed: verification-needed-resolute

** Tags added: verification-done-resolute

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2166611

Title:
  v4l2-relayd unusable with libcamerasrc/SoftISP: sandbox blocks dma-buf
  allocator, and YUY2 caps never negotiate (black frames)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/v4l2-relayd/+bug/2166611/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to