From: bugzilla-daemon@freedesktop.org Subject: [Bug 84944] tearing on radeonsi vdpau deinterlacer Date: Tue, 21 Oct 2014 08:35:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1509577071==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C6AAA6E177 for ; Tue, 21 Oct 2014 01:35:21 -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 --===============1509577071== Content-Type: multipart/alternative; boundary="1413880521.50F8df0.25308"; charset="UTF-8" --1413880521.50F8df0.25308 Date: Tue, 21 Oct 2014 08:35:21 +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 #11 from warpme@o2.pl --- (In reply to Christian K=C3=B6nig from comment #9) > (In reply to warpme from comment #7) > > (In reply to Christian K=C3=B6nig from comment #5) > > > The deinterlacer is hardware independent and so it's rather unlikely = that it > > > is the source of the problem. > > >=20 > > > Can you grab a trace of MythTV with VDPAU_TRACE=3D1 in the environmen= t once > > > with and once without deinterlacing enabled? This way we can see what= MythTV > > > is actually doing. > >=20 > > Adding VDPAU_TRACE=3D1 causes stop working VDPAU (MythTV switches to ff= mpeg). > > I can try to investigate this - if You believe it is worth....=20 >=20 > Yes, we should definitely investigate what MythTV is doing here. >=20 > > For me results from tests Michel suggested shows issue is within GLAMOR= as > > Brazos without GLAMOR works OK while Brazos with GLAMOR NOK. As Kabini = by > > default requires GLAMOR - by default I have issue on Kabini.=20 >=20 > EXA on Brazos is tear free most of the time because we sync operations to > the vblank using a hack. That hack isn't supported on GLAMOR and so GLAMOR > operations are not synced to vblank at all (Michel knows more about this). >=20 > But the root cause is something completely different, cause GLAMOR should= n't > be used in the first place in this situation. Well - radeonsi can't work here without glamor. Forcing EXA gives following= in xorg log: (WW) RADEON(0): EXA not supported, using glamor >=20 > GLAMOR is made to accelerate things like window movements and text drawin= g. > For fullscreen video playback there should be a page flip operation used. >=20 > Please try to investigate what MythTV is actually doing different here to > cause the page flipping to not work correctly. mythtv does exactly the same on Kabini like on Brazos. I'm using exactly the same PXE booted image. Also all configs are the same as I'm simply booting = the same OS image + configs just on 2 different HW platforms. I believe all HW depended things are purely and only internal to xserver and mesa. Maybe Kabini's xserver log output about "EXA not supported" is clue here? Is EXA supported on Kabini at all? heh - I spent great time to adding glamor to carefully minimized minimyth2 image - just because on many places it is stated that mesa's radeonsi manda= tory requires glamor....=20 br --=20 You are receiving this mail because: You are the assignee for the bug. --1413880521.50F8df0.25308 Date: Tue, 21 Oct 2014 08:35:21 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 11 on bug 84944<= /a> from warpme@o2.pl
(In reply to Christian K=C3=B6nig from comment #9)
> (In reply to warpme from comment #7)
> > (In reply to Christian K=C3=B6nig from comment #5)
> > > The deinterlacer is hardware independent and so it's rather =
unlikely that it
> > > is the source of the problem.
> > >=20
> > > Can you grab a trace of MythTV with VDPAU_TRACE=3D1 in the e=
nvironment once
> > > with and once without deinterlacing enabled? This way we can=
 see what MythTV
> > > is actually doing.
> >=20
> > Adding VDPAU_TRACE=3D1 causes stop working VDPAU (MythTV switches=
 to ffmpeg).
> > I can try to investigate this - if You believe it is worth....=20
>=20
> Yes, we should definitely investigate what MythTV is doing here.
>=20
> > For me results from tests Michel suggested shows issue is within =
GLAMOR as
> > Brazos without GLAMOR works OK while Brazos with GLAMOR NOK. As K=
abini by
> > default requires GLAMOR - by default I have issue on Kabini.=20
>=20
> EXA on Brazos is tear free most of the time because we sync operations=
 to
> the vblank using a hack. That hack isn't supported on GLAMOR and so GL=
AMOR
> operations are not synced to vblank at all (Michel knows more about th=
is).
>=20
> But the root cause is something completely different, cause GLAMOR sho=
uldn't
> be used in the first place in this situation.

Well - radeonsi can't work here without glamor. Forcing EXA gives following=
 in
xorg log:

(WW) RADEON(0): EXA not supported, using glamor

>=20
> GLAMOR is made to accelerate things like window movements and text dra=
wing.
> For fullscreen video playback there should be a page flip operation us=
ed.
>=20
> Please try to investigate what MythTV is actually doing different here=
 to
> cause the page flipping to not work correctly.

mythtv does exactly the same on Kabini like on Brazos. I'm using exactly the
same PXE booted image. Also all configs are the same as I'm simply booting =
the
same OS image + configs just on 2 different HW platforms. I believe all HW
depended things are purely and only internal to xserver and mesa.

Maybe Kabini's xserver log output about "EXA not supported" is cl=
ue here? Is
EXA supported on Kabini at all?

heh - I spent great time to adding glamor to carefully minimized minimyth2
image - just because on many places it is stated that mesa's radeonsi manda=
tory
requires glamor....=20

br


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1413880521.50F8df0.25308-- --===============1509577071== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1509577071==--