vvdec: vvdecapp build shared can not be executed by old CPU

I have 2 PC: new AMD R5 3600 and old Intel i5 2500s, both use Windows.

I build vvdec on AMD R5 3600 PC using MSYS2 mingw64 environment.

My steps: git clone https://github.com/fraunhoferhhi/vvdec mkdir build && cd build

// build static cmake .. -DBUILD_SHARED_LIBS=0 -DCMAKE_BUILD_TYPE=Release -G "MSYS Makefiles" vvdecapp.exe file is generated and need follow dll files to be ran: libgcc_s_seh-1.dll, libstdc++-6.dll, libwinpthread-1.dll. It can be executed by both AMD R5 3600 and Intel i5 2500s cpu.

// build shared cmake .. -DBUILD_SHARED_LIBS=1 -DCMAKE_BUILD_TYPE=Release -G "MSYS Makefiles" vvdecapp.exe and libvvdec.dll are generated, also need 3 dll files above to be ran. This time, AMD R5 3600 runs fine.
Intel i5 2500s doesn’t.

Untitled

If I build shared with -DVVDEC_ENABLE_X86_SIMD=OFF cmake .. -DBUILD_SHARED_LIBS=1 -DCMAKE_BUILD_TYPE=Release -G "MSYS Makefiles" -DVVDEC_ENABLE_X86_SIMD=OFF Intel i5 2500s can run it, but decrease performance.

I install MSYS2 on i5 2500s PC and try building shared without -DVVDEC_ENABLE_X86_SIMD=OFF i5 2500s still can’t run it.

i5 2500s can run vvdecapp with static build, so SIMD does work fine on this cpu, but not build shared.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19 (7 by maintainers)

Most upvoted comments

I have an old laptop at home with a similarly old CPU. I can test it on that machine tomorrow.

Which version of Windows are you using? Could that be the problem?