dsnote icon indicating copy to clipboard operation
dsnote copied to clipboard

Unable to use AMD card, rocBLAS error

Open eyukselci opened this issue 1 year ago • 11 comments

Installed Speech Note via flatpak on a Acer Nitro 16 laptop running Manjaro Linux. It is an Optimus laptop with AMD Ryzen™ 9 7940HS w/ Radeon™ 780M Graphics × NVIDIA GeForce RTX 4070 Laptop GPU. Can use NVIDIA without problem, but when I select AMD card for GPU acceleration, the program exist without any error message.

Running flatpak run net.mkiol.SpeechNote I get:

(process:2): Gtk-WARNING **: 18:42:05.147: Locale not supported by C library. Using the fallback 'C' locale. Gtk-Message: 18:42:05.148: Failed to load module "xapp-gtk3-module" Gtk-Message: 18:42:05.163: Failed to load module "canberra-gtk-module" Gtk-Message: 18:42:05.164: Failed to load module "canberra-gtk-module" qt.qpa.qgnomeplatform: Could not find color scheme "" Qt: Session management error: Could not open network socket ALSA lib ../../oss/pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp 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) perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_ADDRESS = "tr_TR.UTF-8", LC_NAME = "tr_TR.UTF-8", LC_MONETARY = "tr_TR.UTF-8", LC_PAPER = "tr_TR.UTF-8", LC_IDENTIFICATION = "tr_TR.UTF-8", LC_TELEPHONE = "tr_TR.UTF-8", LC_MEASUREMENT = "tr_TR.UTF-8", LC_TIME = "tr_TR.UTF-8", LC_NUMERIC = "tr_TR.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"). whisper_init_from_file_with_params_no_state: loading model from '/home/erhan/.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

rocBLAS error: Cannot read /app/extensions/amd/rocm/lib/rocblas/library/TensileLibrary.dat: Illegal seek

How can I get AMD card working? Thanks

eyukselci avatar Apr 07 '24 16:04 eyukselci

Thanks for the report.

You have installed AMD Add-on for GPU acceleration, right? Please make sure that NVIDIA Add-on is uninstalled. Only one GPU add-on (AMD or NVIDIA) should be installed at the same time.

App crashes because ROCm doesn't support your GPU card. You may try to override GPU version to mimic other card by changing Settings->Other->Override GPU version. Sometimes this helps.

In Speech Note 4.5-beta, ROCm has been updated to version 5.7 which has wider support for RDNA 3.0 cards. This also may help. Speech Note beta is available on flathub-beta channel. If you decided to install the beta, install also add-on from the beta channel.

To have better logging please run the app with --verbose option like this:

flatpak run net.mkiol.SpeechNote --verbose

Could you please paste here an output when starting with --verbose option?

mkiol avatar Apr 07 '24 18:04 mkiol

Thanks for the reply. Yes, both addons are installed. I'll try your suggestions at the earliest opportunity.

Here is the verbose output:

process:2): Gtk-WARNING **: 18:43:02.631: Locale not supported by C library. Using the fallback 'C' locale. Gtk-Message: 18:43:02.632: Failed to load module "xapp-gtk3-module" Gtk-Message: 18:43:02.647: Failed to load module "canberra-gtk-module" Gtk-Message: 18:43:02.648: Failed to load module "canberra-gtk-module" qt.qpa.qgnomeplatform: Could not find color scheme "" Qt: Session management error: Could not open network socket [I] 18:43:02.663 0x73549e618d00 init:49 - logging to stderr enabled [D] 18:43:02.663 0x73549e618d00 () - version: 4.4.0 [D] 18:43:02.663 0x73549e618d00 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 amd_lbr_v2 nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba perfmon_v2 ibrs ibpb stibp ibrs_enhanced vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload vgif x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid overflow_recov succor smca flush_l1d [D] 18:43:02.663 0x73549e618d00 parse_cpuinfo:125 - cpuinfo: processor-count=16, flags=[avx, avx2, avx512, fma, f16c, ] [D] 18:43:02.663 0x73549e618d00 () - translation: "en_US" [W] 18:43:02.663 0x73549e618d00 () - failed to install translation [D] 18:43:02.663 0x73549e618d00 () - starting standalone app [D] 18:43:02.664 0x73549e618d00 () - app: net.mkiol dsnote [D] 18:43:02.664 0x73549e618d00 () - config location: "/home/erhan/.var/app/net.mkiol.SpeechNote/config" [D] 18:43:02.664 0x73549e618d00 () - data location: "/home/erhan/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote" [D] 18:43:02.664 0x73549e618d00 () - cache location: "/home/erhan/.var/app/net.mkiol.SpeechNote/cache/net.mkiol/dsnote" [D] 18:43:02.664 0x73549e618d00 () - settings file: "/home/erhan/.var/app/net.mkiol.SpeechNote/config/net.mkiol/dsnote/settings.conf" [D] 18:43:02.664 0x73549e618d00 () - platform: "xcb" [D] 18:43:02.664 0x73549e618d00 () - nvidia addon exists [D] 18:43:02.664 0x73549e618d00 () - amd addon exists [D] 18:43:02.664 0x73549e618d00 () - enforcing num threads: 0 [D] 18:43:02.785 0x73549e618d00 () - supported audio input devices: ALSA lib ../../oss/pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp [D] 18:43:02.796 0x73549e618d00 () - "pulse" [D] 18:43:02.819 0x73549e618d00 () - "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] 18:43:02.880 0x73549e618d00 () - "alsa_input.pci-0000_65_00.6.HiFi__hw_acp63__source" [D] 18:43:02.880 0x73549e618d00 () - "alsa_output.pci-0000_65_00.6.HiFi__hw_Generic_1__sink.monitor" [D] 18:43:02.880 0x73549e618d00 () - "alsa_input.pci-0000_65_00.6.HiFi__hw_Generic_1__source" [D] 18:43:02.895 0x73549e618d00 () - starting service: app-standalone [D] 18:43:02.897 0x73549e618d00 () - mbrola dir: "/app/bin" [D] 18:43:02.897 0x73549e618d00 () - espeak dir: "/app/bin" [D] 18:43:02.897 0x735492000600 loop:75 - py executor loop started [D] 18:43:02.901 0x73549e618d00 () - module already unpacked: "rhvoicedata" [D] 18:43:02.901 0x73549e618d00 () - module already unpacked: "rhvoiceconfig" [D] 18:43:02.905 0x735492a00600 () - config version: 65 65 [D] 18:43:02.906 0x73549e618d00 () - module already unpacked: "espeakdata" [D] 18:43:02.906 0x73549e618d00 () - default stt model not found: "en_whisper_large" [D] 18:43:02.906 0x73549e618d00 () - default tts model not found: "en" [D] 18:43:02.906 0x73549e618d00 () - default mnt lang not found: "en" [D] 18:43:02.906 0x73549e618d00 () - new default mnt lang: "en" [D] 18:43:02.906 0x73549e618d00 () - service refresh status, new state: busy [D] 18:43:02.906 0x73549e618d00 () - service state changed: unknown => busy [D] 18:43:02.906 0x73549e618d00 () - delaying features availability [D] 18:43:02.908 0x73549e618d00 () - runtime prefix: "/app" [D] 18:43:02.908 0x73549e618d00 () - available styles: ("Default", "Fusion", "Imagine", "Material", "org.kde.breeze", "org.kde.desktop", "Plasma", "Universal") [D] 18:43:02.908 0x73549e618d00 () - style paths: ("/usr/lib/qml/QtQuick/Controls.2") [D] 18:43:02.908 0x73549e618d00 () - import paths: ("/usr/lib/qml", "/app/bin", "qrc:/qt-project.org/imports") [D] 18:43:02.908 0x73549e618d00 () - library paths: ("/usr/share/runtime/lib/plugins", "/usr/lib/plugins", "/app/bin") [D] 18:43:02.908 0x73549e618d00 () - using auto qt style [D] 18:43:02.908 0x73549e618d00 () - XDG_CURRENT_DESKTOP: GNOME [D] 18:43:02.908 0x73549e618d00 () - switching to style: "org.kde.breeze" [D] 18:43:02.916 0x735492000600 libs_availability:61 - checking: torch cuda [D] 18:43:03.4 0x735492a00600 () - models changed [D] 18:43:03.428 0x73549e618d00 () - starting app: app-standalone [D] 18:43:03.428 0x73549e618d00 () - app service state: unknown => busy [W] 18:43:03.455 0x73549e618d00 ():36 - file:///usr/lib/qml/QtQuick/Controls.2/org.kde.breeze/ScrollView.qml:36:25: QML ScrollBar: Binding loop detected for property "x" [W] 18:43:03.463 0x73549e618d00 ():36 - file:///usr/lib/qml/QtQuick/Controls.2/org.kde.breeze/ScrollView.qml:36:25: QML ScrollBar: Binding loop detected for property "x" [W] 18:43:03.468 0x73549e618d00 ():36 - file:///usr/lib/qml/QtQuick/Controls.2/org.kde.breeze/ScrollView.qml:36:25: QML ScrollBar: Binding loop detected for property "x" 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() { ... } 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() { ... } [W] 18:43:03.493 0x73549e618d00 virtual QVariant ModelSource::item(int) const:81 - ModelSource: Invalid role -1 "color" [W] 18:43:03.493 0x73549e618d00 virtual QVariant ModelSource::item(int) const:81 - ModelSource: Invalid role -1 "color" 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() { ... } 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() { ... } 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() { ... } [W] 18:43:03.524 0x73549e618d00 ():173 - qrc:/qml/MainToolBar.qml:173:21: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 18:43:03.524 0x73549e618d00 ():173 - qrc:/qml/MainToolBar.qml:173:21: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 18:43:03.527 0x73549e618d00 ():59 - qrc:/qml/MainToolBar.qml:59:21: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 18:43:03.527 0x73549e618d00 ():59 - qrc:/qml/MainToolBar.qml:59:21: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [D] 18:43:03.532 0x73549e618d00 onCompleted:180 - default font pixel size: 17 [D] 18:43:03.542 0x73549e618d00 () - default tts model not found: "en" [D] 18:43:03.542 0x73549e618d00 () - default mnt lang not found: "en" [D] 18:43:03.542 0x73549e618d00 () - new default mnt lang: "en" [D] 18:43:03.542 0x73549e618d00 () - service refresh status, new state: busy [D] 18:43:03.542 0x73549e618d00 () - service refresh status, new state: busy [D] 18:43:03.715 0x73549e618d00 () - stt models changed [D] 18:43:03.717 0x73549e618d00 () - update listen [D] 18:43:03.717 0x73549e618d00 () - app stt configured: false => true [D] 18:43:03.721 0x73549e618d00 () - app active stt model: "" => "en_whisper_large" [D] 18:43:03.722 0x73549e618d00 () - update listen [D] 18:43:03.722 0x73549e618d00 () - tts models changed [D] 18:43:03.722 0x73549e618d00 () - update listen [W] 18:43:03.722 0x73549e618d00 () - no available tts models for in mnt [W] 18:43:03.722 0x73549e618d00 () - no available tts models for out mnt [D] 18:43:03.722 0x73549e618d00 () - ttt models changed [D] 18:43:03.722 0x73549e618d00 () - app ttt configured: false => true [D] 18:43:03.723 0x73549e618d00 () - mnt langs changed [D] 18:43:03.723 0x73549e618d00 () - update listen [W] 18:43:03.724 0x73549e618d00 () - no available mnt langs [W] 18:43:03.724 0x73549e618d00 () - no available mnt out langs [D] 18:43:04.24 0x73549e618d00 () - trying features availability update: false [D] 18:43:05.23 0x73549e618d00 () - trying features availability update: false [D] 18:43:06.24 0x73549e618d00 () - trying features availability update: false [D] 18:43:06.854 0x735492000600 libs_availability:69 - checking: coqui tts [D] 18:43:06.861 0x735492000600 libs_availability:77 - checking: faster-whisper [D] 18:43:07.24 0x73549e618d00 () - trying features availability update: false [D] 18:43:07.247 0x735492000600 libs_availability:85 - checking: transformers [D] 18:43:07.247 0x735492000600 libs_availability:87 - checking: accelerate [D] 18:43:07.698 0x735492000600 libs_availability:95 - checking: unikud [D] 18:43:07.699 0x735492000600 libs_availability:106 - checking: mimic3 tts [D] 18:43:08.23 0x73549e618d00 () - trying features availability update: false [D] 18:43:08.283 0x735492000600 libs_availability:114 - checking: gruut [D] 18:43:08.283 0x735492000600 libs_availability:118 - checking: gruut-de [D] 18:43:08.284 0x735492000600 libs_availability:126 - checking: gruut-es [D] 18:43:08.284 0x735492000600 libs_availability:134 - checking: gruut-fr [D] 18:43:08.284 0x735492000600 libs_availability:142 - checking: gruut-it [D] 18:43:08.285 0x735492000600 libs_availability:150 - checking: gruut-ru [D] 18:43:08.285 0x735492000600 libs_availability:158 - checking: gruut-fa [D] 18:43:08.285 0x735492000600 libs_availability:166 - checking: gruut-sw [D] 18:43:08.286 0x735492000600 libs_availability:174 - checking: gruut-nl [D] 18:43:08.286 0x735492000600 libs_availability:185 - checking: mecab [D] 18:43:08.289 0x735492000600 libs_availability:187 - checking: unidic-lite [D] 18:43:08.289 0x735492000600 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] 18:43:09.23 0x73549e618d00 () - trying features availability update: true [D] 18:43:09.23 0x73549e618d00 () - features availability ready perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_ADDRESS = "tr_TR.UTF-8", LC_NAME = "tr_TR.UTF-8", LC_MONETARY = "tr_TR.UTF-8", LC_PAPER = "tr_TR.UTF-8", LC_IDENTIFICATION = "tr_TR.UTF-8", LC_TELEPHONE = "tr_TR.UTF-8", LC_MEASUREMENT = "tr_TR.UTF-8", LC_TIME = "tr_TR.UTF-8", LC_NUMERIC = "tr_TR.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"). [D] 18:43:09.128 0x73549e618d00 () - updating model using availability [D] 18:43:09.128 0x73549e618d00 () - updating model using availability internal [D] 18:43:09.130 0x73549e618d00 () - default tts model not found: "en" [D] 18:43:09.130 0x73549e618d00 () - default mnt lang not found: "en" [D] 18:43:09.130 0x73549e618d00 () - new default mnt lang: "en" [D] 18:43:09.130 0x73549e618d00 () - service refresh status, new state: idle [D] 18:43:09.130 0x73549e618d00 () - service state changed: busy => idle [D] 18:43:09.130 0x73549e618d00 () - scan cuda: true [D] 18:43:09.130 0x73549e618d00 () - scan hip: true [D] 18:43:09.130 0x73549e618d00 () - scan opencl: true false [D] 18:43:09.130 0x73549e618d00 add_cuda_devices:281 - scanning for cuda devices [D] 18:43:09.130 0x73549e618d00 add_cuda_devices:290 - cuda version: driver=12040, runtime=12020 [D] 18:43:09.130 0x73549e618d00 add_cuda_devices:299 - cuda number of devices: 1 [D] 18:43:09.130 0x73549e618d00 add_cuda_devices:308 - cuda device: 0, name=NVIDIA GeForce RTX 4070 Laptop GPU [D] 18:43:09.130 0x73549e618d00 add_hip_devices:318 - scanning for hip devices [D] 18:43:09.162 0x73549e618d00 add_hip_devices:327 - hip version: driver=50631062, runtime=50631062 [D] 18:43:09.162 0x73549e618d00 add_hip_devices:336 - hip number of devices: 1 [D] 18:43:09.162 0x73549e618d00 add_hip_devices:345 - hip device: 0, name=AMD Radeon Graphics, gcn-arch=1103, gcn-arch-name=gfx1103 [D] 18:43:09.162 0x73549e618d00 () - service refresh status, new state: idle [D] 18:43:09.162 0x73549e618d00 () - app service state: busy => idle [W] 18:43:09.165 0x73549e618d00 () - no available mnt langs [W] 18:43:09.165 0x73549e618d00 () - no available mnt out langs [W] 18:43:09.165 0x73549e618d00 () - no available tts models for in mnt [W] 18:43:09.165 0x73549e618d00 () - no available tts models for out mnt [W] 18:43:09.165 0x73549e618d00 () - invalid task, reseting task state [D] 18:43:09.165 0x73549e618d00 () - app busy: true => false [D] 18:43:09.165 0x73549e618d00 () - stt models changed [D] 18:43:09.165 0x73549e618d00 () - update listen [D] 18:43:09.165 0x73549e618d00 () - tts models changed [D] 18:43:09.165 0x73549e618d00 () - update listen [W] 18:43:09.165 0x73549e618d00 () - no available tts models for in mnt [W] 18:43:09.165 0x73549e618d00 () - no available tts models for out mnt [D] 18:43:09.165 0x73549e618d00 () - ttt models changed [D] 18:43:09.167 0x73549e618d00 () - mnt langs changed [D] 18:43:09.167 0x73549e618d00 () - update listen [W] 18:43:09.167 0x73549e618d00 () - no available mnt langs [W] 18:43:09.167 0x73549e618d00 () - no available mnt out langs [D] 18:43:12.652 0x73549e618d00 () - stt start listen [D] 18:43:12.653 0x73549e618d00 () - default tts model not found: "en" [D] 18:43:12.653 0x73549e618d00 () - default mnt lang not found: "en" [D] 18:43:12.653 0x73549e618d00 () - new default mnt lang: "en" [D] 18:43:12.653 0x73549e618d00 () - choosing model for id: "en_whisper_large" "en" [D] 18:43:12.653 0x73549e618d00 () - gpu device str: ("ROCm", " 0", " AMD Radeon Graphics") [D] 18:43:12.653 0x73549e618d00 () - restart stt engine config: "lang=en, lang_code=, model-files=[model-file=/home/erhan/.var/app/net.mkiol.SpeechNote/cache/net.mkiol/dsnote/speech-models/multilang_whisper_large.ggml, scorer-file=, ttt-model-file=], speech-mode=manual, vad-mode=aggressiveness-3, speech-started=0, text-format=raw, options=, use-gpu=1, gpu-device=[id=0, api=rocm, name=AMD Radeon Graphics, platform-name=], sub-config=[min-segment-dur=4, min-line-length=0, max-line-length=0]" [D] 18:43:12.653 0x73549e618d00 () - new stt engine required [D] 18:43:12.653 0x73549e618d00 open_whisper_lib:122 - using whisper-hipblas [D] 18:43:12.677 0x73549e618d00 make_wparams:429 - cpu info: arch=x86_64, cores=16 [D] 18:43:12.677 0x73549e618d00 make_wparams:431 - using threads: 5/16 [D] 18:43:12.677 0x73549e618d00 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 = 1 | COREML = 0 | OPENVINO = 0 | [D] 18:43:12.677 0x73549e618d00 start:225 - starting engine [D] 18:43:12.677 0x73549e618d00 start:234 - engine started [D] 18:43:12.677 0x73549e618d00 () - creating audio source [D] 18:43:12.677 0x73549e618d00 () - mic source created [D] 18:43:12.677 0x735216600600 start_processing:271 - processing started [D] 18:43:12.678 0x735216600600 set_processing_state:457 - processing state: idle => initializing [D] 18:43:12.678 0x735216600600 set_processing_state:464 - speech detection status: no-speech => initializing (no-speech) [D] 18:43:12.678 0x735216600600 () - service refresh status, new state: idle [D] 18:43:12.678 0x735216600600 () - task state changed: 0 => 3 [D] 18:43:12.678 0x735216600600 create_whisper_model:239 - creating whisper model whisper_init_from_file_with_params_no_state: loading model from '/home/erhan/.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

