Since GOverlay was removed from Bazzite, how do you enable Mangohud to work globally for Steam?
Is there a way to enable MangoHud for Steam instead of enabling it for every game I play?
Solution:Jump to solution
That explains it then. Native openGL games need per-game settings:
mangohud --dlsym %command%
The environment variable for that was once provided, but it hasn’t worked in a long time...17 Replies
in
~/.bashrc
add
then either run source ~/.bashrc
, restart Steam or restart the PC entirelyI've never used that file before, just to confirm, is it in the
/home/username
folder? I also saw you can edit the bash_profile as well, does it matter which is used? @termdisc (Deck+PC)Yes it's the user home folder. Use .bashrc.
"The main difference lies in when each file is executed. The bashrc file is executed for non-interactive, command-line shell sessions, while the bash_profile file is executed for login shell sessions, such as when you log into your system or remotely via SSH."
Thanks. Do you know where in the file I place those entries exactly?
.bashrc Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi User specific environment if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then PATH="$HOME/.local/bin:$HOME/bin:$PATH" fi export PATH Uncomment the following line if you don't like systemctl's auto-paging feature: export SYSTEMD_PAGER= User specific aliases and functions if [ -d ~/.bashrc.d ]; then for rc in ~/.bashrc.d/*; do if [ -f "$rc" ]; then . "$rc" fi done fi unset rc>
anywhere before
unset rc
is fineHmm, I placed it above
unset rc
and it doesn't seem to workactually put it after. I misunderstood that function. I thought it closed the entire file but it is for that
for
loopdoesn't seem to work still
Did you restart?
run in a terminal
echo $MANGOHUD
is terminal supposed to output a
1
?
And still nothingYes it is
What game are you trying to run? Native?
Vampire Survivors. I think it's native? I just clicked install, says it's Verified but it doesn't show that it is running Proton.
Solution
That explains it then. Native openGL games need per-game settings:
mangohud --dlsym %command%
The environment variable for that was once provided, but it hasn’t worked in a long timeAhh that makes sense. Thank you!
This is great, thx!
But why does this work?
And is there a way to force mangohud on openGL apps? Most of the time (on steam) I just added Proton, even on native games or I just added
mangohud %command%
or gamemoderun mangohud %command%
as launch option.
-
And is the "old method" with goverlay and global enable
really that bad?
I just use Goverlay in a Distrobox now as a configurator and I just installed flatpak install mangohud
option 2, 3 and 4.GitHub
GitHub - flightlessmango/MangoHud: A Vulkan and OpenGL overlay for ...
A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more. Discord: https://discordapp.com/invite/Gj5YmBb - flightlessmango/MangoHud
What I said to do is the last sentence in this section
Which is likely what goverlay does
The
MANGOHUD_DLSYM
variable used to be on the readme, but it was removed at some point