<div dir="ltr">Whatever action is taken, it is fine for Kodi. <span style="font-size:12.8px">GLX+OML_sync_control is not an option anymore because we need EGL for vaapi. But we can fall back to the invisible window for getting vsync. I never tried using EGL and GLX in the same application, different windows. Any reason why this should not work?</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Rainer</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 12, 2016 at 12:29 PM, Daniel Vetter <span dir="ltr"><<a href="mailto:daniel@ffwll.ch" target="_blank">daniel@ffwll.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Jun 24, 2016 at 06:55:55AM +1000, Daniel Stone wrote:<br>
> Hi Rainer,<br>
><br>
> On 24 June 2016 at 05:54, Rainer Hochecker <<a href="mailto:fernetmenta@kodi.tv">fernetmenta@kodi.tv</a>> wrote:<br>
> > I spent some time reading and investigating on this. Bear with me, I am<br>
> > doing Kodi development in my spare time and may not be up-to-date on all<br>
> > platforms. Seems Wayland is much better suited to serve as reference<br>
> > platform as X11 does. Is that correct? If so I don't request<br>
> > OML_sync_control for EGL. Don't waste resources and let the old crap die.<br>
><br>
> I certainly think so, for a number of reasons. I don't believe X11<br>
> will ever be as accurate or as efficient as Wayland can be.<br>
<br>
</span>Seconded. I think GLX+OML_sync_control for X11 and Wayland with EGL and<br>
the frame timing Daniel Stone laid out (already should work in both cases)<br>
seems like the perfect solution.<br>
<br>
What kind of transition plan would be reasonable? Should we start with a<br>
printk_once to inform userspace developers that they should change their<br>
code, and then eventually (after a few years or so) remove that ioctl?<br>
Maybe first behind a module option?<br>
<br>
Who should all be on cc for such a change?<br>
<br>
I'd like to get this started, it'll take years no matter what ...<br>
<span class="">-Daniel<br>
--<br>
Daniel Vetter<br>
Software Engineer, Intel Corporation<br>
</span><a href="http://blog.ffwll.ch" rel="noreferrer" target="_blank">http://blog.ffwll.ch</a><br>
</blockquote></div><br></div>