Re: [virtio-dev] [FYI] virtio-media published

2023-12-15 Thread Alexander Gordeev
orvalds/linux/commit/b5c9ed70d1a94c59dad7b1ecfc928863c0fe6ac0 -- Alexander Gordeev Senior Software Engineer OpenSynergy GmbH Rotherstr. 20, 10245 Berlin www.opensynergy.com - To unsubscribe, e-mail: virtio-dev-unsubscr...@

[virtio-dev] Re: Potential ways to describe virtio-video device capabilities

2023-09-25 Thread Alexander Gordeev
On 22.09.23 12:03, Laurent Pinchart wrote: On Fri, Sep 22, 2023 at 07:07:34AM +0200, Alexander Gordeev wrote: Hi, I'm working on updating virtio-video draft v8 spec [1] and the virtio-video V4L2 driver [2]. One of the things, that I don't like in the current spec draft is sharing the device's

[virtio-dev] Potential ways to describe virtio-video device capabilities

2023-09-21 Thread Alexander Gordeev
rg/userspace-api/media/v4l/dev-encoder.html#querying-capabilities [5] https://drive.google.com/file/d/1uPg4kxThlNPBSiC4b5veyFz4OFGytU7v/view [6] https://elinux.org/Device_Tree_Usage#Device_Specific_Data [7] https://www.devicetree.org/specifications/ [8] https://github.com/rust-vmm/vm-fdt [9] https://github.com/dev

[virtio-dev] Re: [RFC PATCH v8 1/1] virtio-video: Add virtio video device specification

2023-08-02 Thread Alexander Gordeev
On 26.07.23 16:32, Albert Esteve wrote: On Mon, Jul 10, 2023 at 10:52 AM Alexander Gordeev <mailto:alexander.gord...@opensynergy.com>> wrote: Hi Albert, On 06.07.23 16:59, Albert Esteve wrote: > Hi Alexander, > > Thanks for the patch! It is a l

[virtio-dev] Re: [RFC PATCH v8 1/1] virtio-video: Add virtio video device specification

2023-07-10 Thread Alexander Gordeev
matured. Great! Thank you for taking the time to review it. On Thu, Jun 29, 2023 at 4:49 PM Alexander Gordeev <mailto:alexander.gord...@opensynergy.com>> wrote: Add the specification of the video decoder and encoder devices, which can be used to provide host-accelerated video o

[virtio-dev] [RFC PATCH v8 0/1] Virtio video device specification

2023-06-29 Thread Alexander Gordeev
handling. * Implemented device events using the newly added delayed responses. Alexander Gordeev (1): virtio-video: Add virtio video device specification conformance.tex |4 + content.tex |1 + device-types/video/descri

[virtio-dev] [RFC PATCH v8 1/1] virtio-video: Add virtio video device specification

2023-06-29 Thread Alexander Gordeev
Add the specification of the video decoder and encoder devices, which can be used to provide host-accelerated video operations to the guest. Signed-off-by: Alexander Gordeev Co-authored-by: Keiichi Watanabe Co-authored-by: Alexandre Courbot --- conformance.tex |4

[virtio-dev] [RFC PATCH v7 0/1] Virtio video device specification

2023-05-24 Thread Alexander Gordeev
ning comments to the draft v6 or added todo comments. * Finished renaming STOP to RESET. * Added references to V4L2 and DRM. * Added conformance sections. * Fixed a lot of small issues. * Reformatted for better readability. Alexander Gordeev (1): virtio-video: Add virtio video device specification co

[virtio-dev] [RFC PATCH v7 1/1] virtio-video: Add virtio video device specification

