so far what i understood, mangohud is not able to access to check what is going on with my gpu and temperature. they uses inte_gpu_top to get that info. and for that we have to run a command sudo setcap cap_perfmon=+ep /usr/bin/intel_gpu_top
after installing intel-gpu-tools. now, how to do that in nixos? reference: MangoHud Intel GPU metrics · Issue #1082 · flightlessmango/MangoHud · GitHub
Step 1 is always search for options instead of installing packages.
Use this option.
Are options better than something that is declared through systemPackages? And, when to use which? The problem is still not solved, It is still not showing the GPU usage.
Unless you know what you’re doing, generally yes.
You can always read the code of the module to know if you want to use it or not.
Likely an upstream issue then. Besides, gpu: display all gpus by default and let user pick active gpu · flightlessmango/MangoHud@81a2ad8 · GitHub isn’t even part of a (stable) release yet, so that’s not surprising.
You can try overriding src
for mangohud
to get the current version, or ask nixpkgs to update it, or send a PR to nixpkgs yourself.
What are the skills I need to learn to be able to do this? Currently I only know the basics of git and nix but I still don’t know how to do a PR. I have quite a few in my mind that I would love to contribute.