Can I use Libargus and V4L to control the same camera?

If I use Libargus to control a camera, can I use V4L to control the same camera at the same time?

For example, I use Libargus to set the sensor gain at a certain value (20). Then I use V4L to control the same camera with another sensor gain (30). Is this allowed? What will be the actual sensor gain, 20 or 30?

hello suchao,

it’s not supported, actually, it may cause unstable AE behavior since it’s not Libargus expected settings.
anyways, may I know what’s the real use-case?

The real use cases are that we have V4L driver to control the camera with some features, such as test patterns, trigger mode and multiple camera synchronization. But Libargus doesn’t support these features. Then I am thinking maybe I can use Libargus to setup streams to capture and transfer images. At the same time, use V4L driver to control the camera to enable test patterns, trigger modes and etc.

I am not sure if this is supported.

hello suchao,

these use-case were different from typical camera use cases,
please also try with Infinite Timeout Support enabled on Argus side.

BTW,
you’ll also need to apply pre-built update to enable infinite timeout property.
for instance, Infinite Timeout Support #2 - #3 by JerryChang

Thank you very much for your reply!