[Mesa-dev] [Bug 107290] Hang reading from GL_FRONT in fullscreen

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 19 12:13:34 UTC 2018


            Bug ID: 107290
           Summary: Hang reading from GL_FRONT in fullscreen
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: jwyatt at feralinteractive.com
        QA Contact: mesa-dev at lists.freedesktop.org

Created attachment 140709
  --> https://bugs.freedesktop.org/attachment.cgi?id=140709&action=edit
Demonstration for hang

If GL_FRONT is bound using glReadBuffer in a fullscreen application, the driver
can hang in xshmfence_await.

This only appears to happen if the application is the only thing being
displayed - even bringing up the alt-tab menu will cause rendering to resume as
normal. Once this bug has occurred though, returning to the app will cause it
to hang again.

Possibly this happens when the else if (buffer_type ==
loader_dri3_buffer_front) path of dri3_get_buffer is used.

The attached sample should demonstrate this issue - it reports a duration for
the swap/read back on the order of the amount of time that the application was
the sole thing rendering to the screen.

Tested radeonsi, git revision 5ba3e5c358, Fedora 27, gnome 3.26.2.

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

More information about the mesa-dev mailing list