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.
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 x86_64- linux-gnu/ dri/vdpau_ drv_video. so Display= context, display= (GstVaapiDispla y)NULL;
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/
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.
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 x86_64- linux-gnu/ dri/vdpau_ drv_video. so Display= context, display= (GstVaapiDispla y)NULL; QueueDisplay( ): 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.
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/
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.
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
vdpau_video: VdpPresentation