Skip to content
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

RTX 4060 Mobile GPU Power 0% #1516

Open
Slo2018 opened this issue Jan 1, 2025 · 50 comments
Open

RTX 4060 Mobile GPU Power 0% #1516

Slo2018 opened this issue Jan 1, 2025 · 50 comments

Comments

@Slo2018
Copy link

Slo2018 commented Jan 1, 2025

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.

@17314642
Copy link
Contributor

17314642 commented Jan 1, 2025

Do you mean mangohud shows 0 watts of gpu power usage for both your laptop and pc?

Does nvidia-smi show correct power usage?

@Slo2018
Copy link
Author

Slo2018 commented Jan 1, 2025

Do you mean mangohud shows 0 watts of gpu power usage for both your laptop and pc?

Yes,

@17314642
Copy link
Contributor

17314642 commented Jan 1, 2025

Does nvidia-smi show correct power usage?

@KousekCZ
Copy link

KousekCZ commented Jan 3, 2025

image
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

@Tamalero
Copy link

Tamalero commented Jan 4, 2025

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

@17314642
Copy link
Contributor

17314642 commented Jan 4, 2025

@Tamalero @KousekCZ launch mangohud with this environment variable MANGOHUD_LOG_LEVEL=debug

And send logs here

@Tamalero
Copy link

Tamalero commented Jan 4, 2025

@Tamalero @KousekCZ launch mangohud with this environment variable MANGOHUD_LOG_LEVEL=debug

And send logs here

Here you go:

https://pastebin.com/m9FSQ3Le

Prior test with the help of the Nobara team:

https://pastebin.com/M2Y1igM5

@KousekCZ
Copy link

KousekCZ commented Jan 4, 2025

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

@Tamalero
Copy link

Tamalero commented Jan 4, 2025

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.

@17314642
Copy link
Contributor

17314642 commented Jan 4, 2025

@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

@17314642
Copy link
Contributor

17314642 commented Jan 4, 2025

@Tamalero can you try building latest mangohud from repository and see if it works?

@17314642
Copy link
Contributor

17314642 commented Jan 4, 2025

@Tamalero io_stats was deleted in 2023 in commit 95b7b4

use io_read and io_write

@17314642
Copy link
Contributor

17314642 commented Jan 4, 2025

@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
Copy link

KousekCZ commented Jan 4, 2025

@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

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
Copy link

Tamalero commented Jan 4, 2025

@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?

using mangohud --version
the output is:

v0.7.2

Also, can you tell me where do I use the gpu_list=-0,1 command?

@flightlessmango
Copy link
Owner

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

@17314642
Copy link
Contributor

17314642 commented Jan 5, 2025

@KousekCZ

Do: flatpak list --columns=application,runtime,version,branch | grep -E "com.valvesoftware|MangoHud|heroic"

@17314642
Copy link
Contributor

17314642 commented Jan 5, 2025

@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
Copy link

Tamalero commented Jan 5, 2025

@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

@17314642
Copy link
Contributor

17314642 commented Jan 5, 2025

@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
Copy link

KousekCZ commented Jan 5, 2025

@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

@17314642
Copy link
Contributor

17314642 commented Jan 5, 2025

@KousekCZ you don't have steam flatpak installed, are you testing flatpak mangohud with native steam?

@KousekCZ
Copy link

KousekCZ commented Jan 5, 2025

Yes, you're right, I have steam installed from the normal packages. Should I reinstall it on flatpak?

@17314642
Copy link
Contributor

17314642 commented Jan 5, 2025

@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

@KousekCZ
Copy link

KousekCZ commented Jan 5, 2025

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.

@17314642
Copy link
Contributor

17314642 commented Jan 5, 2025

you install native version of mangohud for all native apps and flatpak mangohud for all flatpak apps

@KousekCZ
Copy link

KousekCZ commented Jan 5, 2025

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

@17314642
Copy link
Contributor

17314642 commented Jan 6, 2025

Does mangohud vkcube work? (to install vkcube do dnf install vulkan-tools)

@KousekCZ
Copy link

KousekCZ commented Jan 6, 2025

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

image

@17314642
Copy link
Contributor

17314642 commented Jan 6, 2025

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

@KousekCZ
Copy link

KousekCZ commented Jan 6, 2025

