Error: “translation engine initialization has failed”.
HI, I installed a version of Speech Note, more or less 6 months ago, in my desktop computer: GEEKOM Mini IT11 Mini PC, i7-11390H (5,0 GHz), 32GB de RAM+1TB de SSD, on Majaro with xcfe4, and all works(Speech to Text, Text to Speech and Machine Translation) without any problem… but I tried again in 2 old laptops and all works wIth the exception of translation.
These old laptops are: Lenovo Thinkpad T410 14,1" i5 540M, 8GB, SSD 250GB Lenovo B580-M94A5GE - [Intel Core i5-3210M] 2.5 GHz, 8GB - DDR3, SSD 250GB
When I try to translate a text from English to Spanish or on the contrary, appears this comMent: ERROR: TRANSLATION ENGINE INITIALIZATION HAS FAILED.
-
Trying to get the origin of this problem, I checked that the plugin for the translation is contained in the correct folder;
-
Another possible origin could be the laptops age ( because they are old, more or less from 2014).
-
Also, I think that the installation that works correctly (on the desktop computer) was before the updating of Majaro and, on the laptops, Manjaro had been updated yet.
I'm new in linux and I'm didn't find another way for getting something strange.
Could you help me to find the problem and its solution?
Thank you, in advance.
Hi. Thanks for the report.
Most likely CPU in your old laptop does not support AVX extension. Engine behind translator (Bergamot) needs AVX to work. This is similar problem to this one: https://github.com/mkiol/dsnote/issues/88
To make sure, please start Speech Note with --verbose option to see more logs.
flatpak run net.mkiol.SpeechNote --verbose
To check if AVX is supported in your CPU you can use:
lscpu | grep avx
The problem is the lack of AVX in the CPU. I am closing for now. Feel free to re-open if you want to add more information.
Hi,
yes...you are correct, I've tried the commands in the Terminal and in different lines I have sentences like: "avx not supported but ds engine needs it" "mnt not available because cpu doesn't have avx"
Thank you for your help!