Advertisement
vliaskov

vaapi: egl context segfault, tries glx

Sep 7th, 2015
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. GST_GL_WINDOW=x11 GST_GL_API=opengl GST_GL_PLATFORM=egl gdb /opt/build/bin/gst-launch-1.0
  2.  
  3. (gdb) r playbin uri=file:////opt/Videos/3.mp4 video-sink=glimagesink
  4. ...
  5. gl_create_context (dpy=0x7fffe0021010, screen=0, parent=0x7fffc591ebe0) at gstvaapiutils_glx.c:315
  6. 315 screen = DefaultScreen (parent->display);
  7. (gdb) bt
  8. #0 gl_create_context (dpy=0x7fffe0021010, screen=0, parent=0x7fffc591ebe0) at gstvaapiutils_glx.c:315
  9. #1 0x00007fffd84e9f2a in create_objects (texture_id=1, texture=0x7fffb84d2000) at gstvaapitexture_glx.c:138
  10. #2 create_texture_unlocked (texture=0x7fffb84d2000) at gstvaapitexture_glx.c:177
  11. #3 gst_vaapi_texture_glx_create (texture=0x7fffb84d2000) at gstvaapitexture_glx.c:186
  12. #4 0x00007fffd8b2b9c5 in gst_vaapi_texture_allocate (texture=0x7fffb84d2000) at gstvaapitexture.c:61
  13. #5 gst_vaapi_texture_new_internal (klass=klass@entry=0x7fffd86f0460 <g_class>, display=display@entry=0x7fffdc015420, id=1, target=target@entry=3553, format=format@entry=6408, width=1920,
  14. height=height@entry=1088) at gstvaapitexture.c:81
  15. #6 0x00007fffd84ea36f in gst_vaapi_texture_glx_new_wrapped (display=0x7fffdc015420, texture_id=1, target=3553, format=6408) at gstvaapitexture_glx.c:289
  16. #7 0x00007fffd8dad7fc in gst_vaapi_texture_upload (meta=0x7fffb40032c8, texture_id=0x7fffb40084b8) at gstvaapivideometa_texture.c:187
  17. #8 0x00007ffff4d1eda1 in _do_upload_with_meta (context=<optimized out>, upload=0x7fffb40084a0) at gstglupload.c:604
  18. #9 0x00007ffff4d20e58 in _run_message_sync (message=0x7fffbf7fd2e0) at gstglwindow.c:638
  19. #10 0x00007ffff4d20df2 in _run_message_async (message=0x7fffb400df40) at gstglwindow.c:707
  20. #11 0x00007ffff7580db5 in g_main_dispatch (context=0x7fffe00b1f10) at gmain.c:3122
  21. #12 g_main_context_dispatch (context=context@entry=0x7fffe00b1f10) at gmain.c:3737
  22. #13 0x00007ffff7581128 in g_main_context_iterate (context=0x7fffe00b1f10, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3808
  23. #14 0x00007ffff75813ea in g_main_loop_run (loop=0x7fffe01172b0) at gmain.c:4002
  24. #15 0x00007ffff4d0cef3 in gst_gl_context_create_thread (context=0x7fffe010b5b0) at gstglcontext.c:1364
  25. #16 0x00007ffff75a6455 in g_thread_proxy (data=0x7fffe00fe050) at gthread.c:764
  26. #17 0x00007ffff7322182 in start_thread (arg=0x7fffc591f700) at pthread_create.c:312
  27. #18 0x00007ffff704f47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement