Commit Graph

1962 Commits

Author SHA1 Message Date
Stephan Lachnit
6f794ce511 add man page for mangoapp
Adds man page for mangoapp with content mostly taken from https://github.com/flightlessmango/MangoHud/issues/625#issuecomment-961378077.

Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
2022-07-13 21:00:37 +03:00
Stephan Lachnit
e1ffa0f858 meson.build: allow system nlohmann_json to satisfy dependency
Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
2022-07-13 20:53:57 +03:00
Stephan Lachnit
5709832576 Install MangoApp layer into libdir_mangohud
This makes the installation path adapt correctly to the value of
the append_libdir_mangohud option, which defaults to putting it in a
subdirectory ${libdir}/mangohud. Without this, the path in the JSON
manifest (which does respect append_libdir_mangohud) is inconsistent
with the actual location of the library.

Resolves: https://github.com/flightlessmango/MangoHud/issues/795
Co-authored-by: Simon McVittie <smcv@collabora.com>
2022-07-13 20:48:09 +03:00
jackun
c6bc257e11
Remove unnecessary row/column changes in HudElements::gpu_stats
Somehow missed these. Fixes f78107e6
2022-07-13 20:38:18 +03:00
jackun
032abbb031
Fix mangoapp frame time alignment 2022-07-13 20:31:44 +03:00
jackun
61716494c1
Check if data logger is valid 2022-07-13 19:23:24 +03:00
jackun
acfc62a434
Check if ImGui::BeginTable actually begun 2022-07-13 19:06:08 +03:00
jackun
31d63255b0
Append colon only if LD_* env vars are set 2022-07-13 19:06:08 +03:00
FlightlessMango
421ca3b57b mangoapp: don't resize window if fps_only 2022-07-08 00:53:14 +02:00
Trigg
dfad000928 - Unsaved change from XA_ATOM to XA_CARDINAL 2022-07-08 00:22:47 +02:00
trigg
661cb205e4 Add and remove XAtom in gamescope mode 2022-07-08 00:22:47 +02:00
FlightlessMango
17f3ebb7bd mangoapp: unused previous_pid variable 2022-07-08 00:07:02 +02:00
FlightlessMango
4eb6c83d81 mangoapp: disable checking vulkan layer for now 2022-07-05 16:56:47 +02:00
Alessandro Toia
32cd485568 Remove uppercase MANGOHUD_LOG_LEVEL strings 2022-06-27 12:07:46 -07:00
Alessandro Toia
f0c3d123f5 Simplify MANGOHUD_LOG_LEVEL TO SPDLOG_LEVEL 2022-06-27 12:03:25 -07:00
Alessandro Toia
6e2e1d3967 Add check for valid log_level when using MANGOHUD_LOG_LEVEL 2022-06-26 17:25:19 -07:00
Alessandro Toia
c27de42465 use MANGOHUD_LOG_LEVEL env var to control SPDLOG_LEVEL 2022-06-26 11:51:47 -07:00
Alessandro Toia
5b44ef7d07 Convert printf to spdlog 2022-06-26 10:36:29 -07:00
Alessandro Toia
a6b5f741bc Clarify fps_only should not be used without other display params 2022-06-23 17:24:50 -07:00
Alessandro Toia
bab3529c74 If fps_only is enabled then disable legacy_layout 2022-06-23 17:15:31 -07:00
Alessandro Toia
ce53794d5f Blacklist: add StarCitizen_Launcher.exe and InsurgencyEAC.exe 2022-06-21 22:11:40 -07:00
jackun
0916dadea6
Convert some "printfs" to spdlog 2022-06-21 18:11:36 +03:00
Alessandro Toia
22abf62b76 Disable fcat when full is present in conf file 2022-06-18 16:59:54 -07:00
Alessandro Toia
3f15f2322f Disable fcat when using MANGOHUD_CONFIG=full 2022-06-18 16:48:30 -07:00
jackun
27c9863119
Set initial client socket handle to "invalid" value 2022-06-12 19:35:50 +03:00
Alessandro Toia
b699b16d2a gamepad: disable gamepad_battery_icon by default 2022-06-10 18:17:22 -07:00
jackun
a8a0a245e6
Bump layer api version 2022-05-28 14:38:49 +03:00
jackun
c19d37ab76
Temporary perma fix for vkQueueSubmit blocking on "used" semaphore when multiple swapchains are sent to vkQueuePresentKHR 2022-05-27 08:46:27 +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
FlightlessMango
f81369bd68 amdgpu: average gfx and cpu power as float 2022-05-19 07:40:27 +02:00
FlightlessMango
3184a44b96 Remove update_hw_info thread from log keybind 2022-05-18 02:45:11 +02:00
Alessandro Toia
a18cabb152 Move gamepad_update to update_hw_info 2022-05-16 16:13:46 -07:00
jackun
39ba57daa1
s/is/are/g 2022-05-16 13:16:45 +03:00
jackun
8a628e6a77
Rename GL files to avoid some confusion with upstream Dear ImGui files 2022-05-16 13:06:07 +03:00
jackun
3e6b35560c
Use overlay_new/end_frame with mangoapp 2022-05-16 11:06:23 +03:00
FlightlessMango
1447778fd4 amdgpu: improve polling perf by reading with c
Co-authored-by: Martin Roukala <martin.roukala@mupuf.org>
2022-05-16 09:01:13 +02:00
FlightlessMango
10e17b3153 Use Hudelements params in logging 2022-05-16 04:38:37 +02:00
jackun
b404fb948e
Set width by table_columns if not specified. Set "text" values to next column with no_small_text 2022-05-15 13:30:22 +03:00
jackun
753dd96325
Use overlay_new/end_frame to push/pop custom ImGui styles 2022-05-15 02:02:50 +03:00
jackun
f78107e662
Wrap columns to new row depending on table_columns param 2022-05-15 02:02:50 +03:00
jackun
85db56b36b
[dbus] Skip rendering MPRIS info if locking fails
D-Bus code gets randomly stuck for some reason.
2022-05-15 02:02:50 +03:00
jackun
f4cbb8b14b
When available (i.e. using vulkan), check vendor/device id and skip device if no match 2022-05-14 19:51:08 +03:00
jackun
ac7c898ba7
Use uint32_t for device id etc 2022-05-14 19:51:08 +03:00
jackun
d73932ad17
Clean up getAmdGpuInfo_actual 2022-05-14 19:50:57 +03:00
Alessandro Toia
9eb8447e14 Check if param gamepad_battery is enabled 2022-05-13 17:09:48 -07:00
jackun
58e277a8b7
Disable werror and tests for spdlog 2022-05-12 15:28:41 +03:00
FlightlessMango
3e57824f00 Fix zink detection from opengl path 2022-05-11 16:17:02 +02:00
FlightlessMango
5167e72649 gpu_metrics: send v1_0 to sysfs instead 2022-05-11 15:35:23 +02:00
jackun
bd2f7b24b8
Snapshot some paths so moving stuff around doesn't randomly break things 2022-05-10 19:05:36 +03:00