[Bug 792171] New: nvdec: Fail to load plugin - missing cudart library in runtime

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jan 3 15:46:48 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=792171

            Bug ID: 792171
           Summary: nvdec: Fail to load plugin - missing cudart library in
                    runtime
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ssheribe at redhat.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

When compiling nvdec, linking is done against the libs (libcuda, libcudart)
that are provided by cuda-tools (path is set by the --with-cuda-prefix or
pkg-config).

In runtime, required libraries are searched in the runtime-library-path. 
libcudart is installed only by cuda-tools in a path does not exist by default
in runtime-library-paths, so libcudart cannot be found and nvdec fails to load.

Adding cuda-tools libraries directory to runtime-library-path overcomes this
issue.
There are no issues with libcuda since the library is also installed by the
driver installer in the default library path location.


Steps to reproduce
1. Have a supported Nvidia card and install driver & cuda tools 8.0
2. Build nvdec with --with-cuda-prefix to installed location (or set
PKG_CONFIG_PATH)
3. Try to use nvdec

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list