Package Details: butterflow 0.2.3-1

Git Clone URL: (read-only)
Package Base: butterflow
Description: Make slow motion and motion interpolated videos from the command line
Upstream URL:
Keywords: interpolation motion
Licenses: custom
Conflicts: butterflow
Provides: butterflow
Submitter: dthpham
Maintainer: dthpham
Last Packager: dthpham
Votes: 7
Popularity: 0.000000
First Submitted: 2014-09-25 21:43
Last Updated: 2017-04-10 22:41

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

jswagner commented on 2014-10-07 02:23

@dthpham Thanks for the great details! I'll keep checking back.

dthpham commented on 2014-10-07 01:56

@jswagner I just looked into this. In theory, it should work because the OpenCL library and ICD loader is vendor agnostic. The package that provides the library and loader on Arch is called libcl, and the Arch dev's chose to use NVIDIA's implementation. The problem with this is that NVIDIA only supports OpenCL 1.1 and this seems to be causing issues for OpenCV and the other drivers (Intel, AMD/ATI) because they make use of 1.2 functions. So the answer to your question is no, not based on how things are packaged right now.

But, a couple days ago I was building and testing this on Debian and got my Intel i5-4670K working with the AMD OpenCL Library so *it is possible*. So it looks like the solution to get Intel working is to get libcl up to date. I just tried replacing libcl with libopencl and amdapp-sdk (provides 1.2) but those packages are out of date and don't build on my machine. I'm going to need a few days to play around with this more before I can get some kind of fix or workaround out.

dthpham commented on 2014-10-07 00:34

jswagner commented on 2014-10-06 22:50

@dthpham So this isn't working on Intel yet? I'm using a Haswell on-chip GPU and failing with this (despite installing intel-opencl-runtime). Just putting this here in case others run into it:
OpenCV Error: Unknown error code -6 (OpenCL function is not available: [clRetainDevice]) in opencl_check_fn, file /build/opencv/src/opencv-2.4.9/modules/ocl/src/cl_runtime/cl_runtime.cpp, line 83
ERROR: Can't select OpenCL device: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz(Intel(R) OpenCL)
ERROR: Required OpenCL device not found, check configuration:
Platform: any
Device types: GPU CPU
Device name: any
OpenCV Error: Unknown error code -221 (Can't select OpenCL device) in getContext, file /build/opencv/src/opencv-2.4.9/modules/ocl/src/cl_context.cpp, line 684
terminate called after throwing an instance of 'cv::Exception'
what(): /build/opencv/src/opencv-2.4.9/modules/ocl/src/cl_context.cpp:684: error: (-221) Can't select OpenCL device in function getContext

dthpham commented on 2014-10-06 22:28

Thanks @morosa. Are you using it with opencl-nvidia? I'm just curious as that's the only combination of libcl and ICD that I can verify is working at the moment.

morosa commented on 2014-10-06 22:18

really nice piece of work

dthpham commented on 2014-10-06 03:32

@jswagner Thanks. Updated the PKGBUILD. It was missing opencl-headers.

dthpham commented on 2014-10-06 03:25

@morosa That's a compiler warning that can be ignored for now.

jswagner commented on 2014-10-06 03:18

Build fails for me.
In file included from /usr/include/python2.7/numpy/ndarraytypes.h:1804:0,
from /usr/include/python2.7/numpy/ndarrayobject.h:17,
from butterflow/motion/conversion.h:8,
from butterflow/motion/py_motion.cpp:8:
/usr/include/python2.7/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
butterflow/motion/py_motion.cpp:11:21: fatal error: CL/cl.hpp: No such file or directory
#include <CL/cl.hpp>
compilation terminated.
error: command 'gcc' failed with exit status 1
==> ERROR: A failure occurred in package().

morosa commented on 2014-10-05 11:23

now something like that: /usr/include/python2.7/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]