Issues with The Virtual Media Controller Driver (vimc)
- PipeWire version (
pipewire --version
):master
branch compiled and linked with libpipewire 0.3.48 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Ubuntu 22.04.4 LTS - Desktop Environment: XFCE
- Kernel version (
uname -r
): 6.5.0-35-generic
Description of Problem:
Pipewire doesn't handle vimc devices properly.
How Reproducible:
Steps to Reproduce:
- Enabled vimc:
sudo modprobe vimc
sudo modprobe vivid
sudo modprobe vim2m
- Run pipewire - I used
make run
- Run in "make shell" envirnoment e.g.
-
./src/examples/video-play
or pw-v4l2 ffplay /dev/video1
Actual Results:
The video-play examples says: stream state: "error"
.
ffmplay says:
[video4linux2,v4l2 @ 0x7c2bd4000cc0] ioctl(VIDIOC_G_PARM): Invalid argument [video4linux2,v4l2 @ 0x7c2bd4000cc0] Time per frame unknown [video4linux2,v4l2 @ 0x7c2bd4000cc0] buf_len[0] = 915840 < expected frame size 921600 /dev/video1: Cannot allocate memory
Expected Results:
Both programms should just show the demo stream created by the vimc device.
Additional Info (as attachments):
-
pw-dump > pw-dump.log
: pw-dump.log - log from pipwire daemon: pw.log
- log from video-play example (using
PIPWIRE_DEBUG=
D) video-play.log