From: bugzilla-daemon@freedesktop.org Subject: [Bug 84944] tearing on radeonsi vdpau deinterlacer Date: Tue, 28 Oct 2014 10:12:37 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1571589115==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 627A589935 for ; Tue, 28 Oct 2014 03:12:37 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1571589115== Content-Type: multipart/alternative; boundary="1414491157.bDeBb0.17379"; charset="UTF-8" --1414491157.bDeBb0.17379 Date: Tue, 28 Oct 2014 10:12:37 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D84944 Michel D=C3=A4nzer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |NOTOURBUG --- Comment #26 from Michel D=C3=A4nzer --- (In reply to Christian K=C3=B6nig from comment #24) > (In reply to Andy Furniss from comment #23) > > My normal use case, however, is to have 2 screens - TV below monitor + > > different refresh rates. Like this I don't get flips, but I also don't = have > > any tearing issues with deint. I always set cpus to perf - so I guess t= hat > > my system is fast enough to handle copy. >=20 > For your case it for some reason don't page flip because of the two scree= ns > setup. DRI2 can only flip if the application window covers the whole X11 desktop, which is probably not the case with several monitors. > And it then indeed most likely tears because the deint shader needs to mu= ch > time. De-interlacing happens before the DRI2 buffer swap, so the tearing probably isn't directly related to that. > My best guess is that MythTV is trying to crop the first and last line of > the video to avoid flickering with BOB deinterlacing. But instead of > providing a proper video_source_rect while calling VdpVideoMixerRender th= ey > resize their X window to be two lines less in height which is a really > really bad idea. Sounds like this needs to be fixed in MythTV. Resolving as not our bug. (In reply to warpme from comment #22) > It looks however that only glamor starts to have tearing by this. With EXA, the mechanism controlled by Option "SwapbuffersWait" prevents tearing, but presumably at the cost of one (additional) frame of delay. That mechanism is not available with glamor. --=20 You are receiving this mail because: You are the assignee for the bug. --1414491157.bDeBb0.17379 Date: Tue, 28 Oct 2014 10:12:37 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable = Michel D=C3=A4nzer changed bug 84944<= /a>
What Removed Added
Status NEW RESOLVED
Resolution --- NOTOURBUG

Commen= t # 26 on bug 84944<= /a> from Michel D=C3=A4nzer
(In reply to Christian K=C3=B6nig from comment #24)
> (In reply to Andy Furniss from comment #23)
> > My normal use case, however, is to have 2 screens - TV below moni=
tor +
> > different refresh rates. Like this I don't get flips, but I also =
don't have
> > any tearing issues with deint. I always set cpus to perf - so I g=
uess that
> > my system is fast enough to handle copy.
>=20
> For your case it for some reason don't page flip because of the two sc=
reens
> setup.

DRI2 can only flip if the application window covers the whole X11 desktop,
which is probably not the case with several monitors.

> And it then indeed most likely tears because the=
 deint shader needs to much
> time.

De-interlacing happens before the DRI2 buffer swap, so the tearing probably
isn't directly related to that.

> My best guess is that MythTV is trying to crop t=
he first and last line of
> the video to avoid flickering with BOB deinterlacing. But instead of
> providing a proper video_source_rect while calling VdpVideoMixerRender=
 they
> resize their X window to be two lines less in height which is a really
> really bad idea.

Sounds like this needs to be fixed in MythTV. Resolving as not our bug.


(In reply to warpme from comment #2=
2)
> It looks however that only glamor starts to have=
 tearing by this.

With EXA, the mechanism controlled by Option "SwapbuffersWait" pr=
events
tearing, but presumably at the cost of one (additional) frame of delay. That
mechanism is not available with glamor.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1414491157.bDeBb0.17379-- --===============1571589115== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1571589115==--