RE: Full-motion zero-copy screen capture in Weston

2024-06-18 Thread Hoosier, Matt
>> >> >> -Original Message- >> From: Hoosier, Matt >> Sent: Monday, June 17, 2024 8:28 AM >> To: Pekka Paalanen >> Cc: 'Marius Vlad' ; >> 'wayland-devel@lists.freedesktop.org' ; >> 'Daniel Stone' &

RE: Full-motion zero-copy screen capture in Weston

2024-06-17 Thread Hoosier, Matt
desktop.org>; 'Daniel Stone' > Subject: Re: Full-motion zero-copy screen capture in Weston > > On Fri, 14 Jun 2024 18:36:57 + > "Hoosier, Matt" wrote: > > > > > Hmm. As I read through the history of the original support for > > wr

Re: Full-motion zero-copy screen capture in Weston

2024-06-17 Thread Pekka Paalanen
On Fri, 14 Jun 2024 18:36:57 + "Hoosier, Matt" wrote: > > Hmm. As I read through the history of the original support for > writeback screenshots > (https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/458) > and get some initial results just trying to drive a steady stream of > wri

RE: Full-motion zero-copy screen capture in Weston

2024-06-14 Thread Hoosier, Matt
t; Sent: Wednesday, June 12, 2024 8:37 AM > > > To: Pekka Paalanen > > > Cc: s...@cmpwn.com; cont...@emersion.fr; Marius Vlad > > > ; wayland-devel@lists.freedesktop.org; > > > Daniel Stone > > > Subject: RE: Full-motion zero-copy screen capture in Weston > &

Re: Full-motion zero-copy screen capture in Weston

2024-06-13 Thread Marius Vlad
-devel@lists.freedesktop.org; Daniel > > Stone > > Subject: RE: Full-motion zero-copy screen capture in Weston > > > > > -Original Message- > > > From: Pekka Paalanen > > > Sent: Wednesday, June 12, 2024 4:03 AM > > > To: Hoosi

Re: Full-motion zero-copy screen capture in Weston

2024-06-13 Thread Pekka Paalanen
-devel@lists.freedesktop.org; Daniel > > Stone > > Subject: RE: Full-motion zero-copy screen capture in Weston > > > > > -Original Message- > > > From: Pekka Paalanen > > > Sent: Wednesday, June 12, 2024 4:03 AM > > >

RE: Full-motion zero-copy screen capture in Weston

2024-06-12 Thread Hoosier, Matt
> -Original Message- > From: Hoosier, Matt > Sent: Wednesday, June 12, 2024 8:37 AM > To: Pekka Paalanen > Cc: s...@cmpwn.com; cont...@emersion.fr; Marius Vlad > ; wayland-devel@lists.freedesktop.org; Daniel > Stone > Subject: RE: Full-motion zero-copy

RE: Full-motion zero-copy screen capture in Weston

2024-06-12 Thread Hoosier, Matt
> -Original Message- > From: Pekka Paalanen > Sent: Wednesday, June 12, 2024 4:03 AM > To: Hoosier, Matt > Cc: s...@cmpwn.com; cont...@emersion.fr; Marius Vlad > ; wayland-devel@lists.freedesktop.org; Daniel > Stone > Subject: Re: Full-motion zero-copy screen c

Re: Full-motion zero-copy screen capture in Weston

2024-06-12 Thread Pekka Paalanen
On Mon, 10 Jun 2024 14:18:39 + "Hoosier, Matt" wrote: > Yes, the native Linux driver for the hardware still does end up being > responsible for one or more planes. > > Other than trying to arrange the pieces so that there's some API that > offers the client an option to guarantee that the so

Re: Ways to test Weston during development (Re: Full-motion zero-copy screen capture in Weston)

2024-06-10 Thread Daniel Stone
Hi Matt, On Fri, 7 Jun 2024 at 16:30, Hoosier, Matt wrote: > Okay, makes sense that you don’t want to have to repeat the dependencies’ > builds for every CI test. I’m not arguing that you should – it was just more > a thought experiment to see whether riding Meson subprojects is a reasonable >

RE: Full-motion zero-copy screen capture in Weston