kousek@Asus-Kousek:~$ MANGOHUD_LOG_LEVEL=debug mangohud vkcube
Selected WSI platform: xcb
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:778] Version: v0.7.2
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/usr/bin/MangoHud.conf' [ not found ]
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/home/kousek/.config/MangoHud/vkcube.conf' [ not found ]
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/etc/MangoHud.conf' [ not found ]
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [config.cpp:122] parsing config: '/home/kousek/.config/MangoHud/MangoHud.conf'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:1019] Failed to read presets file: '/home/kousek/.config/MangoHud/presets.conf'. Falling back to default presets
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/usr/bin/MangoHud.conf' [ not found ]
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/home/kousek/.config/MangoHud/vkcube.conf' [ not found ]
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/etc/MangoHud.conf' [ not found ]
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [config.cpp:122] parsing config: '/home/kousek/.config/MangoHud/MangoHud.conf'
[2025-01-06 13:21:31.802] [MANGOHUD] [error] [overlay_params.cpp:633] Unknown option 'nis_steam_sharpness'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:111] Socket: mangohud
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'control' = 'mangohud'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'fsr_steam_sharpness' = '5'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'nis_steam_sharpness' = '10'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'legacy_layout' = '0'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'position' = 'top-center'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'font_size' = '20'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'toggle_hud' = 'Shift_L+F4'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'horizontal' = '1'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'battery' = '1'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'battery_watt' = '1'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'battery_time' = '1'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'cpu_stats' = '1'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'cpu_temp' = '1'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'cpu_mhz' = '1'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'cpu_load_change' = '1'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'cpu_load_value' = '50,90'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'cpu_load_color' = 'FFFFFF,FFAA7F,CC0000'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'gpu_stats' = '1'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'gpu_core_clock' = '1'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'cpu_load_change' = '1'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'cpu_load_value' = '50,90'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'cpu_load_color' = 'FFFFFF,FFAA7F,CC0000'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'gpu_temp' = '1'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'gpu_load_change' = '1'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'gpu_load_value' = '50,90'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'gpu_load_color' = 'FFFFFF,FFAA7F,CC0000'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'gpu_power' = '1'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'vram' = '1'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'vram_color' = 'AD64C1'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'ram' = '1'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'fps' = '1'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'fps_color_change' = '1'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'fps_color' = 'B22222,FDFD09,39F900'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'fps_value' = '30,60'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'time' = '1'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'frametime' = '0'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'hud_no_margin' = '1'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'table_columns' = '14'
[2025-01-06 13:21:31.802] [MANGOHUD] [debug] [overlay_params.cpp:963] Param: 'frame_timing' = '1'
[2025-01-06 13:21:31.803] [MANGOHUD] [debug] [logging.cpp:244] Logger constructed!
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [overlay.cpp:846] Ram:32467560
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [overlay.cpp:847] Cpu:12th Gen Intel Core i7-12700H
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [overlay.cpp:848] Kernel:6.12.8-201.fsync.fc41.x86_64
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [overlay.cpp:849] Os:Nobara Linux 41 (GNOME Edition)
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [overlay.cpp:850] Driver:
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [overlay.cpp:851] CPU Scheduler:powersave
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [cpu.cpp:515] hwmon: sensor name: coretemp
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [cpu.cpp:548] hwmon: using input: /sys/class/hwmon/hwmon8/temp1_input
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [cpu.cpp:641] hwmon: sensor name: coretemp
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [cpu.cpp:641] hwmon: sensor name: asus
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [cpu.cpp:641] hwmon: sensor name: nvme
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [cpu.cpp:641] hwmon: sensor name: BAT0
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [cpu.cpp:641] hwmon: sensor name: ADP0
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [cpu.cpp:641] hwmon: sensor name: iwlwifi_1
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [cpu.cpp:641] hwmon: sensor name: asus_custom_fan_curve
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [cpu.cpp:641] hwmon: sensor name: ucsi_source_psy_USBC000:001
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [cpu.cpp:641] hwmon: sensor name: nvme
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [cpu.cpp:641] hwmon: sensor name: acpitz
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [cpu.cpp:662] powercap: name: psys
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [cpu.cpp:662] powercap: name: core
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [cpu.cpp:662] powercap: name:
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [cpu.cpp:662] powercap: name:
[2025-01-06 13:21:31.812] [MANGOHUD] [debug] [cpu.cpp:662] powercap: name: package-0
Selected GPU 1: NVIDIA GeForce RTX 4060 Laptop GPU, type: DiscreteGpu
[2025-01-06 13:21:31.904] [MANGOHUD] [debug] [vulkan.cpp:1860] gpu: NVIDIA GeForce RTX 4060 Laptop GPU
[2025-01-06 13:21:31.905] [MANGOHUD] [debug] [vulkan.cpp:1546] Present mode: FIFO
[2025-01-06 13:21:31.941] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:31.956] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:31.966] [MANGOHUD] [debug] [gpu.cpp:69] GPU Found: node_name: renderD128, vendor_id: 8086 device_id: 46a6 pci_dev: 0000:00:02.0
[2025-01-06 13:21:31.980] [MANGOHUD] [debug] [gpu.cpp:69] GPU Found: node_name: renderD129, vendor_id: 10de device_id: 28e0 pci_dev: 0000:01:00.0
[2025-01-06 13:21:31.981] [MANGOHUD] [debug] [gpu.cpp:156] Active GPU Found: node_name: renderD129, pci_dev: 0000:01:00.0
[2025-01-06 13:21:49.910] [MANGOHUD] [debug] [vulkan.cpp:1546] Present mode: FIFO
[2025-01-06 13:21:49.921] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:49.939] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:49.969] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:49.986] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.010] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.027] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.052] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.068] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.090] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.106] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.130] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.148] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.169] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.186] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.209] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.226] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.253] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.270] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.294] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.311] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.335] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.352] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.376] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.393] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.419] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.435] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.461] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.478] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.507] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.524] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.548] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.564] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.589] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.605] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.629] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.645] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.668] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.684] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.711] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.727] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.750] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.766] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.790] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.806] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.829] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.844] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.868] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.883] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.906] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.922] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.945] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.960] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:50.984] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:50.999] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:51.022] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:51.039] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:51.061] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:51.077] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:51.100] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:51.115] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:51.138] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:51.155] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:51.178] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:51.194] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:51.217] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:51.234] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:51.258] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:51.275] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:51.298] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:51.315] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:51.337] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:51.353] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:51.376] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:51.392] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:51.415] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:51.433] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:51.460] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:51.476] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:51.500] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:51.516] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
[2025-01-06 13:21:51.539] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-01-06 13:21:51.554] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px

@17314642
Copy link
Contributor

17314642 commented Jan 6, 2025

Wait, you're using mangohud from fedora repository? If yes, can you specify exactly which one?

dnf list --installed | grep -i mangohud

because judging by logs, this is not 0.7.2, it's something newer. also try gpu_list=1 in you mangohud config

@17314642
Copy link
Contributor

17314642 commented Jan 6, 2025

Oh, I see why I was confused about mangohud version, nobara has it's own repos and packages custom mangohud which currently uses commit a109f0b from Nov.17 2024, but mangohud still reports it as 0.7.2 from May 2024

I'm pretty sure it's a UI bug and mangohud shows your integrated intel card instead of nvidia one, and I think gpu_list=1 should fix it for now until nobara updates mangohud to newer version where I believe I fixed this issue.

@KousekCZ
Copy link

KousekCZ commented Jan 6, 2025

kousek@Asus-Kousek:~$ dnf list --installed | grep -i mangohud
mangohud.i686 0.7.2-2.20231002gita109f0b.fc41 nobara-baseos-multilib-41
mangohud.x86_64 0.7.2-2.20231002gita109f0b.fc41 nobara-baseos-41

Thank you, gpu_list=1 in the configuration file helped and the gpu is now showing up. The only thing that doesn't work is displaying the VRAM usage of the gpu. It stays at zero, but this helped me. Thank you
Yesterday I uninstalled and reinstalled all the versions of mangohud on my pc to do a cleanup. I guess you are right, it tried to display the integrated gpu but it couldn't. Just briefly, why the vram is not working do you know if you have a quick command for that too?

@17314642
Copy link
Contributor

17314642 commented Jan 6, 2025

What value does nvidia-smi show?

@KousekCZ
Copy link

KousekCZ commented Jan 6, 2025

image

@17314642
Copy link
Contributor

17314642 commented Jan 6, 2025

Well your gpu consumption is 88 mb (0.09gb) which is not a lot.

Try it in some game, im 99% sure it will show correctly

@KousekCZ
Copy link

KousekCZ commented Jan 6, 2025

image
Vram anywhere else works fine, I have various add-ons to display system info or apps like task manager (resources and mission center) display all values fine

@17314642
Copy link
Contributor

17314642 commented Jan 6, 2025

Does that mean mangohud shows 0.0GiB in Sons of the Forest?

@KousekCZ
Copy link

KousekCZ commented Jan 6, 2025

Yes, just like I posted the photo above from vkcube , exactly the same

@Leopard1907
Copy link
Contributor

Guys that are using Nobara 41 and hijacking this thread right now:

Did you try building on your own instead of using repo version?

@17314642
Copy link
Contributor

17314642 commented Jan 6, 2025

@KousekCZ well if gpu usage and power are showing correctly and vram is not, that would mean it's more interesting than I initially thought.

Usually everything works or nothing works.

That would require building custom mangohud to debug further.

So either you just forget about vram for now, or we could try and solve this.

@KousekCZ
Copy link

KousekCZ commented Jan 6, 2025

Never mind the vram, I'm sure there are plenty of other things to do, I'll wait for the update. Thanks for the help. :D

@Leopard1907
Copy link
Contributor

Repel of modern day Linux: Did you build it, can you build it?

Instant silence. 😎

@KousekCZ
Copy link

KousekCZ commented Jan 6, 2025

I tried to build a master repository, but it was throwing me some error that the internet couldn't help me with. So I left it alone

