Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918116 - flatpak: libGL error: No matching fbConfigs or visuals found
Summary: flatpak: libGL error: No matching fbConfigs or visuals found
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-24 10:34 UTC by Dirk Völcker
Modified: 2023-12-02 16:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (flatpal_libGL_emerge_info.log,6.57 KB, text/x-log)
2023-11-24 10:34 UTC, Dirk Völcker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Völcker 2023-11-24 10:34:13 UTC
Created attachment 875500 [details]
emerge --info output

Any app i installed with flatpak which uses GL failed with that error.
These apps worked before without any problems, but since a week or so and doing some system updates and flatpak updates i got allways that error (i cannot remover if it appears with an kernel update or a new flatpak version or flatpak update).

Also reinstalling the apps with flatpak does not help.
When GSETTINGS_BACKEND=keyfile the "dconf" message disapears but the launch still fails with "libGL" errors:


$ flatpak run com.valvesoftware.Steam
INFO:root:https://github.com/flathub/com.valvesoftware.Steam/wiki
INFO:root:Will set XDG dirs prefix to /home/xxx/.var/app/com.valvesoftware.Steam
DEBUG:root:Checking input devices permissions
WARNING:root:Missing permissions for input devices
INFO:root:Overriding TZ to Europe/Berlin
steam.sh[2]: Running Steam on org.freedesktop.platform 23.08 64-bit
steam.sh[2]: STEAM_RUNTIME is enabled automatically
setup.sh[74]: Steam runtime environment up-to-date!
steam.sh[2]: Steam client's requirements are satisfied
[2023-11-24 11:22:59] Startup - updater built Nov 16 2023 18:22:28
[2023-11-24 11:22:59] Startup - Steam Client launched with: '/home/xxx/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox'
11/24 11:22:59 Init: Installing breakpad exception handler for appid(steam)/version(1700160213)/tid(108)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: radeonsi
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: radeonsi
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
SteamUpdateUI: An X Error occurred
X Error of failed request:  BadValue (integer parameter out of range for operation)
Major opcode of failed request:  151 (GLX)
Minor opcode of failed request:  3 (X_GLXCreateContext)
Value in failed request:  0x0
Serial number of failed request:  53
xerror_handler: X failed, continuing
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2023-11-24 11:22:59] Loading cached metrics from disk (/home/xxx/.var/app/com.valvesoftware.Steam/.local/share/Steam/package/steam_client_metrics.bin)
[2023-11-24 11:22:59] Using the following download hosts for Public, Realm steamglobal
[2023-11-24 11:22:59] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2023-11-24 11:22:59] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2023-11-24 11:22:59] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2023-11-24 11:22:59] Checking for update on startup
[2023-11-24 11:22:59] Suche nach verfügbaren Updates …
[2023-11-24 11:22:59] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12
[2023-11-24 11:22:59] Manifest download: send request
[2023-11-24 11:22:59] Manifest download: waiting for download to finish
[2023-11-24 11:22:59] Manifest download: finished
[2023-11-24 11:22:59] Download skipped: /steam_client_ubuntu12 version 1700160213, installed version 1700160213, existing pending version 0
[2023-11-24 11:22:59] Nothing to do
[2023-11-24 11:22:59] Installation wird überprüft …
[2023-11-24 11:22:59] Performing checksum verification of executable files
[2023-11-24 11:23:00] Verification complete

Steam logging initialized: directory: /home/xxx/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs

(process:108): GLib-GIO-WARNING **: 11:23:00.393: Can't find module 'dconf' specified in GSETTINGS_BACKEND
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf62768f0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf62751c0
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: radeonsi
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: radeonsi
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
crash_20231124112301_5.dmp[132]: Uploading dump (out-of-process)
/tmp/dumps/crash_20231124112301_5.dmp
/home/xxx/.var/app/com.valvesoftware.Steam/.local/share/Steam/steam.sh: Zeile 798:   108 Speicherzugriffsfehler  "$STEAMROOT/$STEAMEXEPATH" "$@"
$ crash_20231124112301_5.dmp[132]: Finished uploading minidump (out-of-process): success = yes
crash_20231124112301_5.dmp[132]: response: CrashID=bp-c82a7556-d2bb-4b1f-9e38-750442231124
crash_20231124112301_5.dmp[132]: file ''/tmp/dumps/crash_20231124112301_5.dmp'', upload yes: ''CrashID=bp-c82a7556-d2bb-4b1f-9e38-750442231124''
Comment 1 Dirk Völcker 2023-11-24 10:37:18 UTC
The native steam from steam-overlay works without any issues.
Comment 2 ikcikor 2023-12-02 16:04:55 UTC
I'm having the same problem, gentoo-kernel-bin on RX 7900 XTX. This seems to be a flatpak version of the issue listed here on Steam client troubleshooting wiki: https://wiki.gentoo.org/wiki/Steam/Client_troubleshooting#libGL_fails_to_load_driver_with_AMDGPU

however, I tried solving it the same way as suggested there and had no luck. It might be solvable by exposing the correct system libraries to flatpak and then using LD_PRELOAD or something along those lines, tho I'm not really sure since I am kinda new to this.
Comment 3 ikcikor 2023-12-02 16:08:49 UTC
Forgot to add, I'm on a merged profile: clang openrc with target desktop.