[Wayland-bugs] [Bug 69764] [bug] rapidly switching VTs between Weston and a Terminal can lock Weston

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 24 20:33:22 CEST 2013


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

Kristian Høgsberg <krh at bitplanet.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Kristian Høgsberg <krh at bitplanet.net> ---
(In reply to comment #3)
> Also, I observed a:
> 
> "queueing pageflip failed: Permission denied"
> 
> prior to the lockup

This should be fixed by:

commit 3c688c5e33873100abab56735eb44f53eb3a6d6b
Author: David Herrmann <dh.herrmann at gmail.com>
Date:   Tue Oct 22 17:11:25 2013 +0200

    compositor-drm: finish frame if initial page-flip fails

    If the initial page-flip fails, immediately finish the frame to avoid
    being stuck in the given frame. We already do this if we have no fbo
    available. Now we do the same if the page-flip fails.

What happened (both for weston-launch but it's also the case for logind) is
that we used to be able to drop kms priviledges at the right time in the
repaint cycle and thus pageflip would never just fail.  Now, weston-launch or
logind will drop kms master for us without synchronizing with weston, so we
have to be able to handle kms operations failing at any time and recover
gracefully.  That's what Davids patch does.

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


More information about the Wayland-bugs mailing list