-
Notifications
You must be signed in to change notification settings - Fork 69
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
MangoHud and vkBasalt stopped working without apparent reason #1280
Comments
+ on fedora kinoite 39, doesn't work for Elder Scrolls Online and Doom Eternal (haven't tested other games) |
Fedora Silverblue (Gnome) 39 and 40 is also affected. It still works in OpenGL games. |
Noticed the same problem on NixOS. |
Same on Debian sid, using:
MangoHud doesn't work for Vulkan games, but does work for OpenGL games with |
Can confirm, stopped working under Fedora 39 (KDE, Wayland), tested kernel 6.7.10 and 6.8.1. OpenGL games work. |
Anybody tried with the native version? Is this only happening on the flatpak version? |
It's working fine for me with the rpm package from rpmfusion-nonfree. |
Same issue here. I meant its cause i already updated to fedora 40 (still beta) but it seems not the case, reading this issue. |
It seems Vulkan extensions are not being exposed in the Steam Pressure-Vessel subcontainer. Here is a temporary workaround for MangoHud 64-bit (can be extended to other layers):
|
I can confirm that @Sporif workaround works for me. |
For @Sporif 's workaround, some games work, but some don't, and I can't figure out why 😅 Edit: Just found out what's going on, those games are 32 bit Here are the commands in case anyone needs it
|
This is a hack until the underlying issue is fixed in the steam-runtime. Pressure-vessel mounts Flatpak extensions on a different path within the container, and that breaks Vulkan Layers due to that path not being in Vulkan-Loader's search paths, documented on: https://github.com/KhronosGroup/Vulkan-Loader/blob/main/docs/LoaderLayerInterface.md#linux-layer-discovery This directory doesn't exist outside a pressure-vessel container, which is only used by games and not by all of them. But still, adding it to XDG_DATA_DIRS in finish-args shouldn't cause any adverse effect, as these search paths are not required to be all valid. fixes flathub#1280
I've sent PR #1281 with a workaround for this issue. Should hopefully be on the next version. I'd recommend against applying Sporif's workaround if you don't know what you're doing. You will have to remove those files later, or they will break your setup in a future update. You can set an environment variable to solve this issue much more easily, but most people should just wait for an update. |
Can confirm this PR also works for me. You can simply set the value of |
I confirm MangoHud and vkBasalt work with the test build. |
This is a hack until the underlying issue is fixed in the steam-runtime. Pressure-vessel mounts Flatpak extensions on a different path within the container, and that breaks Vulkan Layers due to that path not being in Vulkan-Loader's search paths, documented on: https://github.com/KhronosGroup/Vulkan-Loader/blob/main/docs/LoaderLayerInterface.md#linux-layer-discovery This directory doesn't exist outside a pressure-vessel container, which is only used by games and not by all of them. But still, adding it to XDG_DATA_DIRS in finish-args shouldn't cause any adverse effect, as these search paths are not required to be all valid. fixes #1280
I am not sure that PR fixes 32 bit apps, or at least one of the games I have that I can confirm to be 32 bit doesn't get fixed by adding Can anyone else confirm one way or another? @maboroshinokiseki |
I just tested 2 32 bit games, The Witcher 2 and Oblivion, and they are working correctly. |
@JamesMcMahon Is the game that's not working a Linux-native OpenGL game by any chance? |
Awesome! Chalk this up to a false alarm then. Thank you for verifying. I can also verify on my side that Oblivion works fine so must be an issue with the game I was testing.
Game in question is Zortch. It's not Linux native but it could be OpenGL, not sure how to confirm that. |
That explains it then. MangoHud can tell you if a game uses OpenGL or Vulkan (or DXVK), but in order to run an OpenGL game with MangoHud you have to set launch options to |
This is a hack until the underlying issue is fixed in the steam-runtime. Pressure-vessel mounts Flatpak extensions on a different path within the container, and that breaks Vulkan Layers due to that path not being in Vulkan-Loader's search paths, documented on: https://github.com/KhronosGroup/Vulkan-Loader/blob/main/docs/LoaderLayerInterface.md#linux-layer-discovery This directory doesn't exist outside a pressure-vessel container, which is only used by games and not by all of them. But still, adding it to XDG_DATA_DIRS in finish-args shouldn't cause any adverse effect, as these search paths are not required to be all valid. fixes #1280
This is a hack until the underlying issue is fixed in the steam-runtime. Pressure-vessel mounts Flatpak extensions on a different path within the container, and that breaks Vulkan Layers due to that path not being in Vulkan-Loader's search paths, documented on: https://github.com/KhronosGroup/Vulkan-Loader/blob/main/docs/LoaderLayerInterface.md#linux-layer-discovery This directory doesn't exist outside a pressure-vessel container, which is only used by games and not by all of them. But still, adding it to XDG_DATA_DIRS in finish-args shouldn't cause any adverse effect, as these search paths are not required to be all valid. fixes #1280
Game information
Any game.
Distribution name and version where applicable
Flatpak info
flatpak info com.valvesoftware.Steam
flatpak info --show-permissions com.valvesoftware.Steam
permisions.txt
Problem description
Since last night MangoHud and vkBasalt stopped working without apparent reason. Looks like the libraries are not being preloaded when the game is launched, no matter if the game is native or using proton.
I use MANGOHUD=1 as env variable and I also tried with
mangohud %command%
, the game launches but there is no MangoHud nor vkBasalt.steam-374320.log
Does this issue reproduce with native Steam
I don't have native steam due to old mesa libraries in debian.
The text was updated successfully, but these errors were encountered: