Giter Site home page Giter Site logo

Comments (5)

 avatar commented on May 26, 2024

Also try changing int sse2 = has_sse2(); to int sse2 = 0;, and combinations with disabling avx.

from libass.

rossy avatar rossy commented on May 26, 2024

Well, I checked if libass was correctly detecting SSE2 and AVX2 with:

int sse2 = has_sse2();
int avx2 = has_avx2();
if (sse2) puts("\n --- LIBASS HAS SSE2 ---\n");
if (avx2) puts("\n --- LIBASS HAS AVX2 ---\n");

It definitely detects both on my laptop. int sse2 = 0; has no effect, but setting both int avx2 = 0; and int sse2 = 0; fixes the problem. I guess the issue is triggered by both the SSE2 and AVX2 code, but only on Haswell.

Also, changing line 78 to priv->be_blur_func = be_blur_c; fixes the problem.

from libass.

rcombs avatar rcombs commented on May 26, 2024

Should be fixed by 9539ecc; could you test?

from libass.

rossy avatar rossy commented on May 26, 2024

I'm getting build errors with that commit.

/bin/sh ../libtool --quiet --mode=compile "yasm"     -DARCH_X86_64=1 -m amd64   -f win64 -o x86/be_blur.lo x86/be_blur.asm -prefer-non-pic
x86/be_blur.asm:139: error: (WIN64_RESTORE_XMM_INTERNAL:10) undefined symbol `HAVE_ALIGNED_STACK' in preprocessor
x86/be_blur.asm:251: error: (WIN64_RESTORE_XMM_INTERNAL:10) undefined symbol `HAVE_ALIGNED_STACK' in preprocessor

from libass.

rossy avatar rossy commented on May 26, 2024

It works! Thanks.

from libass.

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.