Giter VIP home page Giter VIP logo

Comments (4)

dthpham avatar dthpham commented on July 23, 2024 2

Hello.

The problem is that Arch Linux has upgraded the opencv package to 3.x, while butterflow still depends on version 2.

What you will need to do is to remove opencv and replace it with opencv2 before building butterflow. There's a package in the AUR that you can use to install opencv2 here. Make sure to remove all packages that depend on opencv, like opencv-samples, before installing opencv2. This will save you the trouble of re-compiling the package, which takes a long time, if the install fails.

By the way, the version of butterlow in the AUR is broken. I recommend building the master version from source because it's the only version that I can confirm that works on Arch at this time:

from sminterpolate.

 avatar commented on July 23, 2024

Hi, sorry for the late reply, I didn't know you answered so quickly. I've done what you mentioned, and I got the program built and compiled outside the virtual environment.

One thing though, I'm trying to re-encode this short (30 second) video at 2x the playback rate, but so far it's still been encoding. I get the message, "[butterflow.WARNING]: not using opencl, ctrl+c to quit
". Doing "butterflow -d" does list my device, and I haven't forced it to use software rendering. I assume that's why there's little to no progress even though it's maxing out two cores. Is there any way I can force it to use opencl? I do have python(2)-pyopencl and opencl-mesa (I'm using an AMD card).

Thanks again.

from sminterpolate.

dthpham avatar dthpham commented on July 23, 2024

Yeah, it's not using OpenCL. Maybe it auto-picked your CPU instead of your GPU? Try running export OPENCV_OPENCL_DEVICE=:GPU; butterlow -r2x <your video>.

If that doesn't work, take a look at the Arch Wiki page on GPGPUs for tips on how to get a functional OpenCL environment working on your machine. It says that opencl-mesa is under development so that may be your problem. There's amdapp-sdk that you can try installing, it's better supported but it's proprietary/closed source if that concerns you.

from sminterpolate.

 avatar commented on July 23, 2024

Unfortunately, the same error persists. I've tried the amdapp-sdk package from the AUR, but it requires opencv3 to compile, which I think you mentioned doesn't work for this program.

Anyway, the initial issue was fixed, so I guess I'll close this and maybe ask if I can try again. If there's anymore information you need, I can provide it. Thanks very much for your time!

from sminterpolate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.