On 17/01/17 09:55 PM, Christian König wrote: > Module: Mesa > Branch: master > Commit: 15bfdea99c7b487d2c38d6dd7b88fb44810ef75a > URL: > http://cgit.freedesktop.org/mesa/mesa/commit/?id=15bfdea99c7b487d2c38d6dd7b88fb44810ef75a > > Author: Nayan Deshmukh <[email protected]> > Date: Wed Jan 11 22:45:14 2017 +0530 > > st/vdpau: use dri3 to directly send the buffer to X(v2)
Unfortunately, this broke VLC, resulting in incorrect colours in videos. The problem is that VDP_RGBA_FORMAT_R10G10B10A2 is passed to vlVdpOutputSurfaceCreate. This can't work directly for presentation, because the Present extension request PresentPixmap only works if the pixmap depth matches the window depth, otherwise it returns a BadMatch protocol error. vlVdpOutputSurfaceCreate needs to check that the format passed in matches the window (surface?) format, and fall back to the old method otherwise. If this takes significant effort, maybe just revert the commit for now. -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