2024-06-10 Thread Hoosier, Matt
; To: Hoosier, Matt > Cc: s...@cmpwn.com; cont...@emersion.fr; Marius Vlad > ; wayland-devel@lists.freedesktop.org > Subject: Re: Full-motion zero-copy screen capture in Weston > > On Fri, 7 Jun 2024 14:16:32 + > "Hoosier, Matt" wrote: > > > > What do you m

Re: Full-motion zero-copy screen capture in Weston

2024-06-10 Thread Pekka Paalanen
On Fri, 7 Jun 2024 14:16:32 + "Hoosier, Matt" wrote: > > What do you mean you can capture all virtual machines with KMS > > writeback? > > > > What's the architecture there? How do virtual machines access KMS > > hardware? Why would Weston be able to capture their outputs at all? > > The wor

RE: Ways to test Weston during development (Re: Full-motion zero-copy screen capture in Weston)

2024-06-07 Thread Hoosier, Matt
7, 2024 10:17 AM To: Hoosier, Matt Cc: Pekka Paalanen ; Marius Vlad ; wayland-devel@lists.freedesktop.org Subject: Re: Ways to test Weston during development (Re: Full-motion zero-copy screen capture in Weston) Hi Matt, On Fri, 7 Jun 2024 at 15: 30, Hoosier, Matt wrote: > Would Meso

Re: Ways to test Weston during development (Re: Full-motion zero-copy screen capture in Weston)

2024-06-07 Thread Daniel Stone
Hi Matt, On Fri, 7 Jun 2024 at 15:30, Hoosier, Matt wrote: > Would Meson’s dependency wrapping capabilities be a viable solution here? I > think that most of Weston’s dependencies that have aggressive version > requirements are themselves also Meson projects. > > The Weston CI configuration bui

RE: Ways to test Weston during development (Re: Full-motion zero-copy screen capture in Weston)

2024-06-07 Thread Hoosier, Matt
(Re: Full-motion zero-copy screen capture in Weston) Thanks, everybody. After some trial and error, I find that if I install seatd in the host and the seatd dev package in the Toolbox container and I then symlink the host seatd socket into /tmp on the container, Weston seems to start up okay

Re: Full-motion zero-copy screen capture in Weston

2024-06-07 Thread Hoosier, Matt
> What do you mean you can capture all virtual machines with KMS writeback? > > What's the architecture there? How do virtual machines access KMS hardware? Why would Weston be able to capture their outputs at all? The world of virtualization on commercially supported embedded SOCs for big-scale p

Re: Ways to test Weston during development (Re: Full-motion zero-copy screen capture in Weston)

2024-06-05 Thread Hoosier, Matt
Marius Vlad , "wayland-devel@lists.freedesktop.org" Subject: Re: Ways to test Weston during development (Re: Full-motion zero-copy screen capture in Weston) Hi, On Wed, 5 Jun 2024 at 09: 09, Pekka Paalanen wrote: > On Tue, 4 Jun 2024 20: 33: 48 + > "Hoosier, Matt" wrote: &

Re: Ways to test Weston during development (Re: Full-motion zero-copy screen capture in Weston)

2024-06-05 Thread Daniel Stone
Hi, On Wed, 5 Jun 2024 at 09:09, Pekka Paalanen wrote: > On Tue, 4 Jun 2024 20:33:48 + > "Hoosier, Matt" wrote: > > Tactical question: I somehow missed until this point that the remote > > and pipewire plugins will only run if the DRM backend is being used. > > > > But the DRM backend *reall

Ways to test Weston during development (Re: Full-motion zero-copy screen capture in Weston)

2024-06-05 Thread Pekka Paalanen
On Tue, 4 Jun 2024 20:33:48 + "Hoosier, Matt" wrote: > Tactical question: I somehow missed until this point that the remote > and pipewire plugins will only run if the DRM backend is being used. > > But the DRM backend *really* doesn't want to start nowadays unless > you're running on a syst

Re: Full-motion zero-copy screen capture in Weston

2024-06-05 Thread Marius Vlad
silverblue/toolbox/ > > > -Original Message- > > From: Pekka Paalanen > > Sent: Tuesday, June 4, 2024 3:20 AM > > To: Hoosier, Matt > > Cc: s...@cmpwn.com; cont...@emersion.fr; Marius Vlad > > ; wayland-devel@lists.freedesktop.org > > Subject:

