MangoHud icon indicating copy to clipboard operation
MangoHud copied to clipboard

MangoHUD shows on Wayland Gnome 47+ when enabled in the global environments

Open luisalvarado opened this issue 1 year ago • 18 comments

If you are using Ubuntu 24.10 or something with Gnome 47 and above and for some reason your Files / Nautilus looks like this if you enable mangohud in a more global way:

image

The MangoHUD config has a parameter called blacklist

image

If you set blacklist=nautilus it will disable mangohud for the Files / Nautilus app. Values are comma separated and works for Google chrome and others.

This was becoming a headache for me until I learned about this one, so Flightless is the GOAT. Thank you.

luisalvarado avatar Oct 14 '24 15:10 luisalvarado

I was trying to help with closing some open tickets here but found myself here. So how can this be turned to a "Help" option of some sort, or closed. I know because it is opened it is helping some people, but do not want to add burden to the already pile of work with the other open tickets. Apologies for that.

luisalvarado avatar Jan 02 '25 17:01 luisalvarado

Can we compile a list of apps that this affects, blacklist those and we should be able to comfortably close this issue

flightlessmango avatar Jan 03 '25 14:01 flightlessmango

Can we compile a list of apps that this affects, blacklist those and we should be able to comfortably close this issue

Am making it as we go. Give me about a week to two.

luisalvarado avatar Jan 06 '25 14:01 luisalvarado

Here is the list based on some emulators that would show it plus nautilus

blacklist=nautilus,Ryujinx,Yuzu

There was Sober too but no longer shows mangohud so all good there.

luisalvarado avatar Jan 13 '25 18:01 luisalvarado

blacklist=nautilus,Ryujinx,Yuzu

Yuzu does not display mangohud while configuring roms, or changing settings, but only during Vulkan gameplay - where in my opinion it makes perfect sense.

I agree with blacklisting GTK4 applications where mangohud would be unexpected. Why do you suggest blacklisting emulator showing manoghud during gameplay?

Mershl avatar Jan 13 '25 19:01 Mershl

mangohud offers the option no_display (start hidden) and R_SHIFT+F12 (default binding, toggle hidden). This covers the usecase of having mangohud always ready, but not clutter the screen by default.

Mershl avatar Jan 13 '25 19:01 Mershl

blacklist=nautilus,Ryujinx,Yuzu

Yuzu does not display mangohud while configuring roms, or changing settings, but only during Vulkan gameplay - where in my opinion it makes perfect sense.

I agree with blacklisting GTK4 applications where mangohud would be unexpected. Why do you suggest blacklisting emulator showing manoghud during gameplay?

Same thing for emulators. For my kids it was unexpected too.

The unexpected part answera your question.

luisalvarado avatar Jan 13 '25 23:01 luisalvarado

MangoHud is an OpenGL and Vulkan game overlay. When globally enabling it using MANGOHUD=1 it is expected to be shown for ~OpenGL~/Vulkan games started through Steam/Lutris/Yuzu/Ryujinx/Heroic/Native/...

If you intend the overlay only to be shown in Steam, using the mangohud command in the Launch parameter of a specific game or setting MANGOHUD=1 specifically for Steam is in my opinion the preferred way. As an alternative no_display + toggle is available.

Blacklisting emulators by default would keep users from seeing mangohud even if they explicitly invoked it for that emulator.

Mershl avatar Jan 13 '25 23:01 Mershl

@Mershl MANGOHUD=1 will only globally enable all vulkan applications, without opengl

17314642 avatar Jan 14 '25 06:01 17314642

Okay. No big deal.

luisalvarado avatar Jan 14 '25 15:01 luisalvarado

For the average Joe like me I made a small list of things to blacklist on a Gnome 47+ default environment, like Fedora 41 (except foliate and video-downloader). blacklist=nautilus, ptyxis, gnome-text-editor, gnome-system-monitor, gnome-software, gnome-calculator, gnome-calendar, simple-scan, gnome-contacts, gnome-control-center, gnome-clocks, snapshot, gnome-maps, gnome-weather, baobab, loupe, gnome-tour, gnome-logs, gnome-characters, gnome-font-viewer, video-downloader, foliate, xdg-desktop-portal-gtk, xdg-desktop-portal-gnome, xdg-desktop-portal, xdg-permission-store, xdg-document-portal

Might be missing other software that also uses GTK4 with the vulkan renderer. Using goverlay overwrites this so keep this list handy on a separate txt. edit: this is wayland and gtk4 only.

jr1991-g avatar Jan 21 '25 20:01 jr1991-g

@jr1991-g So for GTK4 using nautilus along does not help? I am asking because I do not see the mangohud on those other tools. I did see it once when I think selecting the Open With option.

luisalvarado avatar Feb 20 '25 14:02 luisalvarado

I am experiencing this issue on Nobara 41 now that it has gnome 47 and it's an eyesore. Already implemented the list that @jr1991-g mentioned here but I still have some tools/apps where it shows like the tweaks panel.

passionofcrisis avatar Feb 26 '25 20:02 passionofcrisis

@passionofcrisis either dont use global mangohud, or add no_display in your config (it will start mangohud hidden and you will need to press R_SHIFT+F12 to show it)

17314642 avatar Feb 26 '25 21:02 17314642

Should be mentioned this is wayland related. If you use X11, mangohud only shows for the game (Tested on Gnome 46, 47 and 48). A friend was reading the conversation here and he was not having the problem, then we noticed he had wayland disabled, hence why it only affects wayland if anyone read this.

luisalvarado avatar Feb 27 '25 13:02 luisalvarado

Mission-Center is also affected and should be blacklisted. I think basically every application that is using GTK4 / Libadwaita as the GUI Toolkit.

major-mayer avatar Mar 04 '25 17:03 major-mayer

blacklisted apps based on if they use GTK, so all GTK apps blacklisted. c7759acacc7fe5a15ce523da0f3f82891d5d7733 I want to know if there are apps that use GTK where we would want to show mangohud

flightlessmango avatar Mar 07 '25 13:03 flightlessmango

Looks like if I open smplayer or mpv on X11 it also shows mangohud if that helps

Image

Just informing on apps that happen to use Vulkan for their rendering.

luisalvarado avatar Apr 08 '25 11:04 luisalvarado

Closing as solved or not needed anymore.

luisalvarado avatar Jun 27 '25 20:06 luisalvarado