I think the correct test case is to run

gst-launch-1.0 filesrc location=Linux.mp4 ! qtdemux ! vaapidecode !
vaapisink

I used LIBVA_DRIVER_NAME=vdpau to work around bug #964040, because
r600_drv_video.so is not provided. The video played about once in five
attempts. Other times, I got a black window and an error message.

$ LIBVA_DRIVER_NAME=vdpau gst-launch-1.0 filesrc location=Linux.mp4 ! qtdemux ! 
vaapidecode ! vaapisink
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'vaapidecode0': gst.vaapi.Display=context, 
display=(GstVaapiDisplay)NULL;
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Caught SIGSEGV
Spinning.  Please run 'gdb gst-launch-1.0 6561' to continue debugging, Ctrl-C 
to quit, or Ctrl-\ to dump core.

$ LIBVA_DRIVER_NAME=vdpau gst-launch-1.0 filesrc location=Linux.mp4 ! qtdemux ! 
vaapidecode ! vaapisink
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'vaapidecode0': gst.vaapi.Display=context, 
display=(GstVaapiDisplay)NULL;
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
vdpau_video: VdpPresentationQueueDisplay(): status 3: An invalid handle value 
was provided. Either the handle does not exist at all, or refers to an object 
of an incorrect type.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1222790

Title:
  gstreamer-vaapi fails with vdpau-va-driver, Nvidia and Radeon GPUs

To manage notifications about this bug go to:
https://bugs.launchpad.net/gstreamer/+bug/1222790/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to