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.39k stars 282 forks source link

Using mangoapp results in black screen if no_display is used in .conf file #1283

Open stele95 opened 6 months ago

stele95 commented 6 months ago

Describe the bug When using mangoapp with the same config for mangohud that has no_display in it, it will show a black screen when mangoapp is initialised. Removing no_display from conf file starts mangoapp and image as expected.

List relevant hardware/software information

To Reproduce

  1. Use this config and uncomment no_display
  2. start gamescope -- sh -c "mangoapp& vkcube" from the terminal
  3. Black screen appears as soon as mangoapp is initialised

Expected behavior Mangoapp should ignore no_display if that is not supported for it

Screenshots When using no_display Screenshot_20240407_105704

After removing no_display Screenshot_20240407_105715

stele95 commented 6 months ago

Also, hidding mangoapp with the toggle_hud key results in a black screen if run with gamescope -- sh -c "mangoapp& vkcube" and doesn't open it anymore

gort818 commented 6 months ago

I believe we are waiting on a fix from gamescope for this.

flightlessmango commented 6 months ago

Yes we're waiting for @Joshua-Ashton to implement the GAMESCOPE_NO_FOCUS atom on the gamescope side