I can confirm that the following command works on my Lenovo Thinkpad X12 Detachable:
``` $ sudo cheese -d "Intel MIPI Camera" [0:27:30.096047541] [8031] INFO Camera camera_manager.cpp:327 libcamera v0.4.0 [0:27:30.395656189] [8111] INFO SimplePipeline simple.cpp:1581 No sensor found for /dev/media0 (cheese:8031): GStreamer-CRITICAL **: 15:41:30.627: gst_structure_get_value: assertion 'structure != NULL' failed (cheese:8031): GStreamer-CRITICAL **: 15:41:30.627: gst_structure_get_value: assertion 'structure != NULL' failed [0:27:30.521238422] [8031] INFO Camera camera_manager.cpp:327 libcamera v0.4.0 [0:27:30.534204723] [8113] INFO SimplePipeline simple.cpp:1581 No sensor found for /dev/media0 [0:27:30.657142790] [8129] INFO Camera camera.cpp:1202 configuring streams: (0) 2592x1944-MJPEG [0:27:30.691203479] [8129] INFO Camera camera_manager.cpp:327 libcamera v0.4.0 [0:27:30.704863193] [8134] INFO SimplePipeline simple.cpp:1581 No sensor found for /dev/media0 [0:27:30.805630492] [8128] INFO Camera camera.cpp:1202 configuring streams: (0) 2592x1944-MJPEG (cheese:8031): cheese-WARNING **: 15:41:33.159: A lot of buffers are being dropped.: ../libs/gst/base/gstbasesink.c(3146): gst_base_sink_is_too_late (): /GstCameraBin:camerabin/GstViewfinderBin:vf-bin/ClutterGstVideoSink:cluttergstvideosink0: There may be a timestamping problem, or this computer is too slow. ``` When I list devices, I get the following: ``` $ sudo v4l2-ctl --list-devices ipu6 (PCI:0000:00:05.0): /dev/video0 /dev/video1 /dev/video2 /dev/video3 /dev/video4 /dev/video5 /dev/video6 /dev/video7 /dev/video8 /dev/video9 /dev/video10 /dev/video11 /dev/video12 /dev/video13 /dev/video14 /dev/video15 /dev/video16 /dev/video17 /dev/video18 /dev/video19 /dev/video20 /dev/video21 /dev/video22 /dev/video23 /dev/video24 /dev/video25 /dev/video26 /dev/video27 /dev/video28 /dev/video29 /dev/video30 /dev/video31 /dev/video32 /dev/video33 /dev/video34 /dev/video35 /dev/video36 /dev/video37 /dev/video38 /dev/video39 /dev/video40 /dev/video41 /dev/video42 /dev/video43 /dev/video44 /dev/video45 /dev/video46 /dev/video47 /dev/video48 /dev/video49 /dev/video50 /dev/video51 /dev/video52 /dev/video53 /dev/video54 /dev/video55 /dev/video56 /dev/video57 /dev/video58 /dev/video59 /dev/video60 /dev/video61 /dev/video62 /dev/video63 /dev/media0 Integrated RGB Camera: Integrat (usb-0000:00:14.0-4): /dev/video64 /dev/video65 /dev/video66 /dev/video67 /dev/media1 /dev/media2 ``` The gst-1.0-launch command fails: ``` $ gst-launch-1.0 libcamerasrc ! autovideosinkideosink Setting pipeline to PAUSED ... [0:33:23.867036475] [17163] INFO Camera camera_manager.cpp:327 libcamera v0.4.0 [0:33:23.880040845] [17172] INFO SimplePipeline simple.cpp:1581 No sensor found for /dev/media0 Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock ERROR: from element /GstPipeline:pipeline0/GstLibcameraSrc:libcamerasrc0: Internal data stream error. Additional debug info: ../src/gstreamer/gstlibcamerasrc.cpp(662): gst_libcamera_src_task_enter (): /GstPipeline:pipeline0/GstLibcameraSrc:libcamerasrc0: streaming stopped, reason not-negotiated (-4) Execution ended after 0:00:00.031851304 Setting pipeline to NULL ... Freeing pipeline ... ``` If I load the v4l2loopback, I am able to see the loopback device in the list of devices ``` $ sudo modprobe v4l2loopback devices=1 video_nr=0 card_label="My Virtual Cam" $ $ sudo v4l2-ctl --list-devices ipu6 (PCI:0000:00:05.0): [... same as before... ] My Virtual Cam (platform:v4l2loopback-000): /dev/video68 ``` gst-1.0-launch still fails ``` $ gst-launch-1.0 libcamerasrc ! videoconvert ! video/x-raw,format=YUY2,width=1024,height=768,framerate=30/1 ! v4l2sink device=/dev/video68 Setting pipeline to PAUSED ... [0:37:52.011972554] [17261] INFO Camera camera_manager.cpp:327 libcamera v0.4.0 [0:37:52.024982864] [17267] INFO SimplePipeline simple.cpp:1581 No sensor found for /dev/media0 Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock ERROR: from element /GstPipeline:pipeline0/GstLibcameraSrc:libcamerasrc0: Internal data stream error. Additional debug info: ../src/gstreamer/gstlibcamerasrc.cpp(662): gst_libcamera_src_task_enter (): /GstPipeline:pipeline0/GstLibcameraSrc:libcamerasrc0: streaming stopped, reason not-negotiated (-4) Execution ended after 0:00:00.032034978 Setting pipeline to NULL ... Freeing pipeline ... ``` If there is a way to keep working towards a solution for the next ubuntu release, or even to run a command similar to "cheese" that lets you use the webcam in a webbrowser, please let me know what to try next. :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2107304 Title: Intel MIPI Camera not working out of the box on 25.04 where it did on 24.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/2107304/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs