-
-
Notifications
You must be signed in to change notification settings - Fork 41
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 version crash on X11 #298
Comments
It closes itself after a while? As in, it doesn't close itself immediately? Is the terminal output you provided from when a crash occurs? If not, could you open ProtonUp-Qt from terminal and wait until a crash occurs, then copy and paste in the terminal output from directl after the crash? If you did already do that, then I'm not immediately seeing anything that would point to why the crash occurs. These two lines are suspicious but should not cause a crash afaik:
The I wonder if this is a regression with something outside of ProtonUp-Qt? Such as a Flatpak runtime. I will try test on my Steam Deck later, as that's the only Plasma X11 device I have. Out of interest, does this happen with the AppImage? |
It doesn't close immediately and that is the output after the crash. AppImage version works fine. |
Sounds like it's some Flatpak runtime issue then, if the AppImage works fine. Couldn't find anything from a very cursory search, and it doesn't look like there's a KDE Flatpak runtime update available (though it was hard to find much concrete info, further confirmation would be appreciated). The ProtonUp-Qt Flatpak repository is over at flathub/net.davidotek.pupgui2, though I don't see anything immediately from the Flatpak packaging that would suggest a crash. If you use a tool like Flatseal and use/confirm the following settings, does the situation improve?
KDE also provies a way to modify this in the system settings, though it's under "Advanced Permissions" and the UI for it is a lot less friendly imo. It shouldn't change much, but I know this is becoming more of the default, so perhaps for Flatpak there are some behaviour differences between using these options, and runtimes expect whatever behaviour is given by @DavidoTek Do you know how likely this is to be an upstream issue with some Flatpak runtimes, i.e. has something like this happened before? 🙂 |
Changing sockets didn't make a difference. |
Thanks for already looking into the issue
I think that issue could be anything related to network sockets. It possible that it is caused by the X11/Wayland connection and related to #284 as sonic2kk mentioned.
I can't remember anything like it off the top of my head... |
I did try rebooting and it still crashes |
Can you try running ProtonUp-Qt with Qt plugin debugging enabled:
I have no clue whether the issue is actually related to the SESSION_MANAGER, but could you also try running The output of the commands with debugging enabled can be quite long. Can you maybe post them using https://gist.github.com/ or pastebin? |
https://pastebin.com/ewKATNZk |
Possibly related, Prism Launcher Flatpak (another Qt application, It's possible that this could be an upstream Qt problem when running an X11 session, though I wonder if it's just limited to KDE... all my machines except my Steam Deck run the latest KDE Plasma Wayland, and I think the Steam Deck is behind a bit with the Plasma version, so if the Steam Deck doesn't have this problem I suspect it could be an issue specific to Qt Flatpak applications with newer Plasma versions on an X11 session. EDIT: It seems according to that Prism issue, it's also Qt6.5, so this could be a Qt problem. |
PySide 6.6.0 is available since yesterday. KDE Runtime 6.6 doesn't seem to be available on Flatpak yet. When it is, we can upgrade. |
Sorry if this is a silly question but for my own understanding, is it the KDE Runtime that provides PySide6 for Flatpak, or what's the dependency here? Maybe the Qt libraries that PySide depends on are provided by the KDE Runtime (since KDE is built with Qt)? Not trying to contest upgrading by any means, I'm just wondering :-) Currently there is a Qt6.6 branch for the KDE Runtime, so it should hopefully be out in the near future. They seem to be on top of it 😄 |
There are no silly questions ;) We are depending on the Qt libs provided by the KDE Runtime. Before commit flathub/net.davidotek.pupgui2@6741fe5, we used to build PySide6 from source and directly depend on the libraries.
I saw that too, but I'm not 100% sure if this issue here actually is caused by Qt directly as I would consider it to be a rather professional software, so it could also be something else related to the window manager or some combination which only happens in some edge cases. Nevertheless, keeping it somewhat up to date seems like a good idea (and ideally reduces the number of Flatpak runtimes you need have installed) PR when it becomes available. We may even need to update that as some patches to PySide 6.6 might be out until then. flathub/net.davidotek.pupgui2#25 |
I have something to add to this. After a reboot running protonup doesn't show any terminal output and crashes without the GUI appearing. Running protonup again shows the GUI for a while and crashes as described in this issue. |
So the output looks kinda like the this? [user@system ~]$ flatpak run net.davidotek.pupgui2
[user@system ~]$ That sounds more like a problem with Flatpak/some other part of your installation and unrelated to ProtonUp-Qt. It is possible that there is a buggy version of something in the Arch repos. |
Yes the output looks like that. |
Okay, it's probably not related to ProtonUp-Qt then but rather some problem with the os. I will close this issue. If you should have any more insights later that might be relevant (maybe if it is caused by some buggy Qt version), feel free to leave them here. |
Describe the bug
A while after starting the app it just crashes
To Reproduce
Steps to reproduce the behavior:
Expected behavior
ProtonUp-Qt to stay open
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Works on wayland.
Terminal output
The text was updated successfully, but these errors were encountered: