Commit Graph

287 Commits (master)

Author SHA1 Message Date
Alessandro Toia 3daf7d73b3 param: horizontal_stretch 1 year ago
jackun 95b7b44b6f
Nuke `io_stats`, `io_read/write` params are enough 1 year ago
Arvind Doobary d41a74ca1a
Show amdgpu junction and memory temp, if available
Added config parameter `gpu_junction_temp` and `gpu_mem_temp`

Closes #841
1 year ago
jackun 238a621c11
Use snprintf instead 1 year ago
FlightlessMango 83d265637e params: preset 4: add throttling 1 year ago
FlightlessMango 69e4b2d877 params: update preset 4 1 year ago
FlightlessMango 7f945627f5 params: fix issue where env options were not applied 1 year ago
FlightlessMango 7225aaa628 parse_overlay_env: don't use sort_elements here 1 year ago
FlightlessMango 8f79e9cef3 sampler: don't apply picmip unless it's set in config 1 year ago
FlightlessMango 070fa1be84 presets: don't clear options when parsing 1 year ago
FlightlessMango 915a3babad Add preset param and allow for preset config 1 year ago
FlightlessMango ce5e0683f0 Nearest filter param 1 year ago
FlightlessMango 4fb0bb328b Bicubic filtering param 1 year ago
FlightlessMango de29e057de Trilinear filtering param 1 year ago
FlightlessMango 5fe07a0ac3 Anisotropic filtering param 1 year ago
FlightlessMango 9b9e6e7b68 Sampler hook and picmip param 1 year ago
Hannes Mann f92c8b1b76 overlay_params: Add FPS limit method 1 year ago
Artem Polishchuk d323752d0b build: Fix building with GCC 13 1 year ago
Emil Velikov b714f54cd4 dbus: reshuffle HAVE_DBUS handling
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
1 year ago
Emil Velikov 535c1f0a83 mangoapp: reshuffle ifdef MANGOAPP guards
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
1 year ago
FlightlessMango f883e2cba1 set log_interval to 0 by default 1 year ago
FlightlessMango 03d64e5afb params: exec_name 1 year ago
FlightlessMango 7dee12a75a params: toggle_hud_position 2 years ago
FlightlessMango 61596104ce params: hud_compact default off 2 years ago
FlightlessMango ebb0f969de params: don't enable hud_no_margin and log_versioning with full 2 years ago
FlightlessMango 57c4e4e6c2 increase width based on table_columns 2 years ago
FlightlessMango d0a1c4ea07 horizontal view and hud_no_margin 2 years ago
FlightlessMango e9a7865a90 logger: reinit on config reload 2 years ago
tisim 732439b8e6 changing Logger class from struct pointer to 3 variables
removing commented line of code
2 years ago
Alessandro Toia bab3529c74 If fps_only is enabled then disable legacy_layout 2 years ago
Alessandro Toia 22abf62b76 Disable fcat when full is present in conf file 2 years ago
Alessandro Toia 3f15f2322f Disable fcat when using MANGOHUD_CONFIG=full 2 years ago
Alessandro Toia b699b16d2a gamepad: disable gamepad_battery_icon by default 2 years ago
jackun f680c28f1f
Generalize control over socket so it works with OpenGL too 2 years ago
PMunkes 6a010d8eab Introduce FCAT overlay support
This introduces support to overlay FCAT markers on top of other HUD elements.
For more information about nVidia's FCAT tool see: https://nvidia.com/en-us/geforce/technologies/fcat/technology
This patch includes support for the existing parameter infrastructure and it is fully dynamic.

Squashed commit:

Refactor FCAT to use existing parameter handling infrastructure

With this patch the FCAT overlay should be hooked up into the normal
parameter handling infrastructure. This includes support for
configuration file options, which are also part of this commit.
2 years ago
jackun b404fb948e
Set width by `table_columns` if not specified. Set "text" values to next column with `no_small_text` 2 years ago
FlightlessMango 19fbd9bf9b Nvidia: only do throttling checks if enabled 2 years ago
Emil Velikov 1dfb14da47
overlay_params: make parse_overlay_env() static
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2 years ago
Emil Velikov 6f85e388e5
overlay_params: mutate log_interval just after parsing
Currently we mutate the log_interval (if mangoapp is built), within the
logger itself. Move that to parse_overlay_config() where the actual
value is being parsed/set.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2 years ago
jackun 73da29d4ad
Try to init spdlog a bit earlier 2 years ago
Emil Velikov 9c6de0271f overlay: completely remove force_amdgpu_hwmon option
No longer applicable, since the libdrm path is gone and hwmon is
required - either partially or in full.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2 years ago
FlightlessMango 8b801e8435 don't set hide_fsr_sharpness with full 2 years ago
FlightlessMango 0402fa4ab5 mangoapp: fsr_steam_sharpness 2 years ago
FlightlessMango 5c984e7b80 mangoapp: fsr_steam_sharpness 2 years ago
FlightlessMango b1fdbc3a5b Disable gamemode dbus for now 2 years ago
Emil Velikov 8ac81477d9 Remove unused parseConfigFile() return type
Was briefly introduced a while ago and the only user was been dropped
since then.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2 years ago
Alessandro Toia 74b328d209 gamepad: add option to disable icon and show capacity instead 2 years ago
Alessandro Toia 4be3ba20c2 GAMEPAD: add battery reporting for gamepad devices
(xone,xpadneo,ds4,ds5,switch)
2 years ago
FlightlessMango 316914da8d mangoapp: fixed mangoapp not respecting no_display 2 years ago
FlightlessMango 44a335a809 mangoapp: mangoapp_steam bool 2 years ago
FlightlessMango 6521eaa82d mangoapp: hide hud by default 2 years ago
FlightlessMango 339f5c0d11 mangoapp: hide when steam is focused 2 years ago
flightlessmango a76f2a9677
Merge pull request #684 from Joshua-Ashton/no_display_default_mapp
Enable no_overlay by default with mangoapp
2 years ago
FlightlessMango 5373140341 Don't enable battery_icon with full 2 years ago
Joshua Ashton beecde110b Enable no_overlay by default with mangoapp
Don't want this displaying unless explicitly requested.
2 years ago
FlightlessMango 6983c2ec39 Use gpu_metrics instead of libdrm when available 2 years ago
Joshua Ashton b99817fd2b mangoapp: Don't redraw if we don't have new frames 2 years ago
Joshua Ashton da8b0cbad4 mangoapp: Fix usage of notify_one in condition variable
This should be outside of the lock_guard scope to avoid a deadlock.
2 years ago
FlightlessMango 9c15d093d6 Only reset logger if param is not set 2 years ago
Alessandro Toia 2455d7ae9e Disable fps_color_change and core_load_change when using full config 2 years ago
Alessandro Toia 21ecb48214 Fix fps not showing when using full config 2 years ago
FlightlessMango 498687c33d mangoapp: let gamescope decide when to send updates 2 years ago
FlightlessMango 77e4d51d87 calculate and show mins in benchmark 2 years ago
FlightlessMango 7071900a79 Disable fps_only when using full param 2 years ago
FlightlessMango 496fa0babc mangoapp: shutdown and reinit based on no_display 2 years ago
FlightlessMango a1b7b55a54 Use hudelements params in logging 2 years ago
Alessandro Toia 15fc641fc3 Add fps_only param to disable showing the engine name 2 years ago
jackun 9b6a39dfe9
sed s/gnu_linux/linux/g 3 years ago
jackun 729ccc83bd
Use spdlog's 'fmt' to format media player metadata
Usage:
  media_player_format={title};{artist};{album}

