Re: Curtaining API / Force blanking displays

2020-04-07 Thread Daniel Stone
Hi, On Tue, 7 Apr 2020 at 09:23, Pekka Paalanen wrote: > Maybe I should underline the read/write race: > > You do not get notified when a display server updates the screen, so > you poll. When your poll returns a new FB id, And that's only useful for Wayland systems. On X11, the server can (and

Re: Curtaining API / Force blanking displays

2020-04-07 Thread Pekka Paalanen
On Mon, 6 Apr 2020 12:01:30 -0700 Erik Jensen wrote: > Thanks for the reply! (And thanks Simon for the pointer to ffmpeg.) > > > Screen scraping like that will have big problems trying to a) > > synchronize to the display updates correctly (was the screen > > updated, did you get old or new fram

Re: Curtaining API / Force blanking displays

2020-04-07 Thread Daniel Stone
Hi Erik, On Mon, 6 Apr 2020 at 20:01, Erik Jensen wrote: > > Screen scraping like that will have big problems trying to a) > > synchronize to the display updates correctly (was the screen > > updated, did you get old or new frame, and you have to poll rather > > than be notified), and b) synchron

Re: Curtaining API / Force blanking displays

2020-04-07 Thread Daniel Vetter
On Sun, Apr 05, 2020 at 11:21:31AM +0300, Pekka Paalanen wrote: > On Fri, 3 Apr 2020 12:56:33 -0700 > Erik Jensen wrote: > > > First off, apologies if the functionality described already exists and I > > just failed to find it, or if this isn't the correct venue for this > > discussion. If so, po

Re: Curtaining API / Force blanking displays

2020-04-05 Thread Simon Ser
Hi, I completely agree with Pekka here. On Sunday, April 5, 2020 10:21 AM, Pekka Paalanen wrote: > I have heard of such a screen scraper already existing, maybe Simon > remembers where one is? Yes, ffmpeg's kmsgrab does the same thing. It doesn't support modifiers and only grabs the primary pl

Re: Curtaining API / Force blanking displays

2020-04-05 Thread Pekka Paalanen
On Fri, 3 Apr 2020 12:56:33 -0700 Erik Jensen wrote: > First off, apologies if the functionality described already exists and I > just failed to find it, or if this isn't the correct venue for this > discussion. If so, pointers to the correct location would be appreciated. > > I'm currently look

Curtaining API / Force blanking displays

2020-04-03 Thread Erik Jensen
First off, apologies if the functionality described already exists and I just failed to find it, or if this isn't the correct venue for this discussion. If so, pointers to the correct location would be appreciated. I'm currently looking into the feasibility of developing a remote access tool using