Bug 69141 - gstreamer-vaapi fails with vdpau-va-driver, Nvidia GPU
Summary: gstreamer-vaapi fails with vdpau-va-driver, Nvidia GPU
Status: RESOLVED NOTOURBUG
Alias: None
Product: gstreamer
Classification: Unclassified
Component: account (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Thomas Vander Stichele
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-09 13:43 UTC by nkef
Modified: 2014-05-05 15:56 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
gstreamer vaapi crash while decoding picture (7.77 KB, text/plain)
2014-05-05 15:14 UTC, Marco Trevisan (Treviño)
Details

Description nkef 2013-09-09 13:43:35 UTC
Gstreamer fails when gstreamer-vaapi hardware decoding is used trough vdpau-va-driver with NVIDIA binary drivers with the following error message:

gst-launch-0.10: vdpau_decode.c:1264: vdpau_EndPicture: Assertion `obj_buffer' failed

Example pipeline:
gst-launch-0.10 -vvv filesrc location=test.h64 ! queue ! h264parse ! queue ! vaapidecode ! vaapisink sync=false fullscreen=yes

The bug was produced in Ubuntu 13.10

vdpau-va-driver:amd64 0.7.3-2ubuntu1
libvdpau1:amd64 0.6-2
nvidia-319 319.32-0ubuntu6
gstreamer0.10-x:amd64 0.10.36-1.1ubuntu
gstreamer0.10-vaapi:amd64 0.3.6-0ubuntu4

The bug was also reproduced in Ubuntu 13.04
13.04, with default system packages.

The bug was also reproduced with custom build of gstreamer-1.0.10 and gstreamer-vaapi-0.5.6 in Ubuntu 13.04 using the vdpau-va-driver:amd64 0.7.3-2ubuntu1 

A workaround only applicable to gstreamer-0.10
Example pipeline:
gst-launch-0.10 -vvv filesrc location=test.h64 ! queue ! h264parse ! queue ! vaapidecode use-ffmpeg=true ! vaapisink ync=false fullscreen=yes
Comment 1 nkef 2013-09-10 07:37:45 UTC
The workaround works only up to gstreamer-vaapi 0.3.8. 
From 0.4.0 FFmpeg-based decoders were dropped.

http://gitorious.org/vaapi/gstreamer-vaapi/source/0a4582de6fa43f9f7fbfedf595e8c390f045f43f:NEWS#L7
Comment 2 Marco Trevisan (Treviño) 2014-05-05 15:14:51 UTC
Created attachment 98494 [details]
gstreamer vaapi crash while decoding picture

The same happens still in Ubuntu 14.04 with gstreamer 1.2.3 and radeon card.

I'm attaching here the backtrace I'm getting.
Comment 3 Tim Müller 2014-05-05 15:56:41 UTC
The GStreamer project tracks bugs on bugzilla.gnome.org, please re-file any issues there for the gstreamer-vaapi


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.