[Wayland-bugs] [Bug 106736] Weston almost halves *visible* frame update rate from what application actually produces

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 1 14:31:46 UTC 2018


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

--- Comment #8 from Daniel Stone <daniel at fooishbar.org> ---
(In reply to Eero Tamminen from comment #7)
> I wasn't able to reproduce the problem with simple-egl test, e.g. with:
>   weston-simple-egl -b -o -u 15000
> 
> But that doesn't seem to use *SwapBuffers().
> 
> I'm not sure whether SwapBuffers() is the only reason why it doesn't trigger
> the issue.  Maybe the test-case actually need to also fully use GPU, for
> this issue to be visible.

It certainly does call eglSwapBuffers:
https://gitlab.freedesktop.org/wayland/weston/blob/master/clients/simple-egl.c#L568

> Just increase the window size W & H parameters until reported FPS is
> somewhere between 70-100 FPS.

So presumably it's running with eglSwapInterval(0) which doesn't block on frame
callbacks at all?

> -> I assume in that particular case, compositor would also require higher
> GPU priority than the test.  Setting priorities is fairly new Mesa (and i915
> kernel module) feature.

We do use it:
https://gitlab.freedesktop.org/wayland/weston/commit/b678befb6ed055e6c66466505d9195a3cebf8073

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20180601/dee7677f/attachment.html>


More information about the wayland-bugs mailing list