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

            Bug ID: 98766
           Summary: We need fences support in Wayland compositors
           Product: Wayland
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: weston
          Assignee: wayland-bugs@lists.freedesktop.org
          Reporter: mvicom...@nvidia.com

There are several vendors that asynchronously commit wl_surface state changes
to work around the limitation of wayland compositors using unfinished frames
for composition.

Using unfinished frames causes the compositor to stall waiting for slow clients
rendering to finish, missing frames from faster clients or even slowing them
down if they are synchronized to compositor redraws.

Using EGL_NV_stream_fifo_synchronous on the client side to defer
wl_surface.{attach, damage, commit} until a frame is finished is the way NVIDIA
works around such limitation, but it goes against Wayland atomicity assumptions
of surface updates.

This problem should be fixed on the compositor side. Using fences the
compositor can query when a client buffer is finished and ready for
composition.

There has been some discussion about this in
https://bugs.freedesktop.org/show_bug.cgi?id=98731

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to