gpu_fan option to show percent for Nvidia cards
Currently testing the latest compiled version of MangoHud
But for Nvidia cards like the 4070, 4090 or 5090, it shows the RPM by default. Was curious to know if there is an option to show the Percent version of it for Nvidia cards. Currently it shows as
Does nvidia-smi show fan percentage for these cards (4070, 4090, 5090)?
Hi, it shows in percent.
I am also able to change the fan speed using a percent value as seen below if that helps (I use it on a script to set the fan speed depending on the temperature)
nvidia-settings -a "[gpu:0]/GPUFanControlState=1" nvidia-settings -a "[fan:0]/GPUTargetFanSpeed=50" nvidia-settings -a "[fan:1]/GPUTargetFanSpeed=50"
Can you compile mangohud with -Dwith_xnvctrl=disabled so mangohud will use only nvml for fan speed
Does it show in percent now?
I did it like this
./build.sh build -Dwith_xnvctrl=disabled
but still shows with RPMs, maybe I am supposed to add the parameter somewhere else?
Also just noticed this warnings for future reference:
Found ninja-1.12.1 at /usr/bin/ninja
WARNING: Running the setup command as meson [options] instead of meson setup [options] is ambiguous and deprecated.
The Meson build system
Version: 1.7.0
Found ninja-1.12.1 at /usr/bin/ninja
WARNING: Running the setup command as meson [options] instead of meson setup [options] is ambiguous and deprecated.
ninja: Entering directory `build/meson64'
Compiler for C supports link arguments -Wl,-z,relro: YES Compiler for C supports link arguments -Wl,--exclude-libs,ALL: YES Compiler for C supports link arguments -lGL: NO Compiler for C supports link arguments -static-libstdc++: YES WARNING: extract_all_objects called without setting recursive keyword argument. Meson currently defaults to non-recursive to maintain backward compatibility but the default will be changed in meson 2.0.
Did you clean build? When changing project options, you need to either clean build or reconfigure (i haven't tested that this works, so I just clean build)
And after that send logs with MANGOHUD_LOG_LEVEL=debug just in case
If mangohud is compiled with and the system has nvctrl, fan option will prefer using RPM. We could just remove this since it only works with x11
nvml supports both fan rpm and percentages:
nvmlDeviceGetFanSpeedRPM nvmlDeviceGetFanSpeed
xnvctrl can be deleted in my opinion, since nvml, if i understand correctly, should be always available when using proprietary nvidia drivers
I can't find the nvmlDeviceGetFanSpeedRPM function, are you sure it exists?
https://docs.nvidia.com/deploy/nvml-api/group__nvmlDeviceQueries.html
CTRL+F "fan"
What I didnt know, is that it is very recent addition (6 months ago):
https://docs.nvidia.com/deploy/nvml-api/change-log.html#change-log
Changes between v560 and v565
The following new functionality is exposed on NVIDIA display drivers version 565 Production or later. Added nvmlDeviceGetFanSpeedRPM to report the intended operating speed in rotations per minute (RPM) of the device's specified fan.
Correct I did a clean, also did reconfigure and even deleted the whole folder. BTw that link is amazing, kudos on that finding, its a gold mine.
Mangohud uses nvml and xnvctrl libraries
Nvml is used for fan speed only in percentages Xnvctrl is used for fan speed only in rpm
That would mean that nvmlDeviceGetFanSpeed for some reason gets rpm and not percentage as it should.
Can you drop logs with MANGOHUD_LOG_LEVEL=debug?
Sorry volcano activity here and breathing problems. Will get back later with this.
How do I test MANGOHUD_LOG_LEVEL=debug @17314642
You launch mangohud with MANGOHUD_LOG_LEVEL=debug environment variable.
One way to do this: MANGOHUD_LOG_LEVEL=debug mangohud vkcube
Would this work? MangoHUD did show properly just in case, but I see here it tried to look for the conf file in /usr/bin, /etc and even the kitchen sink, before getting to the correct one.
luis@xtreme:~$ MANGOHUD_LOG_LEVEL=debug mangohud vkcube --width 1920 --height 1080
ERROR: ld.so: object '/usr/local/$LIB/mangohud/libMangoHud_shim.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Selected WSI platform: xcb
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:899] Version: v0.8.1-88-g9658717
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/usr/bin/MangoHud.conf' [ not found ]
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/home/luis/.config/MangoHud/vkcube.conf' [ not found ]
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/etc/MangoHud.conf' [ not found ]
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [config.cpp:122] parsing config: '/home/luis/.config/MangoHud/MangoHud.conf'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1173] Failed to read presets file: '/home/luis/.config/MangoHud/presets.conf'. Falling back to default presets
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/usr/bin/MangoHud.conf' [ not found ]
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/home/luis/.config/MangoHud/vkcube.conf' [ not found ]
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/etc/MangoHud.conf' [ not found ]
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [config.cpp:122] parsing config: '/home/luis/.config/MangoHud/MangoHud.conf'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'position' = 'top-right'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'font_size' = '38'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'font_size_secondary' = '24'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'font_size_text' = '24'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'height' = '400'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'fps_metrics' = '0.001,0.01,0.97,AVG'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'fps_limit' = '0+30+60+120+240'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'fps_color_change' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'fps_color' = 'EF0000,4F00A0,00FF00'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'fps_text' = ''
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'cpu_power' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'cpu_mhz' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'cpu_temp' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'core_load' = '0'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'core_load_change' = '0'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'cpu_load_value' = '30,60,90'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'cpu_load_color' = '0000FF,7F0070,FF0000'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'gpu_power' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'gpu_core_clock' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'gpu_temp' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'gpu_mem_clock' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'gpu_name' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'gpu_fan' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'gpu_efficiency' = '0'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'gpu_load_change' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'gpu_load_value' = '30,60,90'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'gpu_load_color' = 'EF0000,4F00A0,00FF00'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'ram' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'vram' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'blacklist' = 'easyeffects,mpv'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'resolution' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'vulkan_driver' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'display_server' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'winesync' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'wine' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'procmem' = '0'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'procmem_virt' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'procmem_shared' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'proc_vram' = '0'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'network' = ''
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'full' = '0'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'gpu_voltage' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [overlay_params.cpp:1107] Param: 'core_type' = '1'
[2025-06-28 07:50:14.220] [MANGOHUD] [debug] [logging.cpp:253] Logger constructed!
[2025-06-28 07:50:14.224] [MANGOHUD] [debug] [overlay.cpp:848] Ram:131575832
[2025-06-28 07:50:14.224] [MANGOHUD] [debug] [overlay.cpp:849] Cpu:Intel Core i9-14900K
[2025-06-28 07:50:14.224] [MANGOHUD] [debug] [overlay.cpp:850] Kernel:6.14.0-13-generic
[2025-06-28 07:50:14.224] [MANGOHUD] [debug] [overlay.cpp:851] Os:Ubuntu 25.04
[2025-06-28 07:50:14.224] [MANGOHUD] [debug] [overlay.cpp:852] Driver:
[2025-06-28 07:50:14.224] [MANGOHUD] [debug] [overlay.cpp:853] CPU Scheduler:powersave
[2025-06-28 07:50:14.225] [MANGOHUD] [info] [cpu.cpp:778] cpu vendor: GenuineIntel
[2025-06-28 07:50:14.225] [MANGOHUD] [debug] [cpu.cpp:552] hwmon: sensor name: spd5118
[2025-06-28 07:50:14.225] [MANGOHUD] [debug] [cpu.cpp:552] hwmon: sensor name: asus
[2025-06-28 07:50:14.225] [MANGOHUD] [debug] [cpu.cpp:552] hwmon: sensor name: spd5118
[2025-06-28 07:50:14.225] [MANGOHUD] [debug] [cpu.cpp:552] hwmon: sensor name: iwlwifi_1
[2025-06-28 07:50:14.225] [MANGOHUD] [debug] [cpu.cpp:552] hwmon: sensor name: hidpp_battery_0
[2025-06-28 07:50:14.225] [MANGOHUD] [debug] [cpu.cpp:552] hwmon: sensor name: nvme
[2025-06-28 07:50:14.225] [MANGOHUD] [debug] [cpu.cpp:552] hwmon: sensor name: acpitz
[2025-06-28 07:50:14.225] [MANGOHUD] [debug] [cpu.cpp:552] hwmon: sensor name: coretemp
[2025-06-28 07:50:14.225] [MANGOHUD] [debug] [cpu.cpp:604] hwmon: using input: /sys/class/hwmon/hwmon9/temp1_input
Selected GPU 0: NVIDIA GeForce RTX 5090, type: DiscreteGpu
[2025-06-28 07:50:14.313] [MANGOHUD] [debug] [vulkan.cpp:1877] gpu: NVIDIA GeForce RTX 5090
[2025-06-28 07:50:14.316] [MANGOHUD] [debug] [vulkan.cpp:1563] Present mode: FIFO
[2025-06-28 07:50:14.373] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-06-28 07:50:14.399] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 2048x4096px
[2025-06-28 07:50:14.416] [MANGOHUD] [debug] [nvidia.cpp:306] XNVCtrl is using display :1
[2025-06-28 07:50:14.416] [MANGOHUD] [debug] [nvidia.cpp:306] XNVCtrl is using display :1
[2025-06-28 07:50:14.417] [MANGOHUD] [debug] [gpu.cpp:82] GPU Found: node_name: renderD128, driver: nvidia, vendor_id: 10de device_id: 2b85 pci_dev: 0000:01:00.0
[2025-06-28 07:50:14.417] [MANGOHUD] [debug] [gpu.cpp:82] GPU Found: node_name: renderD128, driver: nvidia, vendor_id: 10de device_id: 2b85 pci_dev: 0000:01:00.0
[2025-06-28 07:50:14.417] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: spd5118
[2025-06-28 07:50:14.417] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: asus
[2025-06-28 07:50:14.417] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: spd5118
[2025-06-28 07:50:14.417] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: iwlwifi_1
[2025-06-28 07:50:14.417] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: hidpp_battery_0
[2025-06-28 07:50:14.417] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: nvme
[2025-06-28 07:50:14.417] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: acpitz
[2025-06-28 07:50:14.417] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: coretemp
[2025-06-28 07:50:14.417] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: hidpp_battery_1
[2025-06-28 07:50:14.417] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: spd5118
[2025-06-28 07:50:14.417] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: asus
[2025-06-28 07:50:14.417] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: spd5118
[2025-06-28 07:50:14.417] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: nvme
[2025-06-28 07:50:14.417] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: nvme
[2025-06-28 07:50:14.417] [MANGOHUD] [debug] [cpu.cpp:738] powercap: name: core
[2025-06-28 07:50:14.417] [MANGOHUD] [debug] [cpu.cpp:738] powercap: name:
[2025-06-28 07:50:14.417] [MANGOHUD] [debug] [cpu.cpp:738] powercap: name: package-0
[2025-06-28 07:50:14.417] [MANGOHUD] [debug] [cpu.cpp:680] Rapl: energy_uj is not accessible
[2025-06-28 07:50:14.417] [MANGOHUD] [error] [cpu.cpp:747] Failed to initialize CPU power data
[2025-06-28 07:50:14.907] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: spd5118
[2025-06-28 07:50:14.907] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: asus
[2025-06-28 07:50:14.907] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: spd5118
[2025-06-28 07:50:14.907] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: iwlwifi_1
[2025-06-28 07:50:14.907] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: hidpp_battery_0
[2025-06-28 07:50:14.907] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: nvme
[2025-06-28 07:50:14.907] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: acpitz
[2025-06-28 07:50:14.907] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: coretemp
[2025-06-28 07:50:14.907] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: hidpp_battery_1
[2025-06-28 07:50:14.907] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: spd5118
[2025-06-28 07:50:14.907] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: asus
[2025-06-28 07:50:14.907] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: spd5118
[2025-06-28 07:50:14.907] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: nvme
[2025-06-28 07:50:14.907] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: nvme
[2025-06-28 07:50:14.907] [MANGOHUD] [debug] [cpu.cpp:738] powercap: name: core
[2025-06-28 07:50:14.907] [MANGOHUD] [debug] [cpu.cpp:738] powercap: name:
[2025-06-28 07:50:14.907] [MANGOHUD] [debug] [cpu.cpp:738] powercap: name: package-0
[2025-06-28 07:50:14.907] [MANGOHUD] [debug] [cpu.cpp:680] Rapl: energy_uj is not accessible
[2025-06-28 07:50:14.907] [MANGOHUD] [error] [cpu.cpp:747] Failed to initialize CPU power data
[2025-06-28 07:50:15.407] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: spd5118
[2025-06-28 07:50:15.407] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: asus
[2025-06-28 07:50:15.407] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: spd5118
[2025-06-28 07:50:15.407] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: iwlwifi_1
[2025-06-28 07:50:15.407] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: hidpp_battery_0
[2025-06-28 07:50:15.407] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: nvme
[2025-06-28 07:50:15.407] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: acpitz
[2025-06-28 07:50:15.407] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: coretemp
[2025-06-28 07:50:15.407] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: hidpp_battery_1
[2025-06-28 07:50:15.407] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: spd5118
[2025-06-28 07:50:15.407] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: asus
[2025-06-28 07:50:15.407] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: spd5118
[2025-06-28 07:50:15.407] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: nvme
[2025-06-28 07:50:15.407] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: nvme
[2025-06-28 07:50:15.407] [MANGOHUD] [debug] [cpu.cpp:738] powercap: name: core
[2025-06-28 07:50:15.407] [MANGOHUD] [debug] [cpu.cpp:738] powercap: name:
[2025-06-28 07:50:15.407] [MANGOHUD] [debug] [cpu.cpp:738] powercap: name: package-0
[2025-06-28 07:50:15.407] [MANGOHUD] [debug] [cpu.cpp:680] Rapl: energy_uj is not accessible
[2025-06-28 07:50:15.407] [MANGOHUD] [error] [cpu.cpp:747] Failed to initialize CPU power data
[2025-06-28 07:50:15.907] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: spd5118
[2025-06-28 07:50:15.907] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: asus
[2025-06-28 07:50:15.907] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: spd5118
[2025-06-28 07:50:15.907] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: iwlwifi_1
[2025-06-28 07:50:15.907] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: hidpp_battery_0
[2025-06-28 07:50:15.908] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: nvme
[2025-06-28 07:50:15.908] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: acpitz
[2025-06-28 07:50:15.908] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: coretemp
[2025-06-28 07:50:15.908] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: hidpp_battery_1
[2025-06-28 07:50:15.908] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: spd5118
[2025-06-28 07:50:15.908] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: asus
[2025-06-28 07:50:15.908] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: spd5118
[2025-06-28 07:50:15.908] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: nvme
[2025-06-28 07:50:15.908] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: nvme
[2025-06-28 07:50:15.908] [MANGOHUD] [debug] [cpu.cpp:738] powercap: name: core
[2025-06-28 07:50:15.908] [MANGOHUD] [debug] [cpu.cpp:738] powercap: name:
[2025-06-28 07:50:15.908] [MANGOHUD] [debug] [cpu.cpp:738] powercap: name: package-0
[2025-06-28 07:50:15.908] [MANGOHUD] [debug] [cpu.cpp:680] Rapl: energy_uj is not accessible
[2025-06-28 07:50:15.908] [MANGOHUD] [error] [cpu.cpp:747] Failed to initialize CPU power data
[2025-06-28 07:50:16.408] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: spd5118
[2025-06-28 07:50:16.408] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: asus
[2025-06-28 07:50:16.408] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: spd5118
[2025-06-28 07:50:16.408] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: iwlwifi_1
[2025-06-28 07:50:16.408] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: hidpp_battery_0
[2025-06-28 07:50:16.408] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: nvme
[2025-06-28 07:50:16.408] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: acpitz
[2025-06-28 07:50:16.408] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: coretemp
[2025-06-28 07:50:16.408] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: hidpp_battery_1
[2025-06-28 07:50:16.408] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: spd5118
[2025-06-28 07:50:16.408] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: asus
[2025-06-28 07:50:16.408] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: spd5118
[2025-06-28 07:50:16.408] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: nvme
[2025-06-28 07:50:16.408] [MANGOHUD] [debug] [cpu.cpp:708] hwmon: sensor name: nvme
[2025-06-28 07:50:16.408] [MANGOHUD] [debug] [cpu.cpp:738] powercap: name: core
[2025-06-28 07:50:16.408] [MANGOHUD] [debug] [cpu.cpp:738] powercap: name:
[2025-06-28 07:50:16.408] [MANGOHUD] [debug] [cpu.cpp:738] powercap: name: package-0
[2025-06-28 07:50:16.408] [MANGOHUD] [debug] [cpu.cpp:680] Rapl: energy_uj is not accessible
[2025-06-28 07:50:16.408] [MANGOHUD] [error] [cpu.cpp:747] Failed to initialize CPU power data
you have fan rpm because mangohud is using xnvctrl instead of nvml
[2025-06-28 07:50:14.416] [MANGOHUD] [debug] [nvidia.cpp:306] XNVCtrl is using display :1
you have fan rpm because mangohud is using xnvctrl instead of nvml
[2025-06-28 07:50:14.416] [MANGOHUD] [debug] [nvidia.cpp:306] XNVCtrl is using display :1
Okay? And what parameter in mangohud would I use to tell it to use percent? Or is this a case where it is related to the compilation process and only 1 can be set (either percent or rpm)
currently you can't disable this, unless you compile without xnvctrl using option -Dwith_xnvctrl=disabled
currently you can't disable this, unless you compile without xnvctrl using option
-Dwith_xnvctrl=disabled
So if I compile without it, it would go to percent?
Yes
Yes
Then buddy, I can close this ticket as solved. You answered everything like a gentleman. Thank you.
We could probably add percent for AMD and make an option to select either one