Commit Graph

1897 Commits

Author SHA1 Message Date
e2dk4r
d30cf162c1 cpu: temp: add hardware monitoring of asus boards 2024-01-21 00:41:48 +01:00
flightlessmango
3cee6f15de fps_metrics: don't erase elements until after 10min uptime 2024-01-19 19:56:39 +01:00
flightlessmango
d4a66ccf7e fps_metrics: don't try to access out of range 2024-01-18 15:54:31 +01:00
John Zimmermann
cfc51ec99f meson: allow setting absolute path instead of 'Dynamic string tokens'
resolves #601
2024-01-15 13:45:44 +01:00
John Zimmermann
a4332733c3 elfhacks: d_un.d_ptr is relative on non glibc systems
elf(5) documents it this way, GLIBC diverts from this documentation

partial fix for #601
2024-01-15 13:45:44 +01:00
Alessandro Toia
733fbe03fa Hud_elements: fix formatting for device_battery when in horizontal layout 2024-01-14 11:41:07 -08:00
Ryan Houdek
267a431eef Implement support for Adreno GPUs through the msm kernel interface
Tested in both OpenGL and Vulkan and it gets the GPU load percentage
correctly.
2024-01-11 18:24:07 +01:00
Ryan Houdek
511f4fc303 gl_hud: Add freedreno detection 2024-01-11 18:24:07 +01:00
flightlessmango
38cec48f93 elements: time: fix for horizontal 2024-01-07 12:59:42 +01:00
flightlessmango
c33ce2b734 amdgpu: hwmon: check for power1_input
Some GPUs don't support power1_average and only power1_input.
Some GPUs support both. We check if power1_average exists first, then
fallback to power1_input
2024-01-07 12:37:54 +01:00
flightlessmango
86e49da174 Add winesync param 2023-12-29 11:16:43 +01:00
flightlessmango
c8c987dadb amdgpu: include gpu_metrics v2_4
But still use v2_3 for now. We need more testing before enabling v2_4
for older kernel versions
2023-12-26 03:54:28 +01:00
flightlessmango
971791d5da amdgpu: use v2_3 for v2_4
In kernel 6.6 v2_4 was added. This causes us to not find a version to use
as we limited by content rev 3.
For now we'll just limit by 4 instead and use the old v2_3 struct
2023-12-23 12:42:15 +01:00
flightlessmango
53281f3f2c frame_timing: don't use implot for horizontal 2023-12-23 11:10:38 +01:00
flightlessmango
1d357e17c8 autostart_log: rework without threading
Using any kind of sleep or while loop causes a crash when running in wine.
So let's not do that.
2023-12-22 02:57:35 +01:00
flightlessmango
adbafe1450 action: package: install hub
https://github.com/actions/runner-images/issues/8362
hub has been removed by default but can still be installed through apt
2023-12-21 04:22:12 +01:00
flightlessmango
c38132c964 text_outline_color: fix BGR TO RGB
Previously the outline color would swap the blue and green, making it
inconsistent with how other colors function
2023-12-10 11:50:00 +01:00
flightlessmango
9998593d92 cpu: temp: look for TSI0_TEMP 2023-12-09 13:49:08 +01:00
flightlessmango
73a6c5624e param: frame_timing_detailed 2023-12-09 13:49:08 +01:00
Alessandro Toia
0394bbefd2 Hud_elements: fix formatting for device_battery 2023-12-05 21:47:57 -08:00
Bill Li
67193e2ad2 meson: Install example configuration file for presets.conf 2023-12-05 16:05:11 +01:00
flightlessmango
c5c82dbbae param: time: add a title 2023-12-02 11:22:26 +01:00
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