<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - xf86-video-intel-2.99.912 with dri3 enabled breaks gnome-shell"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79985#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - xf86-video-intel-2.99.912 with dri3 enabled breaks gnome-shell"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79985">bug 79985</a>
              from <span class="vcard"><a class="email" href="mailto:drago01@gmail.com" title="drago01@gmail.com">drago01@gmail.com</a>
</span></b>
        <pre>OK seems like mannerov has found the cause:

--- (#xorg-devel) --- 
<mannerov> Jasper: Is it possible to launch gnome-shell in a Window ?
<Jasper> mannerov, no
<mannerov> Jasper: is there some other programs using cogl, that I could test ?
<mannerov> I found that cogl has code to handle GLX_INTEL_swap_event, so
perhaps the problem is raised there
<drago01> mannerov: tests shipped with clutter, cogl and gnome-shell or one of
the clutter-gst apps (like totem)
<mannerov> drago01: thanks. totem has the bug
<mannerov> keithp, Jasper: I can have the bug with totem under dri2 with
LIBGL_ALWAYS_INDIRECT
<mannerov> keithp: So I suppose the complete event (sent by the server for dri2
indirect, or dri3) is not received correctly by cogl
<mannerov> whereas it is received correctly when Mesa sends the event
<mannerov> (dri2 direct)
<drago01> mannerov: which bug btw?
<Jasper> mannerov, if no event will be sent, the server shouldn't advertise the
extension
<mannerov> the event is sent
<mannerov> but looks like the client doesn't receive/handle it
<mannerov> drago01: no refresh
<mannerov> blocked after the first frame
<mannerov> Jasper: there's a piglit test on the extension, and it passes
correctly with both dri2 and dri3
<mannerov> but the events are handled differently in the piglit test
<drago01> mannerov: so (sorry no scrollback) the screen "hangs" when using dri3
or dri2 indirect but works with dri2 direct?
<mannerov> yes
<mannerov> the application does one swap, and then nothing
<mannerov> but works if GLX_INTEL_swap_event is not advertised
<drago01> ok so maybe that's what hansg hit
<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - xf86-video-intel-2.99.912 with dri3 enabled breaks gnome-shell"
   href="show_bug.cgi?id=79985">https://bugs.freedesktop.org/show_bug.cgi?id=79985</a>
<mannerov> yes, this is this bug
----

Basically GLX_INTEL_swap_event is broken on DRI3 (and DRI2 indirect) which
causes mutter to wait for the event which never arrives for some reason and
thus it hangs. But apparently it works for piglit ...</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>