rocBLAS error: Cannot read /app/extensions/amd/rocm/lib/rocblas/library/TensileLibrary.dat: No such file or directory

eyukselci avatar Apr 07 '24 18:04 eyukselci

Uninstalled the NVIDIA addon. No change. It still crashes.

For the record, the verbose output:

process:2): Gtk-WARNING **: 18:43:02.631: Locale not supported by C library. Using the fallback 'C' locale. Gtk-Message: 18:43:02.632: Failed to load module "xapp-gtk3-module" Gtk-Message: 18:43:02.647: Failed to load module "canberra-gtk-module" Gtk-Message: 18:43:02.648: Failed to load module "canberra-gtk-module" qt.qpa.qgnomeplatform: Could not find color scheme "" Qt: Session management error: Could not open network socket [I] 18:43:02.663 0x73549e618d00 init:49 - logging to stderr enabled [D] 18:43:02.663 0x73549e618d00 () - version: 4.4.0 [D] 18:43:02.663 0x73549e618d00 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 amd_lbr_v2 nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba perfmon_v2 ibrs ibpb stibp ibrs_enhanced vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload vgif x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid overflow_recov succor smca flush_l1d [D] 18:43:02.663 0x73549e618d00 parse_cpuinfo:125 - cpuinfo: processor-count=16, flags=[avx, avx2, avx512, fma, f16c, ] [D] 18:43:02.663 0x73549e618d00 () - translation: "en_US" [W] 18:43:02.663 0x73549e618d00 () - failed to install translation [D] 18:43:02.663 0x73549e618d00 () - starting standalone app [D] 18:43:02.664 0x73549e618d00 () - app: net.mkiol dsnote [D] 18:43:02.664 0x73549e618d00 () - config location: "/home/erhan/.var/app/net.mkiol.SpeechNote/config" [D] 18:43:02.664 0x73549e618d00 () - data location: "/home/erhan/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote" [D] 18:43:02.664 0x73549e618d00 () - cache location: "/home/erhan/.var/app/net.mkiol.SpeechNote/cache/net.mkiol/dsnote" [D] 18:43:02.664 0x73549e618d00 () - settings file: "/home/erhan/.var/app/net.mkiol.SpeechNote/config/net.mkiol/dsnote/settings.conf" [D] 18:43:02.664 0x73549e618d00 () - platform: "xcb" [D] 18:43:02.664 0x73549e618d00 () - nvidia addon exists [D] 18:43:02.664 0x73549e618d00 () - amd addon exists [D] 18:43:02.664 0x73549e618d00 () - enforcing num threads: 0 [D] 18:43:02.785 0x73549e618d00 () - supported audio input devices: ALSA lib ../../oss/pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp [D] 18:43:02.796 0x73549e618d00 () - "pulse" [D] 18:43:02.819 0x73549e618d00 () - "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] 18:43:02.880 0x73549e618d00 () - "alsa_input.pci-0000_65_00.6.HiFi__hw_acp63__source" [D] 18:43:02.880 0x73549e618d00 () - "alsa_output.pci-0000_65_00.6.HiFi__hw_Generic_1__sink.monitor" [D] 18:43:02.880 0x73549e618d00 () - "alsa_input.pci-0000_65_00.6.HiFi__hw_Generic_1__source" [D] 18:43:02.895 0x73549e618d00 () - starting service: app-standalone [D] 18:43:02.897 0x73549e618d00 () - mbrola dir: "/app/bin" [D] 18:43:02.897 0x73549e618d00 () - espeak dir: "/app/bin" [D] 18:43:02.897 0x735492000600 loop:75 - py executor loop started [D] 18:43:02.901 0x73549e618d00 () - module already unpacked: "rhvoicedata" [D] 18:43:02.901 0x73549e618d00 () - module already unpacked: "rhvoiceconfig" [D] 18:43:02.905 0x735492a00600 () - config version: 65 65 [D] 18:43:02.906 0x73549e618d00 () - module already unpacked: "espeakdata" [D] 18:43:02.906 0x73549e618d00 () - default stt model not found: "en_whisper_large" [D] 18:43:02.906 0x73549e618d00 () - default tts model not found: "en" [D] 18:43:02.906 0x73549e618d00 () - default mnt lang not found: "en" [D] 18:43:02.906 0x73549e618d00 () - new default mnt lang: "en" [D] 18:43:02.906 0x73549e618d00 () - service refresh status, new state: busy [D] 18:43:02.906 0x73549e618d00 () - service state changed: unknown => busy [D] 18:43:02.906 0x73549e618d00 () - delaying features availability [D] 18:43:02.908 0x73549e618d00 () - runtime prefix: "/app" [D] 18:43:02.908 0x73549e618d00 () - available styles: ("Default", "Fusion", "Imagine", "Material", "org.kde.breeze", "org.kde.desktop", "Plasma", "Universal") [D] 18:43:02.908 0x73549e618d00 () - style paths: ("/usr/lib/qml/QtQuick/Controls.2") [D] 18:43:02.908 0x73549e618d00 () - import paths: ("/usr/lib/qml", "/app/bin", "qrc:/qt-project.org/imports") [D] 18:43:02.908 0x73549e618d00 () - library paths: ("/usr/share/runtime/lib/plugins", "/usr/lib/plugins", "/app/bin") [D] 18:43:02.908 0x73549e618d00 () - using auto qt style [D] 18:43:02.908 0x73549e618d00 () - XDG_CURRENT_DESKTOP: GNOME [D] 18:43:02.908 0x73549e618d00 () - switching to style: "org.kde.breeze" [D] 18:43:02.916 0x735492000600 libs_availability:61 - checking: torch cuda [D] 18:43:03.4 0x735492a00600 () - models changed [D] 18:43:03.428 0x73549e618d00 () - starting app: app-standalone [D] 18:43:03.428 0x73549e618d00 () - app service state: unknown => busy [W] 18:43:03.455 0x73549e618d00 ():36 - file:///usr/lib/qml/QtQuick/Controls.2/org.kde.breeze/ScrollView.qml:36:25: QML ScrollBar: Binding loop detected for property "x" [W] 18:43:03.463 0x73549e618d00 ():36 - file:///usr/lib/qml/QtQuick/Controls.2/org.kde.breeze/ScrollView.qml:36:25: QML ScrollBar: Binding loop detected for property "x" [W] 18:43:03.468 0x73549e618d00 ():36 - file:///usr/lib/qml/QtQuick/Controls.2/org.kde.breeze/ScrollView.qml:36:25: QML ScrollBar: Binding loop detected for property "x" 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() { ... } 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() { ... } [W] 18:43:03.493 0x73549e618d00 virtual QVariant ModelSource::item(int) const:81 - ModelSource: Invalid role -1 "color" [W] 18:43:03.493 0x73549e618d00 virtual QVariant ModelSource::item(int) const:81 - ModelSource: Invalid role -1 "color" 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() { ... } 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() { ... } 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() { ... } [W] 18:43:03.524 0x73549e618d00 ():173 - qrc:/qml/MainToolBar.qml:173:21: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 18:43:03.524 0x73549e618d00 ():173 - qrc:/qml/MainToolBar.qml:173:21: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 18:43:03.527 0x73549e618d00 ():59 - qrc:/qml/MainToolBar.qml:59:21: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 18:43:03.527 0x73549e618d00 ():59 - qrc:/qml/MainToolBar.qml:59:21: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [D] 18:43:03.532 0x73549e618d00 onCompleted:180 - default font pixel size: 17 [D] 18:43:03.542 0x73549e618d00 () - default tts model not found: "en" [D] 18:43:03.542 0x73549e618d00 () - default mnt lang not found: "en" [D] 18:43:03.542 0x73549e618d00 () - new default mnt lang: "en" [D] 18:43:03.542 0x73549e618d00 () - service refresh status, new state: busy [D] 18:43:03.542 0x73549e618d00 () - service refresh status, new state: busy [D] 18:43:03.715 0x73549e618d00 () - stt models changed [D] 18:43:03.717 0x73549e618d00 () - update listen [D] 18:43:03.717 0x73549e618d00 () - app stt configured: false => true [D] 18:43:03.721 0x73549e618d00 () - app active stt model: "" => "en_whisper_large" [D] 18:43:03.722 0x73549e618d00 () - update listen [D] 18:43:03.722 0x73549e618d00 () - tts models changed [D] 18:43:03.722 0x73549e618d00 () - update listen [W] 18:43:03.722 0x73549e618d00 () - no available tts models for in mnt [W] 18:43:03.722 0x73549e618d00 () - no available tts models for out mnt [D] 18:43:03.722 0x73549e618d00 () - ttt models changed [D] 18:43:03.722 0x73549e618d00 () - app ttt configured: false => true [D] 18:43:03.723 0x73549e618d00 () - mnt langs changed [D] 18:43:03.723 0x73549e618d00 () - update listen [W] 18:43:03.724 0x73549e618d00 () - no available mnt langs [W] 18:43:03.724 0x73549e618d00 () - no available mnt out langs [D] 18:43:04.24 0x73549e618d00 () - trying features availability update: false [D] 18:43:05.23 0x73549e618d00 () - trying features availability update: false [D] 18:43:06.24 0x73549e618d00 () - trying features availability update: false [D] 18:43:06.854 0x735492000600 libs_availability:69 - checking: coqui tts [D] 18:43:06.861 0x735492000600 libs_availability:77 - checking: faster-whisper [D] 18:43:07.24 0x73549e618d00 () - trying features availability update: false [D] 18:43:07.247 0x735492000600 libs_availability:85 - checking: transformers [D] 18:43:07.247 0x735492000600 libs_availability:87 - checking: accelerate [D] 18:43:07.698 0x735492000600 libs_availability:95 - checking: unikud [D] 18:43:07.699 0x735492000600 libs_availability:106 - checking: mimic3 tts [D] 18:43:08.23 0x73549e618d00 () - trying features availability update: false [D] 18:43:08.283 0x735492000600 libs_availability:114 - checking: gruut [D] 18:43:08.283 0x735492000600 libs_availability:118 - checking: gruut-de [D] 18:43:08.284 0x735492000600 libs_availability:126 - checking: gruut-es [D] 18:43:08.284 0x735492000600 libs_availability:134 - checking: gruut-fr [D] 18:43:08.284 0x735492000600 libs_availability:142 - checking: gruut-it [D] 18:43:08.285 0x735492000600 libs_availability:150 - checking: gruut-ru [D] 18:43:08.285 0x735492000600 libs_availability:158 - checking: gruut-fa [D] 18:43:08.285 0x735492000600 libs_availability:166 - checking: gruut-sw [D] 18:43:08.286 0x735492000600 libs_availability:174 - checking: gruut-nl [D] 18:43:08.286 0x735492000600 libs_availability:185 - checking: mecab [D] 18:43:08.289 0x735492000600 libs_availability:187 - checking: unidic-lite [D] 18:43:08.289 0x735492000600 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] 18:43:09.23 0x73549e618d00 () - trying features availability update: true [D] 18:43:09.23 0x73549e618d00 () - features availability ready perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_ADDRESS = "tr_TR.UTF-8", LC_NAME = "tr_TR.UTF-8", LC_MONETARY = "tr_TR.UTF-8", LC_PAPER = "tr_TR.UTF-8", LC_IDENTIFICATION = "tr_TR.UTF-8", LC_TELEPHONE = "tr_TR.UTF-8", LC_MEASUREMENT = "tr_TR.UTF-8", LC_TIME = "tr_TR.UTF-8", LC_NUMERIC = "tr_TR.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"). [D] 18:43:09.128 0x73549e618d00 () - updating model using availability [D] 18:43:09.128 0x73549e618d00 () - updating model using availability internal [D] 18:43:09.130 0x73549e618d00 () - default tts model not found: "en" [D] 18:43:09.130 0x73549e618d00 () - default mnt lang not found: "en" [D] 18:43:09.130 0x73549e618d00 () - new default mnt lang: "en" [D] 18:43:09.130 0x73549e618d00 () - service refresh status, new state: idle [D] 18:43:09.130 0x73549e618d00 () - service state changed: busy => idle [D] 18:43:09.130 0x73549e618d00 () - scan cuda: true [D] 18:43:09.130 0x73549e618d00 () - scan hip: true [D] 18:43:09.130 0x73549e618d00 () - scan opencl: true false [D] 18:43:09.130 0x73549e618d00 add_cuda_devices:281 - scanning for cuda devices [D] 18:43:09.130 0x73549e618d00 add_cuda_devices:290 - cuda version: driver=12040, runtime=12020 [D] 18:43:09.130 0x73549e618d00 add_cuda_devices:299 - cuda number of devices: 1 [D] 18:43:09.130 0x73549e618d00 add_cuda_devices:308 - cuda device: 0, name=NVIDIA GeForce RTX 4070 Laptop GPU [D] 18:43:09.130 0x73549e618d00 add_hip_devices:318 - scanning for hip devices [D] 18:43:09.162 0x73549e618d00 add_hip_devices:327 - hip version: driver=50631062, runtime=50631062 [D] 18:43:09.162 0x73549e618d00 add_hip_devices:336 - hip number of devices: 1 [D] 18:43:09.162 0x73549e618d00 add_hip_devices:345 - hip device: 0, name=AMD Radeon Graphics, gcn-arch=1103, gcn-arch-name=gfx1103 [D] 18:43:09.162 0x73549e618d00 () - service refresh status, new state: idle [D] 18:43:09.162 0x73549e618d00 () - app service state: busy => idle [W] 18:43:09.165 0x73549e618d00 () - no available mnt langs [W] 18:43:09.165 0x73549e618d00 () - no available mnt out langs [W] 18:43:09.165 0x73549e618d00 () - no available tts models for in mnt [W] 18:43:09.165 0x73549e618d00 () - no available tts models for out mnt [W] 18:43:09.165 0x73549e618d00 () - invalid task, reseting task state [D] 18:43:09.165 0x73549e618d00 () - app busy: true => false [D] 18:43:09.165 0x73549e618d00 () - stt models changed [D] 18:43:09.165 0x73549e618d00 () - update listen [D] 18:43:09.165 0x73549e618d00 () - tts models changed [D] 18:43:09.165 0x73549e618d00 () - update listen [W] 18:43:09.165 0x73549e618d00 () - no available tts models for in mnt [W] 18:43:09.165 0x73549e618d00 () - no available tts models for out mnt [D] 18:43:09.165 0x73549e618d00 () - ttt models changed [D] 18:43:09.167 0x73549e618d00 () - mnt langs changed [D] 18:43:09.167 0x73549e618d00 () - update listen [W] 18:43:09.167 0x73549e618d00 () - no available mnt langs [W] 18:43:09.167 0x73549e618d00 () - no available mnt out langs [D] 18:43:12.652 0x73549e618d00 () - stt start listen [D] 18:43:12.653 0x73549e618d00 () - default tts model not found: "en" [D] 18:43:12.653 0x73549e618d00 () - default mnt lang not found: "en" [D] 18:43:12.653 0x73549e618d00 () - new default mnt lang: "en" [D] 18:43:12.653 0x73549e618d00 () - choosing model for id: "en_whisper_large" "en" [D] 18:43:12.653 0x73549e618d00 () - gpu device str: ("ROCm", " 0", " AMD Radeon Graphics") [D] 18:43:12.653 0x73549e618d00 () - restart stt engine config: "lang=en, lang_code=, model-files=[model-file=/home/erhan/.var/app/net.mkiol.SpeechNote/cache/net.mkiol/dsnote/speech-models/multilang_whisper_large.ggml, scorer-file=, ttt-model-file=], speech-mode=manual, vad-mode=aggressiveness-3, speech-started=0, text-format=raw, options=, use-gpu=1, gpu-device=[id=0, api=rocm, name=AMD Radeon Graphics, platform-name=], sub-config=[min-segment-dur=4, min-line-length=0, max-line-length=0]" [D] 18:43:12.653 0x73549e618d00 () - new stt engine required [D] 18:43:12.653 0x73549e618d00 open_whisper_lib:122 - using whisper-hipblas [D] 18:43:12.677 0x73549e618d00 make_wparams:429 - cpu info: arch=x86_64, cores=16 [D] 18:43:12.677 0x73549e618d00 make_wparams:431 - using threads: 5/16 [D] 18:43:12.677 0x73549e618d00 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 = 1 | COREML = 0 | OPENVINO = 0 | [D] 18:43:12.677 0x73549e618d00 start:225 - starting engine [D] 18:43:12.677 0x73549e618d00 start:234 - engine started [D] 18:43:12.677 0x73549e618d00 () - creating audio source [D] 18:43:12.677 0x73549e618d00 () - mic source created [D] 18:43:12.677 0x735216600600 start_processing:271 - processing started [D] 18:43:12.678 0x735216600600 set_processing_state:457 - processing state: idle => initializing [D] 18:43:12.678 0x735216600600 set_processing_state:464 - speech detection status: no-speech => initializing (no-speech) [D] 18:43:12.678 0x735216600600 () - service refresh status, new state: idle [D] 18:43:12.678 0x735216600600 () - task state changed: 0 => 3 [D] 18:43:12.678 0x735216600600 create_whisper_model:239 - creating whisper model whisper_init_from_file_with_params_no_state: loading model from '/home/erhan/.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