RE: Full-motion zero-copy screen capture in Weston

2024-06-04 Thread Hoosier, Matt
--Original Message- > From: Pekka Paalanen > Sent: Tuesday, June 4, 2024 3:20 AM > To: Hoosier, Matt > Cc: s...@cmpwn.com; cont...@emersion.fr; Marius Vlad > ; wayland-devel@lists.freedesktop.org > Subject: Re: Full-motion zero-copy screen capture in Weston > > On Mon, 3 Jun 20

Re: Full-motion zero-copy screen capture in Weston

2024-06-04 Thread Pekka Paalanen
On Mon, 3 Jun 2024 17:57:18 + "Hoosier, Matt" wrote: > > What do you mean you can capture all virtual machines with KMS > > writeback? > > > > What's the architecture there? How do virtual machines access KMS > > hardware? Why would Weston be able to capture their outputs at all? > > > > I

Re: Full-motion zero-copy screen capture in Weston

2024-06-03 Thread Hoosier, Matt
> What do you mean you can capture all virtual machines with KMS > writeback? > > What's the architecture there? How do virtual machines access KMS > hardware? Why would Weston be able to capture their outputs at all? I hope to have more to say about this shortly. > The disadvantage is that buffe

Re: Full-motion zero-copy screen capture in Weston

2024-06-03 Thread Pekka Paalanen
On Fri, 31 May 2024 13:26:12 + "Hoosier, Matt" wrote: > > My goal is to implement this screen capture with a guarantee that the > copy comes from a KMS writeback connector. I know this sounds like an > odd thing to insist on. Let's say that in my industry, the system is > rarely only running

Re: Full-motion zero-copy screen capture in Weston

2024-06-01 Thread Andri Yngvason
Hi Matt, fös., 31. maí 2024 kl. 15:34 skrifaði Hoosier, Matt : > > Thanks, understood. I would expect that I need to take some care in > allocating a buffer that my DRM driver accepts for writeback, in this usage. > > > > Do I interpret right that the wlroots screencopy extension wants the client

Re: Full-motion zero-copy screen capture in Weston

2024-05-31 Thread Hoosier, Matt
starting point. -Matt From: Simon Ser Date: Friday, May 31, 2024 at 10:16 AM To: Andri Yngvason Cc: "Hoosier, Matt" , Pekka Paalanen , "s...@cmpwn.com" , Marius Vlad , "wayland-devel@lists.freedesktop.org" Subject: Re: Full-motion zero-copy screen capture in Weston

Re: Full-motion zero-copy screen capture in Weston

2024-05-31 Thread Simon Ser
On Friday, May 31st, 2024 at 16:45, Simon Ser wrote: > > See: > > https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/124 > > > > > My goal is to implement this screen capture with a guarantee that the > > > copy comes from a KMS writeback connector. I know this sounds li

Re: Full-motion zero-copy screen capture in Weston

2024-05-31 Thread Simon Ser
On Friday, May 31st, 2024 at 16:39, Andri Yngvason wrote: > Hi Matt, > > fös., 31. maí 2024 kl. 13:26 skrifaði Hoosier, Matt matt.hoos...@garmin.com: > > > Hi, > > > > Yeah. I agree that although I can prototype something quick and dirty here > > as a change to weston_output_capture_v1, it's

Re: Full-motion zero-copy screen capture in Weston

2024-05-31 Thread Andri Yngvason
Hi Matt, fös., 31. maí 2024 kl. 13:26 skrifaði Hoosier, Matt : > > Hi, > > Yeah. I agree that although I can prototype something quick and dirty here as > a change to weston_output_capture_v1, it's probably not a good fit there. > > Drew or Simon, does either of > https://github.com/swaywm/wlroo

Re: Full-motion zero-copy screen capture in Weston

2024-05-31 Thread Simon Ser
er. IIRC Weston is not interested in supporting the wlroots protocol, they'd prefer to use e.g. PipeWire. Should be possible to pass the result of the writeback into a PipeWire stream. > From: Pekka Paalanen > Sent: Friday, May 31, 2024 3:02 AM > To: Hoosier, Matt > Cc: Marius Vl

