[Mesa-dev] [Bug 98833] [REGRESSION, bisected] Wayland revert commit breaks fullscreen frame updates

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 28 08:37:46 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=98833

--- Comment #8 from Pekka Paalanen <ppaalanen at gmail.com> ---
(In reply to Eero Tamminen from comment #7)
> -> Frame buffer count option has no effect at all in EGL/Wayland, VSync
> option maps to eglSwapInterval() call.

That makes sense.

> Is there something minimal like glxgears for Wayland, which sources I could
> easily modify to do screen updates similarly to the test-suite I'm using?

Yup, there is
https://cgit.freedesktop.org/wayland/weston/tree/clients/simple-egl.c
It's a whole program almost in one source file.

You might want to change the redraw() function to not use a clock but rather a
frame counter to advance the animation, otherwise racing at high rates the
difference between consecutive frames might be too small to notice.

Maybe it can already reproduce the problem when you run it fullscreen, opaque,
and swapinterval=0?

I see there are some left-overs of frame callback handling, but it does not
actually use frame callbacks manually. I was going to say you'd need to remove
that logic, but it's already gone. All throttling is left for eglSwapBuffers().

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161128/43742aa1/attachment.html>


More information about the mesa-dev mailing list