mkiol / dsnote

Speech Note Linux app. Note taking, reading and translating with offline Speech to Text, Text to Speech and Machine translation.
Mozilla Public License 2.0
544 stars 20 forks source link

Speech note crashing on startup, mint 21.3 #120

Closed PORTB closed 6 months ago

PORTB commented 6 months ago

Similar to: https://github.com/mkiol/dsnote/issues/80

It was working fine for me, but recently it has started crashing at startup.

Logs

flatpak run net.mkiol.SpeechNote --verbose

Gtk-Message: 20:09:19.398: Failed to load module "xapp-gtk3-module"
Qt: Session management error: Could not open network socket
[I] 20:09:19.427 0x7f128994fd00 init:49 - logging to stderr enabled
[D] 20:09:19.427 0x7f128994fd00 () - version: 4.4.0
[D] 20:09:19.445 0x7f128994fd00 parse_cpuinfo:117 - cpu flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 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 ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm
[D] 20:09:19.445 0x7f128994fd00 parse_cpuinfo:125 - cpuinfo: processor-count=16, flags=[avx, avx2, fma, f16c, ]
[D] 20:09:19.445 0x7f128994fd00 () - translation: "en_AU"
[W] 20:09:19.445 0x7f128994fd00 () - failed to install translation
[D] 20:09:19.445 0x7f128994fd00 () - starting standalone app
[D] 20:09:19.446 0x7f128994fd00 () - app: net.mkiol dsnote
[D] 20:09:19.446 0x7f128994fd00 () - config location: "/home/****/.var/app/net.mkiol.SpeechNote/config"
[D] 20:09:19.446 0x7f128994fd00 () - data location: "/home/****/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote"
[D] 20:09:19.446 0x7f128994fd00 () - cache location: "/home/****/.var/app/net.mkiol.SpeechNote/cache/net.mkiol/dsnote"
[D] 20:09:19.446 0x7f128994fd00 () - settings file: "/home/****/.var/app/net.mkiol.SpeechNote/config/net.mkiol/dsnote/settings.conf"
[D] 20:09:19.446 0x7f128994fd00 () - platform: "xcb"
[D] 20:09:19.446 0x7f128994fd00 () - nvidia addon exists
[D] 20:09:19.446 0x7f128994fd00 () - enforcing num threads: 10
[D] 20:09:19.522 0x7f128994fd00 () - supported audio input devices:
ALSA lib ../../oss/pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
[D] 20:09:19.523 0x7f128994fd00 () - "pulse"
[D] 20:09:19.524 0x7f128994fd00 () - "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] 20:09:19.714 0x7f128994fd00 () - "bluez_sink.88_C9_E8_23_A4_65.a2dp_sink.monitor"
[D] 20:09:19.714 0x7f128994fd00 () - "alsa_output.pci-0000_09_00.4.analog-stereo.monitor"
[D] 20:09:19.714 0x7f128994fd00 () - "combined.monitor"
[D] 20:09:19.714 0x7f128994fd00 () - "alsa_output.pci-0000_07_00.1.hdmi-stereo.monitor"
[D] 20:09:19.730 0x7f128994fd00 () - starting service: app-standalone
[D] 20:09:19.731 0x7f128994fd00 () - mbrola dir: "/app/bin"
[D] 20:09:19.731 0x7f128994fd00 () - espeak dir: "/app/bin"
[D] 20:09:19.731 0x7f1280f65600 loop:75 - py executor loop started
[D] 20:09:19.734 0x7f128994fd00 () - module already unpacked: "rhvoicedata"
[D] 20:09:19.734 0x7f128994fd00 () - module already unpacked: "rhvoiceconfig"
[D] 20:09:19.737 0x7f128994fd00 () - module already unpacked: "espeakdata"
[D] 20:09:19.737 0x7f128994fd00 () - default stt model not found: "en_fasterwhisper_distil_medium"
[D] 20:09:19.737 0x7f128994fd00 () - default tts model not found: "en_piper_gb_semaine_medium_3"
[D] 20:09:19.737 0x7f128994fd00 () - default mnt lang not found: "en"
[D] 20:09:19.737 0x7f128994fd00 () - new default mnt lang: "en"
[D] 20:09:19.738 0x7f128994fd00 () - service refresh status, new state: busy
[D] 20:09:19.738 0x7f128994fd00 () - service state changed: unknown => busy
[D] 20:09:19.738 0x7f128994fd00 () - delaying features availability
[D] 20:09:19.739 0x7f128994fd00 () - runtime prefix: "/app"
[D] 20:09:19.739 0x7f1281766600 () - config version: 65 65
[D] 20:09:19.739 0x7f128994fd00 () - available styles: ("Default", "Fusion", "Imagine", "Material", "org.kde.breeze", "org.kde.desktop", "Plasma", "Universal")
[D] 20:09:19.739 0x7f128994fd00 () - style paths: ("/usr/lib/qml/QtQuick/Controls.2")
[D] 20:09:19.739 0x7f128994fd00 () - import paths: ("/usr/lib/qml", "/app/bin", "qrc:/qt-project.org/imports")
[D] 20:09:19.739 0x7f128994fd00 () - library paths: ("/usr/share/runtime/lib/plugins", "/usr/lib/plugins", "/app/bin")
[D] 20:09:19.739 0x7f128994fd00 () - using auto qt style
[D] 20:09:19.739 0x7f128994fd00 () - XDG_CURRENT_DESKTOP: X-Cinnamon
[D] 20:09:19.739 0x7f128994fd00 () - switching to style: "org.kde.breeze"
[D] 20:09:19.742 0x7f1280f65600 libs_availability:61 - checking: torch cuda
[D] 20:09:19.761 0x7f1281766600 () - models changed
[W] 20:09:20.107 0x7f128994fd00 () - qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
[W] 20:09:20.108 0x7f128994fd00 () - qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
[W] 20:09:20.108 0x7f128994fd00 () - qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
[E] 20:09:20.108 0x7f128994fd00 () - Could not initialize GLX
mkiol commented 6 months ago

Thanks for the report.

It looks like a problem with NVIDIA driver.

Sorry but I have to ask. Perhaps you haven't updated your packages via flatpak update?

PORTB commented 6 months ago

I ran the mint updater tool, seems to be working now. Thanks