flightlessmango / MangoHud

A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more. Discord: https://discordapp.com/invite/Gj5YmBb
MIT License
6.13k stars 262 forks source link

Overlay on GTK4 apps #1305

Open mantarimay opened 2 months ago

mantarimay commented 2 months ago

Describe the bug Recently GTK release version 4.14 have new vulkan renderer and now GTK lastest git start commit at c9c29d8 or next release 4.15, its will be default on wayland.

its pretty good overlay on game but for application like GTK, its really disturbed. how to exclude on config or can this issue disable as default in build process?

List relevant hardware/software information

To Reproduce Steps to reproduce the behavior: for GTK 4.15 if on wayland it will be appear overlay as default for GTK 4.14, use env GSK_RENDERER=vulkan

and then open app based GTK4 for example gnome-calculator

Expected behavior Overlay not appear on GTK4 apps

Screenshots Example preview inkscape 1.5 Screenshot from 2024-04-22 15-59-40

Additional context other info about new GTK renderers https://blog.gtk.org/2024/01/28/new-renderers-for-gtk/

gort818 commented 2 months ago

Don't set MANGOHUD=1 globally for now.

mantarimay commented 2 months ago

Thank you. for now only set MANGOHUD=1 for game only.

flightlessmango commented 2 months ago

That's a workaround. I think we should try to find a better solution before closing