2023-05-24 Thread Alexander Gordeev
Add the specification of the video decoder and encoder devices, which can be used to provide host-accelerated video operations to the guest. Signed-off-by: Alexander Gordeev Co-authored-by: Keiichi Watanabe Co-authored-by: Alexandre Courbot --- conformance.tex |4

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-05-18 Thread Alexander Gordeev
on is made on June 30, it would be better for everyone to have a spec, that is ready to be merged. -- Alexander Gordeev Senior Software Engineer OpenSynergy GmbH Rotherstr. 20, 10245 Berlin Phone: +49 30 60 98 54 0 - 88 Fax: +49 (30) 60 98 54 0 - 99 EMail: alexander.gord...@opens

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-05-17 Thread Alexander Gordeev
On 12.05.23 06:09, Alexandre Courbot wrote: On Thu, May 11, 2023 at 5:50 PM Alexander Gordeev wrote: 3. We can have things, that V4L2 doesn't support in their stateful UAPI. For example, dequeuing output buffers in decoder order. ... provided the host can do that (i.e. has a stateless

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-05-17 Thread Alexander Gordeev
On 12.05.23 06:15, Alexandre Courbot wrote: On Thu, May 11, 2023 at 6:00 PM Alexander Gordeev wrote: On 11.05.23 10:50, Alexander Gordeev wrote: On 08.05.23 06:55, Alexandre Courbot wrote: On Fri, May 5, 2023 at 8:55 PM Alexander Gordeev wrote: On 03.05.23 16:04, Cornelia Huck wrote

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-05-16 Thread Alexander Gordeev
On 12.05.23 06:09, Alexandre Courbot wrote: On Thu, May 11, 2023 at 5:50 PM Alexander Gordeev wrote: On 08.05.23 06:55, Alexandre Courbot wrote: On Fri, May 5, 2023 at 8:55 PM Alexander Gordeev wrote: On 03.05.23 16:04, Cornelia Huck wrote: On Fri, Apr 28 2023, Alexander Gordeev wrote

