John Zimmermann
cfc51ec99f
meson: allow setting absolute path instead of 'Dynamic string tokens'
...
resolves #601
6 months ago
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
6 months ago
Alessandro Toia
733fbe03fa
Hud_elements: fix formatting for device_battery when in horizontal layout
6 months ago
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.
6 months ago
Ryan Houdek
511f4fc303
gl_hud: Add freedreno detection
6 months ago
flightlessmango
38cec48f93
elements: time: fix for horizontal
6 months ago
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
6 months ago
flightlessmango
86e49da174
Add winesync param
6 months ago
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
6 months ago
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
6 months ago
flightlessmango
53281f3f2c
frame_timing: don't use implot for horizontal
6 months ago
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.
6 months ago
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
6 months ago
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
7 months ago
flightlessmango
9998593d92
cpu: temp: look for TSI0_TEMP
7 months ago
flightlessmango
73a6c5624e
param: frame_timing_detailed
7 months ago
Alessandro Toia
0394bbefd2
Hud_elements: fix formatting for device_battery
7 months ago
Bill Li
67193e2ad2
meson: Install example configuration file for presets.conf
7 months ago
flightlessmango
c5c82dbbae
param: time: add a title
7 months ago
flightlessmango
56b23d7c12
presets: remove version from 4
7 months ago
flightlessmango
4646e2e4f6
tests: fix missing variable for amdgpu
7 months ago
Joshua Ashton
d5f6f44c26
overlay_params: Enable "debug" by default on 4
7 months ago
Joshua Ashton
aeae2a00ac
app: Support for setting only frametime/app frametime
7 months ago
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!
7 months ago
flightlessmango
f168483c3e
intel: don't try to get fdinfo if not found
7 months ago
flightlessmango
dcb8741581
config env: trim key and value
7 months ago
flightlessmango
60779dda9a
params: graphs: fix for legacy layout
7 months ago
Alex Maese
b3fa8f5c29
Presets: Add ability to specify preset_path via env variables
8 months ago
flightlessmango
ea725ed1d2
mangoapp: revert the msg key
8 months ago
flightlessmango
b1ae5b87c7
mangoapp: init spdlog
8 months ago
flightlessmango
efebc4fe34
preset: 4: disable throttling graph
...
Until we've fined tuned this a bit more, let's not expose it by default
8 months ago
flightlessmango
669f6f96a1
params: preset: remove debug
8 months ago
flightlessmango
50d578973c
presets: parsing: continue if empty line
8 months ago
flightlessmango
fd4b06f876
preset: add hdr to 3
8 months ago
flightlessmango
941c4e21a5
add refresh_rate and hdr to preset 4
8 months ago
flightlessmango
94a8dfb658
Add hdr and refresh rate options
8 months ago
flightlessmango
c51385ab2c
fps_metrics: fix case where it wouldn't clean up properly
8 months ago
flightlessmango
9411963ad9
intel: rework into c++ class
...
This allows us to properly clean up the thread and popen when exiting
8 months ago
flightlessmango
0849ae42b8
remove accidental debug stuff
8 months ago
flightlessmango
48f8db420b
add fps_metrics param
...
fps_metrics takes a list of decimal value between 0.001-0.9 or avg
8 months ago
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.
8 months ago
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
8 months ago
Joshua Ashton
9393066ef8
overlay: Fix crash when table_columns is 0
...
Can happen from config file sometimes.
8 months ago
Alessandro Toia
1613276182
mangohud bin: make sure script is posix compliant
8 months ago
Alessandro Toia
672d6481cc
mangohud bin: add an array of items to disable LD_PRELOAD, added cs2.sh to DISABLE_LD_PRELOAD
8 months ago
FlightlessMango
84daa06581
mangohud biun: dlsym: don't shift when env variable
9 months ago
FlightlessMango
1462716bf0
Re-introduce MANGOHUD_DLSYM
...
[skip ci]
9 months ago
Alessandro Toia
81941faa8c
overlay_params: Fix not using mangohud defaults with no conf present
9 months ago
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()`.
9 months ago
Alessandro Toia
2b29f2d89d
spdlog: default to debug level fix
9 months ago