From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91308] Tonga UVD not working with GL_NV_vdpau_interop Date: Sat, 11 Jul 2015 15:39:31 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1207631190==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id DE2606E04E for ; Sat, 11 Jul 2015 08:39:31 -0700 (PDT) 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 --===============1207631190== Content-Type: multipart/alternative; boundary="1436629171.33edf0.21767"; charset="UTF-8" --1436629171.33edf0.21767 Date: Sat, 11 Jul 2015 15:39:31 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91308 Bug ID: 91308 Summary: Tonga UVD not working with GL_NV_vdpau_interop Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: adf.lists@gmail.com UVD seems OK generally on Tonga (barring apparently being in low power) but not with GL_NV_vdpau_interop. Tested with kodi and mpv. kodi says - ERROR: VDPAU::COutput error mapping surface DEBUG: CLinuxRendererGL::GetPlaneTextureSize - invalid size 0x0 - 0 mpv - [vo/opengl] after rendering: OpenGL error INVALID_OPERATION. glxinfo shows GL_NV_vdpau_interop present. mesa is of course agd5f, with some llvm build fixes plus a minor modification I made to advertise level 52 (as ffmpeg cli at least does check). I'll attach my diff against agd5f mesa just in case I obviously messed up! -- You are receiving this mail because: You are the assignee for the bug. --1436629171.33edf0.21767 Date: Sat, 11 Jul 2015 15:39:31 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Bug ID 91308
Summary Tonga UVD not working with GL_NV_vdpau_interop
Product DRI
Version DRI git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter adf.lists@gmail.com

UVD seems OK generally on Tonga (barring apparently being in low power) but not
with GL_NV_vdpau_interop.

Tested with kodi and mpv.

kodi says -

ERROR: VDPAU::COutput error mapping surface
DEBUG: CLinuxRendererGL::GetPlaneTextureSize - invalid size 0x0 - 0

mpv -

[vo/opengl] after rendering: OpenGL error INVALID_OPERATION.

glxinfo shows GL_NV_vdpau_interop present.

mesa is of course agd5f, with some llvm build fixes plus a minor modification I
made to advertise level 52 (as ffmpeg cli at least does check).

I'll attach my diff against agd5f mesa just in case I obviously messed up!


You are receiving this mail because:
  • You are the assignee for the bug.
--1436629171.33edf0.21767-- --===============1207631190== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1207631190==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91308] Tonga UVD not working with GL_NV_vdpau_interop Date: Sat, 11 Jul 2015 15:41:53 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0131778599==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 8AD4B6E23B for ; Sat, 11 Jul 2015 08:41:53 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0131778599== Content-Type: multipart/alternative; boundary="1436629313.BA0088Fe0.22859"; charset="UTF-8" --1436629313.BA0088Fe0.22859 Date: Sat, 11 Jul 2015 15:41:53 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91308 --- Comment #1 from Andy Furniss --- Created attachment 117060 --> https://bugs.freedesktop.org/attachment.cgi?id=117060&action=edit my diff against agd5f/mesa -- You are receiving this mail because: You are the assignee for the bug. --1436629313.BA0088Fe0.22859 Date: Sat, 11 Jul 2015 15:41:53 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 91308 from
Created attachment 117060 [details]
my diff against agd5f/mesa


You are receiving this mail because:
  • You are the assignee for the bug.
