* [Bug 99637] VLC video has corrupted colors when using VDPAU output on Radeon SI
2017-02-02 1:19 [Bug 99637] VLC video has corrupted colors when using VDPAU output on Radeon SI bugzilla-daemon
@ 2017-02-02 1:26 ` bugzilla-daemon
2017-02-02 5:23 ` bugzilla-daemon
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2017-02-02 1:26 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 451 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=99637
Matt Whitlock <freedesktop@mattwhitlock.name> changed:
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.
[-- Attachment #1.2: Type: text/html, Size: 1276 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 7+ messages in thread* [Bug 99637] VLC video has corrupted colors when using VDPAU output on Radeon SI
2017-02-02 1:19 [Bug 99637] VLC video has corrupted colors when using VDPAU output on Radeon SI bugzilla-daemon
2017-02-02 1:26 ` bugzilla-daemon
@ 2017-02-02 5:23 ` bugzilla-daemon
2017-02-02 9:03 ` bugzilla-daemon
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2017-02-02 5:23 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1046 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=99637
--- Comment #1 from Nayan Deshmukh <nayan26deshmukh@gmail.com> ---
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önig <christian.koenig@amd.com>
Can you test with this patch?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1992 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 7+ messages in thread* [Bug 99637] VLC video has corrupted colors when using VDPAU output on Radeon SI
2017-02-02 1:19 [Bug 99637] VLC video has corrupted colors when using VDPAU output on Radeon SI bugzilla-daemon
2017-02-02 1:26 ` bugzilla-daemon
2017-02-02 5:23 ` bugzilla-daemon
@ 2017-02-02 9:03 ` bugzilla-daemon
2017-02-02 9:06 ` bugzilla-daemon
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2017-02-02 9:03 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 655 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=99637
Matt Whitlock <freedesktop@mattwhitlock.name> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Matt Whitlock <freedesktop@mattwhitlock.name> ---
(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.
[-- Attachment #1.2: Type: text/html, Size: 2297 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 7+ messages in thread* [Bug 99637] VLC video has corrupted colors when using VDPAU output on Radeon SI
2017-02-02 1:19 [Bug 99637] VLC video has corrupted colors when using VDPAU output on Radeon SI bugzilla-daemon
` (2 preceding siblings ...)
2017-02-02 9:03 ` bugzilla-daemon
@ 2017-02-02 9:06 ` bugzilla-daemon
2017-02-02 9:17 ` bugzilla-daemon
2017-02-06 15:10 ` bugzilla-daemon
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2017-02-02 9:06 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 562 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=99637
Michel Dänzer <michel@daenzer.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |---
Status|RESOLVED |REOPENED
--- Comment #3 from Michel Dänzer <michel@daenzer.net> ---
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.
[-- Attachment #1.2: Type: text/html, Size: 2073 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 7+ messages in thread* [Bug 99637] VLC video has corrupted colors when using VDPAU output on Radeon SI
2017-02-02 1:19 [Bug 99637] VLC video has corrupted colors when using VDPAU output on Radeon SI bugzilla-daemon
` (3 preceding siblings ...)
2017-02-02 9:06 ` bugzilla-daemon
@ 2017-02-02 9:17 ` bugzilla-daemon
2017-02-06 15:10 ` bugzilla-daemon
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2017-02-02 9:17 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 370 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=99637
--- Comment #4 from Nayan Deshmukh <nayan26deshmukh@gmail.com> ---
(In reply to Michel Dänzer 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.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1285 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 7+ messages in thread* [Bug 99637] VLC video has corrupted colors when using VDPAU output on Radeon SI
2017-02-02 1:19 [Bug 99637] VLC video has corrupted colors when using VDPAU output on Radeon SI bugzilla-daemon
` (4 preceding siblings ...)
2017-02-02 9:17 ` bugzilla-daemon
@ 2017-02-06 15:10 ` bugzilla-daemon
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2017-02-06 15:10 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 543 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=99637
Nayan Deshmukh <nayan26deshmukh@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Nayan Deshmukh <nayan26deshmukh@gmail.com> ---
The patch has landed on 17.0.0-rc3.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2114 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 7+ messages in thread