Commit Graph

1274 Commits

Author SHA1 Message Date
Alessandro Toia
be0fad5ef8 Rebase and remove count for logitech devices 2023-07-23 10:44:15 -07:00
Alessandro Toia
84eadf129a wireless_battery: add Logitech devices
fix logitech wireless stuff
2023-07-23 10:44:15 -07:00
FlightlessMango
5d93e484ce intel: fixed typo from last 2023-07-23 13:18:51 +02:00
FlightlessMango
be1e94f008 intel: check for Render/3D 2023-07-23 12:39:33 +02:00
FlightlessMango
1f2b31008e text outline: color: set alpha to alpha param 2023-07-23 10:47:39 +02:00
FlightlessMango
41f8446cf1 hudelements: colors: set color alpha according to alpha param 2023-07-23 10:43:14 +02:00
FlightlessMango
dc1761e98a static link stdc++ 2023-07-22 05:12:20 +02:00
andrefsagh@gmail.com
5054f6ceff Show amdgpu voltage from hwmon
Added config parameter 'gpu_voltage'
2023-07-21 05:44:38 +02:00
FlightlessMango
602ba78ea3 Split library into vulkan and opengl parts.
This has caused a lot of issues because when preloaded the vulkan hooks
will still initialize even tho it's an OpenGL application.
This will subsequently crash the application.
The solution is to split the vulkan and opengl parts into two separate
shared libraries.
2023-07-21 05:31:58 +02:00
FlightlessMango
1182bcfbec hud_elements/battery: make sure time isn't illogical 2023-07-19 20:25:45 +02:00
Łukasz Adamczak
38604927d7 Remove debug printf
I believe it was left here by omission. It currently prints out "0" or "1" to stdout depending on `battery_watt` setting.
2023-07-02 17:47:50 +02:00
FlightlessMango
12567c68b0 logging: upload: print url to console 2023-06-22 11:58:44 +02:00
FlightlessMango
f4dfdd82c9 hud elements: duration: prefix 0
[skip ci]
2023-06-20 13:42:21 +02:00
FlightlessMango
30748bdf0c param: duration 2023-06-19 19:47:16 +02:00
FlightlessMango
b3b9672631 params: don't enable fahrenheit and dynamic_frame_timing on full
[skip ci]
2023-06-15 05:50:50 +02:00
FlightlessMango
6e264adecb params: dynamic_frame_timing
This changes frame_timing y-axis to correspond with the current maximum
and minimum frametime instead of being a static 0-50

[skip ci]
2023-06-12 22:39:44 +02:00
FlightlessMango
881b4d2e4a Params: add temp_fahrenheit 2023-06-11 19:33:36 +02:00
FlightlessMango
7c2a90c209 mangoapp: update colors if needed
[skip ci]
2023-06-10 22:42:49 +02:00
FlightlessMango
6abc794b42 amdgpu: use hwmon for core clock
gpu_metrics currently reports the wrong value, so until that's fixed
we'll rely in hwmon
2023-06-08 17:58:23 +02:00
FlightlessMango
b48b03e131 intel: just check if we're inside runtime container
If we're inside the container, try using steam-runtime-launch-client,
if it works it works. If not then abandon hope.

[skip ci]
2023-06-08 17:10:19 +02:00
FlightlessMango
5369683ff9 Intel: launch intel_gpu_top with runtime client if available
If we're inside the steam runtime container and the `--alongside-steam`
option exists, then we can run intel_gpu_top successfully with
steam-runtime-launch-client.
2023-06-07 16:51:48 +02:00
FlightlessMango
352d365493 mangoapp: get resolution from gamescope
[skip ci]
2023-05-30 07:46:58 +02:00
FlightlessMango
67862421a6 Text outline
Adds the text_outline parameter that draws a black outline around all
text and the horizontal separator

[skip ci]
2023-05-28 08:03:31 +02:00
FlightlessMango
3efc2c05ee params: don't enable engine_short_names with full
[ci skip]
2023-05-28 07:08:31 +02:00
jackun
5fde8749af
Use a "get" function to initialize X11 loader...
...so static init doesn't spam log before we got that set up properly.
2023-05-25 09:27:20 +03:00
FlightlessMango
ea3ba7e30d system info: don't use glxinfo
It's not available in steam runtime and generates a lot of log spam
2023-05-21 15:28:05 +02:00
FlightlessMango
5754ca13ee vulkan manifest: set cpu_family in layer name 2023-05-20 08:27:27 +02:00
FlightlessMango
0b3904fd38 change config and upload logs to debug 2023-05-20 08:27:27 +02:00
FlightlessMango
744f173298 params: set proper default values for font_size and table_columns 2023-05-15 14:31:24 +02:00
FlightlessMango
c9e67ca573 params: set param defaults in it's own func 2023-05-15 14:31:24 +02:00
Alessandro Toia
2b5bf96b20 overlay: Fix non stretched horzitontal center position layout 2023-05-09 18:25:56 -07:00
Alessandro Toia
1be907ed93 overlay: simplify window_size even more for !horizontal_stretch 2023-05-09 17:15:38 -07:00
FlightlessMango
3f8f036ee8 params: add cstdint header 2023-05-07 23:01:23 +02:00
Alessandro Toia
e77585d848 params: add missing bottom-center layout 2023-05-07 13:26:00 -07:00
Alessandro Toia
7b5c0a43c6 overlay: simplify window_size for !horizontal_stretch 2023-05-06 21:55:43 -07:00
Alessandro Toia
ed85504dec overlay: fix spacing when not using horizontal_stretch 2023-05-05 17:12:41 -07:00
Bill Li
9b0aec0540 nvml: Do not include header nvctrl.h if not build with xnvctrl support 2023-05-05 20:15:01 +02:00
Bill Li
2101090f00 nvml: Use #ifdef HAVE_XNVCTRL to check if xnvctrl is available 2023-05-05 20:15:01 +02:00
Alessandro Toia
3daf7d73b3 param: horizontal_stretch 2023-05-04 22:41:34 -07:00
FlightlessMango
2ffc579b7f config: add /etc/MangoHud.conf as an option
[skip ci]
2023-05-05 03:04:15 +02:00
FlightlessMango
6c46794496 cpu: core mhz: if scaling isn't available, use /proc/cpuinfo instead 2023-05-05 02:53:17 +02:00
FlightlessMango
b2c88c2dfd param: engine_short_names 2023-05-05 02:01:00 +02:00
FlightlessMango
cbf531e6c8 nvml: use xnvctrl if available to get fan speed 2023-05-05 01:48:43 +02:00
FlightlessMango
4161139597 amdgpu: run_thread default to true 2023-05-02 18:52:23 +02:00
FlightlessMango
e2711b8059 hud elements: fix gamescope graphs size 2023-05-01 13:58:35 +02:00
FlightlessMango
7853af98d0 mangoapp: amdgpu: pause the polling thread when it's not needed 2023-05-01 13:52:26 +02:00
FlightlessMango
9bc90493be amdgpu: reduce polling period 2023-04-29 22:31:47 +02:00
Alessandro Toia
98c9897430 Fix layout for core_load 2023-04-29 12:51:58 -07:00
Alessandro Toia
c534f33156 When using horizontal layout set table_columns param to current count of table_columns 2023-04-27 21:48:05 -07:00
Alessandro Toia
a45816b8e1 Replace TableNextColumn() with ImguiNextColumnFirstItem() and ImguiNextColumnOrNewRow() 2023-04-27 21:43:28 -07:00