Commit Graph

119 Commits (mangoconfig)

Author SHA1 Message Date
FlightlessMango 8fca45ffe3 mangohud-setup.sh: install opengl libraries 8 months ago
FlightlessMango f38cc78996 add --version to mangohud script 10 months ago
FlightlessMango 30395ab947 mangohud script: use _opengl for LD_PRELOAD 10 months ago
Adel KARA SLIMANE 1a78c00f77 mangoplot: update color palette and font to harmonize with website 11 months ago
FlightlessMango f1b5ba34be mangohud bin: Don't append library multiple times in LD_PRELOAD 1 year ago
Adel KARA SLIMANE 6306fed7f7 Add mangoplot script
Displays frame time distributions from local files

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
1 year ago
jackun cac664bef1
Nuke MANGOHUD_DLSYM
[skip actions]
1 year ago
Emil Velikov 8c531b4833 mangohud: simplify variable handling
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
1 year ago
Emil Velikov f47f777e26 meson: unwrap ld_libdir_mangohud handling, remove ld_libdir_abs
Currently we have ld_libdir_abs which defaults to false. In that case,
both the mangohud shell wrapper, as well as the json files, reference
the DSOs directly without any path component.

This means that at run-time the dynamic linker, vulkan loader as well as
pressure-vessel will need to jump through hoops and figure out the
bitness of the DSO, whether one wants the 32 or 64bit one and even then
there will be confusing messages like:

fatal: /usr/lib/libMangoHud.so: wrong ELF class: ELFCLASS32

When set to true, as seen in the in-tree build.sh we'll append empty
path to LD_LIBRARY_PATH (bad), the full path with the $LIB token will be
used with LD_PRELOAD (good) and json files (bad).

Since we are generating separate json files, we can use the actual path
(while $LIB currently works, it's not really strict json nor documented
as supported). We can also drop the dubious LD_LIBRARY_PATH manipulation

This basically reinstates the prepend_libdir_vk=true option that was
dropped earlier.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
1 year ago
Emil Velikov 491510d41c meson: produce per cpu_family json files
This will allow us to remove the $LIB from the json files and simplify
the related lib handling.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
1 year ago
jackun 50720d2215
Install data files only if `include_doc` option is set 2 years ago
jackun 31d63255b0
Append colon only if LD_* env vars are set 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 f0177703ea
Rename to `frame_count` for consistency 2 years ago
jackun bac50e42d5 Add frame count 2 years ago
Alessandro Toia 4026743fe3 add gamepad_battery & gamepad_battery_icon params to readme 2 years ago
xc8a bbd75f0907 Correct miscellaneus to miscellaneous 3 years ago
jackun 62584ae4ff
Fix mangohud-setup.sh paths 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
Faalagorn 87e25a3038
Add missing and rearrange options in .conf
Added missing options and rearranged the way they appear under legacy layout plus minor fixes:
* Added some default values after `=`
* Commented out options with default values
* Unified style
3 years ago
jackun 361641382c
[build.sh] Attempt to fix wrong 32bit lib dir on non-Arch distros 3 years ago
jackun 866fd8bc24
Add per process memory usage (`procmem` etc) 3 years ago
FlightlessMango 370a2d5da6 Only use MANGOHUD=1 in script 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 a27984f343
Delete unused shell scripts 3 years ago
jackun 53cca5e723
Merge remote-tracking branch 'origin/master' into develop 3 years ago
freddii 2bbb7174e3 fixed typos 3 years ago
flightlessmango 8aa299630c Disable by default some vulkan layers that cause issues 3 years ago
Lukáš Horáček f11a49ae8b
Add swap 4 years ago
Alessandro Toia 75d9e51445 Remove custom_header, add new params custom_text_center and custom_text 4 years ago
Alessandro Toia db82ed0a1d Add documentation for custom_header param 4 years ago
Alessandro Toia 4ada6d1036 Add show_fps_limit param 4 years ago
FlightlessMango c8d68be476 Add resolution param 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
Faalagorn 1ebb7b1e17
ManoguHud.conf: add some parameters and fix typos
* Added (commented out `fps_sampling_period`, `version` and `engine_version`)
* Commented out `legacy_layout` by default and added `=false` if one want to enable new layout
* Unified VSync, FPS, RAM and other minor names while at it
* Added space after comments sign for options that were missing it to unify formatting
4 years ago
FlightlessMango 18c20687d4 Merge branch 'develop' into master 4 years ago
Alessandro Toia 56a5cae2f7 Added new params to config file 4 years ago
jackun 6a5cd38127
Meson option to have absolute paths in LD_PRELOAD 4 years ago
FlightlessMango 3827fe96d4 Add autostart_log param 4 years ago
Alessandro Toia 7c80dc53ef Allow users to add a new item to the blacklist from config file 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
Alessandro Toia 92146c5833 Add frametime param to enable/disable frametime data next to fps 4 years ago
jackun 60ffab4350
Add `no_small_font` option for unified font size 4 years ago
FlightlessMango 8349479026 Document cpu_mhz and cpu_load_change 4 years ago
Lukáš Horáček 3726c90c7a
Add cpu_power 4 years ago
jackun b177b2ac1f
Partial revert 63b50abede 4 years ago
jackun 9974992f7a
Some distros annoyingly prefix `tls/[x86_64|i686]` with arch triplet 4 years ago
jackun 0bc9949af9
Default toggle FPS limit to Shift_L+F1, update README and config file 4 years ago