[Mesa-dev] With newer git mesa builds hardware decoding fails with Assertion `0' failed. (r600g, Radeon HD 8570D)

Kertesz Laszlo laszlo.kertesz at gmail.com
Thu Dec 4 17:45:01 PST 2014


Hello,

Building recent mesa git i found that most video players that use VDPAu 
hardware decoding fail with

vl/vl_stubs.c:45:vl_video_buffer_formats: Assertion `0' failed.
Trace/breakpoint trap

for example trying to play a 1080p h264 video that worked with hw 
decoding:

$ mpv /media/bigdata/Videos/1080ptestvideo.mp4
Playing: /media/bigdata/Videos/1080ptestvideo.mp4
[stream] Video (+) --vid=1 (*) (h264)
[stream] Audio (+) --aid=1 --alang=und (*) (aac)
File tags:
 major_brand: mp42
 minor_version: 0
 compatible_brands: isommp42
 creation_time: 2012-09-10 21:27:25
Trying to use hardware decoding.
AO: [alsa] 44100Hz stereo 2ch float
vl/vl_stubs.c:45:vl_video_buffer_formats: Assertion `0' failed.
Trace/breakpoint trap


It happens to mpv and xbmc, but interestingly not to vlc (built with 
VDPAU support) when using (or attempting to use) hardware decoding. 
With hw decoding off all work.


The vl_stubs.c file is referenced in one commit,

http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/auxiliary/vl/vl_stubs.c?id=f093c1c8ec1bce50d9338533ce775b564358fbeb

auxiliary/vl: add galliumvl_stub.la

Tried to revert it and didnt work.

I use Debian Testing 64 bit with kernel, drm, mesa, llvm built from git.
Is there anything else that needs to be done (maybe a newer kernel, now 
i have 3.18.0-rc5) or this is a bug?

----
O zi buna,
Kertesz Laszlo



More information about the mesa-dev mailing list