qmlglsrc on Windows

Ilya Aleshkov ilya.aleshkov at gmail.com
Tue Jul 9 16:14:16 UTC 2019


Hi,
I'm trying to use qmlglsrc
<https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good/html/gst-plugins-good-plugins-qmlglsrc.html>
on Windows 10.
I've built it successfully without any issues (Qt 5.12.4 MSVC 2017 64bit).
But when I run grabqml
<https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/tree/master/tests/examples/qt/qmlsrc>
example,
I get these errors:
...
0:00:03.004784000  2940 0000020545946000 INFO             qtglutility
gstqtglutility.cc:70:gst_qt_get_gl_display:
QGuiApplication::instance()->platformName() windows
0:00:03.017062000  2940 0000020545946000 INFO               gldisplay
gstgldisplay.c:285:gst_gl_display_new: creating a display, user
choice:(NULL) (platform: (NULL))
0:00:03.028688000  2940 0000020545946000 INFO               gldisplay
gstgldisplay.c:328:gst_gl_display_new: Could not create platform/winsys
display. user specified (NULL) (platform: (NULL)), creating dummy

0:00:03.141476000  2940 0000020547CC8C90 INFO               glcontext
gstglcontext.c:1076:_create_context_info:<glwrappedcontext0> GL_VERSION:
4.6.0 NVIDIA 430.86
0:00:03.155062000  2940 0000020547CC8C90 INFO               glcontext
gstglcontext.c:1079:_create_context_info:<glwrappedcontext0>
GL_SHADING_LANGUAGE_VERSION: 4.60 NVIDIA
0:00:03.164888000  2940 0000020547CC8C90 INFO               glcontext
gstglcontext.c:1081:_create_context_info:<glwrappedcontext0> GL_VENDOR:
NVIDIA Corporation
0:00:03.176365000  2940 0000020547CC8C90 INFO               glcontext
gstglcontext.c:1083:_create_context_info:<glwrappedcontext0> GL_RENDERER:
GeForce GTX 1050 Ti/PCIe/SSE2

*** (grabqml.exe:2940): CRITICAL **: 18:51:30.319:
gst_qt_get_gl_wrapcontext: assertion 'context != NULL' failed*

0:00:03.585864000  2940 0000020547CC8C90 INFO              GST_STATES
gstbin.c:2503:gst_bin_element_set_state:<glimagesinkbin0> current NULL
pending VOID_PENDING, desired next READY
0:00:03.597466000  2940 0000020547CC8C90 INFO              GST_STATES
gstbin.c:2503:gst_bin_element_set_state:<sink> current NULL pending
VOID_PENDING, desired next READY
0:00:03.608945000  2940 0000020547CC8C90 INFO             GST_CONTEXT
gstglutils.c:115:pad_query:<sink:sink> pad peer query failed
0:00:03.617399000  2940 0000020547CC8C90 INFO             GST_CONTEXT
gstglutils.c:177:_gst_context_query:<sink> posting need context message
0:00:03.628544000  2940 0000020547CC8C90 INFO               gldisplay
gstgldisplay.c:285:gst_gl_display_new: creating a display, user
choice:(NULL) (platform: (NULL))
0:00:03.639677000  2940 0000020547CC8C90 INFO               gldisplay
gstgldisplay.c:328:gst_gl_display_new: Could not create platform/winsys
display. user specified (NULL) (platform: (NULL)), creating dummy
0:00:03.654408000  2940 0000020547CC8C90 INFO             GST_CONTEXT
gstglutils.c:241:gst_gl_element_propagate_display_context:<sink> posting
have context (0000020545943CC0) message with display (00000205459497B0)
0:00:03.666858000  2940 0000020547CC8C90 INFO             GST_CONTEXT
gstglutils.c:115:pad_query:<sink:sink> pad peer query failed
0:00:03.677537000  2940 0000020547CC8C90 INFO             GST_CONTEXT
gstglutils.c:177:_gst_context_query:<sink> posting need context message
0:00:03.687732000  2940 0000020547CC8C90 INFO               glcontext
gstglcontext.c:333:gst_gl_context_new: creating a context for display
<gldisplay1>, user choice:(null)
0:00:03.698116000  2940 0000020547CC8C90 INFO                glwindow
gstglwindow.c:247:gst_gl_window_new: creating a window, user choice:(null)
0:00:03.742216000  2940 0000020547C911C0 INFO               glcontext
gstglcontext.c:1236:gst_gl_context_create_thread:<glcontextwgl0> Attempting
to create opengl context. user chosen api(s) (any), compiled api support
(opengl opengl3) display api (opengl opengl3 gles2)
0:00:03.816484000  2940 0000020547C911C0 INFO               glcontext
gstglcontext.c:1247:gst_gl_context_create_thread:<glcontextwgl0> created
context
0:00:03.827346000  2940 0000020547C911C0 INFO               glcontext
gstglcontext.c:1263:gst_gl_context_create_thread:<glcontextwgl0> available
GL APIs: opengl3
0:00:03.842064000  2940 0000020547C911C0 INFO               glcontext
gstglcontext.c:1076:_create_context_info:<glcontextwgl0> GL_VERSION: 4.5.0
NVIDIA 430.86
0:00:03.851619000  2940 0000020547C911C0 INFO               glcontext
gstglcontext.c:1079:_create_context_info:<glcontextwgl0>
GL_SHADING_LANGUAGE_VERSION: 4.50 NVIDIA
0:00:03.862506000  2940 0000020547C911C0 INFO               glcontext
gstglcontext.c:1081:_create_context_info:<glcontextwgl0> GL_VENDOR: NVIDIA
Corporation
0:00:03.872977000  2940 0000020547C911C0 INFO               glcontext
gstglcontext.c:1083:_create_context_info:<glcontextwgl0> GL_RENDERER:
GeForce GTX 1050 Ti/PCIe/SSE2
0:00:04.247393000  2940 0000020547C911C0 INFO               glcontext
gstgldebug.c:347:_gst_gl_debug_enable:<glcontextwgl0> Enabling GL context
debugging
0:00:04.257968000  2940 0000020547C911C0 INFO               glcontext
gstglcontext.c:1136:_unlock_create_thread:<glcontextwgl0> gl thread running
0:00:04.267426000  2940 0000020547CC8C90 INFO               glcontext
gstglcontext.c:1042:gst_gl_context_create:<glcontextwgl0> gl thread created
...



*0:00:04.633694000  2940 0000020547CC8C90 WARN                   qtsrc
gstqtsrc.cc:485:gst_qt_src_change_state:<qtsrc0> error: Could not
initialize window system0:00:04.644595000  2940 0000020547CC8C90 INFO
 GST_ERROR_SYSTEM
gstelement.c:2141:gst_element_message_full_with_details:<qtsrc0> posting
message: Could not initialize window system0:00:04.657397000  2940
0000020547CC8C90 INFO        GST_ERROR_SYSTEM
gstelement.c:2168:gst_element_message_full_with_details:<qtsrc0> posted
error message: Could not initialize window system*

Can someone confirm that it works on some other platform?
Has anyone managed to get it working on Windows?

Thanks,
Ilya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190709/5c6849e5/attachment.html>


More information about the gstreamer-devel mailing list