Git Product home page Git Product logo

Comments (7)

DevEmperor avatar DevEmperor commented on June 12, 2024

And btw I searched the file TensileLibrary.dat on my system and I found it in a different directory:
/var/lib/flatpak/runtime/net.mkiol.SpeechNote.Addon.amd/x86_64/stable/ac5ee842a8dd2a7e03c713b26dfb940bc97f4c4557f77142bf1e7db54ad23e94/files/rocm/lib/hipblaslt/library/TensileLibrary.dat

from dsnote.

mkiol avatar mkiol commented on June 12, 2024

Thanks for the report.

This error is most likely due to incompatibility between you GPU and AMD ROCm libraries. Unfortunately, ROCm "officially" supports only few graphics cards. The path /app/extensions/amd/rocm/lib/rocblas/library/TensileLibrary.dat is actually correct because it is the path visible from the Flatpak sandbox.

Did you try to enable Settings->Other->Override GPU version option? This forces ROCm to see your card as another GPU. This helps sometimes.

from dsnote.

DevEmperor avatar DevEmperor commented on June 12, 2024

Thanks for your reply. I tried some other GPU versions, but none of them worked. Maybe my Vega 8 card isn't supported, but I have seen it different on other forums.

Anyway, I tried OpenCL, but then I get these two options in the STT tab for GPU acceleration:
Screenshot_20240304_144108

If I select the first one, the screen and system freezes and I have to hardboot. If I select the second one, I get the following error:

flatpak run net.mkiol.SpeechNote --verbose                                                                                                          ✔  17s  
[I] 14:23:53.966 0x7f7b4480ed00 init:49 - logging to stderr enabled
[D] 14:23:53.966 0x7f7b4480ed00 () - version: 4.4.0
[D] 14:23:53.966 0x7f7b4480ed00 parse_cpuinfo:117 - cpu flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate ssbd ibpb vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca sev sev_es
[D] 14:23:53.967 0x7f7b4480ed00 parse_cpuinfo:125 - cpuinfo: processor-count=8, flags=[avx, avx2, fma, f16c, ]
[D] 14:23:53.967 0x7f7b4480ed00 () - translation: "en_US"
[W] 14:23:53.967 0x7f7b4480ed00 () - failed to install translation
[D] 14:23:53.967 0x7f7b4480ed00 () - starting standalone app
[D] 14:23:53.968 0x7f7b4480ed00 () - app: net.mkiol dsnote
[D] 14:23:53.968 0x7f7b4480ed00 () - config location: "/home/devemperor/.var/app/net.mkiol.SpeechNote/config"
[D] 14:23:53.968 0x7f7b4480ed00 () - data location: "/home/devemperor/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote"
[D] 14:23:53.968 0x7f7b4480ed00 () - cache location: "/home/devemperor/.var/app/net.mkiol.SpeechNote/cache/net.mkiol/dsnote"
[D] 14:23:53.968 0x7f7b4480ed00 () - settings file: "/home/devemperor/.var/app/net.mkiol.SpeechNote/config/net.mkiol/dsnote/settings.conf"
[D] 14:23:53.968 0x7f7b4480ed00 () - platform: "xcb"
[D] 14:23:53.968 0x7f7b4480ed00 () - amd addon exists
[D] 14:23:53.968 0x7f7b4480ed00 () - enforcing num threads: 2
[D] 14:23:54.92 0x7f7b4480ed00 () - supported audio input devices:
ALSA lib ../../oss/pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
[D] 14:23:54.111 0x7f7b4480ed00 () - "pulse"
[D] 14:23:54.130 0x7f7b4480ed00 () - "default"
ALSA lib ../../../src/pcm/pcm_direct.c:2045:(snd1_pcm_direct_parse_open_conf) The field ipc_gid must be a valid group (create group audio)
[D] 14:23:54.193 0x7f7b4480ed00 () - "alsa_input.pci-0000_04_00.6.analog-stereo"
[D] 14:23:54.193 0x7f7b4480ed00 () - "alsa_output.pci-0000_04_00.6.analog-stereo.monitor"
[D] 14:23:54.193 0x7f7b4480ed00 () - "easyeffects_sink.monitor"
[D] 14:23:54.193 0x7f7b4480ed00 () - "easyeffects_source"
[D] 14:23:54.281 0x7f7b4480ed00 () - starting service: app-standalone
[D] 14:23:54.283 0x7f7b4480ed00 () - mbrola dir: "/app/bin"
[D] 14:23:54.283 0x7f7b4480ed00 () - espeak dir: "/app/bin"
[D] 14:23:54.283 0x7f7b16184600 loop:75 - py executor loop started
[D] 14:23:54.288 0x7f7b4480ed00 () - module already unpacked: "rhvoicedata"
[D] 14:23:54.288 0x7f7b4480ed00 () - module already unpacked: "rhvoiceconfig"
[D] 14:23:54.293 0x7f7b4480ed00 () - module already unpacked: "espeakdata"
[D] 14:23:54.293 0x7f7b4480ed00 () - default stt model not found: "de_whisper_large"
[D] 14:23:54.293 0x7f7b4480ed00 () - default tts model not found: "en"
[D] 14:23:54.293 0x7f7b4480ed00 () - default mnt lang not found: "en"
[D] 14:23:54.293 0x7f7b4480ed00 () - new default mnt lang: "en"
[D] 14:23:54.293 0x7f7b4480ed00 () - service refresh status, new state: busy
[D] 14:23:54.293 0x7f7b4480ed00 () - service state changed: unknown => busy
[D] 14:23:54.293 0x7f7b4480ed00 () - delaying features availability
[D] 14:23:54.296 0x7f7b4480ed00 () - runtime prefix: "/app"
[D] 14:23:54.297 0x7f7b4480ed00 () - available styles: ("Default", "Fusion", "Imagine", "Material", "org.kde.breeze", "org.kde.desktop", "Plasma", "Universal")
[D] 14:23:54.297 0x7f7b4480ed00 () - style paths: ("/usr/lib/qml/QtQuick/Controls.2")
[D] 14:23:54.297 0x7f7b4480ed00 () - import paths: ("/usr/lib/qml", "/app/bin", "qrc:/qt-project.org/imports")
[D] 14:23:54.297 0x7f7b4480ed00 () - library paths: ("/usr/share/runtime/lib/plugins", "/usr/lib/plugins", "/app/bin")
[D] 14:23:54.297 0x7f7b4480ed00 () - using auto qt style
[D] 14:23:54.297 0x7f7b4480ed00 () - XDG_CURRENT_DESKTOP: KDE
[D] 14:23:54.297 0x7f7b4480ed00 () - switching to style: "org.kde.desktop"
[D] 14:23:54.300 0x7f7b16ffd600 () - config version: 65 65
[D] 14:23:54.305 0x7f7b16184600 libs_availability:61 - checking: torch cuda
[D] 14:23:54.350 0x7f7b16ffd600 () - models changed
[D] 14:23:55.349 0x7f7b4480ed00 () - starting app: app-standalone
[D] 14:23:55.351 0x7f7b4480ed00 () - app service state: unknown => busy
logger error: invalid format string
qrc:/qml/main.qml:340:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
logger error: invalid format string
qrc:/qml/main.qml:331:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
logger error: invalid format string
qrc:/qml/Notepad.qml:24:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
logger error: invalid format string
qrc:/qml/Translator.qml:29:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
logger error: invalid format string
qrc:/qml/MainToolBar.qml:282:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
[D] 14:23:55.696 0x7f7b4480ed00 onCompleted:180 - default font pixel size: 13
[D] 14:23:55.721 0x7f7b4480ed00 () - default tts model not found: "en"
[D] 14:23:55.721 0x7f7b4480ed00 () - default mnt lang not found: "en"
[D] 14:23:55.721 0x7f7b4480ed00 () - new default mnt lang: "en"
[D] 14:23:55.721 0x7f7b4480ed00 () - service refresh status, new state: busy
[D] 14:23:55.721 0x7f7b4480ed00 () - service refresh status, new state: busy
[D] 14:23:55.755 0x7f7b4480ed00 () - trying features availability update: false
[D] 14:23:55.755 0x7f7b4480ed00 () - stt models changed
[D] 14:23:55.757 0x7f7b4480ed00 () - update listen
[D] 14:23:55.757 0x7f7b4480ed00 () - app stt configured: false => true
[D] 14:23:55.760 0x7f7b4480ed00 () - app active stt model: "" => "de_whisper_large"
[D] 14:23:55.760 0x7f7b4480ed00 () - update listen
[D] 14:23:55.760 0x7f7b4480ed00 () - tts models changed
[D] 14:23:55.760 0x7f7b4480ed00 () - update listen
[W] 14:23:55.760 0x7f7b4480ed00 () - no available tts models for in mnt
[W] 14:23:55.760 0x7f7b4480ed00 () - no available tts models for out mnt
[D] 14:23:55.760 0x7f7b4480ed00 () - ttt models changed
[D] 14:23:55.766 0x7f7b4480ed00 () - mnt langs changed
[D] 14:23:55.766 0x7f7b4480ed00 () - update listen
[W] 14:23:55.766 0x7f7b4480ed00 () - no available mnt langs
[W] 14:23:55.766 0x7f7b4480ed00 () - no available mnt out langs
[D] 14:23:56.719 0x7f7b4480ed00 () - trying features availability update: false
[D] 14:23:56.815 0x7f7b16184600 libs_availability:69 - checking: coqui tts
[D] 14:23:56.815 0x7f7b16184600 libs_availability:77 - checking: faster-whisper
[D] 14:23:57.528 0x7f7b16184600 libs_availability:85 - checking: transformers
[D] 14:23:57.528 0x7f7b16184600 libs_availability:87 - checking: accelerate
[D] 14:23:57.723 0x7f7b4480ed00 () - trying features availability update: false
[D] 14:23:58.218 0x7f7b16184600 libs_availability:95 - checking: unikud
[D] 14:23:58.219 0x7f7b16184600 libs_availability:106 - checking: mimic3 tts
[D] 14:23:58.811 0x7f7b4480ed00 () - delaying features availability
[W] 14:23:58.903 0x7f7b4480ed00 () - Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
[W] 14:23:58.904 0x7f7b4480ed00 ():130 - qrc:/qml/SettingsPage.qml:130:17: QML ComboBox (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "preferredWidth"
logger error: invalid format string
qrc:/qml/SettingsPage.qml:29:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
[D] 14:23:59.330 0x7f7b16184600 libs_availability:114 - checking: gruut
[D] 14:23:59.330 0x7f7b16184600 libs_availability:118 - checking: gruut-de
[D] 14:23:59.331 0x7f7b16184600 libs_availability:126 - checking: gruut-es
[D] 14:23:59.331 0x7f7b16184600 libs_availability:134 - checking: gruut-fr
[D] 14:23:59.332 0x7f7b16184600 libs_availability:142 - checking: gruut-it
[D] 14:23:59.333 0x7f7b16184600 libs_availability:150 - checking: gruut-ru
[D] 14:23:59.333 0x7f7b16184600 libs_availability:158 - checking: gruut-fa
[D] 14:23:59.333 0x7f7b16184600 libs_availability:166 - checking: gruut-sw
[D] 14:23:59.334 0x7f7b16184600 libs_availability:174 - checking: gruut-nl
[D] 14:23:59.334 0x7f7b16184600 libs_availability:185 - checking: mecab
[D] 14:23:59.338 0x7f7b16184600 libs_availability:187 - checking: unidic-lite
[D] 14:23:59.339 0x7f7b16184600 libs_availability:194 - py libs availability: [coqui-tts=true, faster-whisper=true, mimic3-tts=true, transformers=true, unikud=true, gruut_de=true, gruut_es=true, gruut_fa=true, gruut_fr=true, gruut_nl=true, gruut_it=true, gruut_ru=true, gruut_sw=true, mecab=true, torch-cuda=true]
[D] 14:23:59.721 0x7f7b4480ed00 () - trying features availability update: true
[D] 14:23:59.721 0x7f7b4480ed00 () - features availability ready
[W] 14:23:59.722 0x7f7b4480ed00 has_lib:477 - failed to open libcudart.so: libcudart.so: cannot open shared object file: No such file or directory
[W] 14:23:59.722 0x7f7b4480ed00 has_lib:477 - failed to open libcudnn.so: libcudnn.so: cannot open shared object file: No such file or directory
[W] 14:23:59.722 0x7f7b4480ed00 has_lib:477 - failed to open libcudnn.so.8: libcudnn.so.8: cannot open shared object file: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LC_ADDRESS = "de_DE.UTF-8",
        LC_NAME = "de_DE.UTF-8",
        LC_MONETARY = "de_DE.UTF-8",
        LC_PAPER = "de_DE.UTF-8",
        LC_IDENTIFICATION = "de_DE.UTF-8",
        LC_TELEPHONE = "de_DE.UTF-8",
        LC_MEASUREMENT = "de_DE.UTF-8",
        LC_TIME = "de_DE.UTF-8",
        LC_NUMERIC = "de_DE.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
[W] 14:23:59.733 0x7f7b4480ed00 has_cuda:56 - failed to open whisper-cublas lib: libwhisper-cublas.so: cannot open shared object file: No such file or directory
[D] 14:23:59.747 0x7f7b4480ed00 () - updating model using availability
[D] 14:23:59.747 0x7f7b4480ed00 () - updating model using availability internal
[D] 14:23:59.749 0x7f7b4480ed00 () - default tts model not found: "en"
[D] 14:23:59.749 0x7f7b4480ed00 () - default mnt lang not found: "en"
[D] 14:23:59.749 0x7f7b4480ed00 () - new default mnt lang: "en"
[D] 14:23:59.749 0x7f7b4480ed00 () - service refresh status, new state: idle
[D] 14:23:59.749 0x7f7b4480ed00 () - service state changed: busy => idle
[D] 14:23:59.749 0x7f7b4480ed00 () - scan cuda: false
[D] 14:23:59.749 0x7f7b4480ed00 () - scan hip: false
[D] 14:23:59.749 0x7f7b4480ed00 () - scan opencl: true false
[D] 14:23:59.749 0x7f7b4480ed00 add_opencl_devices:357 - scanning for opencl devices
[D] 14:23:59.799 0x7f7b4480ed00 add_opencl_devices:374 - opencl number of platforms: 2
[D] 14:23:59.799 0x7f7b4480ed00 add_opencl_devices:399 - opencl platform: 0, name=AMD Accelerated Parallel Processing, vendor=Advanced Micro Devices, Inc.
[D] 14:23:59.799 0x7f7b4480ed00 add_opencl_devices:413 - opencl number of devices: 1
[D] 14:23:59.799 0x7f7b4480ed00 add_opencl_devices:437 - opencl device: 0, platform name=AMD Accelerated Parallel Processing, device name=gfx902:xnack+, types=[GPU, ]
[D] 14:23:59.799 0x7f7b4480ed00 add_opencl_devices:399 - opencl platform: 1, name=Clover, vendor=Mesa
[D] 14:23:59.799 0x7f7b4480ed00 add_opencl_devices:413 - opencl number of devices: 1
[D] 14:23:59.799 0x7f7b4480ed00 add_opencl_devices:437 - opencl device: 0, platform name=Clover, device name=AMD Radeon Vega 8 Graphics (radeonsi, raven, LLVM 15.0.7, DRM 3.54, 6.6.16-2-MANJARO), types=[GPU, ]
[D] 14:23:59.805 0x7f7b4480ed00 () - service refresh status, new state: idle
[D] 14:23:59.806 0x7f7b4480ed00 () - app service state: busy => idle
[W] 14:23:59.839 0x7f7b4480ed00 () - no available mnt langs
[W] 14:23:59.839 0x7f7b4480ed00 () - no available mnt out langs
[W] 14:23:59.839 0x7f7b4480ed00 () - no available tts models for in mnt
[W] 14:23:59.839 0x7f7b4480ed00 () - no available tts models for out mnt
[W] 14:23:59.839 0x7f7b4480ed00 () - invalid task, reseting task state
[D] 14:23:59.839 0x7f7b4480ed00 () - app busy: true => false
[D] 14:23:59.840 0x7f7b4480ed00 () - stt models changed
[D] 14:23:59.840 0x7f7b4480ed00 () - update listen
[D] 14:23:59.840 0x7f7b4480ed00 () - tts models changed
[D] 14:23:59.840 0x7f7b4480ed00 () - update listen
[W] 14:23:59.840 0x7f7b4480ed00 () - no available tts models for in mnt
[W] 14:23:59.840 0x7f7b4480ed00 () - no available tts models for out mnt
[D] 14:23:59.840 0x7f7b4480ed00 () - ttt models changed
[D] 14:23:59.844 0x7f7b4480ed00 () - mnt langs changed
[D] 14:23:59.845 0x7f7b4480ed00 () - update listen
[W] 14:23:59.845 0x7f7b4480ed00 () - no available mnt langs
[W] 14:23:59.845 0x7f7b4480ed00 () - no available mnt out langs
[D] 14:24:10.293 0x7f7b4480ed00 () - stt start listen
[D] 14:24:10.295 0x7f7b4480ed00 () - default tts model not found: "en"
[D] 14:24:10.295 0x7f7b4480ed00 () - default mnt lang not found: "en"
[D] 14:24:10.295 0x7f7b4480ed00 () - new default mnt lang: "en"
[D] 14:24:10.295 0x7f7b4480ed00 () - choosing model for id: "de_whisper_large" "en"
[D] 14:24:10.295 0x7f7b4480ed00 () - gpu device str: ("OpenCL", " Clover", " AMD Radeon Vega 8 Graphics (radeonsi", " raven", " LLVM 15.0.7", " DRM 3.54", " 6.6.16-2-MANJARO)")
[D] 14:24:10.295 0x7f7b4480ed00 () - restart stt engine config: "lang=de, lang_code=, model-files=[model-file=/home/devemperor/.var/app/net.mkiol.SpeechNote/cache/net.mkiol/dsnote/speech-models/multilang_whisper_large.ggml, scorer-file=, ttt-model-file=], speech-mode=single-sentence, vad-mode=aggressiveness-3, speech-started=0, text-format=raw, options=t, use-gpu=1, gpu-device=[id=0, api=opencl, name=AMD Radeon Vega 8 Graphics (radeonsi, platform-name=Clover], sub-config=[min-segment-dur=4, min-line-length=0, max-line-length=0]"
[D] 14:24:10.295 0x7f7b4480ed00 () - new stt engine required
[D] 14:24:10.303 0x7f7b4480ed00 open_whisper_lib:135 - using whisper-clblast
[D] 14:24:10.304 0x7f7b4480ed00 make_wparams:429 - cpu info: arch=x86_64, cores=8
[D] 14:24:10.304 0x7f7b4480ed00 make_wparams:431 - using threads: 5/8
[D] 14:24:10.304 0x7f7b4480ed00 make_wparams:433 - system info: AVX = 1 | AVX2 = 1 | AVX512 = 0 | FMA = 1 | NEON = 0 | ARM_FMA = 0 | METAL = 0 | F16C = 1 | FP16_VA = 0 | WASM_SIMD = 0 | BLAS = 1 | SSE3 = 1 | SSSE3 = 1 | VSX = 0 | CUDA = 0 | COREML = 0 | OPENVINO = 0 | 
[D] 14:24:10.304 0x7f7b4480ed00 start:225 - starting engine
[D] 14:24:10.304 0x7f7b4480ed00 start:234 - engine started
[D] 14:24:10.304 0x7f7b4480ed00 () - creating audio source
[D] 14:24:10.304 0x7f7b4480ed00 () - mic source created
[D] 14:24:10.305 0x7f7872ffd600 start_processing:271 - processing started
[D] 14:24:10.305 0x7f7872ffd600 set_processing_state:457 - processing state: idle => initializing
[D] 14:24:10.305 0x7f7872ffd600 set_processing_state:464 - speech detection status: no-speech => initializing (no-speech)
[D] 14:24:10.305 0x7f7872ffd600 () - service refresh status, new state: idle
[D] 14:24:10.305 0x7f7872ffd600 () - task state changed: 0 => 3
[D] 14:24:10.305 0x7f7872ffd600 create_whisper_model:239 - creating whisper model
whisper_init_from_file_with_params_no_state: loading model from '/home/devemperor/.var/app/net.mkiol.SpeechNote/cache/net.mkiol/dsnote/speech-models/multilang_whisper_large.ggml'
whisper_model_load: loading model
whisper_model_load: n_vocab       = 51866
whisper_model_load: n_audio_ctx   = 1500
whisper_model_load: n_audio_state = 1280
whisper_model_load: n_audio_head  = 20
whisper_model_load: n_audio_layer = 32
whisper_model_load: n_text_ctx    = 448
whisper_model_load: n_text_state  = 1280
whisper_model_load: n_text_head   = 20
whisper_model_load: n_text_layer  = 32
whisper_model_load: n_mels        = 128
whisper_model_load: ftype         = 8
whisper_model_load: qntvr         = 2
whisper_model_load: type          = 5 (large v3)
whisper_model_load: adding 1609 extra tokens
whisper_model_load: n_langs       = 100
ggml_opencl: selecting platform: 'Clover'
ggml_opencl: selecting device: 'AMD Radeon Vega 8 Graphics (radeonsi, raven, LLVM 15.0.7, DRM 3.54, 6.6.16-2-MANJARO)'
ggml_opencl: device FP16 support: false
[D] 14:24:10.463 0x7f7b4480ed00 () - using audio input: "alsa_input.pci-0000_04_00.6.analog-stereo"
[D] 14:24:10.475 0x7f7b4480ed00 () - audio state: IdleState
[D] 14:24:10.475 0x7f7b4480ed00 set_speech_started:515 - speech started: false => true
[D] 14:24:10.475 0x7f7b4480ed00 set_speech_detection_status:537 - speech detection status: initializing => initializing (speech-detected)
[D] 14:24:10.476 0x7f7b4480ed00 () - service refresh status, new state: listening-single-sentence
[D] 14:24:10.476 0x7f7b4480ed00 () - service state changed: idle => listening-single-sentence
[W] 14:24:10.476 0x7f7b4480ed00 () - ignore TaskStatePropertyChanged signal
[D] 14:24:10.476 0x7f7b4480ed00 () - app current task: -1 => 0
[D] 14:24:10.476 0x7f7b4480ed00 () - app speech state: idle => initializing
[D] 14:24:10.478 0x7f7b4480ed00 () - app service state: idle => listening-single-sentence
[W] 14:24:10.484 0x7f7b4480ed00 () - no available mnt langs
[W] 14:24:10.484 0x7f7b4480ed00 () - no available mnt out langs
[W] 14:24:10.484 0x7f7b4480ed00 () - no available tts models for in mnt
[W] 14:24:10.484 0x7f7b4480ed00 () - no available tts models for out mnt
ggml_opencl: kernel compile error:

<built-in>:1:10: fatal error: 'clc/clc.h' file not found

from dsnote.

mkiol avatar mkiol commented on June 12, 2024
ggml_opencl: kernel compile error:

<built-in>:1:10: fatal error: 'clc/clc.h' file not found

This is because Clover implementation of OpenCL supports only very limited number of AMD graphics card, mostly quite old one. In general, OpenCL AMD Accelerated Parallel Processing should work fine but for some reason it doesn't on your system. I have no idea what could be wrong.

Anyway, can I ask you to try something else?

  1. Add extra env variable HSA_XNACK=1 to Flatpak sandbox by executing this command:
flatpak override --env=HSA_XNACK=1 net.mkiol.SpeechNote

or 

flatpak override --user --env=HSA_XNACK=1 net.mkiol.SpeechNote
  1. Start Speech Note and set GPU to ROCm + disable GPU override
  2. Test STT
  3. enable GPU override (default value)
  4. Test STT

You can revert flatpak override with:

flatpak override --reset net.mkiol.SpeechNote

from dsnote.

DevEmperor avatar DevEmperor commented on June 12, 2024

Thanks for your help first of all. As you suggested, I added the environment variable (Flatseal confirms that I set it correctly). When I enable GPU with ROCm and disabled GPU override, I get the same error, that rocBLAS error: Cannot read /app/extensions/amd/rocm/lib/rocblas/library/TensileLibrary.dat: No such file or directory.
When I enable GPU override with the default value (9.0.0), the system quickly freezes and I have to hard-boot. I added the log for this situation as a file. I even tried to use the tiny Whisper model, but the same error occurs.

log_override_gpu_large_whisper_model.txt

from dsnote.

mkiol avatar mkiol commented on June 12, 2024

Thank you for all tests. Unfortunately, I must admit that I have no other idea how to attack this problem.

For the next version I want to integrate ZLUDA libraries. It theory, this should let you run CUDA binaries on AMD. I didn't make any test so far, but potentially this might be another way to get GPU acceleration on AMD cards. Maybe with ZLUDA you will get better results.

from dsnote.

DevEmperor avatar DevEmperor commented on June 12, 2024

Okay, thanks for your help anyway. :)

from dsnote.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.