Commit Graph

1744 Commits

Author SHA1 Message Date
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
FlightlessMango
17d4c1dd4a amdgpu: use gtt_used for APUs 2022-05-10 15:39:08 +02:00
FlightlessMango
19fbd9bf9b Nvidia: only do throttling checks if enabled 2022-05-10 14:02:18 +02:00
FlightlessMango
5d6ebe2f38 Logging: use same data for benchmark and summary 2022-05-09 13:05:54 +02:00
FlightlessMango
6119fa80d1 mangoapp: layer: remove unused get_device_chain_info func 2022-05-06 10:30:50 +02:00
FlightlessMango
b30302c889 amdgpu: prefer hwmon over gpu_metrics for gpu temp
Co-authored-by: Martin Roukala <martin.roukala@mupuf.org>
2022-05-06 10:21:11 +02:00
FlightlessMango
bcf16a0def amdgpu: fixed incorrect gpu load for centipercent
Co-authored-by: Martin Roukala <martin.roukala@mupuf.org>
2022-05-06 10:20:04 +02:00
jackun
77bb7fd756
Disable werror for Dear ImGui
GCC 7.5:
../../subprojects/imgui-1.81/imgui.h:1642:80: warning: assuming signed overflow does not occur when assuming that (X - c) <= X is always true [-Wstrict-overflow]
     inline T&           operator[](int i)                   { IM_ASSERT(i >= 0 && i < Size); return Data[i]; }
2022-05-04 20:38:54 +03:00
FlightlessMango
663bbd05a6 Bump to 0.6.7 2022-05-04 15:11:51 +02:00
jackun
f0177703ea
Rename to frame_count for consistency 2022-05-04 07:14:46 +03:00
FlightlessMango
ec5952d834 amdgpu: changed clocks to average 2022-05-04 05:10:40 +02:00
FlightlessMango
8b7a1995a9 amdgpu: fix cpu temp and watt 2022-05-03 16:08:03 +02:00
FlightlessMango
f9cfdeb080 Add gpu throttling status
Co-authored-by: Martin Roukala <martin.roukala@mupuf.org>
2022-05-03 11:00:05 +02:00
FlightlessMango
ae85730448 Improve amdgpu polling
Co-authored-by: Martin Roukala <martin.roukala@mupuf.org>
2022-05-02 11:45:05 +02:00
FlightlessMango
350dca5d21 Dynamic width when fps_only 2022-04-26 18:57:37 +02:00
jackun
e4b23c937e
Deal with disappearing cpus
Reinit if cpu is brought offline/online, e.g. `echo 0 > /sys/devices/system/cpu/cpu1/online`

Fix #737
2022-04-25 10:29:15 +03:00
FlightlessMango
5349226fa5 amdgpu: average load over .5s 2022-04-23 16:34:35 +02:00
Alessandro Toia
06e3e9f663 Remove frametime when using fps_only param 2022-04-20 17:30:32 -07:00
FlightlessMango
4f9d870c72 fan: add some checks 2022-04-04 07:59:21 +02:00