[Bug 99637] VLC video has corrupted colors when using VDPAU output on Radeon SI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 1 on bug 99637 from
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:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux