[Bug 85144] i965 vaapi / opengl stops working or hangs gpu at least since git commit after git1406031225.081488

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 17 17:59:16 PDT 2014


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

--- Comment #6 from Paulo Dias <paulo.miguel.dias at gmail.com> ---
the problem is this snippet:

#if DRI2INFOREC_VERSION < 6

#define xorg_can_triple_buffer() 0
#define swap_limit(d, l) false

#else

#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,15,99,904,0)
/* Prime fixed for triple buffer support */
#define xorg_can_triple_buffer() 1
#elif XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1,12,99,901,0)
/* Before numGPUScreens was introduced */
#define xorg_can_triple_buffer() 1
#else
/* Subject to crashers when combining triple buffering and Prime */
inline static bool xorg_can_triple_buffer(void)
{
        return screenInfo.numGPUScreens == 0;
}
#endif

IF i change return screenInfo.numGPUScreens == 1, then i wont have the
chrome/vaapi/opengl crashes but DRI_PRIME crashes X.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20141018/ac49e309/attachment.html>


More information about the intel-gfx-bugs mailing list