Known Issues

Known issues with the Krisp VIVA SDK and how to work around them.

Crash on Linux x64

The OpenBLAS library may fail to correctly identify certain AMD CPUs. This will lead to a crash due to the execution of unsupported AVX-512 instructions. The issue can be resolved by manually setting the OPENBLAS_CORETYPE environment variable before loading the Krisp SDK.

Fix

Run one of the following commands, depending on your AMD Zen CPU generation:

AMD Zen 1st Generation

export OPENBLAS_CORETYPE=HASWELL

AMD Zen 2nd-3rd Generation

export OPENBLAS_CORETYPE=ZEN

AMD Zen 4th Generation

export OPENBLAS_CORETYPE=SKYLAKEX

Reference

https://github.com/OpenMathLib/OpenBLAS/blob/v0.3.29/README.md


Increased CPU Consumption

The SDK creates a thread pool by default. While this may slightly improve audio frame processing time, it can lead to significant CPU overhead, especially in multi-process setups where each process spawns its own thread pool.

Fix

Set this before loading the Krisp SDK to ensure single-threaded execution:

export OPENBLAS_NUM_THREADS=1

Notes

Single-threaded execution will be the default in the next Server SDK release.


Did this page help you?