Commit Graph

1983 Commits

Author SHA1 Message Date
FlightlessMango
363b6530cf meson: define DEBUG if debug 2023-10-08 00:33:42 +02:00
Alessandro Toia
5f05f67e22 overlay_params: print all params and values to debug 2023-10-07 15:24:27 -07:00
FlightlessMango
544856b174 spdlog: handle log level with MANGOHUD_LOG_LEVEL 2023-10-07 23:18:27 +02:00
Alessandro Toia
f40b32fc45 hud_elements: include <map> header 2023-10-06 21:47:52 -07:00
Alessandro Toia
381e593f6b hud_elements: rework sort_elements for maintainability 2023-10-06 21:36:58 -07:00
FlightlessMango
dbdc295521 hud elements: rework function vector
This uses std functional instead and adds name field.
The primary purpose is to make debugging of hud elements easier
2023-10-06 20:12:59 +02:00
FlightlessMango
fae6035c20 imgui: revert font OverSampleH to 3
ImGui changed OversampleH default to 2, but it appears to sometimes cause
crashing issues in 32bit applications.
2023-10-06 19:50:59 +02:00
FlightlessMango
e85c580de3 implot: set default library static 2023-10-05 18:35:55 +02:00
FlightlessMango
ecaba3fe36 imgui: disable sdl_renderer 2023-10-05 18:25:05 +02:00
FlightlessMango
8bda2a2a04 hud elements: custom_text fix missing popfont in code path 2023-10-04 23:39:55 +02:00
FlightlessMango
b32e6b299c hud elements: custom_text guard for out of range 2023-10-04 23:38:31 +02:00
FlightlessMango
2bf27939e0 readme: gpu_fan nvidia notes 2023-10-04 18:07:43 +02:00
FlightlessMango
d962ae5181 Nvidia: nvml: fan speed in percent 2023-10-04 18:05:20 +02:00
Self Denial
0341e28e05 Move num_coolers to global var & update at init within checkXNVCtrl(). 2023-10-04 18:05:12 +02:00
Self Denial
10e5abcccc Attempt to query number of coolers before fan_speed. Inspiration: https://github.com/NVIDIA/nvidia-settings/blob/main/samples/nv-control-targets.c 2023-10-04 18:05:12 +02:00
Alessandro Toia
10c0f608fd file_utils: add remove_parentheses function and use it for gpu_name 2023-10-03 17:30:20 -07:00
Alessandro Toia
cd87e22dc3 hud_elements: bump buffer size of TextColored to 128 2023-10-03 16:24:15 -07:00
John Zimmermann
23c9b50742 meson: fallback to project_version() without git
resolves #1131
2023-10-03 17:43:46 +02:00
FlightlessMango
13164b01ad logging: fix percentiles miscalculation 2023-10-03 16:33:48 +02:00
Alessandro Toia
4bc55bf966 hud_elements: increase buffer size of TextColored to prevent truncation 2023-10-02 17:02:03 -07:00
NoXPhasma
14da551ae0 Expand 'toggle_fps_limit' description 2023-10-02 13:29:23 +02:00
FlightlessMango
fb1bf07dbb frametime: padding between text and graph 2023-10-02 11:26:38 +02:00
FlightlessMango
bef35591f8 hud compact: battery: don't show decimals watt 2023-10-02 11:26:38 +02:00
FlightlessMango
30661f8cea compact hud: don't show vram GiB 2023-10-02 11:26:38 +02:00
Bill Li
efd1c07391 pkgbuild: udpate sources for imgui to 1.89.9 2023-09-29 17:39:11 +02:00
Bill Li
c3bc9df842 pkgbuild: add subproject sources for implot 2023-09-29 17:39:11 +02:00
FlightlessMango
9a0ecee98e meson: imgui disable webgpu option 2023-09-29 17:02:36 +02:00
FlightlessMango
5c1796e697 preset 4: add throttling_status_graph 2023-09-29 16:49:48 +02:00
FlightlessMango
a67849a20b mingw: ifdef more throttling code for linux 2023-09-29 15:50:06 +02:00
FlightlessMango
d0ee1eaa28 hudelements: frame_timing: draw plot using implot
Implot allows us to draw multiple lines in the graph.
We draw the frametime as usual but also include thermal and power throttling.
Thermal throttling is red and power is yellow.
2023-09-29 15:41:15 +02:00
FlightlessMango
55c8be5b0b amdgpu: collect throttling data for graph 2023-09-29 15:41:15 +02:00
FlightlessMango
84caba707a subproject: implot 2023-09-29 15:41:15 +02:00
FlightlessMango
801f02412c imgui: update date to 1.89.9 2023-09-29 15:41:15 +02:00
Alessandro Toia
a2c421a8d3 readme: add device_battery and device_battery_icon 2023-09-27 16:08:08 -07:00
FlightlessMango
8fca45ffe3 mangohud-setup.sh: install opengl libraries 2023-09-27 16:12:25 +02:00
FlightlessMango
113912eb6b bump version to 0.7.0 2023-09-26 08:29:47 +02:00
Hannes Mann
6342056e70 params: parse_preset_config fixes 2023-09-23 04:57:38 +02:00
Alessandro Toia
41e4859547 vulkan: Use correct corresponding macro for IM_NEW() 2023-09-20 21:05:32 -07:00
Clayton Craft
22d2de4edd logging: include process RSS
Resident set size shows non-swapped memory usage of a process. This is
useful to have for comparing memory usage over time for the the process
being measured.
2023-09-19 20:49:55 +02:00
Clayton Craft
675202713d logging: include swap usage
This includes swap usage in the log output. It's useful for doing
analysis of memory config on performance, and can serve as useful input
when collecting other performance data since swapping almost always
impacts runtime perf.
2023-09-19 20:49:55 +02:00
FlightlessMango
1a0abc65df presets param: inherit
This option is only for presets. It inherits the default preset.
This allows you to modify an existing preset without having to rewrite it
2023-09-18 19:04:22 +02:00
Łukasz Adamczak
5c6278baf7 Fix path used for amdgpu hwmon readings
This fixes #1099.
2023-09-16 18:23:47 +02:00
Alessandro Toia
17d4541980 device: switch gamepad_battery to device_battery and allow to enable mouse or gamepad or both 2023-09-13 18:12:08 -07:00
FlightlessMango
1a2f3e4b34 builds deps: add static stdc++ 32bit to fedora
[skip ci]
2023-09-12 12:35:41 +02:00
FlightlessMango
22b885bbf9 builds deps: add static stdc++ to fedora
[skip ci]
2023-09-12 12:00:56 +02:00
FlightlessMango
53ee2275e4 hudelements: fix exec not appearing on the same line as custom_text 2023-09-12 10:16:49 +02:00
Alex Maese
d75afd6b7a Default to first preset (-1) if preset is unset 2023-09-10 05:36:42 +02:00
Alex Maese
939ab8bd4a Revert "params: preset: set default current_preset -1"
This reverts commit 02c3b4f235.
2023-09-10 05:36:42 +02:00
FlightlessMango
02c3b4f235 params: preset: set default current_preset -1 2023-09-09 07:25:14 +02:00
Jan Solanti
ef124ae3ec core_bars: document in README 2023-09-08 06:34:14 +02:00