From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Fri, 30 Sep 2016 14:35:22 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0680362024==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id DB07F6EA59 for ; Fri, 30 Sep 2016 14:35:22 +0000 (UTC) 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 --===============0680362024== Content-Type: multipart/alternative; boundary="14752461220.bfEc3.387"; charset="UTF-8" --14752461220.bfEc3.387 Date: Fri, 30 Sep 2016 14:35:22 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 Bug ID: 97988 Summary: [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: kai@dev.carbon-project.org QA Contact: dri-devel@lists.freedesktop.org Created attachment 126902 --> https://bugs.freedesktop.org/attachment.cgi?id=3D126902&action=3Dedit mpv --hwdec=3Dvdpau --vo=3Dopengl-hq I noticed, that when I play videos with mpv using VDPAU I'm getting an image that looks like deinterlacing/anti-aliasing is not working, making fine structures/patterns or text look ugly/unreadable. Playing the same video wi= th the same stack but using VA-API doesn't exhibit this issue. Attached you'll find a screenshot taken with VDPAU when playing a video usi= ng mpv --hwdec=3Dvdpau --vo=3Dopengl-hq The only difference for the VA-API playback is using "--hwdec=3Dvaapi". I w= ould say that this is a regression, but I can't remember when it started. :-( The stack showing this issue is (Debian testing as a base): GPU: Hawaii PRO [Radeon R9 290] (ChipID =3D 0x67b1) Mesa: Git:master/e4b585f009 libdrm: 2.4.70-1 LLVM: SVN:trunk/r282761 (4.0 devel) X.Org: 2:1.18.4-1 Linux: 4.7.5 Firmware: firmware-amd-graphics/20160824-1 libclc: Git:master/88b82a6f70 DDX (amdgpu): 1.1.2-1 Let me know, if you need anything else. --=20 You are receiving this mail because: You are the assignee for the bug.= --14752461220.bfEc3.387 Date: Fri, 30 Sep 2016 14:35:22 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 97988
Summary [radeonsi] playing back videos with VDPAU exhibits deinterlac= ing/anti-aliasing issues not visible with VA-API
Product Mesa
Version git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter kai@dev.carbon-project.org
QA Contact dri-devel@lists.freedesktop.org

Created att=
achment 126902 [details]
mpv --hwdec=3Dvdpau --vo=3Dopengl-hq

I noticed, that when I play videos with mpv using VDPAU I'm getting an image
that looks like deinterlacing/anti-aliasing is not working, making fine
structures/patterns or text look ugly/unreadable. Playing the same video wi=
th
the same stack but using VA-API doesn't exhibit this issue.

Attached you'll find a screenshot taken with VDPAU when playing a video usi=
ng
 mpv --hwdec=3Dvdpau --vo=3Dopengl-hq
The only difference for the VA-API playback is using "--hwdec=3Dvaapi&=
quot;. I would
say that this is a regression, but I can't remember when it started. :-(

The stack showing this issue is (Debian testing as a base):
GPU: Hawaii PRO [Radeon R9 290] (ChipID =3D 0x67b1)
Mesa: Git:master/e4b585f009
libdrm: 2.4.70-1
LLVM: SVN:trunk/r282761 (4.0 devel)
X.Org: 2:1.18.4-1
Linux: 4.7.5
Firmware: firmware-amd-graphics/20160824-1
libclc: Git:master/88b82a6f70
DDX (amdgpu): 1.1.2-1

Let me know, if you need anything else.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14752461220.bfEc3.387-- --===============0680362024== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0680362024==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Fri, 30 Sep 2016 14:36:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0119809647==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C7E0B6EA59 for ; Fri, 30 Sep 2016 14:36:17 +0000 (UTC) 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 --===============0119809647== Content-Type: multipart/alternative; boundary="14752461770.6b5C3f.486"; charset="UTF-8" --14752461770.6b5C3f.486 Date: Fri, 30 Sep 2016 14:36:17 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #1 from Kai --- Created attachment 126903 --> https://bugs.freedesktop.org/attachment.cgi?id=3D126903&action=3Dedit mpv --hwdec=3Dvaapi --vo=3Dopengl-hq (good rendering for reference) --=20 You are receiving this mail because: You are the assignee for the bug.= --14752461770.6b5C3f.486 Date: Fri, 30 Sep 2016 14:36:17 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 1 on bug 97988<= /a> from Kai
Created attachment 126903 [details]
mpv --hwdec=3Dvaapi --vo=3Dopengl-hq (good rendering for reference)


You are receiving this mail because:
  • You are the assignee for the bug.
= --14752461770.6b5C3f.486-- --===============0119809647== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0119809647==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Fri, 30 Sep 2016 14:37:58 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0778155568==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 664956EA63 for ; Fri, 30 Sep 2016 14:37:58 +0000 (UTC) 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 --===============0778155568== Content-Type: multipart/alternative; boundary="14752462780.6dD47A.382"; charset="UTF-8" --14752462780.6dD47A.382 Date: Fri, 30 Sep 2016 14:37:58 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #2 from Christian K=C3=B6nig --- Does that happen as well with "mpv -hwdec vdpau -vo vdpau" ? Could as well be a problem in mpv. --=20 You are receiving this mail because: You are the assignee for the bug.= --14752462780.6dD47A.382 Date: Fri, 30 Sep 2016 14:37:58 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 2 on bug 97988<= /a> from Christian K=C3=B6nig
Does that happen as well with "mpv -hwdec vdpau -vo vdpau=
" ?

Could as well be a problem in mpv.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14752462780.6dD47A.382-- --===============0778155568== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0778155568==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Fri, 30 Sep 2016 14:43:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1430159850==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 430B76EA69 for ; Fri, 30 Sep 2016 14:43:24 +0000 (UTC) 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 --===============1430159850== Content-Type: multipart/alternative; boundary="14752466040.8eaF3EFb.968"; charset="UTF-8" --14752466040.8eaF3EFb.968 Date: Fri, 30 Sep 2016 14:43:24 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #3 from Kai --- (In reply to Christian K=C3=B6nig from comment #2) > Does that happen as well with "mpv -hwdec vdpau -vo vdpau" ? No, it doesn't! > Could as well be a problem in mpv. So this is a MPV issue then? --=20 You are receiving this mail because: You are the assignee for the bug.= --14752466040.8eaF3EFb.968 Date: Fri, 30 Sep 2016 14:43:24 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 3 on bug 97988<= /a> from Kai
(In reply to Christian K=C3=B6nig from comment #2)
> Does that happen as well with "mpv -hwdec v=
dpau -vo vdpau" ?

No, it doesn't!

> Could as well be a problem in mpv.

So this is a MPV issue then?


You are receiving this mail because:
  • You are the assignee for the bug.
= --14752466040.8eaF3EFb.968-- --===============1430159850== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1430159850==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Fri, 30 Sep 2016 14:44:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1071214945==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E04E06EA6B for ; Fri, 30 Sep 2016 14:44:55 +0000 (UTC) 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 --===============1071214945== Content-Type: multipart/alternative; boundary="14752466950.DbcE.1025"; charset="UTF-8" --14752466950.DbcE.1025 Date: Fri, 30 Sep 2016 14:44:55 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #4 from Grigori Goronzy --- Yeah, this is an issue with the GL interop. I can reproduce it here, so may= be I should take a look at it. --=20 You are receiving this mail because: You are the assignee for the bug.= --14752466950.DbcE.1025 Date: Fri, 30 Sep 2016 14:44:55 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 4 on bug 97988<= /a> from Grigori Goronzy
Yeah, this is an issue with the GL interop. I can reproduce it=
 here, so maybe I
should take a look at it.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14752466950.DbcE.1025-- --===============1071214945== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1071214945==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Fri, 30 Sep 2016 17:48:07 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0623018222==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 208E86E198 for ; Fri, 30 Sep 2016 17:48:07 +0000 (UTC) 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 --===============0623018222== Content-Type: multipart/alternative; boundary="14752576870.29daBCf.13408"; charset="UTF-8" --14752576870.29daBCf.13408 Date: Fri, 30 Sep 2016 17:48:06 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #5 from Christian K=C3=B6nig --- Could as well be a problem within Mesa. Grigori if you could take a look that would be great. Thanks in advance, Christian. --=20 You are receiving this mail because: You are the assignee for the bug.= --14752576870.29daBCf.13408 Date: Fri, 30 Sep 2016 17:48:07 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 5 on bug 97988<= /a> from Christian K=C3=B6nig
Could as well be a problem within Mesa.

Grigori if you could take a look that would be great.

Thanks in advance,
Christian.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14752576870.29daBCf.13408-- --===============0623018222== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0623018222==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Fri, 30 Sep 2016 18:55:20 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0416608505==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id B195B6EABF for ; Fri, 30 Sep 2016 18:55:20 +0000 (UTC) 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 --===============0416608505== Content-Type: multipart/alternative; boundary="14752617200.DF8bdeC.17402"; charset="UTF-8" --14752617200.DF8bdeC.17402 Date: Fri, 30 Sep 2016 18:55:20 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #6 from andreaskem@web.de --- That is strange. This sounds very much like a problem I and another user encountered with an older version of Mesa: https://github.com/mpv-player/mpv/issues/3317 https://bugs.freedesktop.org/show_bug.cgi?id=3D96860 Upgrading to Mesa 12.0.0 fixed it, however. I cannot really provide further clues as I am currently not seeing the issue. --=20 You are receiving this mail because: You are the assignee for the bug.= --14752617200.DF8bdeC.17402 Date: Fri, 30 Sep 2016 18:55:20 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 6 on bug 97988<= /a> from andreaskem@web.d= e
That is strange. This sounds very much like a problem I and an=
other user
encountered with an older version of Mesa:

https://github.co=
m/mpv-player/mpv/issues/3317
https://bugs.freedesktop.org/show_bug.c=
gi?id=3D96860

Upgrading to Mesa 12.0.0 fixed it, however. I cannot really provide further
clues as I am currently not seeing the issue.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14752617200.DF8bdeC.17402-- --===============0416608505== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0416608505==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Fri, 30 Sep 2016 20:48:31 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1510461856==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4DE906E007 for ; Fri, 30 Sep 2016 20:48:31 +0000 (UTC) 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 --===============1510461856== Content-Type: multipart/alternative; boundary="14752685110.64ED.23769"; charset="UTF-8" --14752685110.64ED.23769 Date: Fri, 30 Sep 2016 20:48:31 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #7 from Andy Furniss --- Still not quite right with vaapi or before this, but that's a different har= d to see issue without a res test of the correct height. This one seems to start with - commit 16be87c904293c2e53d50cc3519789a604a6a33b Author: Marek Ol=C5=A1=C3=A1k Date: Tue Sep 13 14:25:44 2016 +0200 radeonsi: get rid of img/buf/sampler descriptor preloading (v2) 26011 shaders in 14651 tests Totals: SGPRS: 1251920 -> 1152636 (-7.93 %) VGPRS: 728421 -> 728198 (-0.03 %) Spilled SGPRs: 16644 -> 3776 (-77.31 %) Spilled VGPRs: 369 -> 369 (0.00 %) Scratch VGPRs: 1344 -> 1344 (0.00 %) dwords per thread Code Size: 36001064 -> 35835152 (-0.46 %) bytes LDS: 767 -> 767 (0.00 %) blocks Max Waves: 222221 -> 222372 (0.07 %) Wait states: 0 -> 0 (0.00 %) v2: merge codepaths where possible --=20 You are receiving this mail because: You are the assignee for the bug.= --14752685110.64ED.23769 Date: Fri, 30 Sep 2016 20:48:31 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 7 on bug 97988<= /a> from Andy Furniss
Still not quite right with vaapi or before this, but that's a =
different hard to
see issue without a res test of the correct height.

This one seems to start with -

commit 16be87c904293c2e53d50cc3519789a604a6a33b
Author: Marek Ol=C5=A1=C3=A1k <marek.olsak@amd.com>
Date:   Tue Sep 13 14:25:44 2016 +0200

    radeonsi: get rid of img/buf/sampler descriptor preloading (v2)

    26011 shaders in 14651 tests
    Totals:
    SGPRS: 1251920 -> 1152636 (-7.93 %)
    VGPRS: 728421 -> 728198 (-0.03 %)
    Spilled SGPRs: 16644 -> 3776 (-77.31 %)
    Spilled VGPRs: 369 -> 369 (0.00 %)
    Scratch VGPRs: 1344 -> 1344 (0.00 %) dwords per thread
    Code Size: 36001064 -> 35835152 (-0.46 %) bytes
    LDS: 767 -> 767 (0.00 %) blocks
    Max Waves: 222221 -> 222372 (0.07 %)
    Wait states: 0 -> 0 (0.00 %)

    v2: merge codepaths where possible


You are receiving this mail because:
  • You are the assignee for the bug.
= --14752685110.64ED.23769-- --===============1510461856== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1510461856==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Fri, 30 Sep 2016 22:58:22 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0233231566==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id CD8956EAD3 for ; Fri, 30 Sep 2016 22:58:21 +0000 (UTC) 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 --===============0233231566== Content-Type: multipart/alternative; boundary="14752763010.fD09e4b.30667"; charset="UTF-8" --14752763010.fD09e4b.30667 Date: Fri, 30 Sep 2016 22:58:21 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #8 from Grigori Goronzy --- Here's a bit of background: Earlier, mpv used interop with OutputSurfaces. That is, it rendered the vid= eo into an RGB surface and then used that for its own procesing (scaling, rendering OSD on top, etc.). Now recently, mpv has switched to interop with VideoSurfaces. That is, it m= aps four fields of luma/chroma planes. These are split up into top and bottom field, just as the spec for the interop extension says: https://www.opengl.org/registry/specs/NV/vdpau_interop.txt mpv then weaves the fields and does color space conversion, scaling, etc. Things get wrong with the weaving, and I found some very suspicious code in Mesa: https://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/state_tracker/st_vdpau= .c#n82 Here a sampler is returned based on texture name index, and the same plane sampler is used for top and bottom field. That can't be right at all. Is the sampler possibly mangled somewhere else to make it point to the right field= s? It does not look like it, but maybe I'm just missing something. This really makes me wonder whether VideoSurface interop ever worked correc= tly. --=20 You are receiving this mail because: You are the assignee for the bug.= --14752763010.fD09e4b.30667 Date: Fri, 30 Sep 2016 22:58:21 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 8 on bug 97988<= /a> from Grigori Goronzy
Here's a bit of background:

Earlier, mpv used interop with OutputSurfaces. That is, it rendered the vid=
eo
into an RGB surface and then used that for its own procesing (scaling,
rendering OSD on top, etc.).

Now recently, mpv has switched to interop with VideoSurfaces. That is, it m=
aps
four fields of luma/chroma planes. These are split up into top and bottom
field, just as the spec for the interop extension says:

http=
s://www.opengl.org/registry/specs/NV/vdpau_interop.txt

mpv then weaves the fields and does color space conversion, scaling, etc.


Things get wrong with the weaving, and I found some very suspicious code in
Mesa:

https://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/sta=
te_tracker/st_vdpau.c#n82

Here a sampler is returned based on texture name index, and the same plane
sampler is used for top and bottom field. That can't be right at all. Is the
sampler possibly mangled somewhere else to make it point to the right field=
s?
It does not look like it, but maybe I'm just missing something.

This really makes me wonder whether VideoSurface interop ever worked correc=
tly.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14752763010.fD09e4b.30667-- --===============0233231566== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0233231566==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Fri, 30 Sep 2016 23:34:57 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0831636131==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 990EE6EADF for ; Fri, 30 Sep 2016 23:34:57 +0000 (UTC) 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 --===============0831636131== Content-Type: multipart/alternative; boundary="14752784970.B6faA5b.32377"; charset="UTF-8" --14752784970.B6faA5b.32377 Date: Fri, 30 Sep 2016 23:34:57 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #9 from Grigori Goronzy --- Sorry, it's something else. The field is set up later by pointing to the ri= ght layer. So there's something else going wrong. Andy, I can confirm that reverting to that commit fixes it. I'll keep looking. --=20 You are receiving this mail because: You are the assignee for the bug.= --14752784970.B6faA5b.32377 Date: Fri, 30 Sep 2016 23:34:57 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 9 on bug 97988<= /a> from Grigori Goronzy
Sorry, it's something else. The field is set up later by point=
ing to the right
layer. So there's something else going wrong. Andy, I can confirm that
reverting to that commit fixes it. I'll keep looking.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14752784970.B6faA5b.32377-- --===============0831636131== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0831636131==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Sat, 01 Oct 2016 14:38:46 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1129265464==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 38A8C6E148 for ; Sat, 1 Oct 2016 14:38:46 +0000 (UTC) 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 --===============1129265464== Content-Type: multipart/alternative; boundary="14753327260.2cBD.10571"; charset="UTF-8" --14753327260.2cBD.10571 Date: Sat, 1 Oct 2016 14:38:46 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #10 from Grigori Goronzy --- Created attachment 126946 --> https://bugs.freedesktop.org/attachment.cgi?id=3D126946&action=3Dedit Weave shader dumps It looks like LLVM miscompiles the weave fragment shader due to the changes= to descriptor loading. See the attached file. With these changes, LLVM generat= es some really odd looking and inefficient code in this case, and the two samp= le instructions are somehow folded together, which cannot possibly work. Someone proficient in LLVM can probably figure out what is going wrong. --=20 You are receiving this mail because: You are the assignee for the bug.= --14753327260.2cBD.10571 Date: Sat, 1 Oct 2016 14:38:46 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 10 on bug 97988<= /a> from Grigori Goronzy
Created attachment 126946=
 [details]
Weave shader dumps

It looks like LLVM miscompiles the weave fragment shader due to the changes=
 to
descriptor loading. See the attached file. With these changes, LLVM generat=
es
some really odd looking and inefficient code in this case, and the two samp=
le
instructions are somehow folded together, which cannot possibly work.

Someone proficient in LLVM can probably figure out what is going wrong.
        


You are receiving this mail because:
  • You are the assignee for the bug.
= --14753327260.2cBD.10571-- --===============1129265464== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1129265464==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Sat, 01 Oct 2016 18:41:03 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0962322608==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C36D76E130 for ; Sat, 1 Oct 2016 18:41:02 +0000 (UTC) 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 --===============0962322608== Content-Type: multipart/alternative; boundary="14753472620.FbC9C.22853"; charset="UTF-8" --14753472620.FbC9C.22853 Date: Sat, 1 Oct 2016 18:41:02 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #11 from Marek Ol=C5=A1=C3=A1k --- Thanks Grigori. GLSL: color =3D fract(gl_FragCoord.y / 2) < 0.5 ? texture(texture0, texcoord0) : texture(texture1, texcoord0); texture0 and texture1 are SMEM loads. LLVM (SimplifyCFG) transforms it to: color =3D texture(fract(gl_FragCoord.y / 2) < 0.5 ? texture0 : texture1, texcoord0); That's a nice transformation. You don't have to use 2 SMEM loads, you can j= ust use one SMEM load depending on the result of the condition. The problem is gl_FragCoord.y is a VGPR and texture0/1 are SGPRs, therefore flat VMEM loads are used to load the descriptors. However, image_sample requires descriptors in SGPRs, so v_readfirstlane is used. That effectively uses the result of the condition from the first active lane, discarding the results from all other lanes. The result would be exactly the same if the compiler did: v_readfirstlane s0, gl_FragCoord.y; The test case seems pretty trivial I wonder how many other apps are affecte= d. --=20 You are receiving this mail because: You are the assignee for the bug.= --14753472620.FbC9C.22853 Date: Sat, 1 Oct 2016 18:41:02 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 11 on bug 97988<= /a> from Marek Ol=C5=A1=C3=A1k
Thanks Grigori.

GLSL:
  color =3D fract(gl_FragCoord.y / 2) < 0.5 ?
             texture(texture0, texcoord0) :
             texture(texture1, texcoord0);

texture0 and texture1 are SMEM loads.

LLVM (SimplifyCFG) transforms it to:
  color =3D texture(fract(gl_FragCoord.y / 2) < 0.5 ? texture0 : texture=
1,
                  texcoord0);

That's a nice transformation. You don't have to use 2 SMEM loads, you can j=
ust
use one SMEM load depending on the result of the condition.

The problem is gl_FragCoord.y is a VGPR and texture0/1 are SGPRs, therefore
flat VMEM loads are used to load the descriptors. However, image_sample
requires descriptors in SGPRs, so v_readfirstlane is used. That effectively
uses the result of the condition from the first active lane, discarding the
results from all other lanes. The result would be exactly the same if the
compiler did: v_readfirstlane s0, gl_FragCoord.y;

The test case seems pretty trivial I wonder how many other apps are affecte=
d.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14753472620.FbC9C.22853-- --===============0962322608== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0962322608==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Mon, 03 Oct 2016 17:29:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0959673957==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id F0D586E58F for ; Mon, 3 Oct 2016 17:29:37 +0000 (UTC) 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 --===============0959673957== Content-Type: multipart/alternative; boundary="14755157770.CDE62Ede.13667"; charset="UTF-8" --14755157770.CDE62Ede.13667 Date: Mon, 3 Oct 2016 17:29:37 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #12 from Tom Stellard --- (In reply to Marek Ol=C5=A1=C3=A1k from comment #11) > Thanks Grigori. >=20 > GLSL: > color =3D fract(gl_FragCoord.y / 2) < 0.5 ? > texture(texture0, texcoord0) : > texture(texture1, texcoord0); >=20 > texture0 and texture1 are SMEM loads. >=20 > LLVM (SimplifyCFG) transforms it to: > color =3D texture(fract(gl_FragCoord.y / 2) < 0.5 ? texture0 : texture1, > texcoord0); >=20 > That's a nice transformation. You don't have to use 2 SMEM loads, you can > just use one SMEM load depending on the result of the condition. >=20 > The problem is gl_FragCoord.y is a VGPR and texture0/1 are SGPRs, therefo= re > flat VMEM loads are used to load the descriptors. However, image_sample > requires descriptors in SGPRs, so v_readfirstlane is used. That effective= ly > uses the result of the condition from the first active lane, discarding t= he > results from all other lanes. The result would be exactly the same if the > compiler did: v_readfirstlane s0, gl_FragCoord.y; >=20 > The test case seems pretty trivial I wonder how many other apps are affec= ted. I think the best solution here would be to teach the backend how to do a sc= alar select based on value of vccz. --=20 You are receiving this mail because: You are the assignee for the bug.= --14755157770.CDE62Ede.13667 Date: Mon, 3 Oct 2016 17:29:37 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 12 on bug 97988<= /a> from Tom Stellard
(In reply to Marek Ol=C5=A1=C3=A1k from comment #11)
> Thanks Grigori.
>=20
> GLSL:
>   color =3D fract(gl_FragCoord.y / 2) < 0.5 ?
>              texture(texture0, texcoord0) :
>              texture(texture1, texcoord0);
>=20
> texture0 and texture1 are SMEM loads.
>=20
> LLVM (SimplifyCFG) transforms it to:
>   color =3D texture(fract(gl_FragCoord.y / 2) < 0.5 ? texture0 : te=
xture1,
>                   texcoord0);
>=20
> That's a nice transformation. You don't have to use 2 SMEM loads, you =
can
> just use one SMEM load depending on the result of the condition.
>=20
> The problem is gl_FragCoord.y is a VGPR and texture0/1 are SGPRs, ther=
efore
> flat VMEM loads are used to load the descriptors. However, image_sample
> requires descriptors in SGPRs, so v_readfirstlane is used. That effect=
ively
> uses the result of the condition from the first active lane, discardin=
g the
> results from all other lanes. The result would be exactly the same if =
the
> compiler did: v_readfirstlane s0, gl_FragCoord.y;
>=20
> The test case seems pretty trivial I wonder how many other apps are af=
fected.

I think the best solution here would be to teach the backend how to do a sc=
alar
select based on value of vccz.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14755157770.CDE62Ede.13667-- --===============0959673957== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0959673957==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Mon, 03 Oct 2016 17:55:57 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1043196800==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 82FB56E599 for ; Mon, 3 Oct 2016 17:55:57 +0000 (UTC) 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 --===============1043196800== Content-Type: multipart/alternative; boundary="14755173570.DaBaB4Dc.15531"; charset="UTF-8" --14755173570.DaBaB4Dc.15531 Date: Mon, 3 Oct 2016 17:55:57 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #13 from Marek Ol=C5=A1=C3=A1k --- (In reply to Tom Stellard from comment #12) >=20 > I think the best solution here would be to teach the backend how to do a > scalar select based on value of vccz. You are missing the point. The condition code (VCC) isn't the same across a= ll threads. The problem is that the conditional assignment is transformed into= a form that makes descriptor load addresses non-uniform (dependent on a VGPR). There is nothing the AMDGPU backend can do about it. It's not a problem in = the backend. --=20 You are receiving this mail because: You are the assignee for the bug.= --14755173570.DaBaB4Dc.15531 Date: Mon, 3 Oct 2016 17:55:57 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 13 on bug 97988<= /a> from Marek Ol=C5=A1=C3=A1k
(In reply to Tom Stellard from comment #12)
>=20
> I think the best solution here would be to teach the backend how to do=
 a
> scalar select based on value of vccz.

You are missing the point. The condition code (VCC) isn't the same across a=
ll
threads. The problem is that the conditional assignment is transformed into=
 a
form that makes descriptor load addresses non-uniform (dependent on a VGPR).
There is nothing the AMDGPU backend can do about it. It's not a problem in =
the
backend.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14755173570.DaBaB4Dc.15531-- --===============1043196800== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1043196800==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Tue, 04 Oct 2016 12:27:15 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1984985809==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B08006E628 for ; Tue, 4 Oct 2016 12:27:15 +0000 (UTC) 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 --===============1984985809== Content-Type: multipart/alternative; boundary="14755840350.11e9258.13679"; charset="UTF-8" --14755840350.11e9258.13679 Date: Tue, 4 Oct 2016 12:27:15 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #14 from Christian K=C3=B6nig --- (In reply to Marek Ol=C5=A1=C3=A1k from comment #13) > (In reply to Tom Stellard from comment #12) > >=20 > > I think the best solution here would be to teach the backend how to do a > > scalar select based on value of vccz. >=20 > You are missing the point. The condition code (VCC) isn't the same across > all threads. The problem is that the conditional assignment is transformed > into a form that makes descriptor load addresses non-uniform (dependent o= n a > VGPR). There is nothing the AMDGPU backend can do about it. It's not a > problem in the backend. Well the backend could iterate over all the variants to handle that, but I = have strong doubts that this would result in optimal performance. So I think the best solution for now would be to mark the texture intrinsic= in a way which disallows such optimizations. --=20 You are receiving this mail because: You are the assignee for the bug.= --14755840350.11e9258.13679 Date: Tue, 4 Oct 2016 12:27:15 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 14 on bug 97988<= /a> from Christian K=C3=B6nig
(In reply to Marek Ol=C5=A1=C3=A1k from comment #13)
> (In reply to Tom Stellard from comment #12)
> >=20
> > I think the best solution here would be to teach the backend how =
to do a
> > scalar select based on value of vccz.
>=20
> You are missing the point. The condition code (VCC) isn't the same acr=
oss
> all threads. The problem is that the conditional assignment is transfo=
rmed
> into a form that makes descriptor load addresses non-uniform (dependen=
t on a
> VGPR). There is nothing the AMDGPU backend can do about it. It's not a
> problem in the backend.

Well the backend could iterate over all the variants to handle that, but I =
have
strong doubts that this would result in optimal performance.

So I think the best solution for now would be to mark the texture intrinsic=
 in
a way which disallows such optimizations.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14755840350.11e9258.13679-- --===============1984985809== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1984985809==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Tue, 04 Oct 2016 15:40:28 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0019385383==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id DA91F6E6BB for ; Tue, 4 Oct 2016 15:40:28 +0000 (UTC) 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 --===============0019385383== Content-Type: multipart/alternative; boundary="14755956280.546f.25622"; charset="UTF-8" --14755956280.546f.25622 Date: Tue, 4 Oct 2016 15:40:28 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #15 from Marek Ol=C5=A1=C3=A1k --- Created attachment 126996 --> https://bugs.freedesktop.org/attachment.cgi?id=3D126996&action=3Dedit piglit test The attached test reproduces the issue. CFGSimplificationPass is the culpri= t. Note that CFGSimplificationPass also doesn't preserve the !amdgpu.uniform metadata when transforming the loads, which is a change in behavior. --=20 You are receiving this mail because: You are the assignee for the bug.= --14755956280.546f.25622 Date: Tue, 4 Oct 2016 15:40:28 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 15 on bug 97988<= /a> from Marek Ol=C5=A1=C3=A1k
Created attachment 126996 [d=
etails] [review]
piglit test

The attached test reproduces the issue. CFGSimplificationPass is the culpri=
t.

Note that CFGSimplificationPass also doesn't preserve the !amdgpu.uniform
metadata when transforming the loads, which is a change in behavior.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14755956280.546f.25622-- --===============0019385383== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0019385383==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Tue, 04 Oct 2016 16:01:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0137035062==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 87B4F6E6CC for ; Tue, 4 Oct 2016 16:01:59 +0000 (UTC) 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 --===============0137035062== Content-Type: multipart/alternative; boundary="14755969190.6B2cff.26859"; charset="UTF-8" --14755969190.6B2cff.26859 Date: Tue, 4 Oct 2016 16:01:59 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #16 from Nicolai H=C3=A4hnle --- Looks like we'd need the opposite of the convergent attribute. And that attribute should only apply to one argument of the texture sampling intrins= ic (i.e. not to the texture coordinate). I don't know if something like that already exists in LLVM. --=20 You are receiving this mail because: You are the assignee for the bug.= --14755969190.6B2cff.26859 Date: Tue, 4 Oct 2016 16:01:59 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 16 on bug 97988<= /a> from Nicolai H=C3=A4hnle
Looks like we'd need the opposite of the convergent attribute.=
 And that
attribute should only apply to one argument of the texture sampling intrins=
ic
(i.e. not to the texture coordinate). I don't know if something like that
already exists in LLVM.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14755969190.6B2cff.26859-- --===============0137035062== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0137035062==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Tue, 25 Oct 2016 09:46:41 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1244153638==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2A18D6E6A1 for ; Tue, 25 Oct 2016 09:46:41 +0000 (UTC) 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 --===============1244153638== Content-Type: multipart/alternative; boundary="14773888010.Efde2fA.6779"; charset="UTF-8" --14773888010.Efde2fA.6779 Date: Tue, 25 Oct 2016 09:46:41 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #17 from Andy Furniss --- (In reply to Tom Stellard from comment #12) > (In reply to Marek Ol=C5=A1=C3=A1k from comment #11) > > The test case seems pretty trivial I wonder how many other apps are aff= ected. I don't know the answer to that, but I've just noticed that a debug build of mesa will catch the issue with mpv - mpv: state_tracker/st_sampler_view.c:481: st_get_texture_sampler_view_from_stobj: Assertion `stObj->base.MinLayer =3D= =3D view->u.tex.first_layer' failed. --=20 You are receiving this mail because: You are the assignee for the bug.= --14773888010.Efde2fA.6779 Date: Tue, 25 Oct 2016 09:46:41 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 17 on bug 97988<= /a> from Andy Furniss
(In reply to Tom Stellard from comment #12)
> (In reply to Marek Ol=C5=A1=C3=A1k from comment #11)

> > The test case seems pretty trivial I wonder=
 how many other apps are affected.

I don't know the answer to that, but I've just noticed that a debug build of
mesa will catch the issue with mpv -

mpv: state_tracker/st_sampler_view.c:481:
st_get_texture_sampler_view_from_stobj: Assertion `stObj->base.MinLayer =
=3D=3D
view->u.tex.first_layer' failed.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14773888010.Efde2fA.6779-- --===============1244153638== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1244153638==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Tue, 25 Oct 2016 10:19:54 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1771521472==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 57FDC6E6AF for ; Tue, 25 Oct 2016 10:19:54 +0000 (UTC) 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 --===============1771521472== Content-Type: multipart/alternative; boundary="14773907941.e9624f64e.9626"; charset="UTF-8" --14773907941.e9624f64e.9626 Date: Tue, 25 Oct 2016 10:19:54 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #18 from Marek Ol=C5=A1=C3=A1k --- (In reply to Andy Furniss from comment #17) > mpv: state_tracker/st_sampler_view.c:481: > st_get_texture_sampler_view_from_stobj: Assertion `stObj->base.MinLayer = =3D=3D > view->u.tex.first_layer' failed. That's unrelated. --=20 You are receiving this mail because: You are the assignee for the bug.= --14773907941.e9624f64e.9626 Date: Tue, 25 Oct 2016 10:19:54 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 18 on bug 97988<= /a> from Marek Ol=C5=A1=C3=A1k
(In reply to Andy Furniss from comment #17)
> mpv: state_tracker/st_sampler_view.c:481:
> st_get_texture_sampler_view_from_stobj: Assertion `stObj->base.MinL=
ayer =3D=3D
> view->u.tex.first_layer' failed.

That's unrelated.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14773907941.e9624f64e.9626-- --===============1771521472== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1771521472==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Tue, 25 Oct 2016 12:46:33 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0326435921==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 0D2416E6F7 for ; Tue, 25 Oct 2016 12:46:33 +0000 (UTC) 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 --===============0326435921== Content-Type: multipart/alternative; boundary="14773995930.ebC9b3.21330"; charset="UTF-8" --14773995930.ebC9b3.21330 Date: Tue, 25 Oct 2016 12:46:32 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #19 from Andy Furniss --- (In reply to Marek Ol=C5=A1=C3=A1k from comment #18) > (In reply to Andy Furniss from comment #17) > > mpv: state_tracker/st_sampler_view.c:481: > > st_get_texture_sampler_view_from_stobj: Assertion `stObj->base.MinLayer= =3D=3D > > view->u.tex.first_layer' failed. >=20 > That's unrelated. Oops, yea, should have checked better - just it needed the same version/com= mand line with mpv as this bug to trigger, but it does start later =3D commit e5cc84dd43be066c1dd418e32f5ad258e31a150a Author: Brian Paul Date: Fri Sep 30 16:41:46 2016 -0600 st/mesa: optimize pipe_sampler_view validation --=20 You are receiving this mail because: You are the assignee for the bug.= --14773995930.ebC9b3.21330 Date: Tue, 25 Oct 2016 12:46:33 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 19 on bug 97988<= /a> from Andy Furniss
(In reply to Marek Ol=C5=A1=C3=A1k from comment #18)
> (In reply to Andy Furniss from comment #17)
> > mpv: state_tracker/st_sampler_view.c:481:
> > st_get_texture_sampler_view_from_stobj: Assertion `stObj->base=
.MinLayer =3D=3D
> > view->u.tex.first_layer' failed.
>=20
> That's unrelated.

Oops, yea, should have checked better - just it needed the same version/com=
mand
line with mpv as this bug to trigger, but it does start later =3D

commit e5cc84dd43be066c1dd418e32f5ad258e31a150a

Author: Brian Paul <brianp@=
vmware.com>
Date:   Fri Sep 30 16:41:46 2016 -0600

    st/mesa: optimize pipe_sampler_view validation


You are receiving this mail because:
  • You are the assignee for the bug.
= --14773995930.ebC9b3.21330-- --===============0326435921== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0326435921==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Mon, 07 Nov 2016 11:10:14 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1741802171==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 6E2556E36B for ; Mon, 7 Nov 2016 11:10:14 +0000 (UTC) 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 --===============1741802171== Content-Type: multipart/alternative; boundary="14785170141.eE2B8aD.10762"; charset="UTF-8" --14785170141.eE2B8aD.10762 Date: Mon, 7 Nov 2016 11:10:14 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #20 from Nicolai H=C3=A4hnle --- Created attachment 127812 --> https://bugs.freedesktop.org/attachment.cgi?id=3D127812&action=3Dedit Mesa part of fix LLVM patch https://reviews.llvm.org/D26348 together with the attached patch= for Mesa fix this bug. --=20 You are receiving this mail because: You are the assignee for the bug.= --14785170141.eE2B8aD.10762 Date: Mon, 7 Nov 2016 11:10:14 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 20 on bug 97988<= /a> from Nicolai H=C3=A4hnle
Created attachment 127812 <=
a href=3D"attachment.cgi?id=3D127812&action=3Dedit" title=3D"Mesa part =
of fix">[details] [review]
Mesa part of fix

LLVM patch https://reviews.llvm=
.org/D26348 together with the attached patch for
Mesa fix this bug.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14785170141.eE2B8aD.10762-- --===============1741802171== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1741802171==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Mon, 07 Nov 2016 11:38:18 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1321684129==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 7C6D16E26F for ; Mon, 7 Nov 2016 11:38:18 +0000 (UTC) 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 --===============1321684129== Content-Type: multipart/alternative; boundary="14785186980.4afcF1b9.12214"; charset="UTF-8" --14785186980.4afcF1b9.12214 Date: Mon, 7 Nov 2016 11:38:18 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #21 from Andy Furniss --- (In reply to Nicolai H=C3=A4hnle from comment #20) > Created attachment 127812 [details] [review] > Mesa part of fix >=20 > LLVM patch https://reviews.llvm.org/D26348 together with the attached pat= ch > for Mesa fix this bug. Nice, will test later, but is there a actually a nice way to get a patch fr= om Phabricator that will apply from top level with git apply? I usually fail with "download raw diff" and have to search/sort out the pat= hs by hand. --=20 You are receiving this mail because: You are the assignee for the bug.= --14785186980.4afcF1b9.12214 Date: Mon, 7 Nov 2016 11:38:18 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 21 on bug 97988<= /a> from Andy Furniss
(In reply to Nicolai H=C3=A4hnle from comment #20)
> Created attachmen=
t 127812 [details] [review] [review]
> Mesa part of fix
>=20
> LLVM patch https://reviews=
.llvm.org/D26348 together with the attached patch
> for Mesa fix this bug.

Nice, will test later, but is there a actually a nice way to get a patch fr=
om
Phabricator that will apply from top level with git apply?

I usually fail with "download raw diff" and have to search/sort o=
ut the paths
by hand.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14785186980.4afcF1b9.12214-- --===============1321684129== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1321684129==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Mon, 07 Nov 2016 13:40:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0983468174==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id F18226E388 for ; Mon, 7 Nov 2016 13:40:24 +0000 (UTC) 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 --===============0983468174== Content-Type: multipart/alternative; boundary="14785260240.D7E5eaae9.19595"; charset="UTF-8" --14785260240.D7E5eaae9.19595 Date: Mon, 7 Nov 2016 13:40:24 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #22 from Andy Furniss --- (In reply to Andy Furniss from comment #21) > (In reply to Nicolai H=C3=A4hnle from comment #20) > > Created attachment 127812 [details] [review] [review] > > Mesa part of fix > >=20 > > LLVM patch https://reviews.llvm.org/D26348 together with the attached p= atch > > for Mesa fix this bug. >=20 > Nice, will test later Working OK for me. --=20 You are receiving this mail because: You are the assignee for the bug.= --14785260240.D7E5eaae9.19595 Date: Mon, 7 Nov 2016 13:40:24 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 22 on bug 97988<= /a> from Andy Furniss
(In reply to Andy Furniss from comment #21)
> (In reply to Nicolai H=C3=A4hnle from comment #20)
> > Created attachment 127812 [details] [review] [review] [review]
> > Mesa part of fix
> >=20
> > LLVM patch https://re=
views.llvm.org/D26348 together with the attached patch
> > for Mesa fix this bug.
>=20
> Nice, will test later

Working OK for me.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14785260240.D7E5eaae9.19595-- --===============0983468174== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0983468174==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Mon, 07 Nov 2016 14:20:20 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0513032842==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id CD39E6E38C for ; Mon, 7 Nov 2016 14:20:20 +0000 (UTC) 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 --===============0513032842== Content-Type: multipart/alternative; boundary="14785284201.Fd50deD5.21672"; charset="UTF-8" --14785284201.Fd50deD5.21672 Date: Mon, 7 Nov 2016 14:20:20 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #23 from Dieter N=C3=BCtzel --- (In reply to Andy Furniss from comment #21) > (In reply to Nicolai H=C3=A4hnle from comment #20) > > Created attachment 127812 [details] [review] [review] > > Mesa part of fix > >=20 > > LLVM patch https://reviews.llvm.org/D26348 together with the attached p= atch > > for Mesa fix this bug. >=20 > Nice, will test later, but is there a actually a nice way to get a patch > from Phabricator that will apply from top level with git apply? >=20 > I usually fail with "download raw diff" and have to search/sort out the > paths by hand. Hello Andy, how did you solved this? --=20 You are receiving this mail because: You are the assignee for the bug.= --14785284201.Fd50deD5.21672 Date: Mon, 7 Nov 2016 14:20:20 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 23 on bug 97988<= /a> from Dieter N=C3=BCtzel
(In reply to Andy Furniss from comment #21)
> (In reply to Nicolai H=C3=A4hnle from comment #20)
> > Created attachment 127812 [details] [review] [review] [review]
> > Mesa part of fix
> >=20
> > LLVM patch https://re=
views.llvm.org/D26348 together with the attached patch
> > for Mesa fix this bug.
>=20
> Nice, will test later, but is there a actually a nice way to get a pat=
ch
> from Phabricator that will apply from top level with git apply?
>=20
> I usually fail with "download raw diff" and have to search/s=
ort out the
> paths by hand.

Hello Andy,

how did you solved this?


You are receiving this mail because:
  • You are the assignee for the bug.
= --14785284201.Fd50deD5.21672-- --===============0513032842== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0513032842==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Mon, 07 Nov 2016 14:58:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0024806745==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3A8486E398 for ; Mon, 7 Nov 2016 14:58:59 +0000 (UTC) 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 --===============0024806745== Content-Type: multipart/alternative; boundary="14785307391.fbdCFCcd.24700"; charset="UTF-8" --14785307391.fbdCFCcd.24700 Date: Mon, 7 Nov 2016 14:58:59 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #24 from Nicolai H=C3=A4hnle --- Andy, I usually use the arc command line tool for this kind of stuff. Thanks for testing! --=20 You are receiving this mail because: You are the assignee for the bug.= --14785307391.fbdCFCcd.24700 Date: Mon, 7 Nov 2016 14:58:59 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 24 on bug 97988<= /a> from Nicolai H=C3=A4hnle
Andy, I usually use the arc command line tool for this kind of=
 stuff. Thanks
for testing!


You are receiving this mail because:
  • You are the assignee for the bug.
= --14785307391.fbdCFCcd.24700-- --===============0024806745== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0024806745==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Mon, 07 Nov 2016 15:09:08 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2114445273==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BFE1C6E3A5 for ; Mon, 7 Nov 2016 15:09:08 +0000 (UTC) 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 --===============2114445273== Content-Type: multipart/alternative; boundary="14785313482.c93B98.25582"; charset="UTF-8" --14785313482.c93B98.25582 Date: Mon, 7 Nov 2016 15:09:08 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #25 from Andy Furniss --- (In reply to Dieter N=C3=BCtzel from comment #23) > (In reply to Andy Furniss from comment #21) > > (In reply to Nicolai H=C3=A4hnle from comment #20) > > > Created attachment 127812 [details] [review] [review] [review] > > > Mesa part of fix > > >=20 > > > LLVM patch https://reviews.llvm.org/D26348 together with the attached= patch > > > for Mesa fix this bug. > >=20 > > Nice, will test later, but is there a actually a nice way to get a patch > > from Phabricator that will apply from top level with git apply? > >=20 > > I usually fail with "download raw diff" and have to search/sort out the > > paths by hand. >=20 > Hello Andy, >=20 > how did you solved this? Turned out to be easier than I remembered from my previous few efforts when (rarely) applying patches for llvm from there. All I needed to do, was wherever there is a +++ or --- followed by a path, = add a leading / to the path. I guess there is a cool command line way like Nicolai says - but I would probably end up hosing the whole thing if I tried like that :-) --=20 You are receiving this mail because: You are the assignee for the bug.= --14785313482.c93B98.25582 Date: Mon, 7 Nov 2016 15:09:08 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 25 on bug 97988<= /a> from Andy Furniss
(In reply to Dieter N=C3=BCtzel from comment #23)
> (In reply to Andy Furniss from comment #21)
> > (In reply to Nicolai H=C3=A4hnle from comment #20)
> > > Created attachment 127812=
 [details] [review] [review] [review] [review]
> > > Mesa part of fix
> > >=20
> > > LLVM patch https=
://reviews.llvm.org/D26348 together with the attached patch
> > > for Mesa fix this bug.
> >=20
> > Nice, will test later, but is there a actually a nice way to get =
a patch
> > from Phabricator that will apply from top level with git apply?
> >=20
> > I usually fail with "download raw diff" and have to sea=
rch/sort out the
> > paths by hand.
>=20
> Hello Andy,
>=20
> how did you solved this?

Turned out to be easier than I remembered from my previous few efforts when
(rarely) applying patches for llvm from there.

All I needed to do, was wherever there is a +++ or --- followed by a path, =
add
a leading / to the path.

I guess there is a cool command line way like Nicolai says - but I would
probably end up hosing the whole thing if I tried like that :-)


You are receiving this mail because:
  • You are the assignee for the bug.
= --14785313482.c93B98.25582-- --===============2114445273== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============2114445273==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Fri, 11 Nov 2016 21:17:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2061915742==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 6D6AB6E264 for ; Fri, 11 Nov 2016 21:17:59 +0000 (UTC) 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 --===============2061915742== Content-Type: multipart/alternative; boundary="14788990791.dcc6.19519"; charset="UTF-8" --14788990791.dcc6.19519 Date: Fri, 11 Nov 2016 21:17:59 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #26 from Kai --- Created attachment 127922 --> https://bugs.freedesktop.org/attachment.cgi?id=3D127922&action=3Dedit Updated version of attachment 127812 (In reply to Nicolai H=C3=A4hnle from comment #20) > Created attachment 127812 > Mesa part of fix >=20 > LLVM patch https://reviews.llvm.org/D26348 together with the attached pat= ch > for Mesa fix this bug. I can confirm, that this seems to fix the issue for me. You can have my Tested-by: Kai Wasserb=C3=A4ch Note: I had to update attachment 127812 to the attached version in order to apply it on top of current Mesa master. See below for the full stack detail= s. (In reply to Andy Furniss from comment #21) > (In reply to Nicolai H=C3=A4hnle from comment #20) > > Created attachment 127812 [details] [review] [review] > > Mesa part of fix > >=20 > > LLVM patch https://reviews.llvm.org/D26348 together with the attached p= atch > > for Mesa fix this bug. >=20 > Nice, will test later, but is there a actually a nice way to get a patch > from Phabricator that will apply from top level with git apply? >=20 > I usually fail with "download raw diff" and have to search/sort out the > paths by hand. patch -p0 is your friend. (If you use quilt: quilt import -p0) The stack used to verify the issue is fixed was (Debian testing as a base): GPU: Hawaii PRO [Radeon R9 290] (ChipID =3D 0x67b1) Mesa: Git:master/3ff9f8c532 + the modified version of attachment 127812 libdrm: 2.4.71-1 LLVM: SVN:trunk/r282761 (4.0 devel) + X.Org: 2:1.18.4-2 Linux: 4.8.7 Firmware: Git:master/a179db9791 libclc: Git:master/520743b0b7 DDX (amdgpu): 1.1.2-1 --=20 You are receiving this mail because: You are the assignee for the bug.= --14788990791.dcc6.19519 Date: Fri, 11 Nov 2016 21:17:59 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 26 on bug 97988<= /a> from Kai
Created att=
achment 127922 [details] [=
review]
Updated version of attachment 127812 [details] [review]

(In reply to Nicolai H=C3=A4hnle from comment #20)
> Created attachmen=
t 127812 [details] [review]
> Mesa part of fix
>=20
> LLVM patch https://reviews=
.llvm.org/D26348 together with the attached patch
> for Mesa fix this bug.

I can confirm, that this seems to fix the issue for me. You can have my
 Tested-by: Kai Wasserb=C3=A4ch <kai@dev.carbon-project.org>

Note: I had to update attachment 127812 =
[details] [review] to the attached version in =
order to
apply it on top of current Mesa master. See below for the full stack detail=
s.

(In reply to Andy Furniss from comm=
ent #21)
> (In reply to Nicolai H=C3=A4hnle from comment #20)
> > Created attachment 127812 [details] [review] [review] [review]
> > Mesa part of fix
> >=20
> > LLVM patch https://re=
views.llvm.org/D26348 together with the attached patch
> > for Mesa fix this bug.
>=20
> Nice, will test later, but is there a actually a nice way to get a pat=
ch
> from Phabricator that will apply from top level with git apply?
>=20
> I usually fail with "download raw diff" and have to search/s=
ort out the
> paths by hand.

patch -p0 is your friend. (If you use quilt: quilt import -p0)


The stack used to verify the issue is fixed was (Debian testing as a base):
GPU: Hawaii PRO [Radeon R9 290] (ChipID =3D 0x67b1)
Mesa: Git:master/3ff9f8c532 + the modified version of attachment 127812 [details] [review]=

libdrm: 2.4.71-1
LLVM: SVN:trunk/r282761 (4.0 devel) +
<https://rev=
iews.llvm.org/D26348?download=3Dtrue>
X.Org: 2:1.18.4-2
Linux: 4.8.7
Firmware: Git:master/a179db9791
libclc: Git:master/520743b0b7
DDX (amdgpu): 1.1.2-1


You are receiving this mail because:
  • You are the assignee for the bug.
= --14788990791.dcc6.19519-- --===============2061915742== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============2061915742==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Mon, 06 Feb 2017 12:35:54 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0353812338==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 510396E3F9 for ; Mon, 6 Feb 2017 12:35:54 +0000 (UTC) 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 --===============0353812338== Content-Type: multipart/alternative; boundary="14863845540.eAaCE0.16362"; charset="UTF-8" --14863845540.eAaCE0.16362 Date: Mon, 6 Feb 2017 12:35:54 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #27 from Kai --- Ping. This is still an issue with a current stack (Debian testing as a base), unl= ess I include attachment 127922 in my Mesa build and the LLVM patch in my LLVM build): GPU: Hawaii PRO [Radeon R9 290] (ChipID =3D 0x67b1) Mesa: Git:master/7c5629a269 + attachment 127922 and revert of 7b32ae4df5bc19c378598d6a950a6019fa64ece6 (see bug 99542) libdrm: Git:master/d4b8344363 (tag libdrm-2.4.75) LLVM: SVN:trunk/r294119 (5.0 devel) + X.Org: 2:1.19.1-4 Linux: 4.9.8 Firmware (firmware-amd-graphics): 20160824-1 libclc: Git:master/2ec7d80d5e DDX (xserver-xorg-video-amdgpu): 1.2.0-1+b1 --=20 You are receiving this mail because: You are the assignee for the bug.= --14863845540.eAaCE0.16362 Date: Mon, 6 Feb 2017 12:35:54 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 27 on bug 97988<= /a> from Kai
Ping.

This is still an issue with a current stack (Debian testing as a base), unl=
ess
I include attachment 127=
922 [details] [review]=
 in my Mesa build and the LLVM patch
<https://rev=
iews.llvm.org/D26348?download=3Dtrue> in my LLVM build):
GPU: Hawaii PRO [Radeon R9 290] (ChipID =3D 0x67b1)
Mesa: Git:master/7c5629a269 + attachment 127922 [details] [review] and revert of
7b32ae4df5bc19c378598d6a950a6019fa64ece6 (see bug 99542)
libdrm: Git:master/d4b8344363 (tag libdrm-2.4.75)
LLVM: SVN:trunk/r294119 (5.0 devel) +
<https://rev=
iews.llvm.org/D26348?download=3Dtrue>
X.Org: 2:1.19.1-4
Linux: 4.9.8
Firmware (firmware-amd-graphics): 20160824-1
libclc: Git:master/2ec7d80d5e
DDX (xserver-xorg-video-amdgpu): 1.2.0-1+b1


You are receiving this mail because:
  • You are the assignee for the bug.
= --14863845540.eAaCE0.16362-- --===============0353812338== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0353812338==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Mon, 06 Feb 2017 13:01:14 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0241470952==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 440376E3FF for ; Mon, 6 Feb 2017 13:01:14 +0000 (UTC) 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 --===============0241470952== Content-Type: multipart/alternative; boundary="14863860741.e5ed626.17975"; charset="UTF-8" --14863860741.e5ed626.17975 Date: Mon, 6 Feb 2017 13:01:14 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #28 from Kai --- (In reply to Kai from comment #27) > Mesa: Git:master/7c5629a269 + attachment 127922 and revert of 7b32ae4df5b= c19c378598d6a950a6019fa64ece6 (see bug 99542) The Mesa revision given was wrong, I meant 02264bc6f9. --=20 You are receiving this mail because: You are the assignee for the bug.= --14863860741.e5ed626.17975 Date: Mon, 6 Feb 2017 13:01:14 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 28 on bug 97988<= /a> from Kai
(In reply to Kai from =
comment #27)
> Mesa: Git:master/7c5629a269 + <=
a href=3D"attachment.cgi?id=3D127922" name=3D"attach_127922" title=3D"Updat=
ed version of attachment 127812">attachment 127922 [details] [review] and revert of 7b32ae4df5bc1=
9c378598d6a950a6019fa64ece6 (see bug 99542)

The Mesa revision given was wrong, I meant 02264bc6f9.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14863860741.e5ed626.17975-- --===============0241470952== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0241470952==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Sun, 05 Mar 2017 20:09:37 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0571677555==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 8EAF36E0EA for ; Sun, 5 Mar 2017 20:09:37 +0000 (UTC) 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 --===============0571677555== Content-Type: multipart/alternative; boundary="14887445770.CE3eb.19567"; charset="UTF-8" --14887445770.CE3eb.19567 Date: Sun, 5 Mar 2017 20:09:37 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 --- Comment #29 from Kai --- Ping. @nha: is there any progress on this? Or more specifically the LLVM change D26348? --=20 You are receiving this mail because: You are the assignee for the bug.= --14887445770.CE3eb.19567 Date: Sun, 5 Mar 2017 20:09:37 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 29 on bug 97988<= /a> from Kai
Ping.

@nha: is there any progress on this? Or more specifically the LLVM chan=
ge
D26348?


You are receiving this mail because:
  • You are the assignee for the bug.
= --14887445770.CE3eb.19567-- --===============0571677555== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0571677555==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API Date: Wed, 15 Mar 2017 13:33:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1988661664==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 7182A6E8C0 for ; Wed, 15 Mar 2017 13:33:51 +0000 (UTC) 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 --===============1988661664== Content-Type: multipart/alternative; boundary="14895848310.4cca42.7373"; charset="UTF-8" --14895848310.4cca42.7373 Date: Wed, 15 Mar 2017 13:33:51 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97988 Samuel Pitoiset changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #30 from Samuel Pitoiset --- Just pushed a workaround for this issue in Mesa. https://cgit.freedesktop.org/mesa/mesa/commit/?id=3D7751ed39e40e08e5aa0633d= 018c9f25ad17f9bb0 --=20 You are receiving this mail because: You are the assignee for the bug.= --14895848310.4cca42.7373 Date: Wed, 15 Mar 2017 13:33:51 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated Samuel Pitoiset changed bug 97988<= /a>
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED


You are receiving this mail because:
  • You are the assignee for the bug.
= --14895848310.4cca42.7373-- --===============1988661664== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1988661664==--