Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mangohud only shows up in Native Linux Unity OpenGL Games in native desktop resolution #691

Open
nebadon2025 opened this issue Feb 20, 2022 · 6 comments
Labels

Comments

@nebadon2025
Copy link

If i run a Unity3d native opengl game with mangohud and my desktop resolution is 1920x1080 and the game is also running in 1920x1080 everything works fine. If i change the game resolution to 1280x720 mangohud disappears, even if game is restarted and will come back when game resolution is set to match whatever you have your desktop resolution set to. I have tested this with "The Falconeer" and "Aragami"

@jackun
Copy link
Collaborator

jackun commented Feb 22, 2022

Play with oGL "workarounds", see if helps.

@Halvhjearne
Copy link

i have same problem #641 (comment)
originally i thought it was a problem with art of rally, but i noticed when i tried crumble that mangohud was visible when i started the game and it was running desktop resolution, but as soon as i lowered res, it disappeared.
im guessing this affects any native linux game and for non native linux games it just reports wrong (desktop) resolution.

@nebadon2025
Copy link
Author

Play with oGL "workarounds", see if helps.

I tried these out and none of them made any difference.

@Vixeliz
Copy link

Vixeliz commented Jun 20, 2022

Not trying to bump an issue with no extra new information but I can indeed confirm this is happening on my machine too with slime rancher. However as a workaround if you need mangohud and a lower resolution gamescope will still show mangohud even at different resolutions if you use both.

INTEL_DEBUG=norbc MANGOHUD=1 MANGOHUD_DLSYM=1 ENABLE_VKBASALT=1 gamescope -h 720 -H 1080 -- mangohud ./SlimeRancher.x86_64

(Ignore INTEL_DEBUG that is for my intel gpu)

@jackun
Copy link
Collaborator

jackun commented Jun 24, 2022

@Vixeliz set gl_bind_framebuffer=0

@Halvhjearne
Copy link

exactly why was this closed??
i just updated from git and its still an issue ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants