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
Alessandro Toia
d855dc6691
Also change delimiter for media_player_order to +
4 years ago
Alessandro Toia
6ee6663fb6
Change delimiter for cpu and gpu load change and color to +
4 years ago
Alessandro Toia
e4fe24a051
Use "+" as a delimiter for param blacklist
4 years ago
Alessandro Toia
ef05ab2f20
Parse blacklist with parse_str_tokenize
4 years ago
Alessandro Toia
7c80dc53ef
Allow users to add a new item to the blacklist from config file
4 years ago
jackun
1e8487c991
Move color conversion to HudElements; move some overlay related functions back to overlay.cpp
4 years ago
FlightlessMango
44d5546ba5
Add param table_columns
4 years ago
flightlessmango
ce6a87823b
Merge pull request #388 from flgx16/cpu_power
...
Add cpu_power
4 years ago
flightlessmango
f91e4f9a33
Merge pull request #395 from gort818/no_ms
...
Add param to enable/disable fps milliseconds text
4 years ago
FlightlessMango
7e93453a77
Changed fps_limit's delimiter to +
4 years ago
Alessandro Toia
92146c5833
Add frametime param to enable/disable frametime data next to fps
4 years ago
FlightlessMango
e5015283a8
cellpadding_y param
4 years ago
jackun
60ffab4350
Add `no_small_font` option for unified font size
4 years ago
Lukáš Horáček
3726c90c7a
Add cpu_power
4 years ago
FlightlessMango
366de9a9dd
Legacy elements
4 years ago
FlightlessMango
cc38924997
Added graphs
4 years ago
FlightlessMango
6e7747c73c
Add sorting for env var
4 years ago
FlightlessMango
aebd3353ab
Move most hud elements into HudElement functions
4 years ago
Alessandro Toia
2496ab3541
After parsing load colors make sure it has a size of 3
4 years ago
FlightlessMango
b9b20d1117
Remove render_mango as it's no longer needed
4 years ago
Alessandro Toia
c53939587a
Consolidate gpu/cpu load value config
4 years ago
Alessandro Toia
daa23d49db
Consolidate cpu load color config
4 years ago
Alessandro Toia
e1269a18ff
Consolidate gpu load color config
4 years ago
Alessandro Toia
5e486df67f
Fix spacing
4 years ago
Alessandro Toia
17ae055161
Disable cpu/gpu load change from full param output
4 years ago
Alessandro Toia
dc0b3a9955
Set param defaults for load color change
4 years ago
Alessandro Toia
1c0a5af001
Implement cpu load color change
4 years ago
Alessandro Toia
d7f04deb56
Implement gpu load color change
4 years ago
FlightlessMango
cb8d992bfe
Use real_font_size for padding
4 years ago
jackun
0bc9949af9
Default toggle FPS limit to Shift_L+F1, update README and config file
4 years ago
ZakMcKrack3n
73e6e31301
toggle fps limiter via hotkey, fps_limit may be set to multiple values
...
(e.g. 0,30,60).
fps toggle toggles between entries where zero means unlimited
4 years ago
jackun
a6dc259ea4
Remove unused sysinfo header
4 years ago
FlightlessMango
86703ee364
Win32 keybinds
4 years ago
FlightlessMango
ff5d85a4a5
Win32 overlay_params
4 years ago
jackun
cec98369ae
Include array, explicitly
4 years ago
FlightlessMango
4f64e1403a
Deprecation message for output_file
4 years ago
Alessandro Toia
632f1e7000
Add wine and wine colors to overlay
4 years ago
FlightlessMango
ac85815d82
Changed output_file to output_folder
4 years ago
FlightlessMango
8a39043a13
Merge branch 'master' into develop
4 years ago
FlightlessMango
ce80203ee6
Minimal hud for recording
4 years ago
FlightlessMango
a06e01c7ef
Merge branch 'develop'
4 years ago
FlightlessMango
4fd1c5f3e7
Fixed some basic errors
4 years ago
FlightlessMango
6a443f35ac
Upload multiple logs
4 years ago
jackun
b07db5d3ef
[dbus] Don't clear metadata when reloading config file
4 years ago
flightlessmango
c046c250d8
Merge branch 'develop' into benchmark-percentages
4 years ago
jackun
5ce6bcb79c
Set target frametime only if fps_limit > 0
4 years ago
jackun
55430d7571
Initialized fps limiter or wait for 300 years
4 years ago
Lars Krämer
6dd08c89bc
Use fallback only if no player was requested;
...
Request no player by default
4 years ago
Lars Krämer
6484e09f01
Implement wrapper class for DBusMessageIter
...
Implement for_each-style helpers for common constructions
Reimplement most of the DBus message parsing in terms of these
4 years ago
Lars Krämer
5850643db4
Change the media player functionality to allow changing active media
...
player
4 years ago
flightlessmango
eafa62356b
Merge branch 'develop' into benchmark-percentages
4 years ago
jackun
c63037efb5
Use 1-channel font textures; glyph ranges support; vulkan image descriptors and "helper" functions
...
* To save some memory, use just 1-channel alpha-only textures
* Add some sort of wider glyph ranges support
* Chop single-ish vulkan font image uploading function into separate reusable helper functions
* Use descriptor set for ImTextureID but probably use texture array and push constants for "fast-path" if need arises
4 years ago
Lars Krämer
20221217d4
Frame-timing using chrono
4 years ago
Kingsley McDonald
0e1fe708c8
make use of new float parsing function
...
i've also moved the input validation checks to the config parser, so that
warnings aren't displayed in the terminal output every time a benchmark is
run with an invalid percentile entry.
4 years ago
Kingsley McDonald
979c4d32ca
oops! i didn't save changes from the merge conflict >.<
4 years ago
Kingsley McDonald
aa77a351de
implement configurable benchmark percentiles.
4 years ago
FlightlessMango
064c285f31
permit_upload and upload_log params
4 years ago
jackun
441f1d3f3f
Use std::locale::classic() in parse_float()
4 years ago
jackun
e1fb2fbf88
Parse floats in C locale, hopefully
4 years ago
jackun
5ec6519832
Add `media_player_order` to set media player metadata order
4 years ago
FlightlessMango
d41909321a
More width fixing
4 years ago
FlightlessMango
0728d49a1d
Fix width with no params
4 years ago
FlightlessMango
816d6ca515
Fixing hud width issues
4 years ago
FlightlessMango
6d1ed9751d
Changed default keybinds
4 years ago
jackun
a236af66ee
Lock metadata mutexes in case they are cleared by inotify thread
4 years ago
jackun
16b05dfc5e
Show gpu core clock or power usage in 4th column or both on next row if both are enabled
4 years ago
FlightlessMango
3d503c9f29
Don't enable histogram with full param
4 years ago
FlightlessMango
d8727110b0
Replaced log_period env with log_interval param
4 years ago
FlightlessMango
2d0ba9a076
Params to override cpu/gpu text
4 years ago
jackun
699de56fa1
[dbus] clear non-main players' metadata on dbus deinit
4 years ago
jackun
c04658456a
Wider glyph ranges for custom font; media player text scaling with `font_scale_media_player` param
4 years ago
jackun
15ed8df404
Fix keybinds init when building without X11
4 years ago
jackun
ff48525313
Consolidated amdgpu file handles to a struct and add `gpu_power` param to show power usage for amdgpu/nvml
4 years ago
jackun
9b595cef1a
[dbus] clear metadata on re-init; don't use exceptions
4 years ago
FlightlessMango
1d375fd155
Removed crosshair
4 years ago
jackun
613fa68491
Use `+` as keybind delimiter
4 years ago
jackun
c5bb35c10d
Merge branch '159' into develop
4 years ago
Valters
1afea91dab
Add multi hotkey
4 years ago
jackun
a27ee0dc39
Generalize initial metadata error message
4 years ago
jackun
d694a61d21
Add `media_player_name` and `media_player_color` params
...
Allows to set "main" media player and text color
4 years ago
jackun
768297b430
[editorconfig] Apply whitespace rules
4 years ago
FlightlessMango
3f4949f593
Added top-center overlay position
4 years ago
FlightlessMango
0eaba7bb6c
Removed obsolete license from params
4 years ago
jackun
0ab53a1c06
Move MANGOHUD_PCI_DEV to config file param 'pci_dev'
...
Relax format requirements as long as it loosely resembles 'domain🚌 slot.func' format.
4 years ago
jackun
cf5eb9e9a5
ifdef-guard dbus_info.h include
4 years ago
jackun
e5a256bfc0
Move DBus init to overlay_params so it can be enabled/disabled on the fly from a single place
4 years ago
jackun
8cd3172335
[OpenGL] Separate GLX out from shareable code so wayland sessions can just use EGL, hopefully
4 years ago
jackun
2f034c6d1e
Use X11 loader functions instead of linking to X11 libs
4 years ago
jackun
f8cc3bbf06
[config] Allow fps_limit=0 or commenting it out to disable fps limit
4 years ago
jackun
cf17f70dab
Remove unused statistics related code
4 years ago
jackun
341aa21b87
[config] Move options map and config_file_path to overlay_params
4 years ago
jackun
b0f36fad31
Expand paths only
4 years ago
FlightlessMango
b0e1fe9321
[params] set targetFrameTime in params.cpp
4 years ago
jackun
6e40f9bdd5
Expand tilde to home dir if string param start with `~`
4 years ago
jackun
2e3f8077cb
Remove parse_output_file
4 years ago
jackun
da9120f971
Add parse_signed() for gl_sync
4 years ago
jackun
125dbc1403
[OpenGL] Allow swap interval of -1 for adaptive sync, if supported
4 years ago
FlightlessMango
e24f5dfc8b
added log_duration param and updated readme
4 years ago
FlightlessMango
8641392ca7
added MANGOHUD_FONT to params as font_file
4 years ago
FlightlessMango
d1bdf71580
added MANGOHUD_OUTPUT to params as output_file
4 years ago
FlightlessMango
fe69ec2955
changed refresh_config to reload_cfg
4 years ago