Commit Graph

1725 Commits

Author SHA1 Message Date
FlightlessMango
efdcc6d2f5 Bump to 0.6.8 2022-08-01 03:27:11 +02:00
FlightlessMango
5f43fcd121 logger: control: use hudelements 2022-08-01 02:07:59 +02:00
FlightlessMango
e9a7865a90 logger: reinit on config reload 2022-08-01 01:50:33 +02:00
tisim
732439b8e6 changing Logger class from struct pointer to 3 variables
removing commented line of code
2022-08-01 01:26:10 +02:00
jackun
85007fe0bd
Use separate font atlas for vulkan
vkCreateSwapchainKHR and vkQueuePresentKHR may share the same ImGui context accidentally and
vkCreateSwapchainKHR might (re)create font image and destroy old font atlas while vkQueuePresentKHR is still rendering :(
2022-07-29 02:11:28 +03:00
FlightlessMango
14dcd153ae control: send msg when log stops 2022-07-28 02:48:35 +02:00
FlightlessMango
ef4ace2e2a logging: versioning 2022-07-28 01:19:16 +02:00
Alessandro Toia
52c24afae9 Don't check for conf file if blacklisted 2022-07-26 12:28:10 -07:00
jackun
05133ae3cd
When pci_dev is set, don't skip AMD gpu if device id doesn't match 2022-07-17 20:28:27 +03:00
jackun
e132bb9268
Lower api minor version
Apparently too new of a version implicit layer might also not get loaded
2022-07-15 01:21:47 +03:00
jackun
e5d52c202e
Add meson install_tags, bump meson to 0.60 2022-07-14 17:36:49 +03:00
jackun
50720d2215
Install data files only if include_doc option is set 2022-07-14 15:32:05 +03:00
Stephan Lachnit
2dfdb9b584
add metainfo file
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2022-07-13 21:08:28 +03:00
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