-
Notifications
You must be signed in to change notification settings - Fork 299
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 doesn't open in opengl steam games #1524
Comments
this is an issue with the steam runtime, it has some sandboxing that doesn't let us load libmangohud_opengl.so from the system directories |
is there any workaround? I really need that clock and fps measure 🥲 |
Use stable version for now |
One way to work around this is to use Zink. But your mileage may vary whether the games in question have issues with that or not. |
Do not report issue for old MangoHud versions
Describe the bug
When I try to open mangohud in games such as "counter strike 2", which uses vulkan, it works fine. But if I try to open it in games such as "counter strike: source" or "geometry dash", which uses opengl, it will print the error
shim: Failed to load from ${ORIGIN}/libMangoHud_opengl.so
and won't show up, when before the commit 14a6c6e it would show up.I tried to use it in https://github.com/c2d7fa/opengl-cube and it shows up, with only
mangohud ./main
.steam launch options:
CS2:
mangohud %command% -novid -freq 240 +cl_interp_ratio 1 -threads 13
CSs:
_NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 mangohud %command%
GD:
mangohud %command%
List relevant hardware/software information
To Reproduce
Expected behavior
That it would show up in those games that doesn't work
Screenshots
the opengl cube with mangohud run with
mangohud ./main
Additional context
The text was updated successfully, but these errors were encountered: