gst 1.16.2 on ubuntu 20.04 and vdpau

Jerry Geis jerry.geis at gmail.com
Mon Jun 7 17:26:11 UTC 2021


I am trying to get totem to play on ubuntu 20.04 with gstreamer 1.16.2
without video freezes

vainfo
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.7 (libva 2.6.0)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API -
0.7.4
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG4Simple            : VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD

lspci | grep VGA
03:00.0 VGA compatible controller: NVIDIA Corporation GT218 [ION] (rev a2)

from X log
[    68.857] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia

from totem log
grep -i vdpau log
0:00:00.326850964  2523 0x55a7defb2ec0 LOG             GST_REGISTRY
gstregistry.c:1282:gst_registry_scan_path_level:<registry0> file
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvdpau.so looks like a
possible module
0:00:00.326896942  2523 0x55a7defb2ec0 DEBUG           GST_REGISTRY
gstregistry.c:1343:gst_registry_scan_path_level:<registry0> file
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvdpau.so not yet in registry
0:00:00.326934110  2523 0x55a7defb2ec0 DEBUG           GST_REGISTRY
gstregistry.c:1160:gst_registry_scan_plugin_file: Using scan-helper to load
plugin /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvdpau.so
0:00:00.326977588  2523 0x55a7defb2ec0 LOG       GST_PLUGIN_LOADING
gstpluginloader.c:232:plugin_loader_load:<registry0> Sending file
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvdpau.so to child. tag 139
0:00:07.314513076  2600 0x565094c5a400 DEBUG               fluvalib
gstva_device.c:176:gst_va_device_finalize_vdpau: XCloseDisplay
0:00:07.352261452  2600 0x565094c5a400 DEBUG               fluvadec
fluvdpau_decoder.c:232:fluvadec_vdpau_query: profile supported with  0
 8192  2048  2048
0:00:07.352709911  2600 0x565094c5a400 DEBUG               fluvadec
fluvdpau_decoder.c:232:fluvadec_vdpau_query: profile supported with  3
 8192  2048  2048
0:00:07.353115831  2600 0x565094c5a400 DEBUG               fluvadec
fluvdpau_decoder.c:232:fluvadec_vdpau_query: profile supported with  5
 8192  2048  2048
0:00:07.354027719  2600 0x565094c5a400 DEBUG               fluvadec
fluvdpau_decoder.c:232:fluvadec_vdpau_query: profile supported with 41
 8192  2048  2048
0:00:07.354236799  2600 0x565094c5a400 DEBUG               fluvadec
fluvdpau_decoder.c:232:fluvadec_vdpau_query: profile supported with  1
 8190  2048  2048
0:00:07.354280004  2600 0x565094c5a400 DEBUG               fluvadec
fluvdpau_decoder.c:232:fluvadec_vdpau_query: profile supported with  2
 8190  2048  2048
0:00:07.354322358  2600 0x565094c5a400 DEBUG               fluvadec
fluvdpau_decoder.c:232:fluvadec_vdpau_query: profile supported with  4
 8190  2048  2048
0:00:07.380982166  2600 0x565094c5a400 INFO                fluvadec
fluva.c:249:plugin_init: Detected VDPAU VA backend
0:00:07.393090997  2600 0x565094c5a400 DEBUG               fluvalib
gstva_device.c:176:gst_va_device_finalize_vdpau: XCloseDisplay

ls -l /usr/lib/x86_64-linux-gnu/*vdpau*
lrwxrwxrwx 1 root root    13 Mar 25  2020
/usr/lib/x86_64-linux-gnu/libvdpau.so -> libvdpau.so.1
lrwxrwxrwx 1 root root    17 Mar 25  2020
/usr/lib/x86_64-linux-gnu/libvdpau.so.1 -> libvdpau.so.1.0.0
-rw-r--r-- 1 root root 18592 Mar 25  2020
/usr/lib/x86_64-linux-gnu/libvdpau.so.1.0.0


What might I be missing for using the NVIDIA hardware to play the video -
and not freeze ?

Thanks,

Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210607/691afb8a/attachment.htm>


More information about the gstreamer-devel mailing list