flatpak failed to launch
Closed this issue · 12 comments
Downloaded the flatpak via the software manager. Pressed Launch. Nothing.
PRETTY_NAME="LMDE 6 (faye)"
NAME="LMDE"
VERSION_ID="6"
VERSION="6 (faye)"
VERSION_CODENAME=faye
ID=linuxmint
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
ID_LIKE=debian
DEBIAN_CODENAME=bookworm
Hi. Thanks for the report.
Could you please start the app from terminal with --verbose
option?
flatpak run net.mkiol.SpeechNote --verbose
What is the output?
I have a similar issue on Ubuntu 22.04:
After installing the flatpak and amd GPU support, the application starts but I get immediately a message, telling me , that the application is not responding and a message in the application window telling me, that no language is installed while the language button is greyed out.
@klausbu Thanks for reporting.
Could you please start the app from the terminal with --verbose
option to see more detailed logs?
flatpak run net.mkiol.SpeechNote --verbose
There is also special option --gpu-scan-off
(in v4.6 --hw-scan-off
) that disables HW scanning when app starts. Most likely this "freeze" is due to some error in detecting GPU cards. You can re-enable GPU detection in Settings->Other.
To disable GPU detection when app starts:
flatpak run net.mkiol.SpeechNote --gpu-scan-off --verbose
To re-enable:
@mpiko
Hi. The output is somehow corrupted or unreadable - I don't know why. Would you be able to reinstall Speech Note and repeat the test starting the app from the terminal using this commands:
flatpak uninstall net.mkiol.SpeechNote --delete-data
flatpak install net.mkiol.SpeechNote
flatpak run net.mkiol.SpeechNote --verbose
Thanks!
It looks like you can't even uninstall the app. It seems like the problem is not directly related to Speech Note, but rather something is broken in Flatpak itself. Not much I can help here :/
Maybe reinstalling Flatpak completely will help 🤔
Hey! I'm facing the same issue, but apparently for different reasons. Since this issue is still open, I won't create a new one and I post my problem here.
This is the output of the following command :
flatpak run net.mkiol.SpeechNote --gpu-scan-off --verbose
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Distro : Debian 12.7
Kernel : 6.1.0-25-amd64
DE : GNOME 43.9
CPU : 11th Gen Intel i7-1185G7 (8) @ 4.800GHz
GPU : Intel TigerLake-LP GT2 [Iris Xe Graphics]
on Wayland
I do have qt apps that runs perfectly well.
Do you have an idea of what I could do to launch Speech Note ?
I'm facing the same problem #150 (comment)
I fixed it by launching flatpak with QT_QPA_PLATFORM=wayland
env var
flatpak --env=QT_QPA_PLATFORM=wayland run net.mkiol.SpeechNote
Source:
flatpak/flatpak#5658
Closing. I assume the workaround with --env=QT_QPA_PLATFORM=wayland
works as expected.
It seems that the problem is not related to the Speech Note app itself.