From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 84944] tearing on radeonsi vdpau deinterlacer Date: Thu, 13 Nov 2014 13:50:32 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1208242816==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5EE2B6E8B2 for ; Thu, 13 Nov 2014 05:50:32 -0800 (PST) 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 --===============1208242816== Content-Type: multipart/alternative; boundary="1415886632.BbDB0.18378"; charset="UTF-8" --1415886632.BbDB0.18378 Date: Thu, 13 Nov 2014 13:50:32 +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 --- Comment #29 from warpme@o2.pl --- (In reply to Michel D=C3=A4nzer from comment #28) >=20 > Oops, my first debugging patch has a bug which causes can_exchange to > spuriously return FALSE. Does it work if you remove that patch? Michel, After patch removal indeed page flipping started to work so no tearing anym= ore. Unfortunately now I see problem with 2x DI. It manifests as jumpy playback. This is typical when DI is too slow to keep frame rate. I have identical ef= fect on Nvidia's ION1 with Advanced 2x DI (ION1 is too slow for this advanced DI= ). Mythtv reports: 2014-11-13 13:47:01.013753 I Player(1): Video is 3.18365 frames behind audio (too slow), dropping frame to catch up. 2014-11-13 13:47:01.013783 I AOBase: Pause 1 2014-11-13 13:47:01.014047 I Player(1): Video is 3.45023 frames behind audio (too slow), dropping frame to catch up. 2014-11-13 13:47:01.014064 I AOBase: Pause 1 2014-11-13 13:47:01.014171 I Player(1): Video is 3.40015 frames behind audio (too slow), dropping frame to catch up. 2014-11-13 13:47:01.014188 I AOBase: Pause 1 2014-11-13 13:47:01.014286 I Player(1): Video is 3.1126 frames behind audio (too slow), dropping frame to catch up.=20 It looks like 2x DI problem is only with enabled glamor - as on Brazos with= EXA 2x DI works perfect. Also on Kabini it was working OK - but it was OK when page flipping was non-functional. I didn't test Brazos with glamor yet.=20 I done tests with mesa 10.2.8/10.3.3 and xserver 1.16.1/1.16.2 In all cases glamor 2x DI issue is present. If You want to see issue visually - I have short video clip with issue... br PS: is it possible that DI issue is because playback window coordinates are= -1 ? Absolute upper-left X: -1 Absolute upper-left Y: -1 Relative upper-left X: -1 Relative upper-left Y: -1 --=20 You are receiving this mail because: You are the assignee for the bug. --1415886632.BbDB0.18378 Date: Thu, 13 Nov 2014 13:50:32 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 29 on bug 84944<= /a> from warpme@o2.pl
(In reply to Michel D=C3=A4nzer from comment #28)
>=20
> Oops, my first debugging patch has a bug which causes can_exchange to
> spuriously return FALSE. Does it work if you remove that patch?

Michel,

After patch removal indeed page flipping started to work so no tearing anym=
ore.

Unfortunately now I see problem with 2x DI. It manifests as jumpy playback.
This is typical when DI is too slow to keep frame rate. I have identical ef=
fect
on Nvidia's ION1 with Advanced 2x DI (ION1 is too slow for this advanced DI=
).

Mythtv reports:

2014-11-13 13:47:01.013753 I Player(1): Video is 3.18365 frames behind audio
(too slow), dropping frame to catch up.
2014-11-13 13:47:01.013783 I AOBase: Pause 1
2014-11-13 13:47:01.014047 I Player(1): Video is 3.45023 frames behind audio
(too slow), dropping frame to catch up.
2014-11-13 13:47:01.014064 I AOBase: Pause 1
2014-11-13 13:47:01.014171 I Player(1): Video is 3.40015 frames behind audio
(too slow), dropping frame to catch up.
2014-11-13 13:47:01.014188 I AOBase: Pause 1
2014-11-13 13:47:01.014286 I Player(1): Video is 3.1126 frames behind audio
(too slow), dropping frame to catch up.=20

It looks like 2x DI problem is only with enabled glamor - as on Brazos with=
 EXA
2x DI works perfect. Also on Kabini it was working OK  - but it was OK when
page flipping was non-functional. I didn't test Brazos with glamor yet.=20

I done tests with mesa 10.2.8/10.3.3 and xserver 1.16.1/1.16.2 In all cases
glamor 2x DI issue is present.

If You want to see issue visually - I have short video clip with issue...

br

PS: is it possible that DI issue is because playback window coordinates are=
 -1
?

  Absolute upper-left X:  -1
  Absolute upper-left Y:  -1
  Relative upper-left X:  -1
  Relative upper-left Y:  -1


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