[Mesa-dev] [PATCH 1/9] st/vdpau: fix chroma_format handling in VideoSurfaceQueryGetPutBitsYCbCrCapabilities
Andy Furniss
andyqos at ukfsn.org
Thu Mar 8 11:12:40 PST 2012
Christian König wrote:
>> mplayer sw decode + yuy2 vdpau output is corrupted.
> Yeah, still working on that. The problem is tilling related, just
> disable 2D tilling and it works like a charm. I think I've found the
> problem right now and going to send out some fixed patches in the next
> couple of minutes.
Working OK for me now with xine and mplayer using your vlwork git, which
I assume is the same as applying the latest patches.
Is there a way to disable mesa 2D tiling anymore? I know about the
xorg.conf options but they don't seem to affect mesa.
> Unfortunately mplayer just doesn't tries to use a planar 422 format
> (something which is really easy to support).
I think mplayer's vdpau was written by nvidia, so maybe it assumes
things - but then I don't know that. I do know it blindly tries to use
yuy2 even if it's not advertised.
One thing I noticed looking at the vdpau spec on their doxygen site is
that YUY16 isn't even listed.
When -vo gl is used mplayer will directly use 422 planar (which I assume
is what fourcc.org calles YV16).
As for xine my current issues are the logo, mine is playing
share/xine/skins/xine-ui_logo.png with plugin gdkpixbuf
Before 422 worked properly it was distorted, now it's almost OK, but has
a green band at the bottom. If I toggle between full screen and window a
few times I can get it to crash - bt attached.
It works OK with xv, and actually playing a raw 422 yuy2 stream with
xine + vdpau looks OK and won't crash toggling (it is different size
though).
Issue 2 is that doing something that makes xine try to render over the
video eg. skipping or changing volume results in an assert -
vl/vl_video_buffer.c:320:vl_video_buffer_sampler_view_components:
Assertion `component < 3' failed.
bt also attached.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xine-logo-bt
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120308/4bf225cf/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xine-osd-bt
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120308/4bf225cf/attachment-0001.asc>
More information about the mesa-dev
mailing list