From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 99637] VLC video has corrupted colors when using VDPAU output on Radeon SI Date: Thu, 02 Feb 2017 01:19:06 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1077221406==" 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 E809A6E35D for ; Thu, 2 Feb 2017 01:19:05 +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 --===============1077221406== Content-Type: multipart/alternative; boundary="14859983450.cacd64f9e.15083"; charset="UTF-8" --14859983450.cacd64f9e.15083 Date: Thu, 2 Feb 2017 01:19:05 +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=3D99637 Bug ID: 99637 Summary: VLC video has corrupted colors when using VDPAU output on Radeon SI Product: Mesa Version: 17.0 Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: freedesktop@mattwhitlock.name QA Contact: dri-devel@lists.freedesktop.org Two reports of this so far on Gentoo when using Mesa 17.0.0 RC2. See a screenshot here: https://bugs.gentoo.org/attachment.cgi?id=3D461558 I am reporting this bug upstream (i.e., here) at the request of Gentoo dev = Matt Turner. Here is the Gentoo bug report: https://bugs.gentoo.org/show_bug.cgi?id=3D607368 The problem disappears upon downgrading to Mesa 13.0.3. Mateusz Lenik, the reporter of the bug on Gentoo's tracker, is using a Pola= ris 10 card, and I am using a Tobago (Bonaire Pro) card. We are both using the "radeonsi" VDPAU driver. --=20 You are receiving this mail because: You are the assignee for the bug.= --14859983450.cacd64f9e.15083 Date: Thu, 2 Feb 2017 01:19:05 +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 99637
Summary VLC video has corrupted colors when using VDPAU output on Rad= eon SI
Product Mesa
Version 17.0
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter freedesktop@mattwhitlock.name
QA Contact dri-devel@lists.freedesktop.org

Two reports of this so far on Gentoo when using Mesa 17.0.0 RC=
2.

See a screenshot here:
https://bugs=
.gentoo.org/attachment.cgi?id=3D461558

I am reporting this bug upstream (i.e., here) at the request of Gentoo dev =
Matt
Turner.

Here is the Gentoo bug report:
https://bugs.g=
entoo.org/show_bug.cgi?id=3D607368

The problem disappears upon downgrading to Mesa 13.0.3.

Mateusz Lenik, the reporter of the bug on Gentoo's tracker, is using a Pola=
ris
10 card, and I am using a Tobago (Bonaire Pro) card. We are both using the
"radeonsi" VDPAU driver.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14859983450.cacd64f9e.15083-- --===============1077221406== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1077221406==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 99637] VLC video has corrupted colors when using VDPAU output on Radeon SI Date: Thu, 02 Feb 2017 01:26:48 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1120702212==" 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 7F48989B61 for ; Thu, 2 Feb 2017 01:26:48 +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 --===============1120702212== Content-Type: multipart/alternative; boundary="14859988080.9A16.15836"; charset="UTF-8" --14859988080.9A16.15836 Date: Thu, 2 Feb 2017 01:26:48 +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=3D99637 Matt Whitlock changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|Other |x86-64 (AMD64) OS|All |Linux (All) --=20 You are receiving this mail because: You are the assignee for the bug.= --14859988080.9A16.15836 Date: Thu, 2 Feb 2017 01:26:48 +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 Matt Whitlock changed bug 99637<= /a>
What Removed Added
Hardware Other x86-64 (AMD64)
OS All Linux (All)


You are receiving this mail because:
  • You are the assignee for the bug.
= --14859988080.9A16.15836-- --===============1120702212== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1120702212==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 99637] VLC video has corrupted colors when using VDPAU output on Radeon SI Date: Thu, 02 Feb 2017 05:23:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0857133641==" 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 002376E8F3 for ; Thu, 2 Feb 2017 05:23:34 +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 --===============0857133641== Content-Type: multipart/alternative; boundary="14860130141.a45E.30724"; charset="UTF-8" --14860130141.a45E.30724 Date: Thu, 2 Feb 2017 05:23:34 +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=3D99637 --- Comment #1 from Nayan Deshmukh --- The problem is already fixed in the master branch. This patch fixes the iss= ue. Commit: 31908d6a4a3309f4cd4b953d6eecdf41595b1299 st/vdpau: only send buffers with B8G8R8A8 format to X PresentPixmap only works if the pixmap depth matches with the window depth, otherwise it returns a BadMatch protocol error. Even if the depths match, the result won't look correctly if the VDPAU RGB component order doesn't match the X11 one so we only allow the X11 format. For other buffers we copy them to a buffer which is send to X. v2: only send buffers with format VDP_RGBA_FORMAT_B8G8R8A8 v3: reword commit message v4: add comment explaining the code Signed-off-by: Nayan Deshmukh Reviewed-by: Christian K=C3=B6nig Can you test with this patch? --=20 You are receiving this mail because: You are the assignee for the bug.= --14860130141.a45E.30724 Date: Thu, 2 Feb 2017 05:23:34 +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 99637<= /a> from Nayan Deshmukh
The problem is already fixed in the master branch. This patch =
fixes the issue.

