flathub / com.valvesoftware.Steam

https://flathub.org/apps/details/com.valvesoftware.Steam
336 stars 69 forks source link

Maia cannot launch due to being unable to initialize OpenGL #1049

Open tsmock opened 1 year ago

tsmock commented 1 year ago

Game information https://store.steampowered.com/app/252250/Maia/

Distribution name and version where applicable Fedora Linux 37.20230218.0 (Silverblue)

Flatpak info

$ flatpak --version
Flatpak 1.14.1
$ flatpak --gl-drivers
default
host

Problem description Maia fails to load with the following title and message: Title: Could not initialise OpenGL 4.2. Message: Are you running the latest drivers for your GPU? Performing fallback to OpenGL 3.2.

Related section of console log:

SDL Video Initialised
libGL error: MESA-LOADER: failed to open radeonsi: ./Libs/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/radeonsi_dri.so) (search paths /usr/lib/x86_64-linux-gnu/GL/default/lib/dri, suffix _dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast: ./Libs/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/swrast_dri.so) (search paths /usr/lib/x86_64-linux-gnu/GL/default/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
Steam: An X Error occurred

Does this issue reproduce with native Steam Have not tested.

Hardware information CPU: Intel Core i5-4690 Memory: 16 GiB Graphics: AMD Radeon RX 6700 XT Windowing System: Wayland

nanonyme commented 1 year ago

Sounds like game bundles libstdc++ that breaks Mesa. It would probably need a suppression rule with shared-library-guard.