<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - TearFree breaks when playing back videos in Firefox with GPU accelerated windows enabled in Firefox"
href="https://bugs.freedesktop.org/show_bug.cgi?id=96847#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - TearFree breaks when playing back videos in Firefox with GPU accelerated windows enabled in Firefox"
href="https://bugs.freedesktop.org/show_bug.cgi?id=96847">bug 96847</a>
from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
<pre>(In reply to nw9165-3201 from <a href="show_bug.cgi?id=96847#c4">comment #4</a>)
<span class="quote">> (In reply to Chris Wilson from <a href="show_bug.cgi?id=96847#c1">comment #1</a>)
> > Please note that DRI3 overrides TearFree
>
> Funny, I had already asked about this before but nobody replied, see:
> <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - TearFree"
href="show_bug.cgi?id=37686#c124">https://bugs.freedesktop.org/show_bug.cgi?id=37686#c124</a>.
>
> Also, are you absolutely sure about that?</span >
Absolutely, since I wrote the code, I had to explicitly disable TearFree when
PresentPixmap is called because a client calling PresentPixmap can then treat
that Pixmap as a front buffer and directly render into it bypassing X.
<span class="quote">> Because even with:
>
> Option "DRI" "3"
>
> Xorg.0.log says:
>
> [ 16.253] (**) intel(0): TearFree enabled
>
> So it seems like TearFree can be enabled even when DRI3 is enabled.
>
> Also, when enabling DRI3 and leaving TearFree disabled, there's still
> tearing. So why should DRI3 override TearFree when DRI3 itself does not
> provide a tear free experience?</span >
Who said that DRI3 was meant to provide a TearFree experience? That's not what
we put together in the specification or the code. Also note that DRI3 *cannot*
provide TearFree updates in a variety of configurations and due to many
limitations in the current implementation is often inferior to DRI2 (such as
multi-monitor rendering).
<span class="quote">> (In reply to Chris Wilson from <a href="show_bug.cgi?id=96847#c1">comment #1</a>)
> > since the client is given direct
> > access to the scanout there is nothing the driver can do (until the client
> > relinquishes control of the scanout).
>
> Well, I've also tried it with DRI2 via:
>
> Option "DRI" "2"
>
> but the issue is the same.
>
> (In reply to Chris Wilson from <a href="show_bug.cgi?id=96847#c2">comment #2</a>)
> > first attach Xorg.0.log
>
> Attached:
>
> <a href="https://bugs.freedesktop.org/attachment.cgi?id=124946">https://bugs.freedesktop.org/attachment.cgi?id=124946</a>
>
> (In reply to Chris Wilson from <a href="show_bug.cgi?id=96847#c2">comment #2</a>)
> > double
> > check with xf86-video-intel.git. If you can compile with ./configure
> > --enable-debug that should help catch the easiest problems (in particular
> > losing tracking of DRI3/TearFree switch-over).
>
> Is it really necessary to compile xf86-video-intel with a custom build
> option to be able to get a verbose (debug) log? Or what does --enable-debug
> do?</span >
Yes. Doing so does 2 things; verify that you know how to build and apply
patches; and secondly it enables extra assertions and many runtime checks that
could be handled without crashing and instead causes X to crash instead.
<span class="quote">> By the way, if you want to reproduce the issue:
>
> As far as I can tell, the issue is triggered by switching the YouTube video
> player to fullscreen.</span >
Worksforme.</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>