this post was submitted on 28 Feb 2024
15 points (100.0% liked)

Linux Gaming

15632 readers
529 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 2 years ago
MODERATORS
 

Like the title says I am trying to understand how these things should work together. Part of my issue is I don't have a good mental model on the Flatpak permissioning / sandbox model. My use case is running a game on Lutris, which is a Flatpack, and using my package install of Mangohud. I am also curious if I should using a Flatpak version of Mangohud instead of the package installed version, and understanding how I would set up Steam as a Flatpak in the future when I switch away from the packaged version.

Thanks for any helpful tips or links you can provide.

you are viewing a single comment's thread
view the rest of the comments
[–] INeedMana 7 points 10 months ago

I don't use flatpak but I didn't have to configure Lutris or Steam in any way for that.

If you look around goverlay you'll find that there are two ENVs that you can set up in X/wayland service to have MangoHud automatically in every context it can render in.

So first try running with MANGOHUD=1 env exported. If that doesn't help, try mangohud steam.
If I understand correctly, flatpack run in some kind of container, so it's possible that you might need to set the env or the command, so it happens inside the container