[libcamera-devel] How to displace viewfinder using DRM/KMS

Eric Curtin ecurtin at redhat.com
Wed Oct 20 20:47:12 CEST 2021


Typo subject should say *display

On Wed 20 Oct 2021, 17:05 Eric Curtin, <ecurtin at redhat.com> wrote:

> Hi Guys,
>
> To start thanks so much for your work on libcamera.
>
> I am interested in running the cam app via DRM/KMS on my laptop and
> afterwards on my raspberry pi. I have figured out how to select the
> correct camera and select the correct display to output to. But how
> can I get them to play nicely together without "No mode matching
> 1280x720", "Failed to configure frame sink", "Failed to start camera
> session", "Unable to find display pipeline for format MJPEG", etc.
>
> I'm a bit of a newbie to graphics and cameras, so any help to get this
> running would be greatly appreciated!
>
> $ sudo LD_LIBRARY_PATH="/usr/local/lib:/usr/local/lib64" cam -c 1 -C4
> -DeDP-1
> [7:12:21.427200555] [75751]  INFO Camera camera_manager.cpp:293
> libcamera v0.0.0+3119-2f75a7e5
> Using camera \_SB_.PCI0.XHC_.RHUB.HS08-8:1.0-13d3:5405 as cam0
> [7:12:21.534685678] [75751]  INFO Camera camera.cpp:937 configuring
> streams: (0) 1280x720-MJPEG
> No mode matching 1280x720
> Failed to configure frame sink
> Failed to start camera session
> curtine at curt 17:00:12 1
> $ sudo LD_LIBRARY_PATH="/usr/local/lib:/usr/local/lib64" cam -c 1 -C4
> -DDP-1
> [7:12:25.392692897] [75760]  INFO Camera camera_manager.cpp:293
> libcamera v0.0.0+3119-2f75a7e5
> Using camera \_SB_.PCI0.XHC_.RHUB.HS08-8:1.0-13d3:5405 as cam0
> [7:12:25.497724802] [75760]  INFO Camera camera.cpp:937 configuring
> streams: (0) 1280x720-MJPEG
> Unable to find display pipeline for format MJPEG
> Failed to configure frame sink
> Failed to start camera session
>
> Is mise le meas/Regards,
>
> Eric Curtin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20211020/791797d1/attachment.htm>


More information about the libcamera-devel mailing list