Skip to content

[DRAFT] Legacy CPU support for Intel/AMD pre-2011 (AVX-free builds)#42

Draft
AshBuk wants to merge 1 commit intomasterfrom
feature/legacy-cpu-support
Draft

[DRAFT] Legacy CPU support for Intel/AMD pre-2011 (AVX-free builds)#42
AshBuk wants to merge 1 commit intomasterfrom
feature/legacy-cpu-support

Conversation

@AshBuk
Copy link
Owner

@AshBuk AshBuk commented Sep 27, 2025

Affected CPUs:

  • Intel Core 2 series and earlier
  • Intel Core i3/i5/i7 1st generation (Nehalem, Westmere)
  • AMD Phenom series and earlier
  • AMD FX series (some models)

Build process changes:

  • Add whisper-libs-legacy target with disabled AVX/AVX2/FMA instructions
  • Add build-systray-legacy and appimage-legacy targets
  • Add docker-appimage-legacy for containerized legacy builds
  • Force clean rebuild for legacy to ensure compatibility
  • Use GCC flags -mno-avx -mno-avx2 -mno-fma -mno-f16c for whisper.cpp

This addresses SIGILL crashes on older CPUs that don't support modern vector instruction sets while maintaining optimized builds for newer hardware.

Legacy AppImage filename: speak-to-ai-legacy-{version}.AppImage

- Add whisper-libs-legacy target with disabled AVX/AVX2/FMA instructions
- Add build-systray-legacy and appimage-legacy targets
- Add docker-appimage-legacy for containerized legacy builds
- Force clean rebuild for legacy to ensure compatibility
- Use GCC flags -mno-avx -mno-avx2 -mno-fma -mno-f16c for whisper.cpp

This addresses SIGILL crashes on older CPUs that don't support
modern vector instruction sets while maintaining optimized builds
for newer hardware.

Legacy AppImage filename: speak-to-ai-legacy-{version}.AppImage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant