jackun
19ef4f3df0
[dbus] re-init active player so `media_player_name` changes take effect
...
Might be good to check if player name actually changed though.
4 years ago
Witold Baryluk
c92f805c2d
Prevent infinite recursion when using Mesa zink.
...
When using zink (`MESA_LOADER_DRIVER_OVERRIDE=zink`),
running any app (OpenGL or Vulkan), will trigger running
`glxinfo`. Unsetting of `LD_PRELOAD` is not sufficient,
because if using `zink`, it will load Vulkan, and load Vulkan
implicit layer for Mangohud, using `/usr/share/vulkan/implicit_layer.d/MangoHud.json`,
which will cause it to reenter this function in another process,
causing infinite recursion (until the Vulkan driver finally errors
out with too many VkDevices / contexts created).
I have easily have seen recursion depths of 200+ until this happen,
and sometimes takes up to 2 minutes, with 2000 extra shell and `cut`
processes in the process tree.
Fix this by marking recursion entrance.
This makes glxmark start in less than 1 second, instead
about 60 seconds.
When at it us `glxinfo -B`, which is significantly faster
on zink, yet provides all information we need.
4 years ago
flightlessmango
185941a857
Fix some warnings
4 years ago
flightlessmango
fc8eeaf0dc
Lingering TableNextCell
4 years ago
flightlessmango
e57be394d7
Merge pull request #428 from flgx16/swap
...
Add swap
4 years ago
jackun
4862d83b60
Make `add_blacklist` const&
...
Might be optimized by compiler already but who knows.
4 years ago
jackun
72f1ec094c
Don't continue parsing configs if process is blacklisted
4 years ago
FlightlessMango
90ce1c5778
ImGui wrap
4 years ago
FlightlessMango
0162fb913c
Always try to update exec's
4 years ago
Alessandro Toia
2c99138374
Remove custom_text_center from legacy and trailing spaces
4 years ago
flightlessmango
bd71d0b5fd
Check for lsof before trying to use it
4 years ago
flightlessmango
1b44c57db5
Improved lsof for checking gamemode/vkbasalt
4 years ago
flightlessmango
214bb83d40
Moved update_exec() into a thread
4 years ago
flightlessmango
05cf9fc5d6
Add gamemode and vkbasalt function
4 years ago
Alessandro Toia
1d8f4b79c1
Formatting Fixes and remove unused variable
4 years ago
FlightlessMango
c54f8bec5d
Hud elements exec function
4 years ago
Alessandro Toia
c4925ac83e
Allow multiple instances of custom_text_center and custom_text
4 years ago
FlightlessMango
05c09e3fdf
Only draw custom_text_center if it's not empty
4 years ago
Lukáš Horáček
f11a49ae8b
Add swap
4 years ago
Alessandro Toia
80004d3fe0
Chnage fps color based on fps value
4 years ago
Alessandro Toia
75d9e51445
Remove custom_header, add new params custom_text_center and custom_text
4 years ago
Alessandro Toia
439f1266ba
Remove custom_header background and add newline after
4 years ago
Alessandro Toia
db82ed0a1d
Add documentation for custom_header param
4 years ago
Alessandro Toia
576f9887e0
Add custom_header to legacy_elements, make sure custom_header is always shown first
4 years ago
Alessandro Toia
c479694735
Use SetCursorPosX() instead of SameLine() to center text
4 years ago
Alessandro Toia
b77517501c
Add new param custom_header
4 years ago
FlightlessMango
d54409b6b5
Don't need vulkan hooking in kiero
4 years ago
FlightlessMango
af0658e137
Change win config location to mangohud folder
4 years ago
FlightlessMango
1a86d3b241
Set dx_version var
4 years ago
FlightlessMango
3bc0f32a3b
Init all related renderTypes
4 years ago
FlightlessMango
079f700241
Make sure logger gets inited in win
4 years ago
Alessandro Toia
a061ca060f
__gnu_linux__ shouldn't be caps
4 years ago
Alessandro Toia
8e873fe547
Remove more "not" and "and" in if statments
...
Rename dbus_helpers.hpp to dbus_helpers.h
4 years ago
FlightlessMango
6ed47879e7
__gnu_linux__ shouldn't be caps
4 years ago
FlightlessMango
f375d94188
libgen.h not needed on win32
4 years ago
FlightlessMango
45c7ea0841
Include intrin.h for _ReturnAddress win32
4 years ago
flightlessmango
cfc0b74d1a
Merge pull request #418 from baryluk/patch-3
...
Perform updates of gpuInfo struct in more atomic way
4 years ago
FlightlessMango
ce7de641cf
Don't use "and" and "not" in if statements
4 years ago
FlightlessMango
d1af7c97ac
Removed lingering pthread.h
4 years ago
FlightlessMango
eef6d8974a
Only use popen/close on linux
4 years ago
FlightlessMango
c20b06c851
Remove more ram related things for windows
4 years ago
Alessandro Toia
06f2c7dc1b
Do not show fps_limit if unlimited
4 years ago
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.
4 years ago
Alessandro Toia
4ada6d1036
Add show_fps_limit param
4 years ago
FlightlessMango
c8d68be476
Add resolution param
4 years ago
Alessandro Toia
ed0c7a344d
Add new param 'core_load_change' to change colors of cpu core load depending on load %
4 years ago
jackun
3df142da5d
workflow: fix `if` syntax and edit release instead
4 years ago
jackun
079f67a729
workflow: limit 'release' event to 'created' action
4 years ago
jackun
e382318751
workflow: fix artifact path, git commit
4 years ago
jackun
2f0dc14a78
workflow: install packages too
4 years ago