mkiol/dsnote

Error: “translation engine initialization has failed”.

Ixel242 opened this issue · 3 comments

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.

  1. Trying to get the origin of this problem, I checked that the plugin for the translation is contained in the correct folder;

  2. Another possible origin could be the laptops age ( because they are old, more or less from 2014).

  3. 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: #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