[Bug 95069] [DRI2][PRIME] display black window when enable GPU offloading

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 25 14:43:05 UTC 2016


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

--- Comment #4 from Chris Wilson <chris at chris-wilson.co.uk> ---
(In reply to Qiang Yu from comment #3)
> 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.

It depends upon a race with a client. I have an old patch for -ati to handle
DRI2UpdatePrime failure.

--- Comment #5 from Chris Wilson <chris at chris-wilson.co.uk> ---
(In reply to Qiang Yu from comment #3)
> 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.

It depends upon a race with a client. I have an old patch for -ati to handle
DRI2UpdatePrime failure.

--- Comment #6 from Qiang Yu <qiang.yu at amd.com> ---
Seem the race condition is between glxgears and compiz:
if the compiz call DRI2GetBufferWithFormat before first time glxgears
call DRI2SwapBuffer, the pixmap is pinned with PIN_DRI2.

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


More information about the intel-gfx-bugs mailing list