RTX 4060 Mobile GPU Power 0%
I have gaming laptop with RTX 4060 Mobile. I'm using Linux Mint. GPU Power always show 0% like on PC with RTX 4080. I compiled MangoHud from GitHub.
Do you mean mangohud shows 0 watts of gpu power usage for both your laptop and pc?
Does nvidia-smi show correct power usage?
Do you mean mangohud shows 0 watts of gpu power usage for both your laptop and pc?
Yes,
Does nvidia-smi show correct power usage?
i have same problem with my rtx 4060 laptop, mandohud not show me any info about gpu like %, Mhz, vram or power. Maybe make new release? latest is from May 2024
Having a similar bug. Just uptated to Nobara 41 ( Fedora core 41) And suddenly I'm getting all the sensors empty in MangoHud/Goverlay.
NvidiaSMI and other tools do show full stats with no issue.
What is interested is, this shows in the error log:
Selected WSI platform: xcb
[2025-01-03 14:49:09.575] [MANGOHUD] [**error**] [overlay_params.cpp:633] Unknown option **'io_stats'**
Selected GPU 0: NVIDIA GeForce RTX 4090, type: DiscreteGpu
@Tamalero @KousekCZ launch mangohud with this environment variable MANGOHUD_LOG_LEVEL=debug
And send logs here
@Tamalero @KousekCZ launch mangohud with this environment variable
MANGOHUD_LOG_LEVEL=debugAnd send logs here
Here you go:
https://pastebin.com/m9FSQ3Le
Prior test with the help of the Nobara team:
https://pastebin.com/M2Y1igM5
However, the bug that mangohud doesn't show me GPU information only happens in steam games. When I launch the game in heroic games launcher (installed via flatpak), the display works there without any problems
However, the bug that mangohud doesn't show me GPU information only happens in steam games. When I launch the game in heroic games launcher (installed via flatpak), the display works there without any problems
This is different from me. In my case.. all launchers and even wine are the same. No data on the overlay for the gpu only.
@KousekCZ can you try building flatpak mangohud-git?
https://github.com/17314642/org.freedesktop.Platform.VulkanLayer.MangoHud
I edited the manifest to download latest mangohud instead of 0.7.2. To build it you need to install flatpak-builder and appstream.
To build it do:
flatpak-builder --install --user --force-clean build_dir org.freedesktop.Platform.VulkanLayer.MangoHud.yml
@Tamalero can you try building latest mangohud from repository and see if it works?
@Tamalero judging by the line "GPU Found" in logs, you are not using 0.7.2 release, but something newer between september 22 and december 16.
Can you try gpu_list=0,1 and see if it helps?
@KousekCZ can you try building flatpak mangohud-git?
https://github.com/17314642/org.freedesktop.Platform.VulkanLayer.MangoHud
I edited the manifest to download latest mangohud instead of 0.7.2. To build it you need to install
flatpak-builderandappstream.To build it do:
flatpak-builder --install --user --force-clean build_dir org.freedesktop.Platform.VulkanLayer.MangoHud.yml
I've successfully built a repository and what do I do now? I've run the game on steam and still the gpu still doesn't work.
@Tamalero judging by the line "GPU Found" in logs, you are not using 0.7.2 release, but something newer between september 22 and december 16.
Can you try
gpu_list=0,1and see if it helps?
using mangohud --version the output is:
v0.7.2
Also, can you tell me where do I use the gpu_list=-0,1 command?
Also, can you tell me where do I use the gpu_list=-0,1 command?
It's a mangohud option that you add to config file or MANGOHUD_CONFIG env
@KousekCZ
Do: flatpak list --columns=application,runtime,version,branch | grep -E "com.valvesoftware|MangoHud|heroic"
@Tamalero
send logs of command below
MANGOHUD_LOG_LEVEL=debug MANGOHUD_CONFIG="read_cfg=0,version,cpu_stats=0,frametime=0,frame_timing=0,gpu_list=0\,1,gpu_power,gpu_temp,gpu_voltage" mangohud vkcube --present_mode 0
@Tamalero
send logs of command below
MANGOHUD_LOG_LEVEL=debug MANGOHUD_CONFIG="read_cfg=0,version,cpu_stats=0,frametime=0,frame_timing=0,gpu_list=0\,1,gpu_power,gpu_temp,gpu_voltage" mangohud vkcube --present_mode 0
I actually disabled my CPU's integrated graphics and that fixed it.
But here is the output:
Selected WSI platform: xcb
parsing gpu list num: 0
parsing gpu list num: 1
Selected GPU 0: NVIDIA GeForce RTX 4090, type: DiscreteGpu
@Tamalero in this case its not issue with nvidia, but with user interface showing wrong gpu and gpu_list=1 would fix your issue.
Try building master branch and launch vkcube with enabled integrated graphics. It should work fine, because I believe I fixed it already.
@KousekCZ
Do:
flatpak list --columns=application,runtime,version,branch | grep -E "com.valvesoftware|MangoHud|heroic"
kousek@Asus-Kousek:~$ flatpak list --columns=application,runtime,version,branch | grep -E "com.valvesoftware|MangoHud|heroic" com.heroicgameslauncher.hgl org.freedesktop.Platform/x86_64/23.08 v2.15.2 stable org.freedesktop.Platform.VulkanLayer.MangoHud 0.7.0 22.08 org.freedesktop.Platform.VulkanLayer.MangoHud 0.7.2 23.08 org.freedesktop.Platform.VulkanLayer.MangoHud 0.7.2 24.08 org.freedesktop.Platform.VulkanLayer.MangoHud 0.7.2-ge8f84065 24.08
@KousekCZ you don't have steam flatpak installed, are you testing flatpak mangohud with native steam?
Yes, you're right, I have steam installed from the normal packages. Should I reinstall it on flatpak?
@KousekCZ flatpak mangohud is only for other flatpak apps, thats why it worked for your heroic launcher.
So you decide whether you want to use native steam or flatpak steam and install mangohud accordingly
ok and if I want to use steam from native packages outside of flatpak, how do I install mangohud to access it? and work properly? As long as i had nobara 40 it worked without any problem, but with the upgrade it stopped working.
you install native version of mangohud for all native apps and flatpak mangohud for all flatpak apps
in that case it doesn't help, because I have mangohud installed via dnf packages, but it doesn't work in steam anyway and goverlay doesn't show the gpu app either. The only place it works is heroic. Native steam and flatpak doesn't work with gpu display
Does mangohud vkcube work? (to install vkcube do dnf install vulkan-tools)
kousek@Asus-Kousek:~$ mangohud vkcube Selected WSI platform: xcb [2025-01-06 11:25:13.438] [MANGOHUD] [error] [overlay_params.cpp:633] Unknown option 'nis_steam_sharpness' Selected GPU 1: NVIDIA GeForce RTX 4060 Laptop GPU, type: DiscreteGpu
sorry, should've said it in the first place: use MANGOHUD_LOG_LEVEL=debug, so command becomes like this:
MANGOHUD_LOG_LEVEL=debug mangohud vkcube