Bug 416808 - Discover Flatpak can't run: Could not initialize GLX
Summary: Discover Flatpak can't run: Could not initialize GLX
Status: REPORTED
Alias: None
Product: flatpak-platform-plugin
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL: https://stackoverflow.com/a/55235823/...
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-26 22:40 UTC by Andrey
Modified: 2021-06-22 19:19 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey 2020-01-26 22:40:48 UTC
STEPS TO REPRODUCE
>% flatpak update
>% flatpak run org.kde.discover

OBSERVED RESULT
>qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(ResetNotification), 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)
>qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(ResetNotification), 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)
>qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(ResetNotification), 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)
>Could not initialize GLX
>%

EXPECTED RESULT
The app should run


ADDITIONAL INFORMATION
>% flatpak list 
>Name                              Application ID                                 Version           Branch         Origin          Installation
>Freedesktop Platform              org.freedesktop.Platform                       18.08.39          18.08          flathub         user
>Freedesktop Platform              org.freedesktop.Platform                       19.08.6           19.08          flathub         user
>default                           org.freedesktop.Platform.GL.default                              19.08          flathub         user
>Intel                             org.freedesktop.Platform.VAAPI.Intel                             18.08          flathub         user
>Intel                             org.freedesktop.Platform.VAAPI.Intel                             19.08          flathub         user
>html5-codecs                      org.freedesktop.Platform.html5-codecs                            18.08          flathub         user
>Adwaita theme                     org.kde.KStyle.Adwaita                                           5.12           flathub         user
>Adwaita theme                     org.kde.KStyle.Adwaita                                           5.13           flathub         user
>KDE Application Platform          org.kde.Platform                                                 5.12           flathub         user
>KDE Application Platform          org.kde.Platform                                                 5.13           flathub         user
>Discover                          org.kde.discover                               5.16.4            master         kdeapps         user
Comment 1 Andrey 2020-01-28 18:30:40 UTC
Please, someone confirm or disprove it. I'm not sure it's not related with my setup..
Also if it works for you, please post your flatpak list
Comment 2 Christoph Feck 2020-02-13 15:16:17 UTC
It's indeed a setup problem. Discover needs working OpenGL/GLX drivers. Please ask for help in a forum of your distribution.
Comment 3 Andrey 2020-02-13 15:53:07 UTC
Unfortunately, I didn't manage to get help from the other places.
@Christoph Feck, if it work for you, could you post your flatpak list?
Comment 4 Christoph Feck 2020-02-13 18:44:55 UTC
I don't use flatpak, sorry. Do you know who is the publisher of the Discover flatpak?
Comment 5 Andrey 2020-02-13 22:02:25 UTC
It's KDE team AFAIK. So here is the right place to ask help I assume, not sure why you decided to close it. We don't even know if it works at all.
Comment 6 Christoph Feck 2020-02-13 22:26:28 UTC
Let me reassign to developers with some knowledge of flatpak, in the hope they could help you.