I am trying to compile gst-plugins-bad (master) with support for Nvidia's
hardware decoding. The output of autogen indicates nvdec will be built but I receive a make error: In file included from gstnvdec.c:34:0: ../../gst-libs/gst/gl/glprototypes/sync.h:27:22: error: expected specifier-qualifier-list before ‘GLsync’ GST_GL_EXT_FUNCTION (GLsync, FenceSync, ^ ../../gst-libs/gst/gl/gstglfuncs.h:93:3: note: in definition of macro ‘GST_GL_EXT_FUNCTION’ ret (GSTGLAPI *name) args; ^~~ Do I have some library missing causing this error? Regards, Dave. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Belay that!
I must have been over zealous when removing some unwanted packages. I now have nvdec built and installed but it is not working. gst-inspect-1.0 reports (gst-inspect-1.0:31352): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-1.0/libgstnvdec.so': libgstgl-1.0.so.0: cannot open shared object file: No such file or directory Could not load plugin file: Opening module failed: libgstgl-1.0.so.0: cannot open shared object file: No such file or directory However the file is available in /usr/local/lib/ Regards, Dave. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi Dave
Digits wrote > I now have nvdec built and installed but it is not working. > gst-inspect-1.0 > reports > > (gst-inspect-1.0:31352): GStreamer-WARNING **: Failed to load plugin > '/usr/local/lib/gstreamer-1.0/libgstnvdec.so': libgstgl-1.0.so.0: cannot > open shared object file: No such file or directory > Could not load plugin file: Opening module failed: libgstgl-1.0.so.0: > cannot > open shared object file: No such file or directory > > However the file is available in /usr/local/lib/ You should check the shared library libgstgl-1.0.so.0 required by your plugin libgstnvdec.so. For example, run "ldd /usr/local/lib/gstreamer-1.0/libgstnvdec.so" Does it require libgstgl-1.0.so.0 located in /usr/local/lib or other place? -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Thanks,
libgstgl-1.0.so.0 couldn't be found even though it was where expected - ldconfig fixed that. Now the plugin complains of an undefined symbol: (gst-inspect-1.0:29078): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-1.0/libgstnvdec.so': /usr/local/lib/gstreamer-1.0/libgstnvdec.so: undefined symbol: cuCtxDestroy_v2 Could not load plugin file: Opening module failed: /usr/local/lib/gstreamer-1.0/libgstnvdec.so: undefined symbol: cuCtxDestroy_v2 Regards, Dave. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Le vendredi 24 novembre 2017 à 04:48 -0700, Digits a écrit :
> libgstgl-1.0.so.0 couldn't be found even though it was where expected > - > ldconfig fixed that. Now the plugin complains of an undefined > symbol: > > (gst-inspect-1.0:29078): GStreamer-WARNING **: Failed to load plugin > '/usr/local/lib/gstreamer-1.0/libgstnvdec.so': > /usr/local/lib/gstreamer-1.0/libgstnvdec.so: undefined symbol: > cuCtxDestroy_v2 > Could not load plugin file: Opening module failed: > /usr/local/lib/gstreamer-1.0/libgstnvdec.so: undefined symbol: > cuCtxDestroy_v2 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (201 bytes) Download Attachment |
I am using the latest cuda 8 version (cuda 9 is not recognised when compiling
nvdec) cuda_8.0.61_375.26 with cuda_8.0.61.2 patch applied. Video SDK is Video_Codec_SDK_8.0.14. Dave. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Le 24 nov. 2017 6:53 PM, "Digits" <[hidden email]> a écrit : I am using the latest cuda 8 version (cuda 9 is not recognised when compiling Ok, maybe it's too new then, and NVidia broke the API. I would suggest you to search the SDK header and document what happened with the missing symbol. As long as this is not built in our CI, it will keep breaking, it's often a miserable disaster with these proprietary SDK API, as we don't have them on our servers. Meanwhile, file a bug at bugs.gnome.org, product GStreamer component gst-plugins-base.
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Nicolas Dufresne-5
On Fri, Nov 24, 2017 at 3:12 PM, Nicolas Dufresne <[hidden email]> wrote:
> Le vendredi 24 novembre 2017 à 04:48 -0700, Digits a écrit : >> libgstgl-1.0.so.0 couldn't be found even though it was where expected >> - >> ldconfig fixed that. Now the plugin complains of an undefined >> symbol: >> >> (gst-inspect-1.0:29078): GStreamer-WARNING **: Failed to load plugin >> '/usr/local/lib/gstreamer-1.0/libgstnvdec.so': >> /usr/local/lib/gstreamer-1.0/libgstnvdec.so: undefined symbol: >> cuCtxDestroy_v2 >> Could not load plugin file: Opening module failed: >> /usr/local/lib/gstreamer-1.0/libgstnvdec.so: undefined symbol: >> cuCtxDestroy_v2 > > Maybe you have an older version of the SDK ? Actually, its probably a header issue. The CUVID SDK is a REALLY badly put together bundle of crap. Seriously, its the worst piece of published interface I've ever seen from a major company. Anyway, depending on what headers you use, and which flags you compile with, cuCtxDestroy_v2 may, or may not, be invoked when you call cuCtxDestroy(). You'll find that the cuda.h files, and the driver api files actually *disagree* on how to handle cases of deprecated interfaces like this, and if you're using the headers for one of these, but linking with the other, you'll get errors just like this. The 3 months I spent writing our own version of nvdec for our company, because we couldn't wait for the gstreamer release of same, were some of the most miserable in my career. _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |