Commit Graph

2025 Commits

Author SHA1 Message Date
flightlessmango
56b23d7c12 presets: remove version from 4 2023-12-02 11:15:15 +01:00
flightlessmango
4646e2e4f6 tests: fix missing variable for amdgpu 2023-12-01 11:03:41 +01:00
Joshua Ashton
d5f6f44c26 overlay_params: Enable "debug" by default on 4 2023-12-01 09:24:30 +01:00
Joshua Ashton
aeae2a00ac app: Support for setting only frametime/app frametime 2023-12-01 09:24:30 +01:00
Joshua Ashton
684750158e amdgpu, overlay: Use gpu_metrics for CoreClock on Steam Deck
sysfs path gives 200 or 1040 Mhz always. Don't use that!
2023-12-01 09:24:30 +01:00
flightlessmango
f168483c3e intel: don't try to get fdinfo if not found 2023-11-28 05:44:37 +01:00
flightlessmango
dcb8741581 config env: trim key and value 2023-11-22 17:24:20 +01:00
flightlessmango
60779dda9a params: graphs: fix for legacy layout 2023-11-19 12:48:05 +01:00
Alex Maese
b3fa8f5c29 Presets: Add ability to specify preset_path via env variables 2023-11-18 10:58:14 +01:00
flightlessmango
ea725ed1d2 mangoapp: revert the msg key 2023-11-14 10:43:01 +01:00
flightlessmango
b1ae5b87c7 mangoapp: init spdlog 2023-11-14 10:10:26 +01:00
flightlessmango
efebc4fe34 preset: 4: disable throttling graph
Until we've fined tuned this a bit more, let's not expose it by default
2023-11-14 07:08:21 +01:00
flightlessmango
669f6f96a1 params: preset: remove debug 2023-11-12 03:02:30 +01:00
flightlessmango
50d578973c presets: parsing: continue if empty line 2023-11-09 18:41:34 +01:00
flightlessmango
fd4b06f876 preset: add hdr to 3 2023-11-07 21:19:06 +01:00
flightlessmango
941c4e21a5 add refresh_rate and hdr to preset 4 2023-11-07 20:55:20 +01:00
flightlessmango
94a8dfb658 Add hdr and refresh rate options 2023-11-07 20:55:06 +01:00
flightlessmango
c51385ab2c fps_metrics: fix case where it wouldn't clean up properly 2023-11-04 18:49:39 +01:00
flightlessmango
9411963ad9 intel: rework into c++ class
This allows us to properly clean up the thread and popen when exiting
2023-11-04 17:23:13 +01:00
flightlessmango
0849ae42b8 remove accidental debug stuff 2023-10-31 15:56:02 +01:00
flightlessmango
48f8db420b add fps_metrics param
fps_metrics takes a list of decimal value between 0.001-0.9 or avg
2023-10-31 15:45:33 +01:00
flightlessmango
f351515265 Fix gpu_fan for AMD
It was incorrectly checking deviceID instead of vendorID.
We also use hwmon for fan reading just in case.
2023-10-31 15:04:53 +01:00
AndreFGard
2c32046770 Fix gpu_voltage option in the config file
Separate the comment 'Only works on AMD GPUs' from the gpu_voltage option itself, because they were appended, therefore invalidating the option
2023-10-30 06:38:41 +01:00
Joshua Ashton
9393066ef8 overlay: Fix crash when table_columns is 0
Can happen from config file sometimes.
2023-10-24 03:24:59 +02:00
Alessandro Toia
1613276182 mangohud bin: make sure script is posix compliant 2023-10-23 15:53:19 -07:00
Alessandro Toia
672d6481cc mangohud bin: add an array of items to disable LD_PRELOAD, added cs2.sh to DISABLE_LD_PRELOAD 2023-10-20 16:40:34 -07:00
FlightlessMango
84daa06581 mangohud biun: dlsym: don't shift when env variable 2023-10-17 14:24:08 +02:00
FlightlessMango
1462716bf0 Re-introduce MANGOHUD_DLSYM
[skip ci]
2023-10-17 14:10:28 +02:00
Alessandro Toia
81941faa8c overlay_params: Fix not using mangohud defaults with no conf present 2023-10-15 09:42:49 -07:00
Tianhao Chai
29058a09bb nvctrl: call XDefaultScreen for screen id (#1152)
Calling nvctrl XNVCTRLIsNvScreen with X display ID used for screen id is
a programmer error. For most common use cases, Gnome on X11 may launch
user sessions on X display ":1" but still uses screen 0. Current code
will always fail to find a correct display in this case, as both
`IsNvScreen(":0", 0)` and `IsNvScreen(":1", 1)` returns false.

Call XDefaultScreen with `struct Display *` to obtain the correct screen
id, then use this id for `IsNvScreen()`.
2023-10-13 08:54:06 +02:00
Alessandro Toia
2b29f2d89d spdlog: default to debug level fix 2023-10-11 20:34:21 -07:00
Bill Li
fbc9cb3175 pkgbuild: update source for sdplog to 1.12.0 2023-10-11 15:15:46 +02:00
Alessandro Toia
7d51113e16 hud_elements: fix missing exec_list in sort_elements 2023-10-10 22:06:36 -07:00
FlightlessMango
50989b7307 blacklist: remove wine64-preloader 2023-10-11 03:37:42 +02:00
FlightlessMango
4e06a50010 spdlog: bump version 1.12.0 2023-10-10 11:11:57 +02:00
FlightlessMango
69db780e59 spdlog: disable external_fmt 2023-10-10 11:10:40 +02:00
FlightlessMango
6effe1b201 spdlog: default to debug level 2023-10-10 11:08:07 +02:00
FlightlessMango
1fc0d640ff meson: mangoplot option 2023-10-10 10:55:45 +02:00
FlightlessMango
e5df3a183d spdlog: always use macro 2023-10-10 07:18:16 +02:00
Alessandro Toia
b26baa21fc fix accidental deletion 2023-10-09 19:27:46 -07:00
Alessandro Toia
c925688954 Cast procName to const char* to be able to print with SPDLOG 2023-10-09 19:21:57 -07:00
Alessandro Toia
30c7755111 Fix build error with fmt lib 2023-10-09 18:22:37 -07:00
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