Closed mattia-b89 closed 3 months ago
Have you modifed the config file? If so, rename your config file to MangoHud.cong.example, download the default config file from the github repository and place it where your old config file was, I think gpu percentage is enabled by default, if not uncomment the line that shows the gpu percentage. Hopefully that works, cuz this is such a weird error lol.
Have you modifed the config file? If so, rename your config file to MangoHud.cong.example, download the default config file from the github repository and place it where your old config file was, I think gpu percentage is enabled by default, if not uncomment the line that shows the gpu percentage. Hopefully that works, cuz this is such a weird error lol.
No changes with upstream .conf file: I get the same issue with default settings too!
And does this error persist with other text editors? Try using vim or nano.
And does this error persist with other text editors? Try using vim or nano.
I have just tested with nano
and I got the same:
nano .config/MangoHud/MangoHud.conf
lmao, I'm out of ideas, at least it doesn't seem to be anything major.
I (we) have no idea, if you can reproduce it...
EDIT: a good starting point is to understand if it is just a problem of mine or not. Awaiting for comments mode on...
On Thu, 25 Apr 2024, 19:07 Fallen, @.***> wrote:
lmao, I'm out of ideas, at least it doesn't seem to be anything major.
— Reply to this email directly, view it on GitHub https://github.com/flightlessmango/MangoHud/issues/1301#issuecomment-2077765358, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFFN6TSL7VDRM5ZZCMGHLY7EZ6XAVCNFSM6AAAAABGRGMDNSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZXG43DKMZVHA . You are receiving this because you authored the thread.Message ID: @.***>
Having the exact same problem here. Fedora 40 KDE Plasma under Wayland / Intel Iris Xe. Running both Steam and MangoHud as flatpaks. Not being able to get anything out of intel_gpu_top either, despite running setcap for it.
A full log could be useful PROTON_LOG=1 MANGOHUD_LOG_LEVEL=DEBUG mangohud %command%
A full log could be useful
PROTON_LOG=1 MANGOHUD_LOG_LEVEL=DEBUG mangohud %command%
sure!
full output:
$ PROTON_LOG=1 MANGOHUD_LOG_LEVEL=DEBUG mangohud mpv Downloads/R.A/s01/Resident.Alien.S01E01.Pilot.ITA.ENG.1080p.AMZN.WEB-DLMux.H.264-MeM.mkv
(+) Video --vid=1 (*) (h264 1920x1080 25.000fps)
(+) Audio --aid=1 --alang=it (*) 'ITA' (ac3 2ch 48000Hz)
Audio --aid=2 --alang=en 'ENG' (ac3 6ch 48000Hz)
(+) Subs --sid=1 --slang=it (*) 'Forced' (subrip)
Subs --sid=2 --slang=it (subrip)
Subs --sid=3 --slang=en (subrip)
Subs --sid=4 --slang=en 'SDH' (subrip)
Using hardware decoding (vaapi).
AO: [pipewire] 48000Hz stereo 2ch floatp
VO: [gpu] 1920x1080 vaapi[nv12]
[2024-05-13 17:53:50.766] [MANGOHUD] [debug] [config.cpp:119] skipping config: '/usr/bin/MangoHud.conf' [ not found ]
[2024-05-13 17:53:50.766] [MANGOHUD] [debug] [config.cpp:119] skipping config: '/home/mattia/.config/MangoHud/mpv.conf' [ not found ]
[2024-05-13 17:53:50.766] [MANGOHUD] [debug] [config.cpp:119] skipping config: '/etc/MangoHud.conf' [ not found ]
[2024-05-13 17:53:50.766] [MANGOHUD] [debug] [config.cpp:124] parsing config: '/home/mattia/.config/MangoHud/MangoHud.conf'
[2024-05-13 17:53:50.766] [MANGOHUD] [error] [overlay_params.cpp:1003] Failed to read presets file: '/home/mattia/.config/MangoHud/presets.conf'
[2024-05-13 17:53:50.766] [MANGOHUD] [debug] [overlay_params.cpp:956] Param: 'gpu_stats' = '1'
[2024-05-13 17:53:50.767] [MANGOHUD] [debug] [overlay_params.cpp:956] Param: 'cpu_stats' = '1'
[2024-05-13 17:53:50.767] [MANGOHUD] [debug] [overlay_params.cpp:956] Param: 'fps' = '1'
[2024-05-13 17:53:50.767] [MANGOHUD] [debug] [overlay_params.cpp:956] Param: 'frametime' = '1'
[2024-05-13 17:53:50.767] [MANGOHUD] [debug] [overlay_params.cpp:956] Param: 'throttling_status' = '1'
[2024-05-13 17:53:50.767] [MANGOHUD] [debug] [overlay_params.cpp:956] Param: 'throttling_status_graph' = '1'
[2024-05-13 17:53:50.767] [MANGOHUD] [debug] [overlay_params.cpp:956] Param: 'frame_timing' = '1'
[2024-05-13 17:53:50.767] [MANGOHUD] [debug] [overlay_params.cpp:956] Param: 'graphs' = 'gpu_load,cpu_load'
[2024-05-13 17:53:50.767] [MANGOHUD] [debug] [overlay_params.cpp:956] Param: 'text_outline' = '1'
[2024-05-13 17:53:50.767] [MANGOHUD] [debug] [logging.cpp:178] Logger constructed!
[2024-05-13 17:53:50.803] [MANGOHUD] [debug] [overlay.cpp:1058] Ram:8034644
[2024-05-13 17:53:50.803] [MANGOHUD] [debug] [overlay.cpp:1059] Cpu:Intel Core i5-5200U CPU @ 2.20GHz
[2024-05-13 17:53:50.803] [MANGOHUD] [debug] [overlay.cpp:1060] Kernel:6.8.9-zen1-2-zen
[2024-05-13 17:53:50.803] [MANGOHUD] [debug] [overlay.cpp:1061] Os:Arch Linux
[2024-05-13 17:53:50.803] [MANGOHUD] [debug] [overlay.cpp:1062] Driver:
[2024-05-13 17:53:50.803] [MANGOHUD] [debug] [overlay.cpp:1063] CPU Scheduler:schedutil
[2024-05-13 17:53:50.804] [MANGOHUD] [debug] [cpu.cpp:506] hwmon: sensor name: dell_smm
[2024-05-13 17:53:50.804] [MANGOHUD] [debug] [cpu.cpp:506] hwmon: sensor name: BAT0
[2024-05-13 17:53:50.804] [MANGOHUD] [debug] [cpu.cpp:506] hwmon: sensor name: AC
[2024-05-13 17:53:50.804] [MANGOHUD] [debug] [cpu.cpp:506] hwmon: sensor name: coretemp
[2024-05-13 17:53:50.804] [MANGOHUD] [debug] [cpu.cpp:538] hwmon: using input: /sys/class/hwmon/hwmon5/temp1_input
[2024-05-13 17:53:50.804] [MANGOHUD] [debug] [cpu.cpp:631] hwmon: sensor name: dell_smm
[2024-05-13 17:53:50.804] [MANGOHUD] [debug] [cpu.cpp:631] hwmon: sensor name: BAT0
[2024-05-13 17:53:50.804] [MANGOHUD] [debug] [cpu.cpp:631] hwmon: sensor name: AC
[2024-05-13 17:53:50.804] [MANGOHUD] [debug] [cpu.cpp:631] hwmon: sensor name: coretemp
[2024-05-13 17:53:50.804] [MANGOHUD] [debug] [cpu.cpp:631] hwmon: sensor name: pch_wildcat_point
[2024-05-13 17:53:50.804] [MANGOHUD] [debug] [cpu.cpp:631] hwmon: sensor name: acpitz
[2024-05-13 17:53:50.804] [MANGOHUD] [debug] [cpu.cpp:652] powercap: name: dram
[2024-05-13 17:53:50.804] [MANGOHUD] [debug] [cpu.cpp:652] powercap: name: core
[2024-05-13 17:53:50.804] [MANGOHUD] [debug] [cpu.cpp:652] powercap: name:
[2024-05-13 17:53:50.804] [MANGOHUD] [debug] [cpu.cpp:652] powercap: name: package-0
[2024-05-13 17:53:50.807] [MANGOHUD] [debug] [gl_hud.cpp:132] vendor: Intel, deviceName: Mesa Intel(R) HD Graphics 5500 (BDW GT2)
[2024-05-13 17:53:50.807] [MANGOHUD] [debug] [gl_hud.cpp:154] GL device id: 0000
[2024-05-13 17:53:50.807] [MANGOHUD] [debug] [overlay.cpp:834] Intel: using drm device card1
[2024-05-13 17:53:50.808] [MANGOHUD] [debug] [overlay.cpp:965] Uploading is disabled (permit_upload = 0)
[2024-05-13 17:53:50.808] [MANGOHUD] [debug] [gl_hud.cpp:157] gpu: Mesa Intel HD Graphics 5500
[2024-05-13 17:53:50.808] [MANGOHUD] [info] [gl_renderer.cpp:422] GL version: 4.6
Failed to initialize PMU! (Permission denied)
When running as a normal user CAP_PERFMON is required to access performance
monitoring. See "man 7 capabilities", "man 8 setcap", or contact your
distribution vendor for assistance.
More information can be found at 'Perf events and tool security' document:
https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html
[2024-05-13 17:53:50.818] [MANGOHUD] [info] [intel.cpp:63] Missing permissions for 'intel_gpu_top'
[2024-05-13 17:53:50.818] [MANGOHUD] [info] [intel.cpp:65] Disabling gpu_stats
[*** LOG ERROR #0001 ***] [2024-05-13 17:53:50] [MANGOHUD] string pointer is null [../MangoHud-v0.7.1/src/shared_x11.cpp(39)]
[2024-05-13 17:53:50.845] [MANGOHUD] [debug] [gl_renderer.cpp:296] glsl_version: 410
AV: 00:00:12 / 00:44:28 (0%) A-V: 0.000[2024-05-13 17:54:03.699] [MANGOHUD] [debug] [config.cpp:119] skipping config: '/usr/bin/MangoHud.conf' [ not found ]
[2024-05-13 17:54:03.699] [MANGOHUD] [debug] [config.cpp:119] skipping config: '/home/mattia/.config/MangoHud/mpv.conf' [ not found ]
[2024-05-13 17:54:03.699] [MANGOHUD] [debug] [config.cpp:119] skipping config: '/etc/MangoHud.conf' [ not found ]
[2024-05-13 17:54:03.699] [MANGOHUD] [debug] [config.cpp:124] parsing config: '/home/mattia/.config/MangoHud/MangoHud.conf'
[2024-05-13 17:54:03.699] [MANGOHUD] [error] [overlay_params.cpp:1003] Failed to read presets file: '/home/mattia/.config/MangoHud/presets.conf'
[2024-05-13 17:54:03.699] [MANGOHUD] [debug] [overlay_params.cpp:956] Param: 'gpu_stats' = '1'
[2024-05-13 17:54:03.699] [MANGOHUD] [debug] [overlay_params.cpp:956] Param: 'cpu_stats' = '1'
[2024-05-13 17:54:03.699] [MANGOHUD] [debug] [overlay_params.cpp:956] Param: 'fps' = '1'
[2024-05-13 17:54:03.699] [MANGOHUD] [debug] [overlay_params.cpp:956] Param: 'frametime' = '1'
[2024-05-13 17:54:03.699] [MANGOHUD] [debug] [overlay_params.cpp:956] Param: 'throttling_status' = '1'
[2024-05-13 17:54:03.699] [MANGOHUD] [debug] [overlay_params.cpp:956] Param: 'throttling_status_graph' = '1'
[2024-05-13 17:54:03.699] [MANGOHUD] [debug] [overlay_params.cpp:956] Param: 'frame_timing' = '1'
[2024-05-13 17:54:03.699] [MANGOHUD] [debug] [overlay_params.cpp:956] Param: 'graphs' = 'gpu_load,cpu_load'
[2024-05-13 17:54:03.699] [MANGOHUD] [debug] [overlay_params.cpp:956] Param: 'text_outline' = '1'
[2024-05-13 17:54:03.699] [MANGOHUD] [debug] [logging.cpp:178] Logger constructed!
[2024-05-13 17:54:03.699] [MANGOHUD] [debug] [notify.cpp:30] Watching config file: /home/mattia/.config/MangoHud/MangoHud.conf
AV: 00:00:14 / 00:44:28 (1%) A-V: 0.000
Exiting... (Quit)
but I think important output (since I press CTRL-S to save the .conf) starts with line
[2024-05-13 17:54:03.699] [MANGOHUD] [debug] [config.cpp:119] skipping config: '/usr/bin/MangoHud.conf' [ not found ]
This appears to be the same issue as #1314 and I've tried to fix it in this commit https://github.com/flightlessmango/MangoHud/commit/a0a31b4f64384c980b04216c806726da5b45f5cc
I was wrong, it was not that issue. I believe this 0caded833e62a901670abdee67a3a0086e149663 commit should fix it
reopen if this bug still exists with the proposed commit
Describe the bug I noticed GPU usage percentage is not shown until I save the configuration file; NB: I save it but without any edit!
List relevant hardware/software information
To Reproduce Steps to reproduce the behavior: (see screencast attached!)
Expected behavior GPU stat should be shown as soon as I start MangoHud
Screenshots I attach a screencast
https://github.com/flightlessmango/MangoHud/assets/545463/140d1d4d-3306-4cf1-aa5b-2b83d436fefe