Commit Graph

126 Commits (master)

Author SHA1 Message Date
Alessandro Toia a7a73afdad mangohud bin: remove ld_preload workarounds 2 months ago
Alessandro Toia 5598fda8f4 mangohud bin: add Borderlands3.exe to disable ld_preload to prevent crashing 2 months ago
Alessandro Toia 54df529eba mangohud bin: add RoboCop.exe to disable ld_preload to prevent crashing 2 months ago
Alessandro Toia 1613276182 mangohud bin: make sure script is posix compliant 6 months ago
Alessandro Toia 672d6481cc mangohud bin: add an array of items to disable LD_PRELOAD, added cs2.sh to DISABLE_LD_PRELOAD 6 months ago
FlightlessMango 84daa06581 mangohud biun: dlsym: don't shift when env variable 6 months ago
FlightlessMango 1462716bf0 Re-introduce MANGOHUD_DLSYM
[skip ci]
6 months ago
FlightlessMango 8fca45ffe3 mangohud-setup.sh: install opengl libraries 7 months ago
FlightlessMango f38cc78996 add --version to mangohud script 9 months ago
FlightlessMango 30395ab947 mangohud script: use _opengl for LD_PRELOAD 9 months ago
Adel KARA SLIMANE 1a78c00f77 mangoplot: update color palette and font to harmonize with website 10 months ago
FlightlessMango f1b5ba34be mangohud bin: Don't append library multiple times in LD_PRELOAD 11 months 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>
11 months 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 2 years ago
jackun 62584ae4ff
Fix mangohud-setup.sh paths 2 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 3 years ago
Alessandro Toia 75d9e51445 Remove custom_header, add new params custom_text_center and custom_text 3 years ago
Alessandro Toia db82ed0a1d Add documentation for custom_header param 3 years ago
Alessandro Toia 4ada6d1036 Add show_fps_limit param 3 years ago
FlightlessMango c8d68be476 Add resolution param 3 years ago
Alessandro Toia ed0c7a344d Add new param 'core_load_change' to change colors of cpu core load depending on load % 3 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
3 years ago
FlightlessMango 18c20687d4 Merge branch 'develop' into master 3 years ago
Alessandro Toia 56a5cae2f7 Added new params to config file 3 years ago
jackun 6a5cd38127
Meson option to have absolute paths in LD_PRELOAD 3 years ago
FlightlessMango 3827fe96d4 Add autostart_log param 3 years ago
Alessandro Toia 7c80dc53ef Allow users to add a new item to the blacklist from config file 3 years ago
FlightlessMango 44d5546ba5 Add param table_columns 3 years ago
flightlessmango ce6a87823b
Merge pull request #388 from flgx16/cpu_power
Add cpu_power
3 years ago