From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 87054] VDPAU decoding mostly fails with Assertion `0' failed. (r600g, Radeon HD 8570D) Date: Sat, 06 Dec 2014 18:57:13 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1924655463==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C10B66E112 for ; Sat, 6 Dec 2014 10:57:13 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1924655463== Content-Type: multipart/alternative; boundary="1417892233.05D5fc030.15817"; charset="UTF-8" --1417892233.05D5fc030.15817 Date: Sat, 6 Dec 2014 18:57:13 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=87054 Bug ID: 87054 Summary: VDPAU decoding mostly fails with Assertion `0' failed. (r600g, Radeon HD 8570D) Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 Assignee: dri-devel@lists.freedesktop.org Reporter: laszlo.kertesz@gmail.com 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 before: $ 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. Only player that can use VDPAU is vlc built from git. 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. Now i have last commit a28ad9d4c0d4b95aee8c3b99e9aaa59add21ea9d in my current build of mesa, kernel 3.18.0-rc7-00057-gebea76f. -- You are receiving this mail because: You are the assignee for the bug. --1417892233.05D5fc030.15817 Date: Sat, 6 Dec 2014 18:57:13 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Bug ID 87054
Summary VDPAU decoding mostly fails with Assertion `0' failed. (r600g, Radeon HD 8570D)
Product Mesa
Version git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/r600
Assignee dri-devel@lists.freedesktop.org
Reporter laszlo.kertesz@gmail.com

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 before:

$ 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.
Only player that can use VDPAU is vlc built from git.

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.
Now i have  last commit a28ad9d4c0d4b95aee8c3b99e9aaa59add21ea9d in my current
build of mesa, kernel 3.18.0-rc7-00057-gebea76f.


You are receiving this mail because:
  • You are the assignee for the bug.
--1417892233.05D5fc030.15817-- --===============1924655463== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1924655463==--