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

ProtonUP-QT Flatpak crashes under Gnome(?) Wayland on version select. #146

Closed
LionHeartP opened this issue Nov 26, 2022 · 11 comments
Closed
Labels
bug Something isn't working

Comments

@LionHeartP
Copy link

LionHeartP commented Nov 26, 2022

Describe the bug
On the Steam Add Version section of the application, it crashes when double clicking the version list.

To Reproduce
Steps to reproduce the behavior:

  1. Open the Add version dialog
  2. Double click on the version list
  3. gnome-shell crashes

Expected behavior
List should open and immediately close as the first click invokes the list and the second re-selects the current version.

Screenshots
https://streamable.com/6w9lmy

Desktop (please complete the following information):

  • Platform: PC
  • System: Nobara 36
  • Version: ProtonUp-Qt 2.7.6
  • How did you install ProtonUp-Qt?: Flatpak

Additional context
On the same setup, gnome-shell doesn't crash under X11 or if the AppImage is used.
Additionally, disabling Wayland windowing system under Flatseal so the app uses XWayland instead also prevents this from happening.

Terminal output

$ flatpak run net.davidotek.pupgui2 
ProtonUp-Qt 2.7.6 by DavidoTek. Build Info: DavidoTek Flathub build.
Python 3.10.6 (main, Nov 10 2011, 15:00:00) [GCC 12.1.0], PySide 6.4.0.1
Platform: Linux-6.0.9-202.fc36.x86_64-x86_64-with-glibc2.35
Loading locale en / en_US
Loaded ctmod GE-Proton
Loaded ctmod Wine-GE
Loaded ctmod Boxtron
Loaded ctmod Kron4ek Wine-Builds Vanilla
Loaded ctmod Lutris-Wine
Loaded ctmod Luxtorpeda
Loaded ctmod Proton Tkg
Loaded ctmod Roberta
cat: /etc/lsb-release: No such file or directory
Loaded ctmod SteamTinkerLaunch
cat: /etc/lsb-release: No such file or directory
Loaded ctmod SteamTinkerLaunch-git
Loaded ctmod DXVK
Loaded ctmod DXVK Async
Loaded ctmod DXVK (nightly)
qt.pysideplugin: Environment variable PYSIDE_DESIGNER_PLUGINS is not set, bailing out.
qt.pysideplugin: No instance of QPyDesignerCustomWidgetCollection was found.
Gamepad error: No gamepad found```
@LionHeartP LionHeartP added the bug Something isn't working label Nov 26, 2022
@GloriousEggroll
Copy link

GloriousEggroll commented Nov 27, 2022

can confirm this happens on native build also. tested on 2.7.6, 2.7.5, 2.7.4, 2.7.3, 2.7.2, 2.7.1 -- all affected. simply toggling the dropdown between steam or lutris a few times relatively quickly is enough to cause it to kick you out of your session. last known working version 2.6.0 but I havent tested anything between 2.6.1 and 2.7.1

@DavidoTek
Copy link
Owner

Thanks for the report.

https://streamable.com/6w9lmy

I tried to replicate the behavior, but I was not able to (Fedora 37, GNOME 43, Wayland).

last known working version 2.6.0

The only difference I can think of that could cause this behavior is the change from Qt 6.2 to Qt 6.3. I think they made some changes to how Wayland is handled.
This is probably some problem with PySide/Qt or GNOME.

Can you try running ProtonUp-Qt using following command and post the output to see if there are any errors when the Qt plugins are loaded: flatpak run --env=QT_DEBUG_PLUGINS=1 net.davidotek.pupgui2

@GloriousEggroll
Copy link

GloriousEggroll commented Nov 27, 2022

Thanks for the report.

https://streamable.com/6w9lmy

I tried to replicate the behavior, but I was not able to (Fedora 37, GNOME 43, Wayland).

last known working version 2.6.0

The only difference I can think of that could cause this behavior is the change from Qt 6.2 to Qt 6.3. I think they made some changes to how Wayland is handled. This is probably some problem with PySide/Qt or GNOME.

Can you try running ProtonUp-Qt using following command and post the output to see if there are any errors when the Qt plugins are loaded: flatpak run --env=QT_DEBUG_PLUGINS=1 net.davidotek.pupgui2

ah you're attempting the reproducer wrong. in the first dialog that lets you choose between steam and lutris toggle betwen those two choices a few times. also it may have to do with having variable refresh rate enabled

@LionHeartP
Copy link
Author

LionHeartP commented Nov 27, 2022

Thanks for the report.

https://streamable.com/6w9lmy

I tried to replicate the behavior, but I was not able to (Fedora 37, GNOME 43, Wayland).

last known working version 2.6.0

The only difference I can think of that could cause this behavior is the change from Qt 6.2 to Qt 6.3. I think they made some changes to how Wayland is handled. This is probably some problem with PySide/Qt or GNOME.

Can you try running ProtonUp-Qt using following command and post the output to see if there are any errors when the Qt plugins are loaded: flatpak run --env=QT_DEBUG_PLUGINS=1 net.davidotek.pupgui2

Output
$ flatpak run --env=QT_DEBUG_PLUGINS=1 net.davidotek.pupgui2 
ProtonUp-Qt 2.7.6 by DavidoTek. Build Info: DavidoTek Flathub build.
Python 3.10.6 (main, Nov 10 2011, 15:00:00) [GCC 12.1.0], PySide 6.4.0.1
Platform: Linux-6.0.9-202.fc36.x86_64-x86_64-with-glibc2.35
qt.core.plugin.factoryloader: checking directory path "/usr/share/runtime/lib/plugins/platforms" ...
qt.core.plugin.factoryloader: checking directory path "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms" ...
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms/libqeglfs.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms/libqeglfs.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "eglfs"
        ]
    },
    "archlevel": 1,
    "className": "QEglFSIntegrationPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("eglfs")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms/libqlinuxfb.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms/libqlinuxfb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "linuxfb"
        ]
    },
    "archlevel": 1,
    "className": "QLinuxFbIntegrationPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("linuxfb")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms/libqminimal.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms/libqminimal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimal"
        ]
    },
    "archlevel": 1,
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("minimal")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms/libqminimalegl.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms/libqminimalegl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimalegl"
        ]
    },
    "archlevel": 1,
    "className": "QMinimalEglIntegrationPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("minimalegl")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms/libqoffscreen.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms/libqoffscreen.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "offscreen"
        ]
    },
    "archlevel": 1,
    "className": "QOffscreenIntegrationPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("offscreen")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms/libqvkkhrdisplay.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms/libqvkkhrdisplay.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vkkhrdisplay"
        ]
    },
    "archlevel": 1,
    "className": "QVkKhrDisplayIntegrationPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("vkkhrdisplay")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms/libqvnc.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms/libqvnc.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vnc"
        ]
    },
    "archlevel": 1,
    "className": "QVncIntegrationPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("vnc")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms/libqwayland-egl.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms/libqwayland-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-egl"
        ]
    },
    "archlevel": 1,
    "className": "QWaylandEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("wayland-egl")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms/libqwayland-generic.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms/libqwayland-generic.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland"
        ]
    },
    "archlevel": 1,
    "className": "QWaylandIntegrationPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("wayland")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms/libqxcb.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "archlevel": 1,
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xcb")
qt.core.plugin.factoryloader: checking directory path "/usr/bin/platforms" ...
qt.core.library: "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforms/libqwayland-generic.so" loaded library
qt.core.plugin.factoryloader: checking directory path "/usr/share/runtime/lib/plugins/platformthemes" ...
qt.core.plugin.factoryloader: looking at "/usr/share/runtime/lib/plugins/platformthemes/libqgnomeplatformtheme.so"
qt.core.plugin.loader: Found metadata in lib /usr/share/runtime/lib/plugins/QGnomePlatform/platformthemes/libqgnomeplatformtheme.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "gnome",
            "gtk3",
            "qgnomeplatform"
        ]
    },
    "archlevel": 1,
    "className": "QGnomePlatformThemePlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("gnome", "gtk3", "qgnomeplatform")
qt.core.plugin.factoryloader: checking directory path "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/platformthemes" ...
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/platformthemes/libqgtk3.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/platformthemes/libqgtk3.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "gtk3"
        ]
    },
    "archlevel": 1,
    "className": "QGtk3ThemePlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("gtk3")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/platformthemes/libqxdgdesktopportal.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/platformthemes/libqxdgdesktopportal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "xdgdesktopportal",
            "flatpak",
            "snap"
        ]
    },
    "archlevel": 1,
    "className": "QXdgDesktopPortalThemePlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xdgdesktopportal", "flatpak", "snap")
qt.core.plugin.factoryloader: checking directory path "/usr/bin/platformthemes" ...
qt.core.library: "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/platformthemes/libqxdgdesktopportal.so" loaded library
qt.core.library: "/usr/share/runtime/lib/plugins/QGnomePlatform/platformthemes/libqgnomeplatformtheme.so" loaded library
qt.core.plugin.factoryloader: checking directory path "/usr/share/runtime/lib/plugins/platforminputcontexts" ...
qt.core.plugin.factoryloader: checking directory path "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforminputcontexts" ...
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so, metadata=
{
    "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "compose",
            "xim"
        ]
    },
    "archlevel": 1,
    "className": "QComposePlatformInputContextPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("compose", "xim")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so, metadata=
{
    "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "ibus"
        ]
    },
    "archlevel": 1,
    "className": "QIbusPlatformInputContextPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("ibus")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforminputcontexts/libqtvirtualkeyboardplugin.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforminputcontexts/libqtvirtualkeyboardplugin.so, metadata=
{
    "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "qtvirtualkeyboard"
        ]
    },
    "archlevel": 1,
    "className": "QVirtualKeyboardPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("qtvirtualkeyboard")
qt.core.plugin.factoryloader: checking directory path "/usr/bin/platforminputcontexts" ...
qt.core.library: "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so" loaded library
qt.core.plugin.factoryloader: checking directory path "/usr/share/runtime/lib/plugins/styles" ...
qt.core.plugin.factoryloader: checking directory path "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/styles" ...
qt.core.plugin.factoryloader: checking directory path "/usr/bin/styles" ...
qt.core.plugin.factoryloader: checking directory path "/usr/share/runtime/lib/plugins/iconengines" ...
qt.core.plugin.factoryloader: checking directory path "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/iconengines" ...
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/iconengines/libqsvgicon.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/iconengines/libqsvgicon.so, metadata=
{
    "IID": "org.qt-project.Qt.QIconEngineFactoryInterface",
    "MetaData": {
        "Keys": [
            "svg",
            "svgz",
            "svg.gz"
        ]
    },
    "archlevel": 1,
    "className": "QSvgIconPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("svg", "svgz", "svg.gz")
qt.core.plugin.factoryloader: checking directory path "/usr/bin/iconengines" ...
Loading locale en / en_US
Loaded ctmod GE-Proton
Loaded ctmod Wine-GE
Loaded ctmod Boxtron
Loaded ctmod Kron4ek Wine-Builds Vanilla
Loaded ctmod Lutris-Wine
Loaded ctmod Luxtorpeda
Loaded ctmod Proton Tkg
Loaded ctmod Roberta
cat: /etc/lsb-release: No such file or directory
Loaded ctmod SteamTinkerLaunch
cat: /etc/lsb-release: No such file or directory
Loaded ctmod SteamTinkerLaunch-git
Loaded ctmod DXVK
Loaded ctmod DXVK Async
Loaded ctmod DXVK (nightly)
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/designer/libPySidePlugin.so, metadata=
{
    "IID": "org.qt-project.Qt.PySide.PyDesignerCustomWidgetsInterface",
    "archlevel": 1,
    "className": "PyDesignerCustomWidgets",
    "debug": false,
    "version": 394240
}


qt.core.library: "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/designer/libPySidePlugin.so" loaded library
qt.pysideplugin: Environment variable PYSIDE_DESIGNER_PLUGINS is not set, bailing out.
qt.pysideplugin: No instance of QPyDesignerCustomWidgetCollection was found.
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/designer/libqquickwidget.so, metadata=
{
    "IID": "org.qt-project.Qt.QDesignerCustomWidgetInterface",
    "archlevel": 1,
    "className": "QQuickWidgetPlugin",
    "debug": false,
    "version": 394240
}


qt.core.library: "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/designer/libqquickwidget.so" loaded library
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/designer/libqwebengineview.so, metadata=
{
    "IID": "org.qt-project.Qt.QDesignerCustomWidgetInterface",
    "archlevel": 1,
    "className": "QWebEngineViewPlugin",
    "debug": false,
    "version": 394240
}


qt.core.library: "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/designer/libqwebengineview.so" cannot load: Cannot load library /app/lib/python3.10/site-packages/PySide6/Qt/plugins/designer/libqwebengineview.so: (libQt6WebEngineWidgets.so.6: cannot open shared object file: No such file or directory)
qt.core.plugin.loader: QLibraryPrivate::loadPlugin failed on "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/designer/libqwebengineview.so" : "Cannot load library /app/lib/python3.10/site-packages/PySide6/Qt/plugins/designer/libqwebengineview.so: (libQt6WebEngineWidgets.so.6: cannot open shared object file: No such file or directory)"
qt.core.plugin.factoryloader: checking directory path "/usr/share/runtime/lib/plugins/imageformats" ...
qt.core.plugin.factoryloader: checking directory path "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats" ...
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqgif.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqgif.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "gif"
        ],
        "MimeTypes": [
            "image/gif"
        ]
    },
    "archlevel": 1,
    "className": "QGifPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("gif")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqicns.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqicns.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "icns"
        ],
        "MimeTypes": [
            "image/x-icns"
        ]
    },
    "archlevel": 1,
    "className": "QICNSPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("icns")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqico.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqico.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "ico",
            "cur"
        ],
        "MimeTypes": [
            "image/vnd.microsoft.icon",
            "image/vnd.microsoft.icon"
        ]
    },
    "archlevel": 1,
    "className": "QICOPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("ico", "cur")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqjpeg.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqjpeg.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "jpg",
            "jpeg"
        ],
        "MimeTypes": [
            "image/jpeg",
            "image/jpeg"
        ]
    },
    "archlevel": 1,
    "className": "QJpegPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("jpg", "jpeg")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqpdf.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqpdf.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "pdf"
        ],
        "MimeTypes": [
            "application/pdf"
        ]
    },
    "archlevel": 1,
    "className": "QPdfPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("pdf")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqsvg.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqsvg.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "svg",
            "svgz"
        ],
        "MimeTypes": [
            "image/svg+xml",
            "image/svg+xml-compressed"
        ]
    },
    "archlevel": 1,
    "className": "QSvgPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("svg", "svgz")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqtga.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqtga.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "tga"
        ],
        "MimeTypes": [
            "image/x-tga"
        ]
    },
    "archlevel": 1,
    "className": "QTgaPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("tga")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqtiff.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqtiff.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "tiff",
            "tif"
        ],
        "MimeTypes": [
            "image/tiff",
            "image/tiff"
        ]
    },
    "archlevel": 1,
    "className": "QTiffPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("tiff", "tif")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqwbmp.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqwbmp.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "wbmp"
        ],
        "MimeTypes": [
            "image/vnd.wap.wbmp"
        ]
    },
    "archlevel": 1,
    "className": "QWbmpPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("wbmp")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqwebp.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqwebp.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "webp"
        ],
        "MimeTypes": [
            "image/webp"
        ]
    },
    "archlevel": 1,
    "className": "QWebpPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("webp")
qt.core.plugin.factoryloader: checking directory path "/usr/bin/imageformats" ...
qt.core.library: "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqgif.so" loaded library
qt.core.library: "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqicns.so" loaded library
qt.core.library: "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqico.so" loaded library
qt.core.library: "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqjpeg.so" loaded library
qt.core.library: "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqpdf.so" cannot load: Cannot load library /app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqpdf.so: (libQt6Pdf.so.6: cannot open shared object file: No such file or directory)
qt.core.plugin.loader: QLibraryPrivate::loadPlugin failed on "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqpdf.so" : "Cannot load library /app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqpdf.so: (libQt6Pdf.so.6: cannot open shared object file: No such file or directory)"
qt.core.library: "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqsvg.so" loaded library
qt.core.library: "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqtga.so" loaded library
qt.core.library: "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqtiff.so" loaded library
qt.core.library: "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqwbmp.so" loaded library
qt.core.library: "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/imageformats/libqwebp.so" loaded library
Gamepad error: No gamepad found.
qt.core.plugin.factoryloader: checking directory path "/usr/share/runtime/lib/plugins/accessible" ...
qt.core.plugin.factoryloader: checking directory path "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/accessible" ...
qt.core.plugin.factoryloader: checking directory path "/usr/bin/accessible" ...
qt.core.plugin.factoryloader: checking directory path "/usr/share/runtime/lib/plugins/wayland-shell-integration" ...
qt.core.plugin.factoryloader: checking directory path "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-shell-integration" ...
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-shell-integration/libfullscreen-shell-v1.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-shell-integration/libfullscreen-shell-v1.so, metadata=
{
    "IID": "org.qt-project.Qt.WaylandClient.QWaylandShellIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "fullscreen-shell-v1"
        ]
    },
    "archlevel": 1,
    "className": "QWaylandFullScreenShellV1IntegrationPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("fullscreen-shell-v1")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-shell-integration/libivi-shell.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-shell-integration/libivi-shell.so, metadata=
{
    "IID": "org.qt-project.Qt.WaylandClient.QWaylandShellIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "ivi-shell"
        ]
    },
    "archlevel": 1,
    "className": "QWaylandIviShellIntegrationPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("ivi-shell")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-shell-integration/libqt-shell.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-shell-integration/libqt-shell.so, metadata=
{
    "IID": "org.qt-project.Qt.WaylandClient.QWaylandShellIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "qt-shell"
        ]
    },
    "archlevel": 1,
    "className": "QWaylandQtShellIntegrationPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("qt-shell")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-shell-integration/libwl-shell-plugin.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-shell-integration/libwl-shell-plugin.so, metadata=
{
    "IID": "org.qt-project.Qt.WaylandClient.QWaylandShellIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wl-shell"
        ]
    },
    "archlevel": 1,
    "className": "QWaylandWlShellIntegrationPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("wl-shell")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-shell-integration/libxdg-shell.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-shell-integration/libxdg-shell.so, metadata=
{
    "IID": "org.qt-project.Qt.WaylandClient.QWaylandShellIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xdg-shell"
        ]
    },
    "archlevel": 1,
    "className": "QWaylandXdgShellIntegrationPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xdg-shell")
qt.core.plugin.factoryloader: checking directory path "/usr/bin/wayland-shell-integration" ...
qt.core.library: "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-shell-integration/libxdg-shell.so" loaded library
qt.core.plugin.factoryloader: checking directory path "/usr/share/runtime/lib/plugins/wayland-graphics-integration-client" ...
qt.core.plugin.factoryloader: checking directory path "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-graphics-integration-client" ...
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-graphics-integration-client/libdmabuf-server.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-graphics-integration-client/libdmabuf-server.so, metadata=
{
    "IID": "org.qt-project.Qt.WaylandClient.QWaylandServerBufferIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "dmabuf-server"
        ]
    },
    "archlevel": 1,
    "className": "DmaBufServerBufferPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList()
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-graphics-integration-client/libdrm-egl-server.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-graphics-integration-client/libdrm-egl-server.so, metadata=
{
    "IID": "org.qt-project.Qt.WaylandClient.QWaylandServerBufferIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "drm-egl-server"
        ]
    },
    "archlevel": 1,
    "className": "DrmEglServerBufferPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList()
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.WaylandClient.QWaylandClientBufferIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-egl"
        ]
    },
    "archlevel": 1,
    "className": "QWaylandEglClientBufferPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("wayland-egl")
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-graphics-integration-client/libshm-emulation-server.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-graphics-integration-client/libshm-emulation-server.so, metadata=
{
    "IID": "org.qt-project.Qt.WaylandClient.QWaylandServerBufferIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "shm-emulation-server"
        ]
    },
    "archlevel": 1,
    "className": "ShmServerBufferPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList()
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-graphics-integration-client/libvulkan-server.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-graphics-integration-client/libvulkan-server.so, metadata=
{
    "IID": "org.qt-project.Qt.WaylandClient.QWaylandServerBufferIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vulkan-server"
        ]
    },
    "archlevel": 1,
    "className": "VulkanServerBufferPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList()
qt.core.plugin.factoryloader: checking directory path "/usr/bin/wayland-graphics-integration-client" ...
qt.core.library: "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so" loaded library
qt.core.plugin.factoryloader: checking directory path "/usr/share/runtime/lib/plugins/wayland-decoration-client" ...
qt.core.plugin.factoryloader: looking at "/usr/share/runtime/lib/plugins/wayland-decoration-client/libqgnomeplatformdecoration.so"
qt.core.plugin.loader: Found metadata in lib /usr/share/runtime/lib/plugins/QGnomePlatform-decoration/wayland-decoration-client/libqgnomeplatformdecoration.so, metadata=
{
    "IID": "org.qt-project.Qt.WaylandClient.QWaylandDecorationFactoryInterface.5.4",
    "MetaData": {
        "Keys": [
            "gnome",
            "gtk3",
            "qgnomeplatform"
        ]
    },
    "archlevel": 1,
    "className": "QGnomePlatformDecorationPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("gnome", "gtk3", "qgnomeplatform")
qt.core.plugin.factoryloader: checking directory path "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-decoration-client" ...
qt.core.plugin.factoryloader: looking at "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-decoration-client/libbradient.so"
qt.core.plugin.loader: Found metadata in lib /app/lib/python3.10/site-packages/PySide6/Qt/plugins/wayland-decoration-client/libbradient.so, metadata=
{
    "IID": "org.qt-project.Qt.WaylandClient.QWaylandDecorationFactoryInterface.5.4",
    "MetaData": {
        "Keys": [
            "bradient"
        ]
    },
    "archlevel": 1,
    "className": "QWaylandBradientDecorationPlugin",
    "debug": false,
    "version": 394240
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("bradient")
qt.core.plugin.factoryloader: checking directory path "/usr/bin/wayland-decoration-client" ...
qt.core.library: "/usr/share/runtime/lib/plugins/QGnomePlatform-decoration/wayland-decoration-client/libqgnomeplatformdecoration.so" loaded library
qt.core.plugin.factoryloader: checking directory path "/usr/share/runtime/lib/plugins/accessiblebridge" ...
qt.core.plugin.factoryloader: checking directory path "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/accessiblebridge" ...
qt.core.plugin.factoryloader: checking directory path "/usr/bin/accessiblebridge" ...
qt.core.library: "/app/lib/python3.10/site-packages/PySide6/Qt/plugins/iconengines/libqsvgicon.so" loaded library

ah you're attempting the reproducer wrong. in the first dialog that lets you choose between steam and lutris toggle betwen those two choices a few times. also it may have to do with having variable refresh rate enabled

I don't have VRR enabled.

@GloriousEggroll
Copy link

GloriousEggroll commented Nov 27, 2022

output.txt
was able to reproduce without VRR enabled, and with a single monitor, so not a duplicate display issue or VRR issue:

https://streamable.com/rrph4v

@GloriousEggroll
Copy link

LionHeartP did some debugging and it appears to be possibly due to an outdated mutter package version. I've updated mutter on my side and it's no longer occurring. Awaiting result from him and a few others

@DavidoTek
Copy link
Owner

All right, thanks for investigating. Let me know if you have the results.
PS: Running 43.1 on Fedora 37

@LionHeartP
Copy link
Author

Mutter updated fixed it for me as well. Closing the issue since it's unlikely to ever affect anyone going forward. Tested on unupdated F37, and mutter is fine there.

@Husky110
Copy link

Husky110 commented Jun 6, 2023

I still have this issue on Ubuntu 22.04.2 LTS with GNOME on my SteamDeck. Basically my whole session crashes. I'm using version 2.8.0 via flatpak.
Gonna do the "disable wayland via flatseal"-workarround for now, but this might need some more investigation tho.
To reproduce:
Install Ubuntu 22.04.2 LTS with GNOME on SteamDeck, load ProtonQT via flathub, toggle switch on versions (Lutris or Steam) and watch your session die in flames. :)

@DavidoTek
Copy link
Owner

That is strange. Maybe can you try to obtain the output of ProtonUp-Qt and a crash log of gnome to see if it is related to ProtonUp-Qt/PySide6 or GNOME.

You can do it by running flatpak run --env=QT_DEBUG_PLUGINS=1 net.davidotek.pupgui2 > ~/protonupqt_log.txt 2>&1
That will store the log in your home folder, even if the session crashes.

Let's also wait and see if the problem occurs for other people too. It may be related to some part of you GNOME configuration and not necessarily ProtonUp-Qt.

@Husky110
Copy link

Husky110 commented Jun 6, 2023

I've tried that and it's not crashing... Maybe temporarily disabling wayland fixed it already? No idea on this - just found the issue via searching. Let's see what happens to other people.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants