FlightlessMango
ee7f3fbfd2
Mangoapp: frametime message queue
3 years ago
FlightlessMango
9434033083
Don't use read_line as it causes issue with splitgate
3 years ago
FlightlessMango
23ed317536
mangoapp: shm struct + gamescope engine
3 years ago
Stephan Lachnit
4983056600
fix regression in hw_info_updater
...
Calling std::unique_lock in update() will cause a delay if
update_hw_info() takes longer than the period when update() is called.
To fix this, a try_to_lock tag is added. update() will only update if
the lock is aquired, else the update call is skipped.
Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
3 years ago
FlightlessMango
5fee3bc5e3
Change _params to pointer
3 years ago
FlightlessMango
b001eb4714
Move _params init to overlay.cpp
3 years ago
FlightlessMango
4e3a40c6ef
mangoapp + gamescope shm
3 years ago
jackun
abf146f73c
Set correct swapchain_stats etc references for hw updater
3 years ago
jackun
9b6a39dfe9
sed s/gnu_linux/linux/g
3 years ago
jackun
90e48f95ca
Use unversioned `fmt::format_error`
3 years ago
jackun
6584f23a6c
Use `ghc::filesystem` to iterate over /proc/self/map_files
3 years ago
jackun
c452609718
Fix hw update thread waiting for initial update signal
3 years ago
FlightlessMango
947f287a5e
Only create hw_info_thread once
3 years ago
jackun
729ccc83bd
Use spdlog's 'fmt' to format media player metadata
...
Usage:
media_player_format={title};{artist};{album}
Semi-colon breaks to new line, might change.
3 years ago
FlightlessMango
3ac7772a55
Add universal param
3 years ago
jackun
d1617818cd
Fix OpenGL gpu_name
3 years ago
jackun
866fd8bc24
Add per process memory usage (`procmem` etc)
3 years ago
jackun
a82e27d978
Use spdlog macros so logging can be completely disabled during compile-time
3 years ago
jackun
2f807a4c0d
Add `spdlog` wrap and logging
3 years ago
jackun
c093f9823e
Use libdrm_amdgpu for amdgpu sensor info, if available
...
Using plain `open` as `drmOpen` needs bus id check which needs interface 1.4 ioctl which gives EPERM cause only DRM_MASTER can call it :(
https://github.com/clbr/radeontop/issues/48#issuecomment-493792404
3 years ago
jackun
88d801bd7e
Move functions not directly related to vulkan from vulkan.cpp to overlay.cpp
3 years ago
Joshua Martin
3b0b6fbc42
Add position options to place the overlay halfway down the screen ( #561 )
3 years ago
Lukáš Horáček
213953089d
Detect ToGL
3 years ago
jackun
750d2cddb5
Make engine type per instance
3 years ago
FlightlessMango
3f120b1fc5
don't set engine to vulkan if already set
3 years ago
Alessandro Toia
570bef468b
Cosmetic changes to engine detection
3 years ago
FlightlessMango
5330573c8c
don't rely on std in engine detection
3 years ago
jackun
0ee101e0ac
Fix MPRIS ticker, microseconds to nanoseconds
3 years ago
flightlessmango
428ddf4e8a
Merge pull request #536 from flightlessmango/battery_test
...
Battery info and font awesome icons
3 years ago
FlightlessMango
92282bcec2
convert frametime from ns to us
3 years ago
Joshua Ashton
815097718e
Use nanoseconds to calculate fps
...
No need to round this earlier on.
Removes an unnecessary implicit float -> double conversion in the calculation also
3 years ago
Alessandro Toia
5c48b4729c
Change param to battery, add param for icon, hide power when plugged in
3 years ago
jackun
a0a57038c1
Fix redefinition of 'open'
...
musl pulls in fcntl.h from somewhere
3 years ago
Alessandro Toia
a533883a39
Check if there are battieres before attempting to retrieve stats
3 years ago
Alessandro Toia
552a85aaaa
Only update battery stats if a battery is present
3 years ago
FlightlessMango
a90c897feb
Check battery info
3 years ago
jackun
f77a73ce8a
Fix scoped_lock clash with >= c++17
4 years ago
FlightlessMango
6286313478
MSVC building fixes
4 years ago
FlightlessMango
1a8689fbba
Add gpu power to logs
4 years ago
flightlessmango
e57be394d7
Merge pull request #428 from flgx16/swap
...
Add swap
4 years ago
FlightlessMango
90ce1c5778
ImGui wrap
4 years ago
FlightlessMango
0162fb913c
Always try to update exec's
4 years ago
flightlessmango
214bb83d40
Moved update_exec() into a thread
4 years ago
FlightlessMango
c54f8bec5d
Hud elements exec function
4 years ago
Lukáš Horáček
f11a49ae8b
Add swap
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
Alessandro Toia
8e873fe547
Remove more "not" and "and" in if statments
...
Rename dbus_helpers.hpp to dbus_helpers.h
4 years ago
FlightlessMango
c20b06c851
Remove more ram related things for windows
4 years ago
FlightlessMango
a4a5950ddf
Make sure graphs have data without enabling elems
4 years ago