Bug 107290 - Hang reading from GL_FRONT in fullscreen
Summary: Hang reading from GL_FRONT in fullscreen
Status: RESOLVED DUPLICATE of bug 106404
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-19 12:13 UTC by Jason Wyatt
Modified: 2018-07-19 14:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Demonstration for hang (2.81 KB, text/x-csrc)
2018-07-19 12:13 UTC, Jason Wyatt
Details

Description Jason Wyatt 2018-07-19 12:13:34 UTC
Created attachment 140709 [details]
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.
Comment 1 Michel Dänzer 2018-07-19 14:39:30 UTC

*** This bug has been marked as a duplicate of bug 106404 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.