Skip to content
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

Using MANGOHUD_CONFIG=no_display as environment variable, if I press Shift_R+F10 to cycle through the presets I need also toggle/active the HUD again each time with Shift_R+F12 #1511

Open
matheuswillder opened this issue Dec 24, 2024 · 1 comment

Comments

@matheuswillder
Copy link

Do not report issue for old MangoHud versions

Describe the bug
New MangoHud user here. Sorry if the title is confusing, English is not my main language so I'm trying my best. MangoHud is up to date, installed via Flatpak for use with Bottles, the system is Debian Unstable. As the title says, I was looking for a way to start MangoHud "hidden", so that it only displays information when I need it. To do this, I added the MANGOHUD_CONFIG=no_display environment variable via the Flatpak override. I can show/hide the HUD just fine using Shift_R+F12, however, when I press Shift_R+F10 to cycle through presets, the HUD is hidden and I need to also press Shift_R+F12 again each time to show it.

List relevant hardware/software information

  • Linux Distribution: Debian Unstable (Fully updated)
  • MangoHud version: 0.7.2 (Flatpak)
  • GPU: AMD Radeon™ 760M (Ryzen 5 8600G integrated iGPU)

To Reproduce
Steps to reproduce the behavior:

  1. Install Bottles and MangoHud:
flatpak install --assumeyes flathub com.usebottles.bottles &&
flatpak install --assumeyes flathub org.freedesktop.Platform.VulkanLayer.MangoHud
  1. Set the environment variables:
flatpak override --env=MANGOHUD=1 com.usebottles.bottles &&
flatpak override --env=MANGOHUD_CONFIG=no_display com.usebottles.bottles
  1. Start a game. Press Shift_R+F12 to display the HUD. Change the preset with Shift_R+F10.
  2. The HUD is hidden, you need to press Shift_R+F12 again to display it.

Expected behavior
After pressing Shift_R+F12 to display the HUD (due to MANGOHUD_CONFIG=no_display environment variable), pressing Shift_R+F10 just cycles through the presets, without having to press Shift_R+F12 each time after Shift_R+F10 is pressed.

Additional context
Reading the README.md, I managed to solve this by, instead of using no_display, simply adding the other default presets to the environment variable, like this: MANGOHUD_CONFIG=preset=0+1+2+-1+3+4. But I believe that the current behavior is a bug and solving it this way is counterintuitive. I also made a video showing the problem:

Gravacao.de.tela.de.2024-12-24.06-08-18.mp4
@Fxzzi
Copy link

Fxzzi commented Jan 1, 2025

can confirm. mangohud should reveal itself when switching presets no matter the no_display option i think. It makes the most sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants