MangoHud icon indicating copy to clipboard operation
MangoHud copied to clipboard

'vulkan_triangle' is blacklisted in MangoHud

Open gavrix32 opened this issue 6 months ago • 10 comments

Do not report issue for old MangoHud versions

Describe the bug I'm trying to run the triangle example from vulkan-tutorial.com, but I get an error that the process is blacklisted, while its name is not in the vulkan-tutorial.com file and in my MangoHud config

List relevant hardware/software information

  • Arch Linux x86_64
  • mangohud-git 0.8.1.r62.g0e7b6d2-1
  • AMD Radeon RX 6700 XT

To Reproduce Steps to reproduce the behavior:

  1. Compile 15_hello_triangle.cpp from vulkan tutorial
  2. Run MANGOHUD=1 ./vulkan_triangle

Expected behavior Mangohud overlay should appear

Screenshots Image

Additional context MangoHud config: MangoHud.conf.tar.gz

gavrix32 avatar Jun 07 '25 21:06 gavrix32

Overlay runs if my program uses XWayland

gavrix32 avatar Jun 07 '25 21:06 gavrix32

send output of ls -l /proc/$(pidof vulkan_triangle)/map_files

17314642 avatar Jun 07 '25 21:06 17314642

send output of ls -l /proc/$(pidof vulkan_triangle)/map_files

output.txt

gavrix32 avatar Jun 07 '25 21:06 gavrix32

I can't reproduce that on my system.

Image

17314642 avatar Jun 07 '25 22:06 17314642

I can't reproduce that on my system.

Image

Are you using GLFW in Wayland Platform mode?

gavrix32 avatar Jun 07 '25 22:06 gavrix32

Oh, I noticed a note about xwayland. Did you send output of map_files while launching on pure wayland?

17314642 avatar Jun 07 '25 22:06 17314642

Oh, I noticed a note about xwayland. Did you send output of map_files while launching on pure wayland?

No, I used XWayland

gavrix32 avatar Jun 07 '25 22:06 gavrix32

Can you send then an output of map_files when overlay is not working.

17314642 avatar Jun 07 '25 22:06 17314642

Can you send then an output of map_files when overlay is not working.

output_wayland.txt

gavrix32 avatar Jun 07 '25 22:06 gavrix32

MangoHud blacklists all apps that use gtk library, because some users who globally enabled mangohud had issues with mangohud popping up in system apps.

lr-------- 1 gavrix32 gavrix32 64 июн  8 01:20 7f4a94a00000-7f4a94cb0000 -> /usr/lib/libgtk-3.so.0.2417.32
lr-------- 1 gavrix32 gavrix32 64 июн  8 01:20 7f4a94cb0000-7f4a95066000 -> /usr/lib/libgtk-3.so.0.2417.32
lr-------- 1 gavrix32 gavrix32 64 июн  8 01:20 7f4a95066000-7f4a951a3000 -> /usr/lib/libgtk-3.so.0.2417.32
lr-------- 1 gavrix32 gavrix32 64 июн  8 01:20 7f4a951a3000-7f4a951b5000 -> /usr/lib/libgtk-3.so.0.2417.32
lr-------- 1 gavrix32 gavrix32 64 июн  8 01:20 7f4a951b5000-7f4a951b7000 -> /usr/lib/libgtk-3.so.0.2417.32

17314642 avatar Jun 07 '25 22:06 17314642