rocBLAS error: Cannot read /app/extensions/amd/rocm/lib/rocblas/library/TensileLibrary.dat: No such file or directory

eyukselci avatar Apr 07 '24 18:04 eyukselci

Thanks for providing logs.

Have you tried enabling Settings->Other->Override GPU version option?

mkiol avatar Apr 08 '24 17:04 mkiol

Yes, overriding the GPU version had the same effect. So, I installed the beta version (4.5.0-beta), but I got the same error, even with the override GPU version checked. Apparently, ROCm v. 5.7.3 does not support my card.

I see that AUR has ROCm v. 6.0. I can test it, but the last time I tried, I was unable to compile the package from AUR.

eyukselci avatar Apr 08 '24 17:04 eyukselci

Apparently, ROCm v. 5.7.3 does not support my card.

Yes. It appears to be not supported :(

I see that AUR has ROCm v. 6.0. I can test it, but the last time I tried, I was unable to compile the package from AUR.

Indeed AUR package is currently broken but a fix is on the way.

Working PKGBUILD is in a GIT repo, so if you are brave enough you may try to make package for Arch directly with makepkg command. Follow steps for git. By default CUDA and ROCm are disabled, so you need to edit and change FULL_BUILD=false to FULL_BUILD=true in PKGBUILD script. Also make sure that rocm-hip-sdk pkg is installed in your system. Be warn, the build may take 30 min.

mkiol avatar Apr 08 '24 17:04 mkiol

I installed the GIT pkg from AUR after enabling both FULL_BUILD and CI_BUILD to true. rocm-hip-sdk pkg was already installed. By the way, the build took less than 15 min on my machine.

Some optional features were not available: Screenshot from 2024-04-09 11-38-06

The program exited when I tried to use ROCm for GPU acceleration. With NVIDIA, it worked without a problem, but the response time seemed a bit less performant or slower compared to the flatpak pkg. I did not make any measurement, so it may be subjective.

I switched back to the flatpak-beta pkg for the time being.

Logs for AMD:

[I] 08:38:58.665429586.665 0x7d9e9740fc80 init:49 - logging to stderr enabled [D] 08:38:58.665465984.665 0x7d9e9740fc80 () - version: 4.5.0-beta [D] 08:38:58.665831672.665 0x7d9e9740fc80 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 amd_lbr_v2 nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba perfmon_v2 ibrs ibpb stibp ibrs_enhanced vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload vgif x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid overflow_recov succor smca flush_l1d [D] 08:38:58.666028207.666 0x7d9e9740fc80 parse_cpuinfo:125 - cpuinfo: processor-count=16, flags=[avx, avx2, avx512, fma, f16c, ] [D] 08:38:58.666060396.666 0x7d9e9740fc80 () - translation: "en_US" [W] 08:38:58.666063693.666 0x7d9e9740fc80 () - failed to install translation [D] 08:38:58.666066828.666 0x7d9e9740fc80 () - starting standalone app [D] 08:38:58.666295513.666 0x7d9e9740fc80 () - app: net.mkiol dsnote [D] 08:38:58.666307605.666 0x7d9e9740fc80 () - config location: "/home/erhan/.config" [D] 08:38:58.666314949.666 0x7d9e9740fc80 () - data location: "/home/erhan/.local/share/net.mkiol/dsnote" [D] 08:38:58.666318756.666 0x7d9e9740fc80 () - cache location: "/home/erhan/.cache/net.mkiol/dsnote" [D] 08:38:58.666321351.666 0x7d9e9740fc80 () - settings file: "/home/erhan/.config/net.mkiol/dsnote/settings.conf" [D] 08:38:58.666324046.666 0x7d9e9740fc80 () - platform: "xcb" [D] 08:38:58.666336298.666 0x7d9e9740fc80 () - enforcing num threads: 0 [D] 08:38:58.868111002.868 0x7d9e9740fc80 () - supported audio input devices: Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp [D] 08:38:58.884986750.884 0x7d9e9740fc80 () - "pipewire" [D] 08:38:58.905866036.905 0x7d9e9740fc80 () - "pulse" [D] 08:38:58.913045855.913 0x7d9e9740fc80 () - "default" [D] 08:38:58.981390259.981 0x7d9e9740fc80 () - "sysdefault:CARD=Generic_1" [D] 08:38:58.981945709.981 0x7d9e9740fc80 () - "alsa_input.pci-0000_65_00.6.HiFi__hw_acp63__source" [D] 08:38:58.981953193.981 0x7d9e9740fc80 () - "alsa_output.pci-0000_65_00.6.HiFi__hw_Generic_1__sink.monitor" [D] 08:38:58.981957261.981 0x7d9e9740fc80 () - "alsa_input.pci-0000_65_00.6.HiFi__hw_Generic_1__source" [D] 08:38:59.002636555.2 0x7d9e9740fc80 () - starting service: app-standalone [D] 08:38:59.010556889.10 0x7d9e9740fc80 () - mbrola dir: "/usr/share/dsnote/bin" [D] 08:38:59.010573149.10 0x7d9e9740fc80 () - espeak dir: "/usr/share/dsnote/bin" [D] 08:38:59.010596793.10 0x7d9e9740fc80 () - module checksum missing, need to unpack: "rhvoicedata" [D] 08:38:59.010600289.10 0x7d9e9740fc80 () - unpacking module: "rhvoicedata" [D] 08:38:59.010620176.10 0x7d9e9740fc80 () - runtime prefix: "/usr" [W] 08:38:59.010633742.10 0x7d9e9740fc80 () - can't find dir for path: "share" "rhvoicedata.tar.xz" [D] 08:38:59.010648569.10 0x7d9e9740fc80 () - extracting xz archive: "/rhvoicedata.tar.xz" [W] 08:38:59.010707919.10 0x7d9e9740fc80 () - xz decoder error: 10 [D] 08:38:59.010702419.10 0x7d9e77e00680 loop:88 - py executor loop started [W] 08:38:59.010727786.10 0x7d9e9740fc80 () - failed to extract archive: "/rhvoicedata.tar.xz" [D] 08:38:59.010728347.10 0x7d9e77e00680 set_env:84 - set env: PYTHONIOENCODING = utf-8 [D] 08:38:59.010737193.10 0x7d9e77e00680 set_env:84 - set env: HF_HUB_DISABLE_TELEMETRY = 1 [D] 08:38:59.010745098.10 0x7d9e9740fc80 () - module checksum missing, need to unpack: "rhvoicedata" [D] 08:38:59.010753313.10 0x7d9e9740fc80 () - unpacking module: "rhvoicedata" [D] 08:38:59.010744066.10 0x7d9e77e00680 set_env:84 - set env: HF_HUB_OFFLINE = 1 [D] 08:38:59.010765276.10 0x7d9e77e00680 set_env:84 - set env: HF_HUB_LOCAL_DIR_AUTO_SYMLINK_THRESHOLD = 100000000000 [W] 08:38:59.010768081.10 0x7d9e9740fc80 () - can't find dir for path: "share" "rhvoicedata.tar.xz" [D] 08:38:59.010781145.10 0x7d9e9740fc80 () - extracting xz archive: "/rhvoicedata.tar.xz" [W] 08:38:59.010801563.10 0x7d9e9740fc80 () - xz decoder error: 10 [D] 08:38:59.010804188.10 0x7d9e77e00680 set_env:84 - set env: HF_HUB_CACHE = /home/erhan/.cache/net.mkiol/dsnote [W] 08:38:59.010805330.10 0x7d9e9740fc80 () - failed to extract archive: "/rhvoicedata.tar.xz" [D] 08:38:59.010824636.10 0x7d9e9740fc80 () - module checksum missing, need to unpack: "rhvoicedata" [W] 08:38:59.010827271.10 0x7d9e9740fc80 () - failed to unpack module: "rhvoicedata" [D] 08:38:59.010830987.10 0x7d9e9740fc80 () - module checksum missing, need to unpack: "rhvoiceconfig" [D] 08:38:59.010833502.10 0x7d9e9740fc80 () - unpacking module: "rhvoiceconfig" [W] 08:38:59.010848941.10 0x7d9e9740fc80 () - can't find dir for path: "share" "rhvoiceconfig.tar.xz" [D] 08:38:59.010856415.10 0x7d9e9740fc80 () - extracting xz archive: "/rhvoiceconfig.tar.xz" [W] 08:38:59.010875570.10 0x7d9e9740fc80 () - xz decoder error: 10 [W] 08:38:59.010879047.10 0x7d9e9740fc80 () - failed to extract archive: "/rhvoiceconfig.tar.xz" [D] 08:38:59.010889085.10 0x7d9e9740fc80 () - module checksum missing, need to unpack: "rhvoiceconfig" [D] 08:38:59.010891670.10 0x7d9e9740fc80 () - unpacking module: "rhvoiceconfig" [W] 08:38:59.010904504.10 0x7d9e9740fc80 () - can't find dir for path: "share" "rhvoiceconfig.tar.xz" [D] 08:38:59.010910836.10 0x7d9e9740fc80 () - extracting xz archive: "/rhvoiceconfig.tar.xz" [W] 08:38:59.010928669.10 0x7d9e9740fc80 () - xz decoder error: 10 [W] 08:38:59.010932295.10 0x7d9e9740fc80 () - failed to extract archive: "/rhvoiceconfig.tar.xz" [D] 08:38:59.010942294.10 0x7d9e9740fc80 () - module checksum missing, need to unpack: "rhvoiceconfig" [W] 08:38:59.010944668.10 0x7d9e9740fc80 () - failed to unpack module: "rhvoiceconfig" [D] 08:38:59.013996560.13 0x7d9e9740fc80 () - module already unpacked: "espeakdata" [D] 08:38:59.014148312.14 0x7d9e9740fc80 () - default stt model not found: "en_whisper_large" [D] 08:38:59.014154493.14 0x7d9e9740fc80 () - default tts model not found: "en" [D] 08:38:59.014157780.14 0x7d9e9740fc80 () - default mnt lang not found: "tr" [D] 08:38:59.014160264.14 0x7d9e9740fc80 () - new default mnt lang: "tr" [D] 08:38:59.014166195.14 0x7d9e9740fc80 () - service refresh status, new state: busy [D] 08:38:59.014169201.14 0x7d9e9740fc80 () - service state changed: unknown => busy [D] 08:38:59.014176484.14 0x7d9e9740fc80 () - delaying features availability [D] 08:38:59.015435099.15 0x7d9e9740fc80 () - available styles: ("Default", "org.kde.breeze", "Fusion", "Imagine", "Material", "org.kde.desktop", "Plasma", "Universal") [D] 08:38:59.015466007.15 0x7d9e9740fc80 () - style paths: ("/usr/share/dsnote/lib/qml/QtQuick/Controls.2", "/usr/lib/qt/qml/QtQuick/Controls.2") [D] 08:38:59.015470144.15 0x7d9e9740fc80 () - import paths: ("/usr/share/dsnote/lib/qml", "/usr/bin", "qrc:/qt-project.org/imports", "/usr/lib/qt/qml") [D] 08:38:59.015473050.15 0x7d9e9740fc80 () - library paths: ("/usr/share/dsnote/lib/plugins", "/usr/lib/qt/plugins", "/usr/bin") [D] 08:38:59.015477598.15 0x7d9e9740fc80 () - using auto qt style [D] 08:38:59.015480063.15 0x7d9e9740fc80 () - XDG_CURRENT_DESKTOP: GNOME [D] 08:38:59.015486344.15 0x7d9e9740fc80 () - switching to style: "org.kde.breeze" [D] 08:38:59.017849058.17 0x7d9e8cc00680 () - config version: 75 75 [D] 08:38:59.018532937.18 0x7d9e77e00680 libs_availability:62 - checking: torch cuda [D] 08:38:59.018696159.18 0x7d9e77e00680 libs_availability:66 - torch cuda check py error: ModuleNotFoundError: No module named 'torch' [D] 08:38:59.018702952.18 0x7d9e77e00680 libs_availability:70 - checking: coqui tts [D] 08:38:59.018741253.18 0x7d9e77e00680 libs_availability:74 - coqui tts check py error: ModuleNotFoundError: No module named 'TTS' [D] 08:38:59.018744389.18 0x7d9e77e00680 libs_availability:78 - checking: whisperspeech tts [D] 08:38:59.018777340.18 0x7d9e77e00680 libs_availability:82 - whisperspeech tts check py error: ModuleNotFoundError: No module named 'whisperspeech' [D] 08:38:59.018781628.18 0x7d9e77e00680 libs_availability:86 - checking: faster-whisper [D] 08:38:59.018811614.18 0x7d9e77e00680 libs_availability:90 - faster-whisper check py error: ModuleNotFoundError: No module named 'faster_whisper' [D] 08:38:59.018814269.18 0x7d9e77e00680 libs_availability:94 - checking: transformers [D] 08:38:59.018845336.18 0x7d9e77e00680 libs_availability:100 - transformers check py error: ModuleNotFoundError: No module named 'transformers' [D] 08:38:59.018848131.18 0x7d9e77e00680 libs_availability:104 - checking: unikud [D] 08:38:59.018876965.18 0x7d9e77e00680 libs_availability:108 - unikud check py error: ModuleNotFoundError: No module named 'unikud' [D] 08:38:59.018879540.18 0x7d9e77e00680 libs_availability:115 - checking: mimic3 tts [D] 08:38:59.018909445.18 0x7d9e77e00680 libs_availability:119 - mimic3 tts check py error: ModuleNotFoundError: No module named 'mimic3_tts' [D] 08:38:59.018911990.18 0x7d9e77e00680 libs_availability:123 - checking: gruut [D] 08:38:59.018940593.18 0x7d9e77e00680 libs_availability:190 - gruut check py error: ModuleNotFoundError: No module named 'gruut' [D] 08:38:59.018943288.18 0x7d9e77e00680 libs_availability:194 - checking: mecab [D] 08:38:59.018975558.18 0x7d9e77e00680 libs_availability:200 - mecab check py error: ModuleNotFoundError: No module named 'MeCab' [D] 08:38:59.018979385.18 0x7d9e77e00680 libs_availability:203 - py libs availability: [coqui-tts=false, faster-whisper=false, mimic3-tts=false, whisperspeech-tts=false, transformers=false, unikud=false, gruut_de=false, gruut_es=false, gruut_fa=false, gruut_fr=false, gruut_nl=false, gruut_it=false, gruut_ru=false, gruut_sw=false, mecab=false, torch-cuda=false] [D] 08:38:59.057218487.57 0x7d9e8cc00680 () - models changed [D] 08:38:59.516461276.516 0x7d9e9740fc80 () - starting app: app-standalone [D] 08:38:59.516569847.516 0x7d9e9740fc80 () - app service state: unknown => busy [D] 08:38:59.516574846.516 0x7d9e9740fc80 () - app busy: false => true [D] 08:38:59.516578914.516 0x7d9e9740fc80 () - app connected: false = > true [W] 08:38:59.561109979.561 0x7d9e9740fc80 ():36 - file:///usr/share/dsnote/lib/qml/QtQuick/Controls.2/org.kde.breeze/ScrollView.qml:36:25: QML ScrollBar: Binding loop detected for property "x" [W] 08:38:59.569521314.569 0x7d9e9740fc80 ():36 - file:///usr/share/dsnote/lib/qml/QtQuick/Controls.2/org.kde.breeze/ScrollView.qml:36:25: QML ScrollBar: Binding loop detected for property "x" [W] 08:38:59.576667262.576 0x7d9e9740fc80 ():36 - file:///usr/share/dsnote/lib/qml/QtQuick/Controls.2/org.kde.breeze/ScrollView.qml:36:25: QML ScrollBar: Binding loop detected for property "x" logger error: invalid format string qrc:/qml/main.qml:326:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } logger error: invalid format string qrc:/qml/main.qml:317:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } [W] 08:38:59.594601093.594 0x7d9e9740fc80 () - ModelSource: Invalid role -1 "color" [W] 08:38:59.594638693.594 0x7d9e9740fc80 () - ModelSource: Invalid role -1 "color" [W] 08:38:59.599476457.599 0x7d9e9740fc80 ():154 - qrc:/qml/ScrollTextArea.qml:154:17: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 08:38:59.599491425.599 0x7d9e9740fc80 ():154 - qrc:/qml/ScrollTextArea.qml:154:17: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 08:38:59.602922431.602 0x7d9e9740fc80 ():36 - file:///usr/share/dsnote/lib/qml/QtQuick/Controls.2/org.kde.breeze/ScrollView.qml:36:25: QML ScrollBar: Binding loop detected for property "x" 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() { ... } [W] 08:38:59.608229066.608 0x7d9e9740fc80 ():154 - qrc:/qml/ScrollTextArea.qml:154:17: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 08:38:59.608261226.608 0x7d9e9740fc80 ():154 - qrc:/qml/ScrollTextArea.qml:154:17: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 08:38:59.617112086.617 0x7d9e9740fc80 ():154 - qrc:/qml/ScrollTextArea.qml:154:17: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 08:38:59.617125952.617 0x7d9e9740fc80 ():154 - qrc:/qml/ScrollTextArea.qml:154:17: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" logger error: invalid format string qrc:/qml/Translator.qml:30:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } [W] 08:38:59.632137562.632 0x7d9e9740fc80 ():137 - qrc:/qml/MainToolBar.qml:137:29: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 08:38:59.632159132.632 0x7d9e9740fc80 ():137 - qrc:/qml/MainToolBar.qml:137:29: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 08:38:59.633205524.633 0x7d9e9740fc80 ():68 - qrc:/qml/MainToolBar.qml:68:29: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 08:38:59.633215061.633 0x7d9e9740fc80 ():68 - qrc:/qml/MainToolBar.qml:68:29: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [D] 08:38:59.638438151.638 0x7d9e9740fc80 onCompleted:169 - default font pixel size: 18 [D] 08:38:59.643625304.643 0x7d9e9740fc80 () - default tts model not found: "en" [D] 08:38:59.643644840.643 0x7d9e9740fc80 () - service refresh status, new state: busy [D] 08:38:59.643650681.643 0x7d9e9740fc80 () - service refresh status, new state: busy [D] 08:38:59.807267678.807 0x7d9e9740fc80 () - stt models changed [D] 08:38:59.809893861.809 0x7d9e9740fc80 () - update listen [D] 08:38:59.809910932.809 0x7d9e9740fc80 () - app stt configured: false => true [D] 08:38:59.828228254.828 0x7d9e9740fc80 () - app active stt model: "" => "en_whisper_large" [D] 08:38:59.828498255.828 0x7d9e9740fc80 () - update listen [D] 08:38:59.828505469.828 0x7d9e9740fc80 () - tts models changed [D] 08:38:59.828645468.828 0x7d9e9740fc80 () - update listen [W] 08:38:59.828651620.828 0x7d9e9740fc80 () - no available tts models for in mnt [W] 08:38:59.828655497.828 0x7d9e9740fc80 () - no available tts models for out mnt [D] 08:38:59.828659364.828 0x7d9e9740fc80 () - ttt models changed [D] 08:38:59.830494579.830 0x7d9e9740fc80 () - mnt langs changed [D] 08:38:59.831400069.831 0x7d9e9740fc80 () - update listen [D] 08:38:59.831410348.831 0x7d9e9740fc80 () - app mnt configured: false => true [D] 08:38:59.831494504.831 0x7d9e9740fc80 () - app active mnt lang: "" => "tr" [D] 08:38:59.831515273.831 0x7d9e9740fc80 () - app mnt available out langs: 0 => 1 [W] 08:38:59.831964867.831 0x7d9e9740fc80 () - no available tts models for in mnt [D] 08:38:59.831979013.831 0x7d9e9740fc80 () - app active mnt out lang: "" => "en" [W] 08:38:59.831982509.831 0x7d9e9740fc80 () - no available tts models for out mnt [D] 08:39:00.024127332.24 0x7d9e9740fc80 () - trying features availability update: true [D] 08:39:00.024164561.24 0x7d9e9740fc80 () - features availability ready [W] 08:39:00.025040687.25 0x7d9e9740fc80 has_lib:667 - failed to open libcudnn.so: libcudnn.so: cannot open shared object file: No such file or directory [W] 08:39:00.025107661.25 0x7d9e9740fc80 has_lib:667 - failed to open libcudnn.so.8: libcudnn.so.8: cannot open shared object file: No such file or directory [E] 08:39:00.035830555.35 0x7d9e9740fc80 available:196 - failed to open bergamot lib: libbergamot_api.so: cannot open shared object file: No such file or directory [D] 08:39:00.212998565.212 0x7d9e9740fc80 () - updating model using availability [D] 08:39:00.213031596.213 0x7d9e9740fc80 () - updating model using availability internal [D] 08:39:00.214548581.214 0x7d9e9740fc80 () - default tts model not found: "en" [D] 08:39:00.214555043.214 0x7d9e9740fc80 () - default mnt lang not found: "tr" [D] 08:39:00.214557046.214 0x7d9e9740fc80 () - new default mnt lang: "tr" [D] 08:39:00.214576823.214 0x7d9e9740fc80 () - service refresh status, new state: idle [D] 08:39:00.214579338.214 0x7d9e9740fc80 () - service state changed: busy => idle [D] 08:39:00.214592763.214 0x7d9e9740fc80 () - scan cuda: true [D] 08:39:00.214596129.214 0x7d9e9740fc80 () - scan hip: true [D] 08:39:00.214598153.214 0x7d9e9740fc80 () - scan opencl: true [D] 08:39:00.214600256.214 0x7d9e9740fc80 () - scan opencl legacy: false [D] 08:39:00.214605246.214 0x7d9e9740fc80 () - gpu feature flags: stt-whispercpp-cuda, stt-whispercpp-hip, stt-whispercpp-opencl, [D] 08:39:00.214608943.214 0x7d9e9740fc80 add_hip_devices:507 - scanning for hip devices [D] 08:39:00.243913769.243 0x7d9e9740fc80 add_hip_devices:517 - hip version: driver=60032830, runtime=60032830 [D] 08:39:00.243931662.243 0x7d9e9740fc80 add_hip_devices:526 - hip number of devices: 1 [D] 08:39:00.243940078.243 0x7d9e9740fc80 add_hip_devices:535 - hip device: 0, name=AMD Radeon Graphics, gcn-arch=1103, gcn-arch-name=gfx1103 [D] 08:39:00.243996803.243 0x7d9e9740fc80 add_cuda_devices:491 - scanning for cuda devices [D] 08:39:00.243999759.243 0x7d9e9740fc80 add_cuda_dev_devices:393 - scanning for cuda devices [D] 08:39:02.843074376.843 0x7d9e9740fc80 add_cuda_dev_devices:419 - cuda version: driver=12040 [D] 08:39:02.843106165.843 0x7d9e9740fc80 add_cuda_dev_devices:428 - cuda number of devices: 1 [D] 08:39:02.843122155.843 0x7d9e9740fc80 add_cuda_dev_devices:469 - cuda device: 0, name=NVIDIA GeForce RTX 4070 Laptop GPU, comp-cap=8.9 [D] 08:39:02.843126964.843 0x7d9e9740fc80 add_opencl_devices:547 - scanning for opencl devices [D] 08:39:02.854710564.854 0x7d9e9740fc80 add_opencl_devices:564 - opencl number of platforms: 2 [D] 08:39:02.854727125.854 0x7d9e9740fc80 add_opencl_devices:589 - opencl platform: 0, name=AMD Accelerated Parallel Processing, vendor=Advanced Micro Devices, Inc. [D] 08:39:02.854731002.854 0x7d9e9740fc80 add_opencl_devices:603 - opencl number of devices: 1 [D] 08:39:02.854735220.854 0x7d9e9740fc80 add_opencl_devices:627 - opencl device: 0, platform name=AMD Accelerated Parallel Processing, device name=gfx1103, types=[GPU, ] [D] 08:39:02.854738917.854 0x7d9e9740fc80 add_opencl_devices:589 - opencl platform: 1, name=NVIDIA CUDA, vendor=NVIDIA Corporation [D] 08:39:02.854741201.854 0x7d9e9740fc80 add_opencl_devices:603 - opencl number of devices: 1 [D] 08:39:02.854747643.854 0x7d9e9740fc80 add_opencl_devices:627 - opencl device: 0, platform name=NVIDIA CUDA, device name=NVIDIA GeForce RTX 4070 Laptop GPU, types=[GPU, ] [D] 08:39:02.855324543.855 0x7d9e9740fc80 () - service refresh status, new state: idle [D] 08:39:02.855406546.855 0x7d9e9740fc80 () - app service state: busy => idle [D] 08:39:02.858755829.858 0x7d9e9740fc80 () - app mnt available langs: 1 => 0 [D] 08:39:02.859049544.859 0x7d9e9740fc80 () - update listen [D] 08:39:02.859067698.859 0x7d9e9740fc80 () - app mnt available out langs: 1 => 0 [W] 08:39:02.859199362.859 0x7d9e9740fc80 () - no available mnt langs [W] 08:39:02.859204953.859 0x7d9e9740fc80 () - no available mnt out langs [W] 08:39:02.859207567.859 0x7d9e9740fc80 () - no available tts models for in mnt [W] 08:39:02.859209611.859 0x7d9e9740fc80 () - no available tts models for out mnt [W] 08:39:02.859211895.859 0x7d9e9740fc80 () - invalid task, reseting task state [D] 08:39:02.859214641.859 0x7d9e9740fc80 () - app mnt configured: true => false [D] 08:39:02.859395125.859 0x7d9e9740fc80 () - app busy: true => false [D] 08:39:02.859737310.859 0x7d9e9740fc80 () - stt models changed [D] 08:39:02.859816637.859 0x7d9e9740fc80 () - update listen [D] 08:39:02.859908097.859 0x7d9e9740fc80 () - tts models changed [D] 08:39:02.859973178.859 0x7d9e9740fc80 () - update listen [W] 08:39:02.859980892.859 0x7d9e9740fc80 () - no available tts models for in mnt [W] 08:39:02.859983537.859 0x7d9e9740fc80 () - no available tts models for out mnt [D] 08:39:02.859985811.859 0x7d9e9740fc80 () - ttt models changed [D] 08:39:02.861522643.861 0x7d9e9740fc80 () - mnt langs changed [D] 08:39:02.861531529.861 0x7d9e9740fc80 () - update listen [W] 08:39:02.861544583.861 0x7d9e9740fc80 () - no available mnt langs [W] 08:39:02.861546787.861 0x7d9e9740fc80 () - no available mnt out langs [D] 08:39:08.124520700.124 0x7d9e9740fc80 () - stt start listen [D] 08:39:08.125660886.125 0x7d9e9740fc80 () - default tts model not found: "en" [D] 08:39:08.125670173.125 0x7d9e9740fc80 () - default mnt lang not found: "tr" [D] 08:39:08.125673739.125 0x7d9e9740fc80 () - new default mnt lang: "tr" [D] 08:39:08.125679210.125 0x7d9e9740fc80 () - choosing model for id: "en_whisper_large" "en" [D] 08:39:08.125696331.125 0x7d9e9740fc80 () - gpu device str: ("ROCm", " 0", " AMD Radeon Graphics") [D] 08:39:08.125713603.125 0x7d9e9740fc80 () - restart stt engine config: "lang=en, lang_code=, model-files=[model-file=/home/erhan/.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=, use-gpu=1, gpu-device=[id=0, api=rocm, name=AMD Radeon Graphics, platform-name=], sub-config=[min-segment-dur=4, min-line-length=0, max-line-length=0]" [D] 08:39:08.125720366.125 0x7d9e9740fc80 () - new stt engine required [D] 08:39:08.125765299.125 0x7d9e9740fc80 open_whisper_lib:122 - using whisper-hipblas dsnote: /usr/src/debug/hip-runtime-amd/clr-rocm-6.0.0/hipamd/src/hip_code_object.cpp:762: hip::FatBinaryInfo** hip::StatCO::addFatBinary(const void*, bool): Assertion `err == hipSuccess' failed. zsh: IOT instruction (core dumped) dsnote --verbose

Logs for NVIDIA:

[I] 08:40:50.595213459.595 0x78bc7c52ac80 init:49 - logging to stderr enabled [D] 08:40:50.595248384.595 0x78bc7c52ac80 () - version: 4.5.0-beta [D] 08:40:50.595614323.595 0x78bc7c52ac80 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 amd_lbr_v2 nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba perfmon_v2 ibrs ibpb stibp ibrs_enhanced vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload vgif x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid overflow_recov succor smca flush_l1d [D] 08:40:50.595807411.595 0x78bc7c52ac80 parse_cpuinfo:125 - cpuinfo: processor-count=16, flags=[avx, avx2, avx512, fma, f16c, ] [D] 08:40:50.595842206.595 0x78bc7c52ac80 () - translation: "en_US" [W] 08:40:50.595845522.595 0x78bc7c52ac80 () - failed to install translation [D] 08:40:50.595848578.595 0x78bc7c52ac80 () - starting standalone app [D] 08:40:50.596127045.596 0x78bc7c52ac80 () - app: net.mkiol dsnote [D] 08:40:50.596135150.596 0x78bc7c52ac80 () - config location: "/home/erhan/.config" [D] 08:40:50.596139628.596 0x78bc7c52ac80 () - data location: "/home/erhan/.local/share/net.mkiol/dsnote" [D] 08:40:50.596144067.596 0x78bc7c52ac80 () - cache location: "/home/erhan/.cache/net.mkiol/dsnote" [D] 08:40:50.596147944.596 0x78bc7c52ac80 () - settings file: "/home/erhan/.config/net.mkiol/dsnote/settings.conf" [D] 08:40:50.596150959.596 0x78bc7c52ac80 () - platform: "xcb" [D] 08:40:50.596166638.596 0x78bc7c52ac80 () - enforcing num threads: 0 [D] 08:40:50.781617984.781 0x78bc7c52ac80 () - supported audio input devices: Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp [D] 08:40:50.797073295.797 0x78bc7c52ac80 () - "pipewire" [D] 08:40:50.820357895.820 0x78bc7c52ac80 () - "pulse" [D] 08:40:50.827620381.827 0x78bc7c52ac80 () - "default" [D] 08:40:50.898235213.898 0x78bc7c52ac80 () - "sysdefault:CARD=Generic_1" [D] 08:40:50.898861887.898 0x78bc7c52ac80 () - "alsa_input.pci-0000_65_00.6.HiFi__hw_acp63__source" [D] 08:40:50.898869441.898 0x78bc7c52ac80 () - "alsa_output.pci-0000_65_00.6.HiFi__hw_Generic_1__sink.monitor" [D] 08:40:50.898873619.898 0x78bc7c52ac80 () - "alsa_input.pci-0000_65_00.6.HiFi__hw_Generic_1__source" [D] 08:40:50.918413745.918 0x78bc7c52ac80 () - starting service: app-standalone [D] 08:40:50.925766600.925 0x78bc7c52ac80 () - mbrola dir: "/usr/share/dsnote/bin" [D] 08:40:50.925794823.925 0x78bc7c52ac80 () - espeak dir: "/usr/share/dsnote/bin" [D] 08:40:50.925829667.925 0x78bc7c52ac80 () - module checksum missing, need to unpack: "rhvoicedata" [D] 08:40:50.925837542.925 0x78bc7c52ac80 () - unpacking module: "rhvoicedata" [D] 08:40:50.925867237.925 0x78bc7c52ac80 () - runtime prefix: "/usr" [W] 08:40:50.925882886.925 0x78bc7c52ac80 () - can't find dir for path: "share" "rhvoicedata.tar.xz" [D] 08:40:50.925895981.925 0x78bc7c52ac80 () - extracting xz archive: "/rhvoicedata.tar.xz" [D] 08:40:50.925924544.925 0x78bc5be00680 loop:88 - py executor loop started [D] 08:40:50.925947637.925 0x78bc5be00680 set_env:84 - set env: PYTHONIOENCODING = utf-8 [W] 08:40:50.925950672.925 0x78bc7c52ac80 () - xz decoder error: 10 [W] 08:40:50.925971250.925 0x78bc7c52ac80 () - failed to extract archive: "/rhvoicedata.tar.xz" [D] 08:40:50.925958487.925 0x78bc5be00680 set_env:84 - set env: HF_HUB_DISABLE_TELEMETRY = 1 [D] 08:40:50.925980528.925 0x78bc5be00680 set_env:84 - set env: HF_HUB_OFFLINE = 1 [D] 08:40:50.925987671.925 0x78bc5be00680 set_env:84 - set env: HF_HUB_LOCAL_DIR_AUTO_SYMLINK_THRESHOLD = 100000000000 [D] 08:40:50.925989645.925 0x78bc7c52ac80 () - module checksum missing, need to unpack: "rhvoicedata" [D] 08:40:50.926000054.926 0x78bc7c52ac80 () - unpacking module: "rhvoicedata" [W] 08:40:50.926016174.926 0x78bc7c52ac80 () - can't find dir for path: "share" "rhvoicedata.tar.xz" [D] 08:40:50.926024730.926 0x78bc7c52ac80 () - extracting xz archive: "/rhvoicedata.tar.xz" [D] 08:40:50.926025501.926 0x78bc5be00680 set_env:84 - set env: HF_HUB_CACHE = /home/erhan/.cache/net.mkiol/dsnote [W] 08:40:50.926048504.926 0x78bc7c52ac80 () - xz decoder error: 10 [W] 08:40:50.926053052.926 0x78bc7c52ac80 () - failed to extract archive: "/rhvoicedata.tar.xz" [D] 08:40:50.926065676.926 0x78bc7c52ac80 () - module checksum missing, need to unpack: "rhvoicedata" [W] 08:40:50.926068701.926 0x78bc7c52ac80 () - failed to unpack module: "rhvoicedata" [D] 08:40:50.926072689.926 0x78bc7c52ac80 () - module checksum missing, need to unpack: "rhvoiceconfig" [D] 08:40:50.926075935.926 0x78bc7c52ac80 () - unpacking module: "rhvoiceconfig" [W] 08:40:50.926091894.926 0x78bc7c52ac80 () - can't find dir for path: "share" "rhvoiceconfig.tar.xz" [D] 08:40:50.926100040.926 0x78bc7c52ac80 () - extracting xz archive: "/rhvoiceconfig.tar.xz" [W] 08:40:50.926119866.926 0x78bc7c52ac80 () - xz decoder error: 10 [W] 08:40:50.926123884.926 0x78bc7c52ac80 () - failed to extract archive: "/rhvoiceconfig.tar.xz" [D] 08:40:50.926135485.926 0x78bc7c52ac80 () - module checksum missing, need to unpack: "rhvoiceconfig" [D] 08:40:50.926138531.926 0x78bc7c52ac80 () - unpacking module: "rhvoiceconfig" [W] 08:40:50.926153078.926 0x78bc7c52ac80 () - can't find dir for path: "share" "rhvoiceconfig.tar.xz" [D] 08:40:50.926160522.926 0x78bc7c52ac80 () - extracting xz archive: "/rhvoiceconfig.tar.xz" [W] 08:40:50.926179187.926 0x78bc7c52ac80 () - xz decoder error: 10 [W] 08:40:50.926183264.926 0x78bc7c52ac80 () - failed to extract archive: "/rhvoiceconfig.tar.xz" [D] 08:40:50.926218520.926 0x78bc7c52ac80 () - module checksum missing, need to unpack: "rhvoiceconfig" [W] 08:40:50.926221685.926 0x78bc7c52ac80 () - failed to unpack module: "rhvoiceconfig" [D] 08:40:50.929497838.929 0x78bc7c52ac80 () - module already unpacked: "espeakdata" [D] 08:40:50.929680648.929 0x78bc7c52ac80 () - default stt model not found: "en_whisper_large" [D] 08:40:50.929686569.929 0x78bc7c52ac80 () - default tts model not found: "en" [D] 08:40:50.929691498.929 0x78bc7c52ac80 () - default mnt lang not found: "tr" [D] 08:40:50.929695736.929 0x78bc7c52ac80 () - new default mnt lang: "tr" [D] 08:40:50.929701817.929 0x78bc7c52ac80 () - service refresh status, new state: busy [D] 08:40:50.929705294.929 0x78bc7c52ac80 () - service state changed: unknown => busy [D] 08:40:50.929709822.929 0x78bc7c52ac80 () - delaying features availability [D] 08:40:50.931072703.931 0x78bc7c52ac80 () - available styles: ("Default", "org.kde.breeze", "Fusion", "Imagine", "Material", "org.kde.desktop", "Plasma", "Universal") [D] 08:40:50.931104312.931 0x78bc7c52ac80 () - style paths: ("/usr/share/dsnote/lib/qml/QtQuick/Controls.2", "/usr/lib/qt/qml/QtQuick/Controls.2") [D] 08:40:50.931108660.931 0x78bc7c52ac80 () - import paths: ("/usr/share/dsnote/lib/qml", "/usr/bin", "qrc:/qt-project.org/imports", "/usr/lib/qt/qml") [D] 08:40:50.931112537.931 0x78bc7c52ac80 () - library paths: ("/usr/share/dsnote/lib/plugins", "/usr/lib/qt/plugins", "/usr/bin") [D] 08:40:50.931116605.931 0x78bc7c52ac80 () - using auto qt style [D] 08:40:50.931119099.931 0x78bc7c52ac80 () - XDG_CURRENT_DESKTOP: GNOME [D] 08:40:50.931121965.931 0x78bc7c52ac80 () - switching to style: "org.kde.breeze" [D] 08:40:50.933346376.933 0x78bc70c00680 () - config version: 75 75 [D] 08:40:50.934010589.934 0x78bc5be00680 libs_availability:62 - checking: torch cuda [D] 08:40:50.934179433.934 0x78bc5be00680 libs_availability:66 - torch cuda check py error: ModuleNotFoundError: No module named 'torch' [D] 08:40:50.934186536.934 0x78bc5be00680 libs_availability:70 - checking: coqui tts [D] 08:40:50.934225669.934 0x78bc5be00680 libs_availability:74 - coqui tts check py error: ModuleNotFoundError: No module named 'TTS' [D] 08:40:50.934228714.934 0x78bc5be00680 libs_availability:78 - checking: whisperspeech tts [D] 08:40:50.934265493.934 0x78bc5be00680 libs_availability:82 - whisperspeech tts check py error: ModuleNotFoundError: No module named 'whisperspeech' [D] 08:40:50.934268689.934 0x78bc5be00680 libs_availability:86 - checking: faster-whisper [D] 08:40:50.934301820.934 0x78bc5be00680 libs_availability:90 - faster-whisper check py error: ModuleNotFoundError: No module named 'faster_whisper' [D] 08:40:50.934305106.934 0x78bc5be00680 libs_availability:94 - checking: transformers [D] 08:40:50.934336414.934 0x78bc5be00680 libs_availability:100 - transformers check py error: ModuleNotFoundError: No module named 'transformers' [D] 08:40:50.934339219.934 0x78bc5be00680 libs_availability:104 - checking: unikud [D] 08:40:50.934368053.934 0x78bc5be00680 libs_availability:108 - unikud check py error: ModuleNotFoundError: No module named 'unikud' [D] 08:40:50.934370888.934 0x78bc5be00680 libs_availability:115 - checking: mimic3 tts [D] 08:40:50.934399201.934 0x78bc5be00680 libs_availability:119 - mimic3 tts check py error: ModuleNotFoundError: No module named 'mimic3_tts' [D] 08:40:50.934402257.934 0x78bc5be00680 libs_availability:123 - checking: gruut [D] 08:40:50.934430399.934 0x78bc5be00680 libs_availability:190 - gruut check py error: ModuleNotFoundError: No module named 'gruut' [D] 08:40:50.934433204.934 0x78bc5be00680 libs_availability:194 - checking: mecab [D] 08:40:50.934462048.934 0x78bc5be00680 libs_availability:200 - mecab check py error: ModuleNotFoundError: No module named 'MeCab' [D] 08:40:50.934465995.934 0x78bc5be00680 libs_availability:203 - py libs availability: [coqui-tts=false, faster-whisper=false, mimic3-tts=false, whisperspeech-tts=false, transformers=false, unikud=false, gruut_de=false, gruut_es=false, gruut_fa=false, gruut_fr=false, gruut_nl=false, gruut_it=false, gruut_ru=false, gruut_sw=false, mecab=false, torch-cuda=false] [D] 08:40:50.973059634.973 0x78bc70c00680 () - models changed [D] 08:40:51.398738849.398 0x78bc7c52ac80 () - starting app: app-standalone [D] 08:40:51.398872478.398 0x78bc7c52ac80 () - app service state: unknown => busy [D] 08:40:51.398878399.398 0x78bc7c52ac80 () - app busy: false => true [D] 08:40:51.398882857.398 0x78bc7c52ac80 () - app connected: false = > true [W] 08:40:51.443207709.443 0x78bc7c52ac80 ():36 - file:///usr/share/dsnote/lib/qml/QtQuick/Controls.2/org.kde.breeze/ScrollView.qml:36:25: QML ScrollBar: Binding loop detected for property "x" [W] 08:40:51.450348509.450 0x78bc7c52ac80 ():36 - file:///usr/share/dsnote/lib/qml/QtQuick/Controls.2/org.kde.breeze/ScrollView.qml:36:25: QML ScrollBar: Binding loop detected for property "x" [W] 08:40:51.456251432.456 0x78bc7c52ac80 ():36 - file:///usr/share/dsnote/lib/qml/QtQuick/Controls.2/org.kde.breeze/ScrollView.qml:36:25: QML ScrollBar: Binding loop detected for property "x" logger error: invalid format string qrc:/qml/main.qml:326:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } logger error: invalid format string qrc:/qml/main.qml:317:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } [W] 08:40:51.478527429.478 0x78bc7c52ac80 () - ModelSource: Invalid role -1 "color" [W] 08:40:51.478565089.478 0x78bc7c52ac80 () - ModelSource: Invalid role -1 "color" [W] 08:40:51.483472200.483 0x78bc7c52ac80 ():154 - qrc:/qml/ScrollTextArea.qml:154:17: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 08:40:51.483486447.483 0x78bc7c52ac80 ():154 - qrc:/qml/ScrollTextArea.qml:154:17: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 08:40:51.486872014.486 0x78bc7c52ac80 ():36 - file:///usr/share/dsnote/lib/qml/QtQuick/Controls.2/org.kde.breeze/ScrollView.qml:36:25: QML ScrollBar: Binding loop detected for property "x" 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() { ... } [W] 08:40:51.492656175.492 0x78bc7c52ac80 ():154 - qrc:/qml/ScrollTextArea.qml:154:17: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 08:40:51.492675982.492 0x78bc7c52ac80 ():154 - qrc:/qml/ScrollTextArea.qml:154:17: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 08:40:51.501646672.501 0x78bc7c52ac80 ():154 - qrc:/qml/ScrollTextArea.qml:154:17: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 08:40:51.501659656.501 0x78bc7c52ac80 ():154 - qrc:/qml/ScrollTextArea.qml:154:17: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" logger error: invalid format string qrc:/qml/Translator.qml:30:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... } [W] 08:40:51.517730168.517 0x78bc7c52ac80 ():137 - qrc:/qml/MainToolBar.qml:137:29: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 08:40:51.517761757.517 0x78bc7c52ac80 ():137 - qrc:/qml/MainToolBar.qml:137:29: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 08:40:51.519009915.519 0x78bc7c52ac80 ():68 - qrc:/qml/MainToolBar.qml:68:29: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [W] 08:40:51.519019723.519 0x78bc7c52ac80 ():68 - qrc:/qml/MainToolBar.qml:68:29: QML MenuItem: Binding loop detected for property "__reserveSpaceForIcon" [D] 08:40:51.524692048.524 0x78bc7c52ac80 onCompleted:169 - default font pixel size: 18 [D] 08:40:51.529645565.529 0x78bc7c52ac80 () - default tts model not found: "en" [D] 08:40:51.529667266.529 0x78bc7c52ac80 () - service refresh status, new state: busy [D] 08:40:51.529674459.529 0x78bc7c52ac80 () - service refresh status, new state: busy [D] 08:40:51.688810950.688 0x78bc7c52ac80 () - stt models changed [D] 08:40:51.691477321.691 0x78bc7c52ac80 () - update listen [D] 08:40:51.691497158.691 0x78bc7c52ac80 () - app stt configured: false => true [D] 08:40:51.706258451.706 0x78bc7c52ac80 () - app active stt model: "" => "en_whisper_large" [D] 08:40:51.706530255.706 0x78bc7c52ac80 () - update listen [D] 08:40:51.706537749.706 0x78bc7c52ac80 () - tts models changed [D] 08:40:51.706669073.706 0x78bc7c52ac80 () - update listen [W] 08:40:51.706676738.706 0x78bc7c52ac80 () - no available tts models for in mnt [W] 08:40:51.706680244.706 0x78bc7c52ac80 () - no available tts models for out mnt [D] 08:40:51.706683871.706 0x78bc7c52ac80 () - ttt models changed [D] 08:40:51.708686861.708 0x78bc7c52ac80 () - mnt langs changed [D] 08:40:51.709594005.709 0x78bc7c52ac80 () - update listen [D] 08:40:51.709605236.709 0x78bc7c52ac80 () - app mnt configured: false => true [D] 08:40:51.709699261.709 0x78bc7c52ac80 () - app active mnt lang: "" => "tr" [D] 08:40:51.709715651.709 0x78bc7c52ac80 () - app mnt available out langs: 0 => 1 [W] 08:40:51.710166889.710 0x78bc7c52ac80 () - no available tts models for in mnt [D] 08:40:51.710180414.710 0x78bc7c52ac80 () - app active mnt out lang: "" => "en" [W] 08:40:51.710183269.710 0x78bc7c52ac80 () - no available tts models for out mnt [D] 08:40:52.030175832.30 0x78bc7c52ac80 () - trying features availability update: true [D] 08:40:52.030225133.30 0x78bc7c52ac80 () - features availability ready [W] 08:40:52.031319305.31 0x78bc7c52ac80 has_lib:667 - failed to open libcudnn.so: libcudnn.so: cannot open shared object file: No such file or directory [W] 08:40:52.031368156.31 0x78bc7c52ac80 has_lib:667 - failed to open libcudnn.so.8: libcudnn.so.8: cannot open shared object file: No such file or directory [E] 08:40:52.041259785.41 0x78bc7c52ac80 available:196 - failed to open bergamot lib: libbergamot_api.so: cannot open shared object file: No such file or directory [D] 08:40:52.188374472.188 0x78bc7c52ac80 () - updating model using availability [D] 08:40:52.188408616.188 0x78bc7c52ac80 () - updating model using availability internal [D] 08:40:52.190191186.190 0x78bc7c52ac80 () - default tts model not found: "en" [D] 08:40:52.190199481.190 0x78bc7c52ac80 () - default mnt lang not found: "tr" [D] 08:40:52.190203038.190 0x78bc7c52ac80 () - new default mnt lang: "tr" [D] 08:40:52.190220991.190 0x78bc7c52ac80 () - service refresh status, new state: idle [D] 08:40:52.190225069.190 0x78bc7c52ac80 () - service state changed: busy => idle [D] 08:40:52.190248943.190 0x78bc7c52ac80 () - scan cuda: true [D] 08:40:52.190254223.190 0x78bc7c52ac80 () - scan hip: true [D] 08:40:52.190257689.190 0x78bc7c52ac80 () - scan opencl: true [D] 08:40:52.190261536.190 0x78bc7c52ac80 () - scan opencl legacy: false [D] 08:40:52.190265433.190 0x78bc7c52ac80 () - gpu feature flags: stt-whispercpp-cuda, stt-whispercpp-hip, stt-whispercpp-opencl, [D] 08:40:52.190269130.190 0x78bc7c52ac80 add_hip_devices:507 - scanning for hip devices [D] 08:40:52.218026577.218 0x78bc7c52ac80 add_hip_devices:517 - hip version: driver=60032830, runtime=60032830 [D] 08:40:52.218077953.218 0x78bc7c52ac80 add_hip_devices:526 - hip number of devices: 1 [D] 08:40:52.218084465.218 0x78bc7c52ac80 add_hip_devices:535 - hip device: 0, name=AMD Radeon Graphics, gcn-arch=1103, gcn-arch-name=gfx1103 [D] 08:40:52.218191544.218 0x78bc7c52ac80 add_cuda_devices:491 - scanning for cuda devices [D] 08:40:52.218194339.218 0x78bc7c52ac80 add_cuda_dev_devices:393 - scanning for cuda devices [D] 08:40:54.818566182.818 0x78bc7c52ac80 add_cuda_dev_devices:419 - cuda version: driver=12040 [D] 08:40:54.818598793.818 0x78bc7c52ac80 add_cuda_dev_devices:428 - cuda number of devices: 1 [D] 08:40:54.818616185.818 0x78bc7c52ac80 add_cuda_dev_devices:469 - cuda device: 0, name=NVIDIA GeForce RTX 4070 Laptop GPU, comp-cap=8.9 [D] 08:40:54.818620954.818 0x78bc7c52ac80 add_opencl_devices:547 - scanning for opencl devices [D] 08:40:54.829804163.829 0x78bc7c52ac80 add_opencl_devices:564 - opencl number of platforms: 2 [D] 08:40:54.829825893.829 0x78bc7c52ac80 add_opencl_devices:589 - opencl platform: 0, name=AMD Accelerated Parallel Processing, vendor=Advanced Micro Devices, Inc. [D] 08:40:54.829829750.829 0x78bc7c52ac80 add_opencl_devices:603 - opencl number of devices: 1 [D] 08:40:54.829836302.829 0x78bc7c52ac80 add_opencl_devices:627 - opencl device: 0, platform name=AMD Accelerated Parallel Processing, device name=gfx1103, types=[GPU, ] [D] 08:40:54.829841482.829 0x78bc7c52ac80 add_opencl_devices:589 - opencl platform: 1, name=NVIDIA CUDA, vendor=NVIDIA Corporation [D] 08:40:54.829844618.829 0x78bc7c52ac80 add_opencl_devices:603 - opencl number of devices: 1 [D] 08:40:54.829855478.829 0x78bc7c52ac80 add_opencl_devices:627 - opencl device: 0, platform name=NVIDIA CUDA, device name=NVIDIA GeForce RTX 4070 Laptop GPU, types=[GPU, ] [D] 08:40:54.830722538.830 0x78bc7c52ac80 () - service refresh status, new state: idle [D] 08:40:54.830852509.830 0x78bc7c52ac80 () - app service state: busy => idle [D] 08:40:54.834697449.834 0x78bc7c52ac80 () - app mnt available langs: 1 => 0 [D] 08:40:54.834997917.834 0x78bc7c52ac80 () - update listen [D] 08:40:54.835018736.835 0x78bc7c52ac80 () - app mnt available out langs: 1 => 0 [W] 08:40:54.835170958.835 0x78bc7c52ac80 () - no available mnt langs [W] 08:40:54.835177350.835 0x78bc7c52ac80 () - no available mnt out langs [W] 08:40:54.835180226.835 0x78bc7c52ac80 () - no available tts models for in mnt [W] 08:40:54.835182319.835 0x78bc7c52ac80 () - no available tts models for out mnt [W] 08:40:54.835184744.835 0x78bc7c52ac80 () - invalid task, reseting task state [D] 08:40:54.835187810.835 0x78bc7c52ac80 () - app mnt configured: true => false [D] 08:40:54.835371952.835 0x78bc7c52ac80 () - app busy: true => false [D] 08:40:54.835691295.835 0x78bc7c52ac80 () - stt models changed [D] 08:40:54.835802040.835 0x78bc7c52ac80 () - update listen [D] 08:40:54.835889152.835 0x78bc7c52ac80 () - tts models changed [D] 08:40:54.835966766.835 0x78bc7c52ac80 () - update listen [W] 08:40:54.835976334.835 0x78bc7c52ac80 () - no available tts models for in mnt [W] 08:40:54.835980141.835 0x78bc7c52ac80 () - no available tts models for out mnt [D] 08:40:54.835983998.835 0x78bc7c52ac80 () - ttt models changed [D] 08:40:54.837744117.837 0x78bc7c52ac80 () - mnt langs changed [D] 08:40:54.837758484.837 0x78bc7c52ac80 () - update listen [W] 08:40:54.837776778.837 0x78bc7c52ac80 () - no available mnt langs [W] 08:40:54.837779874.837 0x78bc7c52ac80 () - no available mnt out langs [D] 08:40:57.854663958.854 0x78bc7c52ac80 () - stt start listen [D] 08:40:57.855718737.855 0x78bc7c52ac80 () - default tts model not found: "en" [D] 08:40:57.855727874.855 0x78bc7c52ac80 () - default mnt lang not found: "tr" [D] 08:40:57.855731370.855 0x78bc7c52ac80 () - new default mnt lang: "tr" [D] 08:40:57.855737021.855 0x78bc7c52ac80 () - choosing model for id: "en_whisper_large" "en" [D] 08:40:57.855753932.855 0x78bc7c52ac80 () - gpu device str: ("CUDA", " 0", " NVIDIA GeForce RTX 4070 Laptop GPU") [D] 08:40:57.855771475.855 0x78bc7c52ac80 () - restart stt engine config: "lang=en, lang_code=, model-files=[model-file=/home/erhan/.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=, use-gpu=1, gpu-device=[id=0, api=cuda, name=NVIDIA GeForce RTX 4070 Laptop GPU, platform-name=], sub-config=[min-segment-dur=4, min-line-length=0, max-line-length=0]" [D] 08:40:57.855778377.855 0x78bc7c52ac80 () - new stt engine required [D] 08:40:57.855814204.855 0x78bc7c52ac80 open_whisper_lib:110 - using whisper-cublas [D] 08:40:57.855992034.855 0x78bc7c52ac80 make_wparams:429 - cpu info: arch=x86_64, cores=16 [D] 08:40:57.856002524.856 0x78bc7c52ac80 make_wparams:431 - using threads: 5/16 [D] 08:40:57.856023473.856 0x78bc7c52ac80 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 = 1 | COREML = 0 | OPENVINO = 0 | [D] 08:40:57.856049251.856 0x78bc7c52ac80 start:224 - stt start [D] 08:40:57.856125212.856 0x78bc7c52ac80 start:234 - stt start completed [D] 08:40:57.856130381.856 0x78bc7c52ac80 () - creating audio source [D] 08:40:57.856134799.856 0x78bc7c52ac80 () - mic source created [D] 08:40:57.856224055.856 0x78bbfb400680 process:283 - stt processing started [D] 08:40:57.856255273.856 0x78bbfb400680 set_state:469 - stt state: idle => initializing [D] 08:40:57.856265682.856 0x78bbfb400680 set_state:476 - speech detection status: no-speech => initializing (no-speech) [D] 08:40:57.856288254.856 0x78bbfb400680 create_model:239 - creating whisper model whisper_init_from_file_with_params_no_state: loading model from '/home/erhan/.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_init_cublas: GGML_CUDA_FORCE_MMQ: no ggml_init_cublas: CUDA_USE_TENSOR_CORES: yes ggml_init_cublas: found 1 CUDA devices: Device 0: NVIDIA GeForce RTX 4070 Laptop GPU, compute capability 8.9, VMM: yes whisper_backend_init: using CUDA backend whisper_model_load: CUDA buffer size = 1080,97 MB [D] 08:40:58.092057898.92 0x78bc7c52ac80 () - using audio input: "alsa_input.pci-0000_65_00.6.HiFi__hw_acp63__source" [D] 08:40:58.101345837.101 0x78bc7c52ac80 () - audio state: IdleState [D] 08:40:58.101377085.101 0x78bc7c52ac80 set_speech_started:527 - speech started: false => true [D] 08:40:58.101385962.101 0x78bc7c52ac80 set_speech_detection_status:549 - speech detection status: initializing => initializing (speech-detected) [D] 08:40:58.101548143.101 0x78bc7c52ac80 () - service refresh status, new state: listening-single-sentence [D] 08:40:58.101558142.101 0x78bc7c52ac80 () - service state changed: idle => listening-single-sentence [D] 08:40:58.101571837.101 0x78bc7c52ac80 () - task state changed: 0 => 3 [D] 08:40:58.101827141.101 0x78bc7c52ac80 () - service refresh status, new state: listening-single-sentence [D] 08:40:58.101863368.101 0x78bc7c52ac80 () - app current task: -1 => 0 [D] 08:40:58.101873207.101 0x78bc7c52ac80 () - app task state: idle => initializing [D] 08:40:58.102619422.102 0x78bc7c52ac80 () - app service state: idle => listening-single-sentence [W] 08:40:58.105440121.105 0x78bc7c52ac80 () - no available mnt langs [W] 08:40:58.105452895.105 0x78bc7c52ac80 () - no available mnt out langs [W] 08:40:58.105457493.105 0x78bc7c52ac80 () - no available tts models for in mnt [W] 08:40:58.105460739.105 0x78bc7c52ac80 () - no available tts models for out mnt [D] 08:40:58.291651909.291 0x78bc7c52ac80 () - mic clear [D] 08:40:58.291717831.291 0x78bc7c52ac80 () - audio state: ActiveState [D] 08:40:58.481022094.481 0x78bc7c52ac80 () - mic clear whisper_model_load: model size = 1080,47 MB whisper_backend_init: using CUDA backend whisper_init_state: kv self size = 220,20 MB whisper_init_state: kv cross size = 245,76 MB whisper_init_state: compute buffer (conv) = 32,42 MB whisper_init_state: compute buffer (encode) = 212,42 MB whisper_init_state: compute buffer (cross) = 9,38 MB whisper_init_state: compute buffer (decode) = 99,24 MB [D] 08:40:58.636604960.636 0x78bbfb400680 create_model:249 - whisper model created [D] 08:40:58.636617744.636 0x78bbfb400680 set_state:469 - stt state: initializing => idle [D] 08:40:58.636620679.636 0x78bbfb400680 set_state:476 - speech detection status: initializing => speech-detected (speech-detected) [D] 08:40:58.640584140.640 0x78bc7c52ac80 () - service refresh status, new state: listening-single-sentence [D] 08:40:58.640610068.640 0x78bc7c52ac80 () - task state changed: 3 => 1 [D] 08:40:58.640655092.640 0x78bc7c52ac80 () - app task state: initializing => speech-detected [D] 08:41:00.044745730.44 0x78bbfb400680 process_buff:259 - process samples buf: mode=single-sentence, in-buf size=24000, speech-buf size=0, sof=true, eof=false [D] 08:41:00.066963742.66 0x78bbfb400680 process_buff:279 - vad: speech detected [D] 08:41:01.444797007.444 0x78bbfb400680 process_buff:259 - process samples buf: mode=single-sentence, in-buf size=24000, speech-buf size=23040, sof=false, eof=false [D] 08:41:01.468265221.468 0x78bbfb400680 process_buff:294 - vad: no speech [D] 08:41:01.468270651.468 0x78bbfb400680 set_state:469 - stt state: idle => decoding [D] 08:41:01.468273547.468 0x78bbfb400680 set_speech_detection_status:549 - speech detection status: speech-detected => decoding (no-speech) [D] 08:41:01.468280690.468 0x78bbfb400680 process_buff:362 - speech frame: samples=23040 [D] 08:41:01.468282754.468 0x78bbfb400680 decode_speech:439 - speech decoding started [D] 08:41:01.477333252.477 0x78bc7c52ac80 () - service refresh status, new state: listening-single-sentence [D] 08:41:01.477358990.477 0x78bc7c52ac80 () - task state changed: 1 => 2 [D] 08:41:01.494912050.494 0x78bc7c52ac80 () - app task state: speech-detected => processing [D] 08:41:01.969975111.969 0x78bbfb400680 decode_speech:453 - decoded segments: 1 [D] 08:41:01.970013553.970 0x78bbfb400680 decode_speech:501 - speech decoded, stats: samples=23040, duration=501ms (0.347917) [D] 08:41:01.970030414.970 0x78bbfb400680 set_state:469 - stt state: decoding => idle [D] 08:41:01.970033590.970 0x78bbfb400680 set_state:476 - speech detection status: decoding => no-speech (no-speech) [D] 08:41:01.970039531.970 0x78bbfb400680 flush:485 - flush: eof [D] 08:41:01.970045983.970 0x78bbfb400680 set_speech_started:527 - speech started: true => false [D] 08:41:01.975265667.975 0x78bc7c52ac80 () - stt intermediate text decoded: *** "en_whisper_large" 0 [D] 08:41:01.975697709.975 0x78bc7c52ac80 () - service refresh status, new state: listening-single-sentence [D] 08:41:01.975703790.975 0x78bc7c52ac80 () - task state changed: 2 => 0 [D] 08:41:01.975716704.975 0x78bc7c52ac80 () - stt stop listen [D] 08:41:01.975720862.975 0x78bc7c52ac80 () - stop stt engine gracefully [D] 08:41:01.975724228.975 0x78bc7c52ac80 () - mic source stop [D] 08:41:01.975749716.975 0x78bc7c52ac80 () - audio state: SuspendedState [D] 08:41:01.975754815.975 0x78bc7c52ac80 () - audio ended [D] 08:41:01.976092382.976 0x78bc7c52ac80 () - stt text decoded: *** "en_whisper_large" 0 [D] 08:41:01.976522481.976 0x78bc7c52ac80 () - stt intermediate text decoded: *** "en_whisper_large" 0 [D] 08:41:01.976530666.976 0x78bc7c52ac80 () - engine eof [D] 08:41:01.976533461.976 0x78bc7c52ac80 () - cancel [D] 08:41:01.976552196.976 0x78bc7c52ac80 request_stop:254 - stt stop requested [D] 08:41:01.976555342.976 0x78bc7c52ac80 stop_processing_impl:230 - whisper cancel [D] 08:41:01.976573746.976 0x78bbfb400680 flush:485 - flush: exit [D] 08:41:01.976580529.976 0x78bbfb400680 reset_in_processing:395 - reset in processing [D] 08:41:01.976587462.976 0x78bbfb400680 process:316 - stt processing ended [D] 08:41:01.976582001.976 0x78bc7c52ac80 () - service refresh status, new state: listening-single-sentence [D] 08:41:01.976611707.976 0x78bc7c52ac80 () - app task state: processing => idle [D] 08:41:01.985273533.985 0x78bc7c52ac80 () - stt engine stopping [D] 08:41:01.985355315.985 0x78bc7c52ac80 () - service refresh status, new state: listening-single-sentence [D] 08:41:01.985369441.985 0x78bc7c52ac80 () - task state changed: 0 => 6 [D] 08:41:01.985385902.985 0x78bc7c52ac80 () - stt engine stopped [D] 08:41:01.985395039.985 0x78bc7c52ac80 () - stop stt engine [D] 08:41:01.985401701.985 0x78bc7c52ac80 request_stop:250 - stt stop already requested [D] 08:41:01.985475398.985 0x78bc7c52ac80 stop:279 - stt stop completed [D] 08:41:01.985486228.985 0x78bc7c52ac80 () - mic source dtor [D] 08:41:01.985719812.985 0x78bc7c52ac80 () - app task state: idle => cancelling [D] 08:41:01.992192332.992 0x78bc7c52ac80 () - service refresh status, new state: idle [D] 08:41:01.992218631.992 0x78bc7c52ac80 () - service state changed: listening-single-sentence => idle [D] 08:41:01.992235953.992 0x78bc7c52ac80 () - task state changed: 6 => 0 [D] 08:41:01.992445693.992 0x78bc7c52ac80 () - app current task: 0 => -1 [W] 08:41:01.992457014.992 0x78bc7c52ac80 () - invalid task, reseting task state [D] 08:41:01.992465880.992 0x78bc7c52ac80 () - app task state: cancelling => idle [D] 08:41:01.993253463.993 0x78bc7c52ac80 () - app service state: listening-single-sentence => idle [W] 08:41:01.996043495.996 0x78bc7c52ac80 () - no available mnt langs [W] 08:41:01.996055747.996 0x78bc7c52ac80 () - no available mnt out langs [W] 08:41:01.996059805.996 0x78bc7c52ac80 () - no available tts models for in mnt [W] 08:41:01.996062490.996 0x78bc7c52ac80 () - no available tts models for out mnt [W] 08:41:01.996065736.996 0x78bc7c52ac80 () - invalid task, reseting task state [W] 08:41:01.996292848.996 0x78bc7c52ac80 () - ignore TaskStatePropertyChanged signal [D] 08:41:16.630787450.630 0x78bc7c52ac80 () - exiting

eyukselci avatar Apr 09 '24 08:04 eyukselci

I'm so glad you were able to build it!

I installed the GIT pkg from AUR after enabling both FULL_BUILD and CI_BUILD to true

Setting CI_BUILD=true disables Translator. It is intended for CI integration only. You had to change CI_BUILD to true because otherwise the build failed?

Some optional features were not available

Arch package does not provide Python dependencies therefore all features that require Python are not available. To use them you need to install manually Python libraries in your system. If you are using venv, you can point in the settings where python libs are located.

image

Most useful python dependencies:

pip install torch TTS faster-whisper mycroft_mimic3_tts whisperspeech

The program exited when I tried to use ROCm for GPU acceleration.

The problem is in ROCm and update didn't help. There's not much I can do to fix this problem. Currently ROCm supports very limited number of graphics cards.

With NVIDIA, it worked without a problem, but the response time seemed a bit less performant or slower compared to the flatpak pkg. I did not make any measurement, so it may be subjective.

There is a log with decoding duration. It can be used for benchmarking. You can transcribe the same audio file with Flatpak and with your own version and compare times. I use this method to check performance regressions. Look for log like similar to this:

[D] 17:23:17.429734178.429 0x7dffb5a00680 decode_speech:501 - speech decoded, stats: samples=24000, duration=559ms (0.372667)

mkiol avatar Apr 09 '24 17:04 mkiol