No device found
Created by: marcopi
I tried pipewire gstreamer plugin with versione 1.8 and all seemed working well. Using cheese I can use my laptop webcam.
Using version 1.9, cheese shows a black image with this error:
** Message: 23:25:53.807: cheese-application.vala:211: Error during camera setup: Nessun dispositivo trovato
and pipewire gives this log:
marco@albireo:~/src/pipewire.git$ systemctl --user status pipewire
● pipewire.service - Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2018-05-05 23:23:51 CEST; 8s ago
Main PID: 8530 (pipewire)
CGroup: /user.slice/user-1000.slice/user@1000.service/pipewire.service
└─8530 /usr/bin/pipewire
mag 05 23:23:51 albireo systemd[4241]: Started Multimedia Service.
mag 05 23:23:51 albireo pipewire[8530]: [E][v4l2-utils.c:89 spa_v4l2_open()] v4l2: /dev/video1 is no video capture device
Bisecting gives me the first bad commit: commit 58667d6c Author: Wim Taymans wtaymans@redhat.com Date: Tue Feb 20 10:31:55 2018 +0100
params: make method on node and port to enum params
Do not pass the params of the node in the node_info, instead,
make a method to enumerate the params. This makes it possible for
clients to only enumerate what they need and when they need it.
Improve introspection of a port, add the name and properties.
Add an enum_param method on the port that can be used to enumerate
port formats.
Change -monitor and -cli and add support for enum_params on the node
and port.
My setup is this:
marco@albireo:~/src/pipewire.git$ v4l2-ctl --list-devices
TOSHIBA Web Camera - HD: TOSHIB (usb-0000:00:12.2-4):
/dev/video0
/dev/video1
marco@albireo:~/src/pipewire.git$ v4l2-ctl --all
Driver Info (not using libv4l2):
Driver name : uvcvideo
Card type : TOSHIBA Web Camera - HD: TOSHIB
Bus info : usb-0000:00:12.2-4
Driver version: 4.16.7
Capabilities : 0x84A00001
Video Capture
Metadata Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
Width/Height : 1280/720
Pixel Format : 'YUYV'
Field : None
Bytes per Line : 2560
Size Image : 1843200
Colorspace : sRGB
Transfer Function : Default (maps to sRGB)
YCbCr/HSV Encoding: Default (maps to ITU-R 601)
Quantization : Default (maps to Limited Range)
Flags :
Crop Capability Video Capture:
Bounds : Left 0, Top 0, Width 1280, Height 720
Default : Left 0, Top 0, Width 1280, Height 720
Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 1280, Height 720
Selection: crop_bounds, Left 0, Top 0, Width 1280, Height 720
Streaming Parameters Video Capture:
Capabilities : timeperframe
Frames per second: 10.000 (10/1)
Read buffers : 0
brightness 0x00980900 (int) : min=0 max=100 step=1 default=50 value=50
contrast 0x00980901 (int) : min=0 max=100 step=1 default=32 value=32
saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64
hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0
white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1
gamma 0x00980910 (int) : min=100 max=500 step=1 default=300 value=300
power_line_frequency 0x00980918 (menu) : min=0 max=2 default=1 value=1
white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=10 default=4600 value=4600 flags=inactive
sharpness 0x0098091b (int) : min=0 max=100 step=1 default=50 value=50
backlight_compensation 0x0098091c (int) : min=0 max=1 step=1 default=0 value=0
exposure_auto_priority 0x009a0903 (bool) : default=0 value=1