-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add liquid cooling stats #1247
base: master
Are you sure you want to change the base?
Add liquid cooling stats #1247
Conversation
src/liquid.h
Outdated
std::vector<WatercoolingDevice> devices; | ||
}; | ||
|
||
extern LiquidStats liquidStats; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be a unique_ptr
src/overlay_params.cpp
Outdated
@@ -721,6 +727,8 @@ static void set_param_defaults(struct overlay_params *params){ | |||
params->table_columns = 3; | |||
params->text_outline_color = 0x000000; | |||
params->text_outline_thickness = 1.5; | |||
params->liquid_color=0x3fcbd4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing spaces before and after =
@@ -1196,6 +1203,78 @@ void HudElements::device_battery() | |||
#endif | |||
} | |||
|
|||
void HudElements::liquid_stats() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since liquid is only for unix and we only compile liquid.cpp on unix, the windows compiler does not have access to liquidStats.
set #ifndef _WIN32
inside this function so it's not being compiled with mingw.
This should resolve the failing mingw test
Updated to fix mingw build and apply your suggestions |
842ade4
to
e8efb7a
Compare
c7e814a
to
1e13c38
Compare
* if meson dosen't found spdlog with use_system_spdlog enabled meson will print a warning and fallback to the submodule instead of giving an error * System vulkan-headers can't be use since mangohud don't use latest SDK The code is commented out for future use * All the other submodules will use system dependency when found Signed-off-by: Gonçalo Negrier Duarte <[email protected]>
When MANGOHUD_CONFIG was set but didn't contain either read_cfg or preset values, the preset was never applied
Before we only had intel_gpu_top to rely on, but now we can also get gpu load from fd.
We convert to host endian as we fetch the values from gpu_metrics
It's too much of a hassle to use intel_gpu_top, let's just wait until these values are exposed in sysfs and until then we will just have gpu load
This reverts commit dc7ec94.
This reverts commit faa3b1c.
… liquid_flow, liquid stats will be enabled when using any of the parameters
… liquid_flow, liquid stats will be enabled when using any of the parameters
Add the possibility to display sensors data from watercooling devices. It is mainly for Aquacomputer devices since mainline kernel support is available. Support for devices from other manufacturers could be added if there are kernel modules that expose them in sysfs.