GStreamer OpenGL plugin fails with XOpenDisplay in Freescale i.MX6 Ubuntu

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

GStreamer OpenGL plugin fails with XOpenDisplay in Freescale i.MX6 Ubuntu

2,178件の閲覧回数
yuansong
Contributor I

I'm trying to use GStreamer's OpenGL plugin (gst-plugins-gl) in Ubuntu in the latest release (L3.0.35_4.0.0_130424) with the following command:

gst-launch -v videotestsrc ! "video/x-raw-rgb" ! glupload ! glimagesink

Then it failed with segmentational fault at the following place:

#0  0x2b2d79d4 in XSynchronize () from /usr/lib/arm-linux-gnueabi/libX11.so.6

#1  0x2b213bba in gst_gl_window_new (external_gl_context=0)

    at gstglwindow_x11ES2.c:343

#2  0x2b209602 in gst_gl_display_thread_create_context (display=0x15b008)

    at gstgldisplay.c:585

#3  0x2ac22b58 in ?? () from /lib/arm-linux-gnueabi/libglib-2.0.so.0

#4  0x2ac22b58 in ?? () from /lib/arm-linux-gnueabi/libglib-2.0.so.0

I checked that it's actually due to priv->device was NULL in gst-libs/gst/gl/gstglwindow_x11ES2.c:298

priv->device = XOpenDisplay (priv->display_name);

I tried X11 with both the accelerated vivante display or the original fbdev display, it's the same result. I would really appreciate if anyone has any ideas on why XOpenDisplay failed here.

ラベル(4)
0 件の賞賛
返信
3 返答(返信)

1,629件の閲覧回数
YixingKong
Senior Contributor IV

Yuan

This discussion is closed since no activity. If you still need help, please feel free to reply with an update to this discussion, or create another discussion.

Thanks,

Yixing

0 件の賞賛
返信

1,629件の閲覧回数
YixingKong
Senior Contributor IV

Yuan

We have not got your response yet and will close the discussion in 3 days. If you still need help, please feel free to

reply with an update to this discussion.
Thanks,
Yixing

0 件の賞賛
返信

1,629件の閲覧回数
YixingKong
Senior Contributor IV

Yuan

We are sorry for getting back to you so late. Are you still stuck with the issue? If you have somehow to resolved the

issue, can we close the discussion? If you still need Freescale help, please feel free to contact us.

Thanks,
Yixing

0 件の賞賛
返信