USB camera not detected: "cheese_preferences_dialog_setup_resolutions_for_device: assertion 'device != NULL' failed"
I can see the output with gst-play-1.0 /dev/video0
for exemple, but Cheese is unable to detect it.
Not sure if PipeWire has something to do here.
Cheese works well with the built-in laptop camera.
When webcam is plugged:
avril 07 13:10:31 kernel: usb 1-4: new full-speed USB device number 7 using xhci_hcd
avril 07 13:10:31 kernel: usb 1-4: New USB device found, idVendor=045e, idProduct=00f7, bcdDevice= 1.01
avril 07 13:10:31 kernel: usb 1-4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
avril 07 13:10:31 kernel: usb 1-4: Product: USB camera
avril 07 13:10:31 mtp-probe[23614]: checking bus 1, device 7: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4"
avril 07 13:10:31 mtp-probe[23614]: bus: 1, device: 7 was not an MTP device
avril 07 13:10:31 kernel: videodev: Linux video capture interface: v2.00
avril 07 13:10:31 kernel: gspca_main: v2.14.0 registered
avril 07 13:10:31 kernel: gspca_main: sonixj-2.14.0 probing 045e:00f7
avril 07 13:10:31 kernel: input: sonixj as /devices/pci0000:00/0000:00:14.0/usb1/1-4/input/input25
avril 07 13:10:31 kernel: usbcore: registered new interface driver sonixj
avril 07 13:10:31 systemd[1549]: Reached target Sound Card.
avril 07 13:10:31 mtp-probe[23669]: checking bus 1, device 7: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4"
avril 07 13:10:31 mtp-probe[23669]: bus: 1, device: 7 was not an MTP device
When Cheese is launched:
avril 07 13:11:02 dbus-daemon[1566]: [session uid=1000 pid=1566] Activating service name='org.gnome.Cheese' requested by ':1.19' (uid=1000 pid=1649 comm="/usr/bin/gnome-shell ")
avril 07 13:11:03 dbus-daemon[1566]: [session uid=1000 pid=1566] Successfully activated service 'org.gnome.Cheese'
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): EDID vendor "IVM", prod id 24888
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Using hsync ranges from config file
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Using vrefresh ranges from config file
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Printing DDC gathered Modelines:
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "1920x1080"x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "1920x1080i"x0.0 74.25 1920 2008 2052 2200 1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "1280x720"x0.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "1920x1080"x0.0 174.50 1920 1968 2000 2080 1080 1083 1088 1119 +hsync -vsync (83.9 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "720x480"x0.0 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "1440x480i"x0.0 27.00 1440 1478 1602 1716 480 488 494 525 interlace -hsync -vsync (15.7 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "720x576"x0.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync (31.2 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "1280x720"x0.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync (37.5 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "1920x1080i"x0.0 74.25 1920 2448 2492 2640 1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "1440x576i"x0.0 27.00 1440 1464 1590 1728 576 580 586 625 interlace -hsync -vsync (15.6 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "1920x1080"x0.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "640x480"x0.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "1024x768"x0.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "832x624"x0.0 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "800x600"x0.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "1152x864"x0.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "1152x720"x60.0 67.32 1152 1208 1328 1504 720 721 724 746 -hsync +vsync (44.8 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "1280x960"x0.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "1600x1200"x0.0 162.00 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "1680x1050"x0.0 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
avril 07 13:11:03 /usr/lib/gdm-x-session[1570]: (II) modeset(0): Modeline "1440x900"x0.0 106.50 1440 1520 1672 1904 900 903 909 934 -hsync +vsync (55.9 kHz e)
avril 07 13:11:03 systemd[1549]: Started Multimedia Service.
avril 07 13:11:03 rtkit-daemon[1211]: Supervising 5 threads of 1 processes of 1 users.
avril 07 13:11:03 rtkit-daemon[1211]: Supervising 5 threads of 1 processes of 1 users.
avril 07 13:11:03 rtkit-daemon[1211]: Successfully made thread 24416 of process 24415 owned by '1000' RT at priority 20.
avril 07 13:11:03 rtkit-daemon[1211]: Supervising 6 threads of 2 processes of 1 users.
avril 07 13:11:03 pipewire[24415]: [W][000001998.206102][module-protocol-native.c:370 client_new()] server 0x5604a8badb20: no peersec: Protocol not available
avril 07 13:11:03 pipewire[24415]: [W][000001998.209477][module-protocol-native.c:370 client_new()] server 0x5604a8badb20: no peersec: Protocol not available
avril 07 13:11:03 pipewire[24415]: [W][000001998.209574][module-protocol-native.c:370 client_new()] server 0x5604a8badb20: no peersec: Protocol not available
avril 07 13:11:03 bluetoothd[985]: Endpoint registered: sender=:1.696 path=/A2DP/SBC/Source/0
avril 07 13:11:03 bluetoothd[985]: Endpoint registered: sender=:1.696 path=/A2DP/SBC/Sink/1
avril 07 13:11:03 pipewire[24415]: [E][000001998.232661][pipewire.c:117 open_plugin()] can't load /usr/lib/spa-0.2/jack/libspa-jack.so: /usr/lib/spa-0.2/jack/libspa-jack.so: cannot open shared object file: No such file or directory
avril 07 13:11:03 pipewire[24415]: [E][000001998.232790][pipewire.c:246 pw_load_spa_handle()] can't load 'jack/libspa-jack': No such file or directory
avril 07 13:11:03 pipewire[24415]: [E][000001998.232797][spa-device.c:144 pw_spa_device_load()] can't load device handle: No such file or directory
avril 07 13:11:03 pipewire[24415]: [E][000001998.232799][module-device-factory.c:142 create_object()] can't create device: No such file or directory
avril 07 13:11:03 pipewire[24415]: [E][000001998.232801][private.h:218 pw_core_resource_errorv()] resource 0x5604a8bf7f70: id:4 seq:4 res:-2 (No such file or directory) msg:"can't create device: No such file or directory"
avril 07 13:11:03 pipewire[24417]: [E][000001998.232906][core.c:71 core_event_error()] core 0x5642ffc2e540: proxy 0x5642ffc52b90 id:4: seq:4 res:-2 (No such file or directory) msg:"can't create device: No such file or directory"
avril 07 13:11:03 pipewire[24417]: [E][000001998.232911][media-session.c:1621 core_error()] error id:4 seq:4 res:-2 (No such file or directory): can't create device: No such file or directory
avril 07 13:11:03 pipewire[24415]: [E][000001998.233674][alsa-pcm.c:33 spa_alsa_open()] open failed: Device or resource busy
avril 07 13:11:03 cheese[24405]: cheese-application.vala:214: Error during camera setup: Aucun périphérique détecté
avril 07 13:11:03 pipewire[24415]: [W][000001998.233932][adapter.c:174 find_format()] adapter 0x5604a8c3b100: no format given
avril 07 13:11:03 pipewire[24415]: [E][000001998.233940][module-adapter.c:237 create_object()] usage: node.name=<string>
avril 07 13:11:03 pipewire[24415]: [E][000001998.233944][private.h:218 pw_core_resource_errorv()] resource 0x5604a8bf7f70: id:15 seq:58 res:-22 (Invalid argument) msg:"usage: node.name=<string> "
avril 07 13:11:03 cheese[24405]: cheese_camera_device_get_name: assertion 'CHEESE_IS_CAMERA_DEVICE (device)' failed
avril 07 13:11:03 cheese[24405]: g_variant_new_string: assertion 'string != NULL' failed
avril 07 13:11:03 cheese[24405]: g_variant_ref_sink: assertion 'value != NULL' failed
avril 07 13:11:03 cheese[24405]: g_settings_schema_key_type_check: assertion 'value != NULL' failed
avril 07 13:11:03 cheese[24405]: g_variant_get_type_string: assertion 'value != NULL' failed
avril 07 13:11:03 cheese[24405]: g_settings_set_value: key 'camera' in 'org.gnome.Cheese' expects type 's', but a GVariant of type '(null)' was given
avril 07 13:11:03 cheese[24405]: g_variant_unref: assertion 'value != NULL' failed
avril 07 13:11:03 cheese[24405]: cheese_preferences_dialog_setup_resolutions_for_device: assertion 'device != NULL' failed
avril 07 13:11:03 pipewire[24417]: [E][000001998.254611][core.c:71 core_event_error()] core 0x5642ffc2e540: proxy 0x5642ffc85430 id:15: seq:58 res:-22 (Invalid argument) msg:"usage: node.name=<string> "
avril 07 13:11:03 pipewire[24417]: [E][000001998.254627][media-session.c:1621 core_error()] error id:15 seq:58 res:-22 (Invalid argument): usage: node.name=<string>
Additional infos:
[leeo@leeo-arch-msi ~]$ uname -a
Linux leeo-arch-msi 5.5.13-zen2-1-zen #1 ZEN SMP PREEMPT Mon, 30 Mar 2020 20:45:45 +0000 x86_64 GNU/Linux
[leeo@leeo-arch-msi ~]$ v4l2-ctl -D
Driver Info:
Driver name : sonixj
Card type : USB camera
Bus info : usb-0000:00:14.0-4
Driver version : 5.5.13
Capabilities : 0x85200001
Video Capture
Read/Write
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x05200001
Video Capture
Read/Write
Streaming
Extended Pix Format
Edited by Andre Klapper