--1436629313.BA0088Fe0.22859-- --===============0131778599== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0131778599==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91308] Tonga UVD not working with GL_NV_vdpau_interop Date: Fri, 24 Jul 2015 08:32:43 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1380589341==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id D7BAA6E217 for ; Fri, 24 Jul 2015 01:32:43 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1380589341== Content-Type: multipart/alternative; boundary="1437726763.3CF71.8677"; charset="UTF-8" --1437726763.3CF71.8677 Date: Fri, 24 Jul 2015 08:32:43 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D91308 --- Comment #2 from Christian K=C3=B6nig --- Created attachment 117336 --> https://bugs.freedesktop.org/attachment.cgi?id=3D117336&action=3Dedit Possible fix This should fix the issue. --=20 You are receiving this mail because: You are the assignee for the bug. --1437726763.3CF71.8677 Date: Fri, 24 Jul 2015 08:32:43 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1437726763.3CF71.8677-- --===============1380589341== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1380589341==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91308] Tonga UVD not working with GL_NV_vdpau_interop Date: Fri, 24 Jul 2015 11:34:33 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1107500484==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E5F326EE47 for ; Fri, 24 Jul 2015 04:34:33 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1107500484== Content-Type: multipart/alternative; boundary="1437737673.fbc4ca0.4976"; charset="UTF-8" --1437737673.fbc4ca0.4976 Date: Fri, 24 Jul 2015 11:34:33 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D91308 --- Comment #3 from Andy Furniss --- (In reply to Christian K=C3=B6nig from comment #2) > Created attachment 117336 [details] [review] > Possible fix >=20 > This should fix the issue. Sort of - kodi seems OK with it but mpv is strange. With mpv if I test something small/low bitrate there's a fair chance it fai= ls with - [vo/opengl] after rendering: OpenGL error INVALID_OPERATION It seems that I can make it work reliably by setting my cpus to perf with cpufreq. I wonder if there is some timing/threading issue here - on my phenom II x4 cpufreq is quite extreme in that low is 800MHz next is 2.2 GHz. I will soon be filing another UVD issue I found - but after messing around = with it quite extensively I now need to put cpufreq into the testing and do it again! --=20 You are receiving this mail because: You are the assignee for the bug. --1437737673.fbc4ca0.4976 Date: Fri, 24 Jul 2015 11:34:33 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 3 on bug 91308<= /a> from Andy Furniss
(In reply to Christian K=C3=B6nig from comment #2)
> Created attachment 11=
7336 [details] [review] [review]
> Possible fix
>=20
> This should fix the issue.

Sort of - kodi seems OK with it but mpv is strange.

With mpv if I test something small/low bitrate there's a fair chance it fai=
ls
with -

[vo/opengl] after rendering: OpenGL error INVALID_OPERATION

It seems that I can make it work reliably by setting my cpus to perf with
cpufreq.

I wonder if there is some timing/threading issue here - on my phenom II x4
cpufreq is quite extreme in that low is 800MHz next is 2.2 GHz.

I will soon be filing another UVD issue I found - but after messing around =
with
it quite extensively I now need to put cpufreq into the testing and do it
again!


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1437737673.fbc4ca0.4976-- --===============1107500484== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1107500484==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91308] Tonga UVD not working with GL_NV_vdpau_interop Date: Fri, 24 Jul 2015 12:52:45 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2126418300==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 877016EE76 for ; Fri, 24 Jul 2015 05:52:45 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2126418300== Content-Type: multipart/alternative; boundary="1437742365.8B751.22416"; charset="UTF-8" --1437742365.8B751.22416 Date: Fri, 24 Jul 2015 12:52:45 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D91308 --- Comment #4 from Christian K=C3=B6nig --- (In reply to Andy Furniss from comment #3) > It seems that I can make it work reliably by setting my cpus to perf with > cpufreq. Sounds like some kind of race condition to me, e.g. something isn't properly protected and multi thread save. That's probably pretty hard to find. --=20 You are receiving this mail because: You are the assignee for the bug. --1437742365.8B751.22416 Date: Fri, 24 Jul 2015 12:52:45 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 4 on bug 91308<= /a> from Christian K=C3=B6nig
(In reply to Andy Furniss from comment #3)
> It seems that I can make it work reliably by set=
ting my cpus to perf with
> cpufreq.

Sounds like some kind of race condition to me, e.g. something isn't properly
protected and multi thread save.

That's probably pretty hard to find.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1437742365.8B751.22416-- --===============2126418300== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============2126418300==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91308] Tonga UVD not working with GL_NV_vdpau_interop Date: Fri, 24 Jul 2015 16:36:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1973383178==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 260456ED35 for ; Fri, 24 Jul 2015 09:36:24 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1973383178== Content-Type: multipart/alternative; boundary="1437755784.68BEBe640.30725"; charset="UTF-8" --1437755784.68BEBe640.30725 Date: Fri, 24 Jul 2015 16:36:23 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D91308 --- Comment #5 from Andy Furniss --- (In reply to Christian K=C3=B6nig from comment #4) > (In reply to Andy Furniss from comment #3) > > It seems that I can make it work reliably by setting my cpus to perf wi= th > > cpufreq. >=20 > Sounds like some kind of race condition to me, e.g. something isn't prope= rly > protected and multi thread save. >=20 > That's probably pretty hard to find. Turns out I can also provoke this with kodi if I try enough, and cpufreq pe= rf doesn't always help mpv (but usually does). --=20 You are receiving this mail because: You are the assignee for the bug. --1437755784.68BEBe640.30725 Date: Fri, 24 Jul 2015 16:36:24 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 5 on bug 91308<= /a> from Andy Furniss
(In reply to Christian K=C3=B6nig from comment #4)
> (In reply to Andy Furniss from comment #3)
> > It seems that I can make it work reliably by setting my cpus to p=
erf with
> > cpufreq.
>=20
> Sounds like some kind of race condition to me, e.g. something isn't pr=
operly
> protected and multi thread save.
>=20
> That's probably pretty hard to find.

Turns out I can also provoke this with kodi if I try enough, and cpufreq pe=
rf
doesn't always help mpv (but usually does).


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1437755784.68BEBe640.30725-- --===============1973383178== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1973383178==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91308] Tonga UVD not working with GL_NV_vdpau_interop Date: Fri, 24 Jul 2015 17:42:58 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1279724128==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 417DE6E238 for ; Fri, 24 Jul 2015 10:42:58 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1279724128== Content-Type: multipart/alternative; boundary="1437759778.fC8d1.12101"; charset="UTF-8" --1437759778.fC8d1.12101 Date: Fri, 24 Jul 2015 17:42:58 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D91308 --- Comment #6 from Christian K=C3=B6nig --- (In reply to Andy Furniss from comment #5) > (In reply to Christian K=C3=B6nig from comment #4) > > (In reply to Andy Furniss from comment #3) > > > It seems that I can make it work reliably by setting my cpus to perf = with > > > cpufreq. > >=20 > > Sounds like some kind of race condition to me, e.g. something isn't pro= perly > > protected and multi thread save. > >=20 > > That's probably pretty hard to find. >=20 > Turns out I can also provoke this with kodi if I try enough, and cpufreq > perf doesn't always help mpv (but usually does). Please try the following: Start mpv with gdb, set a break point on _mesa_er= ror and get me a backtrace where this error message is coming from. Going to be on IRC for the next hour or so for questions. --=20 You are receiving this mail because: You are the assignee for the bug. --1437759778.fC8d1.12101 Date: Fri, 24 Jul 2015 17:42:58 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 6 on bug 91308<= /a> from Christian K=C3=B6nig
(In reply to Andy Furniss from comment #5)
> (In reply to Christian K=C3=B6nig from comment #4)
> > (In reply to Andy Furniss from comment #3)
> > > It seems that I can make it work reliably by setting my cpus=
 to perf with
> > > cpufreq.
> >=20
> > Sounds like some kind of race condition to me, e.g. something isn=
't properly
> > protected and multi thread save.
> >=20
> > That's probably pretty hard to find.
>=20
> Turns out I can also provoke this with kodi if I try enough, and cpufr=
eq
> perf doesn't always help mpv (but usually does).

Please try the following: Start mpv with gdb, set a break point on _mesa_er=
ror
and get me a backtrace where this error message is coming from.

Going to be on IRC for the next hour or so for questions.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1437759778.fC8d1.12101-- --===============1279724128== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1279724128==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91308] Tonga UVD not working with GL_NV_vdpau_interop Date: Fri, 24 Jul 2015 18:26:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0447652007==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 26A776ED8D for ; Fri, 24 Jul 2015 11:26:24 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0447652007== Content-Type: multipart/alternative; boundary="1437762384.6fA2b0.19927"; charset="UTF-8" --1437762384.6fA2b0.19927 Date: Fri, 24 Jul 2015 18:26:24 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91308 --- Comment #7 from Andy Furniss --- Here's bt after hitting breakpoint - Breakpoint 1, _mesa_error (ctx=0x7fffe45b73c0, error=3829288608, fmtString=0x7fffe43e51d0 " O>\344\377\177") at main/errors.c:1451 1451 { (gdb) bt #0 _mesa_error (ctx=0x7fffe45b73c0, error=3829288608, fmtString=0x7fffe43e51d0 " O>\344\377\177") at main/errors.c:1451 #1 0x00000000005191bf in destroy_objects (hw=hw@entry=0x7fffe43e4ea0) at ../video/out/gl_hwdec_vdpau.c:81 #2 0x000000000051925f in reinit (hw=0x7fffe43e4ea0, params=0x7fffe43a4de8) at ../video/out/gl_hwdec_vdpau.c:135 #3 0x0000000000523d7a in init_video (p=0x7fffe43a4bd0) at ../video/out/gl_video.c:701 #4 gl_video_config (p=0x7fffe43a4bd0, params=params@entry=0x7fffe4302f60) at ../video/out/gl_video.c:2728 #5 0x0000000000529809 in reconfig (vo=, params=0x7fffe4302f60, flags=) at ../video/out/vo_opengl.c:204 #6 0x0000000000525303 in run_reconfig (p=) at ../video/out/vo.c:367 #7 0x00000000004b686f in mp_dispatch_queue_process (queue=0x1c936a0, timeout=timeout@entry=0) at ../misc/dispatch.c:197 #8 0x0000000000525ffd in vo_thread (ptr=0x1c93460) at ../video/out/vo.c:793 #9 0x00007ffff79b3d7a in start_thread (arg=0x7fffdffff700) at pthread_create.c:308 #10 0x00007ffff20d9a9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 -- You are receiving this mail because: You are the assignee for the bug. --1437762384.6fA2b0.19927 Date: Fri, 24 Jul 2015 18:26:24 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 7 on bug 91308 from
Here's bt after hitting breakpoint -

Breakpoint 1, _mesa_error (ctx=0x7fffe45b73c0, error=3829288608,
fmtString=0x7fffe43e51d0 " O>\344\377\177") at main/errors.c:1451
1451    {
(gdb) bt
#0  _mesa_error (ctx=0x7fffe45b73c0, error=3829288608, fmtString=0x7fffe43e51d0
" O>\344\377\177") at main/errors.c:1451
#1  0x00000000005191bf in destroy_objects (hw=hw@entry=0x7fffe43e4ea0) at
../video/out/gl_hwdec_vdpau.c:81
#2  0x000000000051925f in reinit (hw=0x7fffe43e4ea0, params=0x7fffe43a4de8) at
../video/out/gl_hwdec_vdpau.c:135
#3  0x0000000000523d7a in init_video (p=0x7fffe43a4bd0) at
../video/out/gl_video.c:701
#4  gl_video_config (p=0x7fffe43a4bd0, params=params@entry=0x7fffe4302f60) at
../video/out/gl_video.c:2728
#5  0x0000000000529809 in reconfig (vo=<optimized out>, params=0x7fffe4302f60,
flags=<optimized out>) at ../video/out/vo_opengl.c:204
#6  0x0000000000525303 in run_reconfig (p=<optimized out>) at
../video/out/vo.c:367
#7  0x00000000004b686f in mp_dispatch_queue_process (queue=0x1c936a0,
timeout=timeout@entry=0) at ../misc/dispatch.c:197
#8  0x0000000000525ffd in vo_thread (ptr=0x1c93460) at ../video/out/vo.c:793
#9  0x00007ffff79b3d7a in start_thread (arg=0x7fffdffff700) at
pthread_create.c:308
#10 0x00007ffff20d9a9d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115


You are receiving this mail because:
  • You are the assignee for the bug.
--1437762384.6fA2b0.19927-- --===============0447652007== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0447652007==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91308] Tonga UVD not working with GL_NV_vdpau_interop Date: Fri, 24 Jul 2015 21:31:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0425921268==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 947F16E633 for ; Fri, 24 Jul 2015 14:31:54 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0425921268== Content-Type: multipart/alternative; boundary="1437773512.DfaE0.21225"; charset="UTF-8" --1437773512.DfaE0.21225 Date: Fri, 24 Jul 2015 21:31:51 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91308 --- Comment #8 from Andy Furniss --- Created attachment 117361 --> https://bugs.freedesktop.org/attachment.cgi?id=117361&action=edit dmesg with ring 9 stall Further to IRC chat with current agd5f libdrm and mesa I can easily with cpufreq set to perf get a ring 9 stall with a small number of player starts. -- You are receiving this mail because: You are the assignee for the bug. --1437773512.DfaE0.21225 Date: Fri, 24 Jul 2015 21:31:52 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 8 on bug 91308 from
Created attachment 117361 [details]
dmesg with ring 9 stall

Further to IRC chat with current agd5f libdrm and mesa I can easily with
cpufreq set to perf get a ring 9 stall with a small number of player starts.


You are receiving this mail because:
  • You are the assignee for the bug.
--1437773512.DfaE0.21225-- --===============0425921268== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0425921268==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91308] Tonga UVD not working with GL_NV_vdpau_interop Date: Fri, 24 Jul 2015 21:36:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1860725960==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 6D6636E634 for ; Fri, 24 Jul 2015 14:36:52 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1860725960== Content-Type: multipart/alternative; boundary="1437773812.576AcA0.22789"; charset="UTF-8" --1437773812.576AcA0.22789 Date: Fri, 24 Jul 2015 21:36:52 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91308 --- Comment #9 from Andy Furniss --- (In reply to Andy Furniss from comment #8) > Created attachment 117361 [details] > dmesg with ring 9 stall > > Further to IRC chat with current agd5f libdrm and mesa I can easily with > cpufreq set to perf get a ring 9 stall with a small number of player starts. Should add this is really nothing to do with interop per say as I was using vdpau for vo. -- You are receiving this mail because: You are the assignee for the bug. --1437773812.576AcA0.22789 Date: Fri, 24 Jul 2015 21:36:52 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 9 on bug 91308 from
(In reply to Andy Furniss from comment #8)
> Created attachment 117361 [details]
> dmesg with ring 9 stall
> 
> Further to IRC chat with current agd5f libdrm and mesa I can easily with
> cpufreq set to perf get a ring 9 stall with a small number of player starts.

Should add this is really nothing to do with interop per say as I was using
vdpau for vo.


You are receiving this mail because:
  • You are the assignee for the bug.
--1437773812.576AcA0.22789-- --===============1860725960== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1860725960==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91308] Tonga UVD not working with GL_NV_vdpau_interop Date: Sat, 25 Jul 2015 11:47:55 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0180919016==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 8D1766E17B for ; Sat, 25 Jul 2015 04:47:55 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0180919016== Content-Type: multipart/alternative; boundary="1437824875.aF84d0.25083"; charset="UTF-8" --1437824875.aF84d0.25083 Date: Sat, 25 Jul 2015 11:47:55 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91308 --- Comment #10 from Andy Furniss --- I tried reproducing these with agd5f drm/mesa amd-staging and I can reproduce but I have to try a lot harder, were I not using scripts I would probably call working. The vdpau interop fail took about 30 tries with mpv. After about 60 runs of mpv --vo=vdpau with cpufreq both on_demand and perf I failed to get a ring 9 lock. With mplayer I did about 60 with cpufreq perf without a lock, but did get one after about 50 starts with cpufreq on_demand. On amdgpu branches I can lock with both in < 10 starts sometimes as low as 3. Historically I've had uvd issues that I can provoke with mplayer but not mpv - looking at vdpau traces, I see that mplayer at start up, twice creates and instantly destroys a decoder with w/h 48 before creating one with the correct w/h (which depending on content it may then destroy if it needs more ref frames). mpv just does one create and uses it, perhaps this is why mplayer can trigger some issues better. -- You are receiving this mail because: You are the assignee for the bug. --1437824875.aF84d0.25083 Date: Sat, 25 Jul 2015 11:47:55 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 10 on bug 91308 from
I tried reproducing these with agd5f drm/mesa amd-staging and I can reproduce
but I have to try a lot harder, were I not using scripts I would probably call
working.

