<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - i965 vaapi / opengl stops working or hangs gpu at least since git commit after git1406031225.081488"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=85144#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - i965 vaapi / opengl stops working or hangs gpu at least since git commit after git1406031225.081488"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=85144">bug 85144</a>
              from <span class="vcard"><a class="email" href="mailto:paulo.miguel.dias@gmail.com" title="Paulo Dias <paulo.miguel.dias@gmail.com>"> <span class="fn">Paulo Dias</span></a>
</span></b>
        <pre>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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>