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

MangoHud not showing GPU stats or showing 0% GPU usage and clock #1319

Closed Vhaggx closed 4 months ago

Vhaggx commented 5 months ago

Describe the bug MangoHud doesnt show GPU stats at all when I test it on vkcube or glxgears and it shows 0% GPU usage in steam games

List relevant hardware/software information

To Reproduce Steps to reproduce the behavior:

  1. Start an app with mangohud overlay (steam game, vckube, glxgears...)

Expected behavior No GPU stats :(

Screenshots image image

Additional context Here are the logs I'm getting in the terminal when launching vkcube with mangohud:

[2024-05-05 18:46:19.728] [MANGOHUD] [info] [config.cpp:118] skipping config: '/usr/bin/MangoHud.conf' [ not found ] [2024-05-05 18:46:19.729] [MANGOHUD] [info] [config.cpp:118] skipping config: '/home/vhagg/.config/MangoHud/vkcube.conf' [ not found ] [2024-05-05 18:46:19.729] [MANGOHUD] [info] [config.cpp:123] parsing config: '/home/vhagg/.config/MangoHud/MangoHud.conf' Selected GPU 1: NVIDIA GeForce 940MX, type: DiscreteGpu [2024-05-05 18:46:19.951] [MANGOHUD] [error] [nvctrl.cpp:53] XNVCtrl didn't find the correct display [2024-05-05 18:46:19.951] [MANGOHUD] [info] [overlay.cpp:808] Uploading is disabled (permit_upload = 0)

Logs for glxgears (doesnt show GPU stats at all):

[2024-05-05 18:48:19.742] [MANGOHUD] [info] [config.cpp:118] skipping config: '/usr/bin/MangoHud.conf' [ not found ] [2024-05-05 18:48:19.742] [MANGOHUD] [info] [config.cpp:118] skipping config: '/home/vhagg/.config/MangoHud/glxgears.x86_64-linux-gnu.conf' [ not found ] [2024-05-05 18:48:19.742] [MANGOHUD] [info] [config.cpp:123] parsing config: '/home/vhagg/.config/MangoHud/MangoHud.conf' [2024-05-05 18:48:19.905] [MANGOHUD] [error] [nvctrl.cpp:53] XNVCtrl didn't find the correct display [2024-05-05 18:48:19.905] [MANGOHUD] [info] [overlay.cpp:808] Uploading is disabled (permit_upload = 0) [2024-05-05 18:48:19.935] [MANGOHUD] [info] [gl_renderer.cpp:422] GL version: 4.6 Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate. sh: 1: intel_gpu_top: not found [2024-05-05 18:48:19.995] [MANGOHUD] [info] [intel.cpp:55] Failed to open 'intel_gpu_top' [2024-05-05 18:48:19.995] [MANGOHUD] [info] [intel.cpp:60] Disabling gpu_stats

Also, I'm a total noob for Linux, I installed it a few days ago, I've been using Windows my whole life so I might not know a lot of stuff. If you need more information let me know (also please tell me where to find it). Thx in advance

flightlessmango commented 4 months ago

Please update mangohud to the latest release and see if the issue still exists

Vhaggx commented 4 months ago

Please update mangohud to the latest release and see if the issue still exists

How can I update mangohud on Linux? Sudo apt update?

Leopard1907 commented 4 months ago

Delete the one you currently have ( if installed via apt then remove via apt )

sudo apt remove <packagename>

Then follow this.

https://github.com/flightlessmango/MangoHud?tab=readme-ov-file#github-releases

Vhaggx commented 4 months ago

Delete the one you currently have ( if installed via apt then remove via apt )

sudo apt remove <packagename>

Then follow this.

https://github.com/flightlessmango/MangoHud?tab=readme-ov-file#github-releases

It worked, thanks a lot