From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.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 [thread overview]
Message-ID: <bug-99637-502-8xaOq7a8BK@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-99637-502@http.bugs.freedesktop.org/>
[-- 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
next prev parent reply other threads:[~2017-02-02 5:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-99637-502-8xaOq7a8BK@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox