Mangohud shows up only when playing Dusk in windowed mode
Dusk is made with Unity so you might be able to reproduce this bug with any Unity game that uses Opengl.
Here are screenshots from the game:

I will try to replicate this when I get back home.
Edit: Just bought the GOG version, so will be testing this asap.
Edit 2: Have just tested the GOG version of Dusk version 1.5 on Manjaro 20.0.3 XFCE with Lutris 0.5.7 and have no issues running MangoHud 0.4.1 fullscreen.
In "System options" --> "Environment variables" section, I added a Key of MANGOHUD_DLSYM with a Value of 1 as well as in the "Command prefix" section, I input mangohud and MangoHud appeared when the game ran in full screen 3/3 times.
Avoiding opening a new issue: I see the same effect in Polybius [running in Proton with Steam] and the git head build of MangoHud. In windowed mode, the overlay renders; in fullscreen, it doesn't. (Regardless of MANGOHUD_DLSYM or other settings) [Some of mangohud's OpenGL injection is still working though - Polybius needs mangohud to apply opengl vsync, and that still works, even in fullscreen. CORRECTION - I just tested this, and Polybius apparently vsyncs by itself in fullscreen, so I can't confirm that any of mangohud is working in fullscreen mode.]
I have this same issue with Enter the Gungeon, which also uses Unity and is a native Linux build. It displays fine when in windowed mode but not when full screen.
And I can confirm that MangoHud is working, it just doesn't show the HUD. I enabled Steam's built-in FPS display and I could toggle MangoHud's frame limiter and see that it was working correctly.
Also I can force the game to use Unity's Vulkan backend with the -force-vulkan option which allows MangoHud to display correctly in full screen mode... but then the game crashes once you get past the main menu.
gl_bind_framebuffer = 0 probably helps.
works fine here without any tricks
This issue seems to be relevant for Deus EX: GOTY Edition as well.
When launching with mangohud %command% via the Steam Flatpak, MangoHud is running but not shown, unless toggled in-game to windowed mode (see attached below). That in turn has other issues, as single-digit FPS and a blacked out game-window. The same behavior occurs when leaving launch options empty and enabling MangoHud via Steam Tinker Launch. Tested compatibility layers were forced to Proton Experimental and GE-Proton8-25.
It is clear MangoHud is running in the background when full-screen as FPS limiting (and toggling via LShift + F1) works. Additionally, MangoHud keeps printing to stdout: [2024-01-02 22:25:25.249] [MANGOHUD] [info] [gl_renderer.cpp:422] GL version: 4.6
Setup [1] com.valvesoftware.Steam 1.0.0.78, org.freedesktop.Platform.VulkanLayer.MangoHud 0.7.0 [2] Linux host 6.6.8-arch1-1 https://github.com/flightlessmango/MangoHud/pull/1 SMP PREEMPT_DYNAMIC Thu, 21 Dec 2023 19:01:01 +0000 x86_64 GNU/Linux
gl_bind_framebuffer = 0_可能_有帮助。
cool