Commit: 31908d6a4a3309f4cd4b953d6eecdf41595b1299

   st/vdpau: only send buffers with B8G8R8A8 format to X
   PresentPixmap only works if the pixmap depth matches with the
   window depth, otherwise it returns a BadMatch protocol error.
   Even if the depths match, the result won't look correctly
   if the VDPAU RGB component order doesn't match the X11 one so
   we only allow the X11 format.
   For other buffers we copy them to a buffer which is send to X.

   v2: only send buffers with format VDP_RGBA_FORMAT_B8G8R8A8
   v3: reword commit message
   v4: add comment explaining the code

   Signed-off-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
   Reviewed-by: Christian K=C3=B6nig <christian.koenig@amd.com>

Can you test with this patch?


You are receiving this mail because:
  • You are the assignee for the bug.
= --14860130141.a45E.30724-- --===============0857133641== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0857133641==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 99637] VLC video has corrupted colors when using VDPAU output on Radeon SI Date: Thu, 02 Feb 2017 09:03:20 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1525829539==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BB5606E93B for ; Thu, 2 Feb 2017 09:03: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 --===============1525829539== Content-Type: multipart/alternative; boundary="14860262000.9ae5Fce.14290"; charset="UTF-8" --14860262000.9ae5Fce.14290 Date: Thu, 2 Feb 2017 09:03: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=3D99637 Matt Whitlock changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Matt Whitlock --- (In reply to Nayan Deshmukh from comment #1) > Can you test with this patch? Applying the patch to 17.0.0 RC2 solves the problem. Thanks. --=20 You are receiving this mail because: You are the assignee for the bug.= --14860262000.9ae5Fce.14290 Date: Thu, 2 Feb 2017 09:03: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 Matt Whitlock changed bug 99637<= /a>
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Comment= # 2 on bug 99637<= /a> from Matt Whitlock
(In reply to Nayan Deshmukh from comment #1)
> Can you test with this patch?

Applying the patch to 17.0.0 RC2 solves the problem. Thanks.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14860262000.9ae5Fce.14290-- --===============1525829539== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1525829539==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 99637] VLC video has corrupted colors when using VDPAU output on Radeon SI Date: Thu, 02 Feb 2017 09:06:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0342089499==" 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 4923D6E938 for ; Thu, 2 Feb 2017 09:06:34 +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 --===============0342089499== Content-Type: multipart/alternative; boundary="14860263940.7DAcAcB.14558"; charset="UTF-8" --14860263940.7DAcAcB.14558 Date: Thu, 2 Feb 2017 09:06:34 +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=3D99637 Michel D=C3=A4nzer changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|RESOLVED |REOPENED --- Comment #3 from Michel D=C3=A4nzer --- This report should remain open until the fix lands on the 17.0 branch. --=20 You are receiving this mail because: You are the assignee for the bug.= --14860263940.7DAcAcB.14558 Date: Thu, 2 Feb 2017 09:06:34 +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 = Michel D=C3=A4nzer changed bug 99637<= /a>
What Removed Added
Resolution FIXED ---
Status RESOLVED REOPENED

Comment= # 3 on bug 99637<= /a> from Michel D=C3=A4nzer
This report should remain open until the fix lands on the 17.0=
 branch.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14860263940.7DAcAcB.14558-- --===============0342089499== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0342089499==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 99637] VLC video has corrupted colors when using VDPAU output on Radeon SI Date: Thu, 02 Feb 2017 09:17:36 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0670430576==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 6E9E66E946 for ; Thu, 2 Feb 2017 09:17:36 +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 --===============0670430576== Content-Type: multipart/alternative; boundary="14860270560.b0fDAE5.15409"; charset="UTF-8" --14860270560.b0fDAE5.15409 Date: Thu, 2 Feb 2017 09:17:36 +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=3D99637 --- Comment #4 from Nayan Deshmukh --- (In reply to Michel D=C3=A4nzer from comment #3) > This report should remain open until the fix lands on the 17.0 branch. I will nominate the patch for the 17.0 branch. --=20 You are receiving this mail because: You are the assignee for the bug.= --14860270560.b0fDAE5.15409 Date: Thu, 2 Feb 2017 09:17:36 +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 99637<= /a> from Nayan Deshmukh
(In reply to Michel D=C3=A4nzer from comment #3)
> This report should remain open until the fix lan=
ds on the 17.0 branch.

I will nominate the patch for the 17.0 branch.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14860270560.b0fDAE5.15409-- --===============0670430576== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0670430576==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 99637] VLC video has corrupted colors when using VDPAU output on Radeon SI Date: Mon, 06 Feb 2017 15:10:03 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1169223462==" 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 2FEF56E437 for ; Mon, 6 Feb 2017 15:10:03 +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 --===============1169223462== Content-Type: multipart/alternative; boundary="14863938030.D36C99aA.29838"; charset="UTF-8" --14863938030.D36C99aA.29838 Date: Mon, 6 Feb 2017 15:10:03 +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=3D99637 Nayan Deshmukh changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Nayan Deshmukh --- The patch has landed on 17.0.0-rc3. --=20 You are receiving this mail because: You are the assignee for the bug.= --14863938030.D36C99aA.29838 Date: Mon, 6 Feb 2017 15:10:03 +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 Nayan Deshmukh changed bug 99637<= /a>
What Removed Added
Status REOPENED RESOLVED
Resolution --- FIXED

Comment= # 5 on bug 99637<= /a> from Nayan Deshmukh
The patch has landed on 17.0.0-rc3.


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