Commit Graph

126 Commits

Author SHA1 Message Date
Alessandro Toia
a7a73afdad mangohud bin: remove ld_preload workarounds 2024-03-13 18:09:34 -07:00
Alessandro Toia
5598fda8f4 mangohud bin: add Borderlands3.exe to disable ld_preload to prevent crashing 2024-03-02 22:34:57 -08:00
Alessandro Toia
54df529eba mangohud bin: add RoboCop.exe to disable ld_preload to prevent crashing 2024-03-01 22:06:29 -08:00
Alessandro Toia
1613276182 mangohud bin: make sure script is posix compliant 2023-10-23 15:53:19 -07:00
Alessandro Toia
672d6481cc mangohud bin: add an array of items to disable LD_PRELOAD, added cs2.sh to DISABLE_LD_PRELOAD 2023-10-20 16:40:34 -07:00
FlightlessMango
84daa06581 mangohud biun: dlsym: don't shift when env variable 2023-10-17 14:24:08 +02:00
FlightlessMango
1462716bf0 Re-introduce MANGOHUD_DLSYM
[skip ci]
2023-10-17 14:10:28 +02:00
FlightlessMango
8fca45ffe3 mangohud-setup.sh: install opengl libraries 2023-09-27 16:12:25 +02:00
FlightlessMango
f38cc78996 add --version to mangohud script 2023-07-24 13:10:42 +02:00
FlightlessMango
30395ab947 mangohud script: use _opengl for LD_PRELOAD 2023-07-22 03:28:59 +02:00
Adel KARA SLIMANE
1a78c00f77 mangoplot: update color palette and font to harmonize with website 2023-06-26 13:50:39 +02:00
FlightlessMango
f1b5ba34be mangohud bin: Don't append library multiple times in LD_PRELOAD 2023-06-01 19:44:22 +02:00
Adel KARA SLIMANE
6306fed7f7 Add mangoplot script
Displays frame time distributions from local files

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
2023-05-28 11:46:05 +02:00
jackun
cac664bef1
Nuke MANGOHUD_DLSYM
[skip actions]
2023-04-23 18:23:02 +03:00
Emil Velikov
8c531b4833 mangohud: simplify variable handling
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2023-03-13 21:53:27 +01:00
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>
2023-03-13 21:53:27 +01:00
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>
2023-03-13 21:53:27 +01:00
jackun
50720d2215
Install data files only if include_doc option is set 2022-07-14 15:32:05 +03:00
jackun
31d63255b0
Append colon only if LD_* env vars are set 2022-07-13 19:06:08 +03:00
jackun
f680c28f1f
Generalize control over socket so it works with OpenGL too 2022-05-23 18:07:39 +03:00
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.
2022-05-23 17:53:49 +03:00
jackun
f0177703ea
Rename to frame_count for consistency 2022-05-04 07:14:46 +03:00
jackun
bac50e42d5 Add frame count 2022-03-23 09:33:40 +02:00
Alessandro Toia
4026743fe3 add gamepad_battery & gamepad_battery_icon params to readme 2022-02-19 21:52:52 -08:00
xc8a
bbd75f0907 Correct miscellaneus to miscellaneous 2021-12-07 08:36:57 +02:00
jackun
62584ae4ff
Fix mangohud-setup.sh paths 2021-12-02 09:06:48 +02:00
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.
2021-09-23 14:54:22 +03:00
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
2021-09-23 14:54:16 +03:00
jackun
361641382c
[build.sh] Attempt to fix wrong 32bit lib dir on non-Arch distros 2021-08-08 17:08:36 +03:00
jackun
866fd8bc24
Add per process memory usage (procmem etc) 2021-08-07 15:56:27 +03:00
FlightlessMango
370a2d5da6 Only use MANGOHUD=1 in script 2021-06-08 18:28:54 +02:00
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.
2021-03-30 05:33:11 +03:00
jackun
a27984f343
Delete unused shell scripts 2021-02-03 10:37:32 +02:00
jackun
53cca5e723
Merge remote-tracking branch 'origin/master' into develop 2021-02-03 10:37:01 +02:00
freddii
2bbb7174e3 fixed typos 2021-02-03 09:24:40 +02:00
flightlessmango
8aa299630c Disable by default some vulkan layers that cause issues 2021-01-11 12:27:52 +01:00
Lukáš Horáček
f11a49ae8b
Add swap 2020-12-13 11:07:17 +01:00
Alessandro Toia
75d9e51445 Remove custom_header, add new params custom_text_center and custom_text 2020-12-08 17:02:50 -08:00
Alessandro Toia
db82ed0a1d Add documentation for custom_header param 2020-12-07 18:35:08 -08:00
Alessandro Toia
4ada6d1036 Add show_fps_limit param 2020-11-30 18:43:12 -08:00
FlightlessMango
c8d68be476 Add resolution param 2020-11-30 21:11:38 +01:00
Alessandro Toia
ed0c7a344d Add new param 'core_load_change' to change colors of cpu core load depending on load % 2020-11-29 16:10:56 -08:00
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
2020-11-29 18:15:56 +01:00
FlightlessMango
18c20687d4 Merge branch 'develop' into master 2020-11-28 17:23:54 +01:00
Alessandro Toia
56a5cae2f7 Added new params to config file 2020-11-27 14:12:11 -08:00
jackun
6a5cd38127
Meson option to have absolute paths in LD_PRELOAD 2020-11-27 17:44:22 +02:00
FlightlessMango
3827fe96d4 Add autostart_log param 2020-11-27 15:12:38 +01:00
Alessandro Toia
7c80dc53ef Allow users to add a new item to the blacklist from config file 2020-11-17 19:35:05 -08:00
FlightlessMango
44d5546ba5 Add param table_columns 2020-11-17 15:09:15 +01:00
flightlessmango
ce6a87823b
Merge pull request #388 from flgx16/cpu_power
Add cpu_power
2020-11-17 14:48:27 +01:00