[Beignet] clCreateFromGLTexture working?

Sean Lynch seanl at literati.org
Tue Mar 29 06:14:50 UTC 2016


I'm getting a segfault with the following stack when trying to call
clCreateFromGLTexture from PyOpenCL (which just got preliminary support for
it):

#0  0x0000000000000000 in ?? ()
#1  0x00007f8b6af995bd in clCreateFromGLTexture () from
/usr/lib/libOpenCL.so.1
#2  0x00007f8b6b1f3a78 in create_from_gl_texture () from
/home/seanl/project/voxel/pyenv/lib/python3.5/site-packages/pyopencl-2015.2.4-py3.5-linux-x86_64.egg/pyopencl/_
cffi.cpython-35m-x86_64-linux-gnu.so
#3  0x00007f8b6b1cb10b in _cffi_f_create_from_gl_texture(_object*,
_object*) () from
/home/seanl/project/voxel/pyenv/lib/python3.5/site-packages/pyopencl-2015.2.4-py3.5-linux-x86_64.egg/pyopencl/_
cffi.cpython-35m-x86_64-linux-gnu.so
#4  0x00007f8b75f755e9 in PyCFunction_Call () from
/usr/lib/libpython3.5m.so.1.0
#5  0x00007f8b75fed5f1 in PyEval_EvalFrameEx () from
/usr/lib/libpython3.5m.so.1.0
#6  0x00007f8b75fee9e2 in ?? () from /usr/lib/libpython3.5m.so.1.0
#7  0x00007f8b75feeac3 in PyEval_EvalCodeEx () from
/usr/lib/libpython3.5m.so.1.0
#8  0x00007f8b75f58b98 in ?? () from /usr/lib/libpython3.5m.so.1.0
#9  0x00007f8b75f2e0da in PyObject_Call () from
/usr/lib/libpython3.5m.so.1.0
#10 0x00007f8b75f44d64 in ?? () from /usr/lib/libpython3.5m.so.1.0
#11 0x00007f8b75f2e0da in PyObject_Call () from
/usr/lib/libpython3.5m.so.1.0
#12 0x00007f8b75f8aa10 in ?? () from /usr/lib/libpython3.5m.so.1.0
#13 0x00007f8b75f88de6 in ?? () from /usr/lib/libpython3.5m.so.1.0
#14 0x00007f8b75f2e0da in PyObject_Call () from
/usr/lib/libpython3.5m.so.1.0
#15 0x00007f8b75fe74bc in PyEval_EvalFrameEx () from
/usr/lib/libpython3.5m.so.1.0
#16 0x00007f8b75fed942 in PyEval_EvalFrameEx () from
/usr/lib/libpython3.5m.so.1.0
#17 0x00007f8b75fee9e2 in ?? () from /usr/lib/libpython3.5m.so.1.0
#18 0x00007f8b75feeac3 in PyEval_EvalCodeEx () from
/usr/lib/libpython3.5m.so.1.0
#19 0x00007f8b75feeaeb in PyEval_EvalCode () from
/usr/lib/libpython3.5m.so.1.0
#20 0x00007f8b7600dc64 in ?? () from /usr/lib/libpython3.5m.so.1.0
#21 0x00007f8b76010175 in PyRun_FileExFlags () from
/usr/lib/libpython3.5m.so.1.0
#22 0x00007f8b760102e6 in PyRun_SimpleFileExFlags () from
/usr/lib/libpython3.5m.so.1.0
#23 0x00007f8b760270f4 in Py_Main () from /usr/lib/libpython3.5m.so.1.0
#24 0x0000000000400af7 in main ()

Should this work with current Beignet master?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/beignet/attachments/20160328/fa58a362/attachment-0001.html>


More information about the Beignet mailing list