The vdpau interop fail took about 30 tries with mpv.

After about 60 runs of mpv --vo=vdpau with cpufreq both on_demand and perf I
failed to get a ring 9 lock.

With mplayer I did about 60 with cpufreq perf without a lock, but did get one
after about 50 starts with cpufreq on_demand.

On amdgpu branches I can lock with both in < 10 starts sometimes as low as 3.

Historically I've had uvd issues that I can provoke with mplayer but not mpv -
looking at vdpau traces, I see that mplayer at start up, twice creates and
instantly destroys a decoder with w/h 48 before creating one with the correct
w/h (which depending on content it may then destroy if it needs more ref
frames).

mpv just does one create and uses it, perhaps this is why mplayer can trigger
some issues better.


You are receiving this mail because:
  • You are the assignee for the bug.
--1437824875.aF84d0.25083-- --===============0180919016== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0180919016==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91308] Tonga UVD not working with GL_NV_vdpau_interop Date: Fri, 28 Aug 2015 11:11:35 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0066506591==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 428BA6EEDC for ; Fri, 28 Aug 2015 04:11:35 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0066506591== Content-Type: multipart/alternative; boundary="1440760295.A1aAfD30.29021"; charset="UTF-8" --1440760295.A1aAfD30.29021 Date: Fri, 28 Aug 2015 11:11:35 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91308 Andy Furniss changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #11 from Andy Furniss --- vdpau interop is working for me now with the patch in this bug which is in mesa now + a fix in libdrm which makes it reliable. 5c42b5e drm: fix the usage after free http://cgit.freedesktop.org/mesa/drm/commit/?id=5c42b5e36a4a02e579ec5dcdc3a95ce58538224c Other uvd issues mentioned may or may not still exist, but should have their own bug. -- You are receiving this mail because: You are the assignee for the bug. --1440760295.A1aAfD30.29021 Date: Fri, 28 Aug 2015 11:11:35 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 91308
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Comment # 11 on bug 91308 from
vdpau interop is working for me now with the patch in this bug which is in mesa
now + a fix in libdrm which makes it reliable.

5c42b5e drm: fix the usage after free

http://cgit.freedesktop.org/mesa/drm/commit/?id=5c42b5e36a4a02e579ec5dcdc3a95ce58538224c

Other uvd issues mentioned may or may not still exist, but should have their
own bug.


You are receiving this mail because:
  • You are the assignee for the bug.
--1440760295.A1aAfD30.29021-- --===============0066506591== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0066506591==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91308] Tonga UVD not working with GL_NV_vdpau_interop Date: Fri, 28 Aug 2015 12:38:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0093636043==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 34F4E6E3CE for ; Fri, 28 Aug 2015 05:38:10 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0093636043== Content-Type: multipart/alternative; boundary="1440765490.76D5A141.25781"; charset="UTF-8" --1440765490.76D5A141.25781 Date: Fri, 28 Aug 2015 12:38:10 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D91308 Christian K=C3=B6nig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #12 from Christian K=C3=B6nig --- Great, thanks for all the help. --=20 You are receiving this mail because: You are the assignee for the bug. --1440765490.76D5A141.25781 Date: Fri, 28 Aug 2015 12:38:10 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Christian K=C3=B6nig changed bug 91308<= /a>
What Removed Added
Status RESOLVED CLOSED


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