libcamera does not work on kernel 5.10.1-v7l+

Open
#4,014 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
linux, raspberry-pi

Research direction

Reproduce cam -c 1 -C on the Raspberry Pi 4 with the IMX219 sensor and kernel 5.10.1-v7l+, then inspect the reported V4L2 and dmesg errors. Trace the failing format setup through the camera and kernel components; done means identifying a compatible fix or confirming the kernel/libcamera compatibility issue.

Written by the indexing model from the issue text.

Description

I followed the instructions to install libcamera on rpi. (I use rpi 4 model B and my sensor is imx219)
The rpi-update command leads to kernel 5.10.1-v7l+
Then, when running the command:
cam -c 1 -C
I get the error:

ERROR V4L2 v4l2_videodevice.cpp:931 /dev/video13[out]: Unable to set format: Invalid argument

The dmesg says:

[87627.802495] bcm2835_mmal_vchiq: error -1 queuing message
[87627.808096] bcm2835-isp bcm2835-isp: populate_qdata_fmt: Failed vchiq_mmal_port_set_format on port, ret -1
Dominant language
C
Stars
13.2k
Forks
5.5k
Avg merge
2d 21h
Merged PRs (30d)
21

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/linux

All issues in raspberrypi/linux

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.