Commit Graph

971 Commits

Author SHA1 Message Date
flightlessmango
bd71d0b5fd Check for lsof before trying to use it 2020-12-14 22:13:29 +01:00
flightlessmango
1b44c57db5 Improved lsof for checking gamemode/vkbasalt 2020-12-14 20:30:52 +01:00
flightlessmango
214bb83d40 Moved update_exec() into a thread 2020-12-14 20:21:33 +01:00
flightlessmango
05cf9fc5d6 Add gamemode and vkbasalt function 2020-12-14 20:11:14 +01:00
Alessandro Toia
1d8f4b79c1 Formatting Fixes and remove unused variable 2020-12-13 21:59:03 -08:00
FlightlessMango
c54f8bec5d Hud elements exec function 2020-12-14 06:54:29 +01:00
Alessandro Toia
c4925ac83e Allow multiple instances of custom_text_center and custom_text 2020-12-13 21:38:10 -08:00
FlightlessMango
05c09e3fdf Only draw custom_text_center if it's not empty 2020-12-14 04:38:55 +01:00
Alessandro Toia
80004d3fe0 Chnage fps color based on fps value 2020-12-09 19:36:45 -08:00
Alessandro Toia
75d9e51445 Remove custom_header, add new params custom_text_center and custom_text 2020-12-08 17:02:50 -08:00
Alessandro Toia
439f1266ba Remove custom_header background and add newline after 2020-12-07 18:35:08 -08:00
Alessandro Toia
db82ed0a1d Add documentation for custom_header param 2020-12-07 18:35:08 -08:00
Alessandro Toia
576f9887e0 Add custom_header to legacy_elements, make sure custom_header is always shown first 2020-12-07 18:35:08 -08:00
Alessandro Toia
c479694735 Use SetCursorPosX() instead of SameLine() to center text 2020-12-07 18:35:08 -08:00
Alessandro Toia
b77517501c Add new param custom_header 2020-12-07 18:35:08 -08:00
FlightlessMango
d54409b6b5 Don't need vulkan hooking in kiero 2020-12-06 04:51:20 +01:00
FlightlessMango
af0658e137 Change win config location to mangohud folder 2020-12-06 02:33:58 +01:00
FlightlessMango
1a86d3b241 Set dx_version var 2020-12-06 02:33:41 +01:00
FlightlessMango
3bc0f32a3b Init all related renderTypes 2020-12-06 01:39:28 +01:00
FlightlessMango
079f700241 Make sure logger gets inited in win 2020-12-06 01:36:02 +01:00
Alessandro Toia
a061ca060f __gnu_linux__ shouldn't be caps 2020-12-03 22:15:17 -08:00
Alessandro Toia
8e873fe547 Remove more "not" and "and" in if statments
Rename dbus_helpers.hpp to dbus_helpers.h
2020-12-03 22:00:18 -08:00
FlightlessMango
6ed47879e7 __gnu_linux__ shouldn't be caps 2020-12-04 05:48:32 +01:00
FlightlessMango
f375d94188 libgen.h not needed on win32 2020-12-04 04:55:15 +01:00
FlightlessMango
45c7ea0841 Include intrin.h for _ReturnAddress win32 2020-12-04 04:54:58 +01:00
flightlessmango
cfc0b74d1a
Merge pull request #418 from baryluk/patch-3
Perform updates of gpuInfo struct in more atomic way
2020-12-04 04:51:50 +01:00
FlightlessMango
ce7de641cf Don't use "and" and "not" in if statements 2020-12-04 04:49:02 +01:00
FlightlessMango
d1af7c97ac Removed lingering pthread.h 2020-12-04 04:46:14 +01:00
FlightlessMango
eef6d8974a Only use popen/close on linux 2020-12-04 04:43:16 +01:00
FlightlessMango
c20b06c851 Remove more ram related things for windows 2020-12-03 21:26:00 +01:00
Alessandro Toia
06f2c7dc1b Do not show fps_limit if unlimited 2020-12-01 19:43:55 -08:00
Witold Baryluk
e712a26eff
Perform updates of gpuInfo struct in more atomic way
The issue is that value might be set to 0, or original miliC (i.e. 35000),
while the other thread is reading it from the memory.

Instead using single writes to the target location,
only with intended end value.

This is a not a full proper fix (like using mutex between overlay and the thread
doing hw info update), but should alleviate issue of logging sometimes
having value 0, or original value of miliC for temperature.
2020-12-01 05:32:37 +00:00
Alessandro Toia
4ada6d1036 Add show_fps_limit param 2020-11-30 18:43:12 -08:00
FlightlessMango
c8d68be476 Add resolution param 2020-11-30 21:11:38 +01:00
Alessandro Toia
ed0c7a344d Add new param 'core_load_change' to change colors of cpu core load depending on load % 2020-11-29 16:10:56 -08:00
jackun
3df142da5d
workflow: fix if syntax and edit release instead 2020-11-29 21:07:12 +02:00
jackun
079f67a729
workflow: limit 'release' event to 'created' action 2020-11-29 16:59:50 +02:00
jackun
e382318751
workflow: fix artifact path, git commit 2020-11-29 16:51:45 +02:00
jackun
2f0dc14a78
workflow: install packages too 2020-11-29 16:43:18 +02:00
jackun
7b59095a79
Bump to v0.6.1 2020-11-29 16:30:07 +02:00
jackun
11932dda88
build package workflow, maybe 2020-11-29 16:14:11 +02:00
jackun
ce7de16ce2
workflow for build-source.sh 2020-11-29 16:14:11 +02:00
Tristan
0ce22ddc15 Add Solus install option via package manager on Readme 2020-11-29 15:28:46 +02:00
Witold Baryluk
558b8eb093 Properly initialize file pointers to null
If in `init_cpu_power_data_k10temp` we fail to initialize all paths,
and fail initialization, then in the destructor, we will most likely
pass invalid value to the `fclose`.
2020-11-29 15:27:46 +02:00
Witold Baryluk
26262e24ff Improve initialization logic for cpu.cpp
Use smart pointers.

Get rid of gotos and labels.
2020-11-29 15:27:22 +02:00
FlightlessMango
1c9e533a51 Bump meson build to 0.6.0 2020-11-29 03:08:40 +01:00
FlightlessMango
18c20687d4 Merge branch 'develop' into master 2020-11-28 17:23:54 +01:00
Alessandro Toia
03bd71d145 Add missing add_blacklist for OpenGl apps 2020-11-27 16:14:38 -08:00
jackun
ef34bcd52f
README.md: about using + 2020-11-28 00:15:18 +02:00
Alessandro Toia
5af93c7dc5 Change delimiter from '+' to ',' in README for media_player_order 2020-11-27 14:13:30 -08:00