qmlglsink Problem on ARM based NV Jetson TX1 - Cannot retrieve current context (NULL)

Ilya Aleshkov ilya.aleshkov at gmail.com
Thu Aug 1 12:52:37 UTC 2019


Hi Bodo,

How do you start your pipeline?

Thanks,
Ilya

On Thu, Aug 1, 2019 at 3:10 PM realBohd2 <realsfg at gmx.de> wrote:

> Just to make sure, I'm replying myself here, as the mailing wrapped the
> email
> in a HTML attachment...
>
> Original message:
>
> Hi all,
>
> currently I'm trying to display a simple gstreamer stream within a QT
> Application.
>
> The stream basically does:
> videotestsrc ! glupload ! qmlglsink
>
> This is working fine on a x86 host machine but does not work on the target
> ARM machine.
>
> When running the binary there we get:
> WARN glcontext gstglcontext.c:495:gst_gl_context_get_current_gl_context:
> Could not retrieve current context
> ERROR qtglutility gstqtglutility.cc:158:gst_qt_get_gl_wrapcontext: cannot
> wrap qt OpenGL context (NULL)
>
> This is caused when loading the qml file:
> engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
>
> The main.qml features a GstGLVideoItem based on:
> import org.freedesktop.gstreamer.GLVideoItem 1.0
>
> May it be that the context simply isn't initialized at this moment?
> Or can this be some kind of a version mismatch?
>
> QMake version 3.1
> Using Qt version 5.12.3
> GStreamer 1.8.3
>
> Remark: the qmlglsink is self-build from the 1.8.3 branch of the
> gst-plugins-bad.
>
> Any help is appreciated.
>
> Thanks,
> Bodo
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190801/2a46b2ee/attachment.html>


More information about the gstreamer-devel mailing list