<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [DRI2][PRIME] display black window when enable GPU offloading"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95069#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [DRI2][PRIME] display black window when enable GPU offloading"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95069">bug 95069</a>
              from <span class="vcard"><a class="email" href="mailto:qiang.yu@amd.com" title="Qiang Yu <qiang.yu@amd.com>"> <span class="fn">Qiang Yu</span></a>
</span></b>
        <pre>I catch the xtrace of glxgears, when I change focus, it will get
invalidateBuffers event
and get buffer again, the content shows. But I can't find why at the begging
the pixmap
is get pinned first and the sequence can change with fast/slow DDX.

000:>:10ae2: Event DRI2-InvalidateBuffers(103) drawable=0x03600002
000:>:10ae2: Event DRI2-BufferSwapComplete(102) drawable=0x00000002
ust_hi=56623106 ust_lo=0 msc_hi=0 msc_lo=0 sbc_hi=0 sbc_lo=34143
000:>:0ae1:32: Reply to SwapBuffers: swap_hi=0 swap_lo=34143
000:>:0ae2:32: Reply to GetInputFocus: revert-to=Parent(0x02) focus=0x0380000b
000:<:10ae3: 20: DRI2-Request(153,7): GetBuffersWithFormat drawable=0x03600002
attachments={attachment=BackLeft(0x00000001) format=0x00000018};
000:>:0ae3:52: Reply to GetBuffersWithFormat: width=300 height=300
buffers={attachment=BackLeft(0x00000001) name=0x00000004 pitch=1280 cpp=4
flags=0x00000000};</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>