Bug#742896: xbmc: Blank video with VDPAU enabled

Bálint Réczey balint at balintreczey.hu
Sun Mar 30 17:25:41 UTC 2014


Hi Sergej,

Thanks for the testing.

2014-03-30 13:43 GMT+02:00 Sergej Wildemann <wildemann at finf.uni-hannover.de>:
> 2014-03-28 21:28 GMT+01:00 Bálint Réczey <balint at balintreczey.hu>:
>>
>> You could recompile mpv from experimental branch:
>> http://anonscm.debian.org/gitweb/?p=pkg-multimedia/mpv.git;a=shortlog;h=refs/heads/experimental
>>
>> I have checked VDPAU.cpp, but the most likely problem is still libav 10.
>
> I compiled mpv 0.3.3 from that branch against libav10 from
> experimental. It seems to have no problems with vdpau. The picture is
> normal and cpu usage is low as it should. Anything else that i could
> try to find the problem?
We can try two approaches. I copied what mpv does in the first patch, but
it us just a hunch and I could not test it.
Please give it a try, if it make sense to you, too.

The second patch just assert()-s when the problem happens. If the
first patch does not work, please rebuild xbmc with the second patch
without stripping the binary and try collecting the relevant variables
from the coredump.

Since mpv works libav is probably OK, thus I suspect the libav hack
compat layer is at fault in xbmc. It is not used in dmo packages
AFAIK.
Copying the author of the libav hack and the Multimedia Team in case
they can help.

This is an upstream problem, but upstream is actively discouraging
using libav and they don't give support for this use-case.

Thanks,
Balint
>
> $ mpv sample.mkv -ao null -hwdec=vdpau
...
>
> As a side note, xbmc from deb-multimedia has no problems either.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-VDPAU-decoding-based-on-mpv-s-vdpau_old.c.patch
Type: text/x-patch
Size: 2202 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20140330/7cf81e82/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Assert-when-decoding-fails-due-to-742896.patch
Type: text/x-patch
Size: 1908 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20140330/7cf81e82/attachment-0003.bin>


More information about the pkg-multimedia-maintainers mailing list