[virtio-dev] Re: [libcamera-devel] [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-05-16 Thread Alexander Gordeev
Pinchart via libcamera-devel wrote: On Fri, May 05, 2023 at 04:55:33PM +0100, Alex Bennée via libcamera-devel wrote: Kieran Bingham writes: Quoting Alexander Gordeev (2023-05-05 10:57:29) On 03.05.23 17:53, Cornelia Huck wrote: On Wed, May 03 2023, Alex Bennée wrote: Cornelia Huck writes

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-05-16 Thread Alexander Gordeev
On 05.05.23 17:55, Alex Bennée wrote: Kieran Bingham writes: Hi All, Coming in late, thanks to lei/lore spotting the libcamera keyword. + Cc: libcamera-devel to raise awareness of the discussion there. Quoting Alexander Gordeev (2023-05-05 10:57:29) On 03.05.23 17:53, Cornelia Huck wrote

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-05-11 Thread Alexander Gordeev
On 11.05.23 10:50, Alexander Gordeev wrote: On 08.05.23 06:55, Alexandre Courbot wrote: On Fri, May 5, 2023 at 8:55 PM Alexander Gordeev wrote: On 03.05.23 16:04, Cornelia Huck wrote: On Fri, Apr 28 2023, Alexander Gordeev wrote: On 27.04.23 15:16, Alexandre Courbot wrote: But in any

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-05-11 Thread Alexander Gordeev
On 08.05.23 06:55, Alexandre Courbot wrote: On Fri, May 5, 2023 at 8:55 PM Alexander Gordeev wrote: On 03.05.23 16:04, Cornelia Huck wrote: On Fri, Apr 28 2023, Alexander Gordeev wrote: On 27.04.23 15:16, Alexandre Courbot wrote: But in any case, that's irrelevant to the guest-host

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-05-05 Thread Alexander Gordeev
On 03.05.23 17:11, Alex Bennée wrote: Cornelia Huck writes: On Fri, Apr 28 2023, Alexander Gordeev wrote: On 27.04.23 15:16, Alexandre Courbot wrote: But in any case, that's irrelevant to the guest-host interface, and I think a big part of the disagreement stems from the misconception

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-05-05 Thread Alexander Gordeev
On 03.05.23 16:04, Cornelia Huck wrote: On Fri, Apr 28 2023, Alexander Gordeev wrote: On 27.04.23 15:16, Alexandre Courbot wrote: But in any case, that's irrelevant to the guest-host interface, and I think a big part of the disagreement stems from the misconception that V4L2 absolutely

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-05-05 Thread Alexander Gordeev
On 03.05.23 17:53, Cornelia Huck wrote: On Wed, May 03 2023, Alex Bennée wrote: Cornelia Huck writes: On Fri, Apr 28 2023, Alexander Gordeev wrote: On 27.04.23 15:16, Alexandre Courbot wrote: But in any case, that's irrelevant to the guest-host interface, and I think a big part

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-05-02 Thread Alexander Gordeev
On 02.05.23 03:07, Alexandre Courbot wrote: On Fri, Apr 28, 2023 at 5:55 PM Alexander Gordeev wrote: On 28.04.23 06:02, Alexandre Courbot wrote: This is going to be my last answer to this thread ; I don't think I have more technical arguments to give than I already have and the discussion

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-04-28 Thread Alexander Gordeev
at least share your feedback on my proposal for the QUEUE/DRAIN completion handling? On Thu, Apr 27, 2023 at 11:11 PM Alexander Gordeev wrote: On 25.04.23 18:04, Cornelia Huck wrote: [I'm replying here, as that seems to be the last message in the thread, and my reply hopefully catches everyone

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-04-28 Thread Alexander Gordeev
On 28.04.23 05:24, Alexandre Courbot wrote: On Fri, Apr 28, 2023 at 12:12 AM Alexander Gordeev wrote: On 27.04.23 15:23, Alexandre Courbot wrote: On Thu, Apr 27, 2023 at 12:52 AM Alexander Gordeev wrote: On 21.04.23 06:02, Alexandre Courbot wrote: On Wed, Apr 19, 2023 at 4:39 PM

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-04-28 Thread Alexander Gordeev
On 28.04.23 05:22, Alexandre Courbot wrote: On Thu, Apr 27, 2023 at 11:20 PM Alexander Gordeev wrote: On 26.04.23 07:52, Alexandre Courbot wrote: On Mon, Apr 24, 2023 at 4:52 PM Alexander Gordeev wrote: On 21.04.23 18:01, Alexander Gordeev wrote: Let's compare

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-04-28 Thread Alexander Gordeev
On 28.04.23 05:22, Alexandre Courbot wrote: On Thu, Apr 27, 2023 at 11:35 PM Alexander Gordeev wrote: On 27.04.23 12:13, Bartłomiej Grzesik wrote: Hi Alexander On Wed, Apr 26, 2023 at 6:00 PM Alexander Gordeev wrote: Hi Bartłomiej, On 21.04.23 13:49, Bartłomiej Grzesik wrote: +CC

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-04-28 Thread Alexander Gordeev
On 27.04.23 15:16, Alexandre Courbot wrote: On Thu, Apr 27, 2023 at 12:11 AM Alexander Gordeev wrote: On 21.04.23 06:02, Alexandre Courbot wrote: Hi Alexander, On Mon, Apr 17, 2023 at 9:52 PM Alexander Gordeev wrote: Hi Alexandre, Thanks for you letter! Sorry, it took me some time

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-04-27 Thread Alexander Gordeev
On 27.04.23 15:23, Alexandre Courbot wrote: On Thu, Apr 27, 2023 at 12:52 AM Alexander Gordeev wrote: On 21.04.23 06:02, Alexandre Courbot wrote: On Wed, Apr 19, 2023 at 4:39 PM Alexander Gordeev wrote: On 17.04.23 16:43, Cornelia Huck wrote: On Mon, Apr 17 2023, Alexander Gordeev

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-04-27 Thread Alexander Gordeev
On 27.04.23 12:13, Bartłomiej Grzesik wrote: Hi Alexander On Wed, Apr 26, 2023 at 6:00 PM Alexander Gordeev wrote: Hi Bartłomiej, On 21.04.23 13:49, Bartłomiej Grzesik wrote: +CC chromeos-arc-video-eng team that also works on virtio-video Hi everyone! From the experience of working

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-04-27 Thread Alexander Gordeev
On 26.04.23 07:52, Alexandre Courbot wrote: On Mon, Apr 24, 2023 at 4:52 PM Alexander Gordeev wrote: On 21.04.23 18:01, Alexander Gordeev wrote: On 21.04.23 06:02, Alexandre Courbot wrote: * I am still not convinced that V4L2 is lacking from a security perspective. It would take just one

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-04-27 Thread Alexander Gordeev
to continue (with two different devices, if there is really no other way.) Thanks for your suggestions! -- Alexander Gordeev Senior Software Engineer OpenSynergy GmbH Rotherstr. 20, 10245 Berlin Phone: +49 30 60 98 54 0 - 88 Fax: +49 (30) 60 98 54 0 - 99 EMail: alexander.gord...@opensynergy.com www.ope

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-04-26 Thread Alexander Gordeev
be a protocol similar to how virtio-video was, that has the benefit of allowing very simple guest drivers. -- Alexander Gordeev Senior Software Engineer OpenSynergy GmbH Rotherstr. 20, 10245 Berlin Phone: +49 30 60 98 54 0 - 88 Fax: +49 (30) 60 98 54 0 - 99 EMail: alexander.gord...@opensynergy.com

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-04-26 Thread Alexander Gordeev
On 21.04.23 06:02, Alexandre Courbot wrote: On Wed, Apr 19, 2023 at 4:39 PM Alexander Gordeev wrote: On 17.04.23 16:43, Cornelia Huck wrote: On Mon, Apr 17 2023, Alexander Gordeev wrote: OpenSynergy, the company that I work for, develops a proprietary hypervisor called COQOS mainly

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-04-26 Thread Alexander Gordeev
On 21.04.23 06:02, Alexandre Courbot wrote: Hi Alexander, On Mon, Apr 17, 2023 at 9:52 PM Alexander Gordeev wrote: Hi Alexandre, Thanks for you letter! Sorry, it took me some time to write an answer. First of all I'd like to describe my perspective a little bit because it seems

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-04-24 Thread Alexander Gordeev
On 21.04.23 18:01, Alexander Gordeev wrote: Hi Alexandre, On 21.04.23 06:02, Alexandre Courbot wrote: * I am still not convinced that V4L2 is lacking from a security perspective. It would take just one valid example to change my mind (and no, the way the queues are named is not valid). And btw

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-04-21 Thread Alexander Gordeev
-of-absence-8148958da092 https://www.schneier.com/essays/archives/1999/11/a_plea_for_simplicit.html Kind regards, Alexander Gordeev -- Alexander Gordeev Senior Software Engineer OpenSynergy GmbH Rotherstr. 20, 10245 Berlin Phone: +49 30 60 98 54 0 - 88 Fax: +49 (30) 60 98 54 0 - 99 EMail

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-04-21 Thread Alexander Gordeev
Thanks for your feedback, Enrico! On 19.04.23 23:34, Enrico Granata wrote: Inlined Thanks, - Enrico Thanks, - Enrico On Wed, Apr 19, 2023 at 12:39 AM Alexander Gordeev wrote: On 17.04.23 16:43, Cornelia Huck wrote: On Mon, Apr 17 2023, Alexander Gordeev wrote: OpenSynergy

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-04-19 Thread Alexander Gordeev
On 17.04.23 16:43, Cornelia Huck wrote: On Mon, Apr 17 2023, Alexander Gordeev wrote: Hi Alexandre, Thanks for you letter! Sorry, it took me some time to write an answer. First of all I'd like to describe my perspective a little bit because it seems, that in many cases we (and other people

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-04-17 Thread Alexander Gordeev
still have concerns about memory management with V4L2 UAPI pass-through. Please see below. On 17.03.23 08:24, Alexandre Courbot wrote: Hi Alexander, On Thu, Mar 16, 2023 at 7:13 PM Alexander Gordeev wrote: Hi Alexandre, On 14.03.23 06:06, Alexandre Courbot wrote: The spec should indeed

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-03-16 Thread Alexander Gordeev
, but I'd like to make sure that you're interested in the discussion first. Meanwhile I'll also try to add support for stateful decoders and guest-allocated buffers to the prototype so it can be considered more complete. Cheers, Alex. -- Alexander Gordeev Senior Software Engineer OpenSynergy GmbH

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-02-07 Thread Alexander Gordeev
On 06.02.23 15:12, Cornelia Huck wrote: On Thu, Jan 19 2023, Alexander Gordeev wrote: On 12.01.23 07:39, Alexandre Courbot wrote: On Thu, Jan 12, 2023 at 3:42 AM Alexander Gordeev wrote: Well, on the one hand mimicking v4l2 looks like an easy solution from virtio-video spec writing

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-02-07 Thread Alexander Gordeev
On 07.02.23 07:51, Alexandre Courbot wrote: On Thu, Jan 19, 2023 at 8:06 AM Alexander Gordeev wrote: Well, on the one hand mimicking v4l2 looks like an easy solution from virtio-video spec writing perspective. (But the implementers will have to read the V4L2 API instead AFAIU, which

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-01-18 Thread Alexander Gordeev
Hi Alexandre, On 12.01.23 07:39, Alexandre Courbot wrote: On Thu, Jan 12, 2023 at 3:42 AM Alexander Gordeev wrote: Hi Alexandre, On 27.12.22 08:31, Alexandre Courbot wrote: Hi Alexander, Cornelia provided links to the previous versions (thanks!). Through these revisions we tried different

[virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-01-12 Thread Alexander Gordeev
Hi Alexandre, On 12.01.23 07:32, Alexandre Courbot wrote: Hi Alexander, On Thu, Jan 12, 2023 at 2:04 AM Alexander Gordeev wrote: +\subsubsection{Bitstream formats}\label{sec:Device Types / Video Device / Supported formats / Bitstream formats} + +The fourcc code of each supported bitstream

[virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-01-11 Thread Alexander Gordeev
in the spec. They were there in v5. -- Alexander Gordeev Senior Software Engineer OpenSynergy GmbH Rotherstr. 20, 10245 Berlin Phone: +49 30 60 98 54 0 - 88 Fax: +49 (30) 60 98 54 0 - 99 EMail: alexander.gord...@opensynergy.com www.opensynergy.com Handelsregister/Commercial Registry: Amtsgericht

[virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-01-11 Thread Alexander Gordeev
Hi Alexandre, On 27.12.22 08:31, Alexandre Courbot wrote: Hi Alexander, On Tue, Dec 20, 2022 at 1:59 AM Alexander Gordeev wrote: Hello Alexandre, Thanks for the update. Please check my comments below. I'm new to the virtio video spec development, so I may lack some historic perspective. I

[virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2023-01-11 Thread Alexander Gordeev
for the Y and UV +planes. +\item[\field{YU12}] +one Y plane followed by one Cb plane, followed by one Cr plane, in a +single buffer. 4:2:0 subsampling. +\item[\field{YM12}] +same as \field{YU12} but using three separate buffers for the Y, U and V +planes. +\end{description} -- Alexander Gordeev Senior

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2022-12-21 Thread Alexander Gordeev
than trying to replicate existing definitions and explanations. I like the plan. I also think it is better to reference the definitions and explanations, not replicate them. Thanks! -- Alexander Gordeev Senior Software Engineer OpenSynergy GmbH Rotherstr. 20, 10245 Berlin Phone: +49 30 60 98 54 0

Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2022-12-20 Thread Alexander Gordeev
Hello Cornelia, On 20.12.22 10:51, Cornelia Huck wrote: On Mon, Dec 19 2022, Alexander Gordeev wrote: Hello Alexandre, Thanks for the update. Please check my comments below. I'm new to the virtio video spec development, so I may lack some historic perspective. I would gladly appreciate

[virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification

2022-12-19 Thread Alexander Gordeev
Hello Alexandre, Thanks for the update. Please check my comments below. I'm new to the virtio video spec development, so I may lack some historic perspective. I would gladly appreciate pointing me to some older emails explaining decisions, that I might not understand. I hope to read through all