[Bug 71759] Intel driver fails with "intel_do_flush_locked failed: No such file or directory" if buffer imported with EGL_NATIVE_PIXMAP_KHR

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 29 14:51:28 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=71759

--- Comment #5 from Fabrice Bellet <fabrice at bellet.info> ---
On a thinkpad X220 (Intel HD Graphics 3000), running the latest packages of the
upcoming Fedora 21, updates-testing repo enabled, with gstreamer1-vaapi
installed, and libva-intel-driver from rpmfusion :

$ wget http://samples.mplayerhq.hu/V-codecs/h264/NeroAVC.mp4
[...]
$ gst-launch-1.0 filesrc location=NeroAVC.mp4 ! qtdemux ! h264parse !
vaapidecode ! videoconvert ! cluttersink
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'vaapidecode0': gst.vaapi.Display=context,
display=(GstVaapiDisplay)NULL;
Pipeline is PREROLLED ...
intel_do_flush_locked failed: No such file or directory

-> stack:

Breakpoint 1, do_flush_locked (brw=<optimized out>) at intel_batchbuffer.c:282
282          fprintf(stderr, "intel_do_flush_locked failed: %s\n",
strerror(-ret));
(gdb) bt
#0  0x00007fffe2c846ba in _intel_batchbuffer_flush (brw=<optimized out>) at
intel_batchbuffer.c:282
#1  0x00007fffe2c846ba in _intel_batchbuffer_flush (brw=0x1e98408, file=0x0, 
    file at entry=0x7fffe2e05ca0 "brw_context.c", line=9330936, line at entry=231) at
intel_batchbuffer.c:330
#2  0x00007fffe2c84a8f in _intel_batchbuffer_flush (brw=brw at entry=0x1e98408,
file=file at entry=0x7fffe2e05ca0 "brw_context.c", line=line at entry=231) at
intel_batchbuffer.c:295
#3  0x00007fffe2ca9855 in intel_glFlush (ctx=0x1e98408) at brw_context.c:231
#4  0x00007fffe29f2778 in _mesa_make_current (newCtx=newCtx at entry=0x0,
drawBuffer=drawBuffer at entry=0x0, readBuffer=readBuffer at entry=0x0) at
../../src/mesa/main/context.c:1629
#5  0x00007fffe2cab47f in intelUnbindContext (driContextPriv=<optimized out>)
at brw_context.c:909
#6  0x00007fffe2c4da95 in driUnbindContext (pcp=0x1e423c0) at dri_util.c:579
#7  0x00007fffed4dd585 in MakeContextCurrent (dpy=0x98b810, draw=73400331,
read=73400331, gc_user=0x628630) at glxcurrent.c:229
#8  0x00007fffed2bc5d0 in vaCopySurfaceGLX_impl_libva (ctx=0x1dd0d40,
gl_surface=0x2e3aee0, surface=<optimized out>, flags=<optimized out>) at
va_glx_impl.c:1060
#9  0x00007fffed75c52f in gst_vaapi_texture_put_surface () at
/lib64/libgstvaapi-glx-1.4.so.0
#10 0x00007fffe8675f76 in clutter_gst_gl_texture_upload_upload (sink=0x8e60f8,
buffer=0x7fffd80030b0)
    at ./clutter-gst-video-sink.c:1542
#11 0x00007fffe867787e in clutter_gst_source_dispatch (source=0x96d200,
callback=0x0, user_data=0x8e60f8)
    at ./clutter-gst-video-sink.c:627
#12 0x00007ffff7385afb in g_main_context_dispatch (context=0x1d87bc0) at
gmain.c:3111
#13 0x00007ffff7385afb in g_main_context_dispatch
(context=context at entry=0x1d87bc0) at gmain.c:3710
#14 0x00007ffff7385e98 in g_main_context_iterate (context=0x1d87bc0,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
gmain.c:3781
#15 0x00007ffff73861c2 in g_main_loop_run (loop=0x1dd98e0) at gmain.c:3975
#16 0x00007ffff7b0773a in gst_bus_poll (bus=0x7635c0 [GstBus], events=27,
timeout=0) at gstbus.c:1091
#17 0x00000000004046e8 in event_loop (pipeline=0x1dc2150 [GstPipeline],
blocking=blocking at entry=0, do_progress=do_progress at entry=1,
target_state=target_state at entry=GST_STATE_PLAYING) at gst-launch.c:512
#18 0x000000000040362b in main (argc=13, argv=0x7fffffffe008) at
gst-launch.c:1062
(gdb) 

(same pipeline works fine on another Fedora-21 box, with an AMD card, and the
vdpau vaapi driver.)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20141029/dabe2e7d/attachment.html>


More information about the intel-3d-bugs mailing list