@Leopard1907
Copy link
Contributor

Delete repo version, do these, test again.

git clone --recurse-submodules https://github.com/flightlessmango/MangoHud.git
cd MangoHud
./build.sh build
./build.sh package
./build.sh install

For deleting it if you dont want to use it afterwards in same Mangohud dir:

./build.sh uninstall

@KousekCZ
Copy link

KousekCZ commented Jan 7, 2025

kousek@Asus-Kousek:/Stažené$ git clone --recurse-submodules https://github.com/flightlessmango/MangoHud.git
Cloning into 'MangoHud'...
remote: Enumerating objects: 12256, done.
remote: Counting objects: 100% (1393/1393), done.
remote: Compressing objects: 100% (139/139), done.
remote: Total 12256 (delta 1311), reused 1256 (delta 1254), pack-reused 10863 (from 2)
Receiving objects: 100% (12256/12256), 44.69 MiB | 6.34 MiB/s, done.
Resolving deltas: 100% (8980/8980), done.
Submodule 'modules/minhook' (https://github.com/flightlessmango/minhook) registered for path 'modules/minhook'
Cloning into '/home/kousek/Stažené/MangoHud/modules/minhook'...
remote: Enumerating objects: 1434, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 1434 (delta 0), reused 0 (delta 0), pack-reused 1433 (from 2)
Receiving objects: 100% (1434/1434), 319.85 KiB | 1.71 MiB/s, done.
Resolving deltas: 100% (935/935), done.
Submodule path 'modules/minhook': checked out 'df6622659e366c63dfc9591245fa6a9a10ec4759'

kousek@Asus-Kousek:/Stažené$ cd MangoHud

kousek@Asus-Kousek:/Stažené/MangoHud$ ./build.sh build
Command: build
Checking dependencies for "nobara"
./build.sh: řádek 145: meson: příkaz nenalezen

this didn't work for me last time and I didn't want to deal with it, at least it works a bit. Translation: ./build.sh: line 145: meson: command not found

@17314642
Copy link
Contributor

17314642 commented Jan 8, 2025

@KousekCZ build it using fedora's packaging tools:

  1. Install fedora build tools: dnf install fedpkg
  2. Create separate directory in which you will build mangohud: mkdir custom_mangohud && cd custom_mangohud
  3. Download mangohud package instructions: dnf download --source mangohud
  4. Unpack: rpm2cpio mangohud*.rpm | cpio -idmv
  5. Change commit to latest sed -i "s/a109f0baf5b5477fb1b4c3ccdfbac2284077caec/215b362982ced393d65cb96961e0400cf72166ad/" mangohud.spec (this will change mangohud version from a109f0b to 215b362)
  6. Delete line 127 which contains mangoapp_layer option which was deleted upstreamsed -i "127d" mangohud.spec
  7. Download necessary files: spectool -g mangohud.spec
  8. Build package: fedpkg --release f41 mockbuild
  9. Install package: dnf -y install ./results_mangohud/0.7.2/*git215b362.fc41/mangohud-0*git215b362.fc41.x86_64.rpm

The advantage of this method is that it's building a package which you can easily delete with dnf remove mangohud and it doesn't clutter up your filesystem with files which you might forget to delete later.

@burd1
Copy link

burd1 commented Jan 14, 2025

I seem to have the same issue on Pop OS 22.04 with RTX 4060 desktop

@checkinindza
Copy link

checkinindza commented Jan 14, 2025

kousek@Asus-Kousek:~$ dnf list --installed | grep -i mangohud mangohud.i686 0.7.2-2.20231002gita109f0b.fc41 nobara-baseos-multilib-41 mangohud.x86_64 0.7.2-2.20231002gita109f0b.fc41 nobara-baseos-41

Thank you, gpu_list=1 in the configuration file helped and the gpu is now showing up. The only thing that doesn't work is displaying the VRAM usage of the gpu. It stays at zero, but this helped me. Thank you Yesterday I uninstalled and reinstalled all the versions of mangohud on my pc to do a cleanup. I guess you are right, it tried to display the integrated gpu but it couldn't. Just briefly, why the vram is not working do you know if you have a quick command for that too?

Seems like I'm having the same issue on Arch Linux with mangohud built from source with RTX 3060 mobile. I see the power usage, GPU usage and core clock, but VRAM usage, temperature, VRAM clock is at 0.

MANGOHUD=1 MANGOHUD_LOG_LEVEL=debug vkcube doesn't show any errors.

KDE's System Monitor and nvidia-smi both show all the needed information

EDIT: So I noticed there was a commit made not too long ago fixing the issue of VRAM not displaying. So I updated mangohud and while it doesn't show 0 on VRAM usage anymore, it shows incorrect info anyway. As nvidia-smi reports 250MB of VRAM usage and mangohud reports 0.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants