flightlessmango
8732ada5a6
graphs: fix incorrect padding
1 month ago
flightlessmango
6edb590b9a
wayland: keybinds: make sure we have wl_display_ptr
...
Co-authored-by: Etaash Mathamsetty <etaash.mathamsetty@gmail.com>
1 month ago
flightlessmango
1baecfc493
network: fix mingw build
2 months ago
flightlessmango
a4862f5461
param: network
...
This param shows the throughput in kb/s for each interface or for
user specified interfaces
2 months ago
flightlessmango
66d5ce43d2
mangoapp: add GAMESCOPE_NO_FOCUS property
2 months ago
Joshua Ashton
baa06da2ad
main: Check for error in msgrcv
2 months ago
Joshua Ashton
7c7cb9a1dc
Revert "main: Don't resize the window if we aren't horizontal"
...
Seems to regress on some systems, I need to look into why at some point :/
This reverts commit 7349a1cf29
.
2 months ago
Alessandro Toia
83af57a9b3
wayland_hook: make sure wl_handle is not null and lib is loaded
2 months ago
Alex Maese
2aa604278e
Add support for 'preset' option in MANGOHUD_CONFIG
2 months ago
Joshua Ashton
7349a1cf29
main: Don't resize the window if we aren't horizontal
...
Fixes weird janking when using this in Gamescope and the window gets resized
3 months ago
flightlessmango
2e0197718b
nvctrl: change some errors to debug
3 months ago
Alessandro Toia
d1d44f94c9
blacklist: add Paradox Launcher
3 months ago
Etaash Mathamsetty
732629e5a0
Implement Wayland hotkeys
3 months ago
FlightlessMango
98e442ba7f
gpu: fan: set fan_rpm true for amdgpu metrics
3 months ago
FlightlessMango
c80c2093cc
gpu_fan: fixed typo from refractoring
3 months ago
FlightlessMango
3dfd772363
winesync: Fix dangling pointer issue in filename handling
3 months ago
FlightlessMango
45671161c4
gpu_fan: rewrite rpm/% indication
3 months ago
FlightlessMango
ab3b22ec12
exec: refractor std::unique_ptr deleter
3 months ago
FlightlessMango
46b6fa7fed
config: override preset options with config options
...
Any options in the config will override anything in a preset.
This allows users to make small changes to a preset
3 months ago
FlightlessMango
d2b9458a46
present_mode: set to FIFO is not available
...
When a present mode is not available for some reason, then vulkan fallsback
to FIFO. So we just say it's FIFO and call it day.
3 months ago
FlightlessMango
95141de657
reset_fps_metrics: check that metrics is inited first
3 months ago
PedroHLC ☭
cba217ffaf
meson: add dep_vulkan to mangoapp and test_amdgpu
3 months ago
FlightlessMango
e64e4788ef
param: time_no_label
3 months ago
FlightlessMango
bd37645dfd
frametime: color: wasn't being inherited from colors
3 months ago
FlightlessMango
48d84262cd
fps_metrics: ignore fps values below 0.001
3 months ago
FlightlessMango
0ab4c25343
present_mode: account for app requested mode
3 months ago
FlightlessMango
2bc323b2ed
param: present_mode
...
This parameter displays the current present mode being used in vulkan or
the vsync status in opengl
3 months ago
flightlessmango
fc54f48257
cpu temp: don't use nct if no TSI0_TEMP
...
If nct doesn't have TSI0_TEMP then it won't have any cpu temp readings.
In that case we want to make sure we don't use nct module.
This happens on intel platforms and as such we should be using coretemp
instead
3 months ago
FlightlessMango
62fee600d1
fps_metrics: remove debug
4 months ago
FlightlessMango
4969eed348
param: reset_fps_metrics
4 months ago
e2dk4r
d30cf162c1
cpu: temp: add hardware monitoring of asus boards
4 months ago
flightlessmango
3cee6f15de
fps_metrics: don't erase elements until after 10min uptime
4 months ago
flightlessmango
d4a66ccf7e
fps_metrics: don't try to access out of range
4 months ago
John Zimmermann
cfc51ec99f
meson: allow setting absolute path instead of 'Dynamic string tokens'
...
resolves #601
4 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
4 months ago
Alessandro Toia
733fbe03fa
Hud_elements: fix formatting for device_battery when in horizontal layout
4 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.
4 months ago
Ryan Houdek
511f4fc303
gl_hud: Add freedreno detection
4 months ago
flightlessmango
38cec48f93
elements: time: fix for horizontal
4 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
4 months ago
flightlessmango
86e49da174
Add winesync param
5 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
5 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
5 months ago
flightlessmango
53281f3f2c
frame_timing: don't use implot for horizontal
5 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.
5 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
5 months ago
flightlessmango
9998593d92
cpu: temp: look for TSI0_TEMP
5 months ago
flightlessmango
73a6c5624e
param: frame_timing_detailed
5 months ago
Alessandro Toia
0394bbefd2
Hud_elements: fix formatting for device_battery
5 months ago
flightlessmango
c5c82dbbae
param: time: add a title
6 months ago
flightlessmango
56b23d7c12
presets: remove version from 4
6 months ago
Joshua Ashton
d5f6f44c26
overlay_params: Enable "debug" by default on 4
6 months ago
Joshua Ashton
aeae2a00ac
app: Support for setting only frametime/app frametime
6 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!
6 months ago
flightlessmango
f168483c3e
intel: don't try to get fdinfo if not found
6 months ago
flightlessmango
dcb8741581
config env: trim key and value
6 months ago
flightlessmango
60779dda9a
params: graphs: fix for legacy layout
6 months ago
Alex Maese
b3fa8f5c29
Presets: Add ability to specify preset_path via env variables
6 months ago
flightlessmango
ea725ed1d2
mangoapp: revert the msg key
6 months ago
flightlessmango
b1ae5b87c7
mangoapp: init spdlog
6 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
6 months ago
flightlessmango
669f6f96a1
params: preset: remove debug
6 months ago
flightlessmango
50d578973c
presets: parsing: continue if empty line
6 months ago
flightlessmango
fd4b06f876
preset: add hdr to 3
6 months ago
flightlessmango
941c4e21a5
add refresh_rate and hdr to preset 4
6 months ago
flightlessmango
94a8dfb658
Add hdr and refresh rate options
6 months ago
flightlessmango
c51385ab2c
fps_metrics: fix case where it wouldn't clean up properly
6 months ago
flightlessmango
9411963ad9
intel: rework into c++ class
...
This allows us to properly clean up the thread and popen when exiting
6 months ago
flightlessmango
0849ae42b8
remove accidental debug stuff
7 months ago
flightlessmango
48f8db420b
add fps_metrics param
...
fps_metrics takes a list of decimal value between 0.001-0.9 or avg
7 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.
7 months ago
Joshua Ashton
9393066ef8
overlay: Fix crash when table_columns is 0
...
Can happen from config file sometimes.
7 months ago
Alessandro Toia
81941faa8c
overlay_params: Fix not using mangohud defaults with no conf present
7 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()`.
7 months ago
Alessandro Toia
7d51113e16
hud_elements: fix missing exec_list in sort_elements
7 months ago
FlightlessMango
50989b7307
blacklist: remove wine64-preloader
7 months ago
FlightlessMango
e5df3a183d
spdlog: always use macro
7 months ago
Alessandro Toia
b26baa21fc
fix accidental deletion
7 months ago
Alessandro Toia
c925688954
Cast procName to const char* to be able to print with SPDLOG
7 months ago
Alessandro Toia
30c7755111
Fix build error with fmt lib
7 months ago
FlightlessMango
363b6530cf
meson: define DEBUG if debug
7 months ago
Alessandro Toia
5f05f67e22
overlay_params: print all params and values to debug
7 months ago
FlightlessMango
544856b174
spdlog: handle log level with MANGOHUD_LOG_LEVEL
7 months ago
Alessandro Toia
f40b32fc45
hud_elements: include <map> header
7 months ago
Alessandro Toia
381e593f6b
hud_elements: rework sort_elements for maintainability
7 months ago
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
7 months ago
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.
7 months ago
FlightlessMango
e85c580de3
implot: set default library static
7 months ago
FlightlessMango
8bda2a2a04
hud elements: custom_text fix missing popfont in code path
8 months ago
FlightlessMango
b32e6b299c
hud elements: custom_text guard for out of range
8 months ago
FlightlessMango
d962ae5181
Nvidia: nvml: fan speed in percent
8 months ago
Self Denial
0341e28e05
Move num_coolers to global var & update at init within checkXNVCtrl().
8 months ago
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
8 months ago
Alessandro Toia
10c0f608fd
file_utils: add remove_parentheses function and use it for gpu_name
8 months ago
Alessandro Toia
cd87e22dc3
hud_elements: bump buffer size of TextColored to 128
8 months ago
John Zimmermann
23c9b50742
meson: fallback to project_version() without git
...
resolves #1131
8 months ago
FlightlessMango
13164b01ad
logging: fix percentiles miscalculation
8 months ago
Alessandro Toia
4bc55bf966
hud_elements: increase buffer size of TextColored to prevent truncation
8 months ago
FlightlessMango
fb1bf07dbb
frametime: padding between text and graph
8 months ago
FlightlessMango
bef35591f8
hud compact: battery: don't show decimals watt
8 months ago