Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flatpak failed to launch #150

Open
mpiko opened this issue Jul 13, 2024 · 10 comments
Open

flatpak failed to launch #150

mpiko opened this issue Jul 13, 2024 · 10 comments

Comments

@mpiko
Copy link

mpiko commented Jul 13, 2024

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

@mkiol
Copy link
Owner

mkiol commented Jul 14, 2024

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?

@klausbu
Copy link

klausbu commented Jul 25, 2024

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.

@mkiol
Copy link
Owner

mkiol commented Jul 27, 2024

@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:

image

@mpiko
Copy link
Author

mpiko commented Aug 14, 2024 via email

@mkiol
Copy link
Owner

mkiol commented Aug 14, 2024

@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!

@mpiko
Copy link
Author

mpiko commented Aug 14, 2024 via email

@mkiol
Copy link
Owner

mkiol commented Aug 17, 2024

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 🤔

@mkiol mkiol added enhancement New feature or request and removed enhancement New feature or request labels Aug 17, 2024
@mpiko
Copy link
Author

mpiko commented Aug 17, 2024 via email

@LalOpen
Copy link

LalOpen commented Sep 23, 2024

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 ?

@MaximizeRr
Copy link

MaximizeRr commented Oct 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants