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.49k stars 287 forks source link

Doesn't really work on Mednafen #353

Open ghost opened 4 years ago

ghost commented 4 years ago

If I start a Rom in windowed mode or fullscreen mode (The Emulator calls it so,but I'm sure that it's borderless windowed) it looks normal: https://i.imgur.com/EYwXMsS.png https://i.imgur.com/VVobQDY.png But if I switch from windowed to borderless windowed it doesn't show up and if I switch back to normal windowed it looks like this: https://i.imgur.com/j7UZncZ.png The same happens if I start in borderless windowed,then go to windowed. Another weird thing is that it mangohud sometimes looks really weird,like it's open multiple times or something: https://i.imgur.com/aW83oWj.png Mangohud works normal on all other Emulators that I used so far. I mean I don't really need it for Nes because I'm sure that my pc can run it,but I don't like it to play games without being able to see my gpu/cpu usage etc.

dpanter commented 4 years ago

Debian, Nvidia here. Mednafen uses OpenGL by default. With --dlsym it's working windowed but borks when changing to fullscreen. The font turns into black squares, and if I use any other background_alpha setting than 0, the entire MangoHud box becomes a solid black area. Starting in fullscreen borks it straight away, as seen in the fourth screenshot from Toadfield. Looks like MangoHud isn't clearing the previous content and only adding new data each update.

However using softfb video driver seems to work perfectly fine with MangoHud. Obviously Mednafens OpenGL shaders won't work but the regular special video scalers are still available.