Re: Full-motion zero-copy screen capture in Weston

2024-05-31 Thread Hoosier, Matt
Vlad; wayland-devel@lists.freedesktop.org Subject: Re: Full-motion zero-copy screen capture in Weston On Thu, 30 May 2024 13:40:15 + "Hoosier, Matt" wrote: > Okay, interesting thoughts on all of that. > > I'm not sure how far I'm going to get toward a complete overhaul of >

Re: Full-motion zero-copy screen capture in Weston

2024-05-31 Thread Pekka Paalanen
On Thu, 30 May 2024 13:40:15 + "Hoosier, Matt" wrote: > Okay, interesting thoughts on all of that. > > I'm not sure how far I'm going to get toward a complete overhaul of > the capture mechanism. Maybe it would be useful to know a couple > things about the current one (weston_output_capture_

Re: Full-motion zero-copy screen capture in Weston

2024-05-30 Thread Hoosier, Matt
sh than a requirement. Thanks, pq > > > -Original Message- > > From: Pekka Paalanen > <mailto:pekka.paala...@collabora.com>> > > Sent: Wednesday, May 29, 2024 2:43 AM > > To: Marius Vlad > <mailto:marius.v...@collabora.com>>; Hoosier, Ma

Re: Full-motion zero-copy screen capture in Weston

2024-05-30 Thread Pekka Paalanen
to help with this. This is more of a wish than a requirement. Thanks, pq > > > -Original Message- > > From: Pekka Paalanen > > Sent: Wednesday, May 29, 2024 2:43 AM > > To: Marius Vlad ; Hoosier, Matt > > > > Cc: wayland-devel@lists.freedeskto

RE: Full-motion zero-copy screen capture in Weston

2024-05-29 Thread Hoosier, Matt
sktop session somewhat implies the compositor is driving the physical hardware? > -Original Message- > From: Pekka Paalanen > Sent: Wednesday, May 29, 2024 2:43 AM > To: Marius Vlad ; Hoosier, Matt > > Cc: wayland-devel@lists.freedesktop.org > Subject: Re: Full-motion z

Re: Full-motion zero-copy screen capture in Weston

2024-05-29 Thread Pekka Paalanen
On Tue, 28 May 2024 20:04:45 +0300 Marius Vlad wrote: > On Tue, May 28, 2024 at 03:53:23PM +, Hoosier, Matt wrote: > > Hi Marius, > Hi, > > > > Okay, I guess that answers the bit about needing to screen-scrape to get > > content into Pipewire now. > > > > But I'm still a little unclear a

Re: Full-motion zero-copy screen capture in Weston

2024-05-28 Thread Marius Vlad
yland/weston/-/merge_requests/341. > > > > > > -----Original Message- > > > From: Marius Vlad > > > Sent: Saturday, May 25, 2024 6:12 AM > > > To: Hoosier, Matt > > > Cc: wayland-devel@lists.freedesktop.org > > > Subject: Re: Full-m

Re: Full-motion zero-copy screen capture in Weston

2024-05-28 Thread Marius Vlad
gt; > > -Original Message- > > From: Marius Vlad > > Sent: Saturday, May 25, 2024 6:12 AM > > To: Hoosier, Matt > > Cc: wayland-devel@lists.freedesktop.org > > Subject: Re: Full-motion zero-copy screen capture in Weston > > > > On Fri, May

RE: Full-motion zero-copy screen capture in Weston

2024-05-28 Thread Hoosier, Matt
: Saturday, May 25, 2024 6:12 AM > To: Hoosier, Matt > Cc: wayland-devel@lists.freedesktop.org > Subject: Re: Full-motion zero-copy screen capture in Weston > > On Fri, May 24, 2024 at 09:43:58PM +, Hoosier, Matt wrote: > > Hi, > > > > I'm interested in fi

Re: Full-motion zero-copy screen capture in Weston

2024-05-25 Thread Marius Vlad
On Fri, May 24, 2024 at 09:43:58PM +, Hoosier, Matt wrote: > Hi, > > I'm interested in finding or contributing some mechanism to get sort of the > same effect as a cross between: > > > * > weston_output_capture's support for using the DRM_MODE_CONNECTOR_WRITEBACK > connectors, and > >