Semi-colon breaks to new line, might change.
3 years ago
jackun 31e879215a
[dbus] Also check if gamemode is enabled with D-Bus 3 years ago
jackun 866fd8bc24
Add per process memory usage (`procmem` etc) 3 years ago
jackun a82e27d978
Use spdlog macros so logging can be completely disabled during compile-time 3 years ago
jackun 2f807a4c0d
Add `spdlog` wrap and logging 3 years ago
Joshua Martin 3b0b6fbc42
Add position options to place the overlay halfway down the screen (#561) 3 years ago
flightlessmango 428ddf4e8a
Merge pull request #536 from flightlessmango/battery_test
Battery info and font awesome icons
3 years ago
Joshua Ashton 815097718e Use nanoseconds to calculate fps
No need to round this earlier on.

Removes an unnecessary implicit float -> double conversion in the calculation also
3 years ago
Alessandro Toia 105ad9c2be Check for batteries only once 3 years ago
Alessandro Toia 1ab25220c6 Add param to check battery power and percent 3 years ago
Alessandro Toia 36ec9ef41a Add round_corners param 3 years ago
jackun afa50a17c4
[OpenGL] Add gl_size_query, gl_bind_framebuffer, gl_dont_flip options for workarounds
`gl_size_query = viewport` - specify what to use for getting display size. Options are "viewport", "scissorbox" or disabled. Defaults to using glXQueryDrawable.
`gl_bind_framebuffer = 0` - (re)bind given framebuffer before MangoHud gets drawn. Helps with Crusader Kings 3.
`gl_dont_flip = 1` - don't swap origin if using GL_UPPER_LEFT. Helps with Ryujinx.
3 years ago
jackun 4d4444e1c5
Allow overriding config file options with MANGOHUD_CONFIG if using legacy layout 3 years ago
jackun f77a73ce8a
Fix scoped_lock clash with >= c++17 3 years ago
jackun 53cca5e723
Merge remote-tracking branch 'origin/master' into develop 3 years ago
flightlessmango e57be394d7
Merge pull request #428 from flgx16/swap
Add swap
3 years ago
jackun 72f1ec094c
Don't continue parsing configs if process is blacklisted 3 years ago
FlightlessMango c54f8bec5d Hud elements exec function 4 years ago
Lukáš Horáček f11a49ae8b
Add swap 4 years ago
Alessandro Toia 80004d3fe0 Chnage fps color based on fps value 4 years ago
Alessandro Toia 75d9e51445 Remove custom_header, add new params custom_text_center and custom_text 4 years ago
Alessandro Toia b77517501c Add new param custom_header 4 years ago
Witold Baryluk 6a1028b17e
Fix some MESA inherited references in overlay params
MANGOHUD_CONFIG as used.

MANGOHUD printf prefix.
4 years ago
Alessandro Toia 8e873fe547 Remove more "not" and "and" in if statments
Rename dbus_helpers.hpp to dbus_helpers.h
4 years ago
Alessandro Toia ed0c7a344d Add new param 'core_load_change' to change colors of cpu core load depending on load % 4 years ago
jackun e0f79d9435
Escape spaces in file names for `wordexp` v2 but just append to stringstream 4 years ago
jackun 0309b6bbb9
Escape spaces in file names for `wordexp` 4 years ago
jackun fda43f5727
Use str_tokenize for multiple delimiters 4 years ago
FlightlessMango 4505bba6bd Check if logger is active before autostarting 4 years ago
FlightlessMango 3827fe96d4 Add autostart_log param 4 years ago
jackun ee2933bff5
Resize fonts 4 years ago
Alessandro Toia 8cad40cfac Change order of cpu/gpu load colors and data 4 years ago