When adding the filter to an audio source OBS will crash if you don't have a GPU installed
To Reproduce
Steps to reproduce the behavior:
- Open OBS
- Add the filter to an audio source
Expected behavior
The filter should initialize and default or fall-back to CPU
Log and Crash Report
warning: [obs-cleanstream] Invalid GPU device selected: 0. Using CPU for inference/home/runner/work/occ-ai-dep-whispercpp/occ-ai-dep-whispercpp/build/Whispercpp_Build-prefix/src/Whispercpp_Build/ggml/src/ggml-backend.cpp:501: GGML_ASSERT(device) failed
Desktop (please complete the following information):
- OS: Ubuntu 24.04
- Plugin Version: 0.2
- OBS Version: 32
Additional context
It is clear the problem comes from the pre-compiled whisper/GGML libraries which are for some reason failing to use the CPU.
for argument, I tried removing all video libraries (Blas, vulkan, opencl) via cmake flags and building from source. unfortunately, since artifacts are pulled, flags to disable libraries are effectively ignored. So there's a sort of two part bug here, unless I just don't understand how to make the build system actually build instead of pull artifacts (very possible).
Asks:
OBS-log.txt
- I don't see why whisper/ggml are failing to fallback to CPU, this seems like it should work and is maybe their bug?
- But in the absence of that option simply compiling with GPU features disabled would be possible.
When adding the filter to an audio source OBS will crash if you don't have a GPU installed
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The filter should initialize and default or fall-back to CPU
Log and Crash Report
warning: [obs-cleanstream] Invalid GPU device selected: 0. Using CPU for inference/home/runner/work/occ-ai-dep-whispercpp/occ-ai-dep-whispercpp/build/Whispercpp_Build-prefix/src/Whispercpp_Build/ggml/src/ggml-backend.cpp:501: GGML_ASSERT(device) failedDesktop (please complete the following information):
Additional context
It is clear the problem comes from the pre-compiled whisper/GGML libraries which are for some reason failing to use the CPU.
for argument, I tried removing all video libraries (Blas, vulkan, opencl) via cmake flags and building from source. unfortunately, since artifacts are pulled, flags to disable libraries are effectively ignored. So there's a sort of two part bug here, unless I just don't understand how to make the build system actually build instead of pull artifacts (very possible).
Asks:
OBS-log.txt