lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c6b719fdecbfc8a1c15a197b6ae51da56ed54f63@intel.com>
Date: Tue, 03 Feb 2026 11:50:23 +0200
From: Jani Nikula <jani.nikula@...ux.intel.com>
To: Laurent Pinchart <laurent.pinchart@...asonboard.com>, Jarkko Sakkinen
 <jarkko@...nel.org>
Cc: linux-media@...r.kernel.org, anisse@...ier.eu, oleksandr@...alenko.name,
 Mauro Carvalho Chehab <mchehab@...nel.org>, Hans Verkuil
 <hverkuil@...nel.org>, Sakari Ailus <sakari.ailus@...ux.intel.com>, Jacopo
 Mondi <jacopo.mondi@...asonboard.com>, Ricardo Ribalda
 <ribalda@...omium.org>, open list <linux-kernel@...r.kernel.org>
Subject: Re: [RFC PATCH] media: Virtual camera driver

On Sun, 01 Feb 2026, Laurent Pinchart <laurent.pinchart@...asonboard.com> wrote:
> On Sun, Feb 01, 2026 at 09:04:00PM +0200, Jarkko Sakkinen wrote:
>> On Sun, Feb 01, 2026 at 08:20:11PM +0200, Laurent Pinchart wrote:
>> > On Sun, Feb 01, 2026 at 03:33:38PM +0200, Jarkko Sakkinen wrote:
>> > > vcam is a DMA-BUF backed virtual camera driver capable of creating video
>> > > capture devices to which data can be streamed through /dev/vcam after
>> > > calling VCAM_IOC_CREATE. Frames are pushed with VCAM_IOC_QUEUE and recycled
>> > > with VCAM_IOC_DEQUEUE.
>> > > 
>> > > Zero-copy semantics are supported for shared DMA-BUF between capture and
>> > > output.
>> > >
>> > > Signed-off-by: Jarkko Sakkinen <jarkko@...nel.org>
>> > > ---
>> > > Early feedback e.g., is this completely in wrong direction? V4L2 world
>> > > is relatively alien world, and thus I need a sanity check ;-)
>> > 
>> > We already have multiple virtual drivers, including vivid and vimc.
>> > Could you please explain the rationale for yet another one, and why the
>> > new features it provides (if any) can't be added to existing drivers ?
>> 
>> There is a notable user base for v4l2-loopback. It is the defacto choice
>> for streaming phone cams.
>
> This will then likely face the same hurdles as v4l2-loopback, the main
> one being that camera support should be upstreamed with proper drivers
> instead of a closed-source userspace daemon.

My use case:

Input screen capture and webcam into OBS Studio, output the combined
scene into virtual device, and input that virtual device into an
application that is designed to work with video devices like that, and
is not aware of anything fancier. For example, a web based meeting
software. [1]

There's nothing proprietary or closed-source here. AFAICT using
v4l2-loopback is currently the only method suggested or supported by OBS
Studio, or the plethora of apps that only really understand the video
devices.

I don't want to use that out-of-tree module from distro DKMS or
whatever. Please enlighten me (and apparently a lot of other folks) if
there's a better option that can be made to work out of the box. And it
pretty much has to be as simple as 'apt install v4l2loopback-dkms'.


BR,
Jani.


[1] https://obsproject.com/kb/virtual-camera-guide


-- 
Jani Nikula, Intel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