FlightlessMango
337ecbc4cf
use scaling_cur_freq for cpu core mhz
3 years ago
FlightlessMango
ee7f3fbfd2
Mangoapp: frametime message queue
3 years ago
FlightlessMango
52ae70f650
read_line: return empty line if ifstream fails
3 years ago
FlightlessMango
ac58c30bbc
Use driverInfo for driver name/version instead
3 years ago
FlightlessMango
e7de7b5b93
Get device name before system info
3 years ago
FlightlessMango
9434033083
Don't use read_line as it causes issue with splitgate
3 years ago
FlightlessMango
f2dcf3f4b2
Rewrite of exec()
3 years ago
FlightlessMango
23ed317536
mangoapp: shm struct + gamescope engine
3 years ago
FlightlessMango
fbda58c907
Some windows fixes
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
45be485a13
mangohud control
3 years ago
FlightlessMango
5fee3bc5e3
Change _params to pointer
3 years ago
FlightlessMango
872c3f03a4
Show highest cpu freq instead of cumulative
3 years ago
FlightlessMango
da573e8eba
mangoapp: fix not respecting nvctrl option
3 years ago
FlightlessMango
cb3682633e
Mangoapp: include unistd for sleep
3 years ago
FlightlessMango
b001eb4714
Move _params init to overlay.cpp
3 years ago
FlightlessMango
cd215854ce
Mangoapp: meson option
3 years ago
Joshua Ashton
fb619147e4
Set overlay atom to tell gamescope to render over
3 years ago
FlightlessMango
4e3a40c6ef
mangoapp + gamescope shm
3 years ago
jackun
a91f1c7cf7
Iterate through libraries for possible locations of dlopen/dlsym functions
...
glibc 2.34 moves `dlopen` and `dlsym` from libdl.so to libc.so
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
jackun
ced84ec526
Try to find `dlopen`/`dlsym` from libc.so too (musl libc, glibc 2.34+)
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
ac11beef9b
[dbus] Don't stop D-Bus thread or remove filter if not completely deiniting
3 years ago
jackun
31e879215a
[dbus] Also check if gamemode is enabled with D-Bus
3 years ago
jackun
7e3a56d356
[dbus] Raise TRAP if wrong primitive type but allow to continue
3 years ago
jackun
d1617818cd
Fix OpenGL gpu_name
3 years ago
jackun
a431c092eb
Separate libdrm and libdrm_amdgpu loader
3 years ago
jackun
822e325d11
Add get_basename, fix win32 build
...
std::string::substr likes to throw
3 years ago
jackun
9df9df0f4f
Fix some tangling printfs
3 years ago
jackun
94a7705554
Fix integer overflow on 32 bit, for `procmem`
3 years ago
jackun
5767426192
Nope, ERROR level has higher priority, doh
3 years ago
jackun
c79e01830d
Clean up battery.{h,cpp} header includes
3 years ago
jackun
866fd8bc24
Add per process memory usage (`procmem` etc)
3 years ago
jackun
891abdf3b9
Skip setting up vulkan render if HUD is hidden
3 years ago
jackun
b20d2492bc
Limit keybind check to about 10hz
3 years ago
jackun
355c521f12
Misc small clean ups and fixes
3 years ago
jackun
a82e27d978
Use spdlog macros so logging can be completely disabled during compile-time
3 years ago
jackun
46c2183b5d
Use engine type enum in `engine_version()`
3 years ago
jackun
7d3b6b946d
Don't reinit stuff when re-creating swapchain
...
Partial revert of e13e98e03a
3 years ago
jackun
6c604f379c
Fix parse_pciids when trying to open pci.ids from alternate location
3 years ago
jackun
944202f273
Fix #ifdef scope in `overlay_DestroyInstance`
3 years ago
jackun
d41ad84260
Poll amdgpu regs at 120ticks/s regardless of sampling period
3 years ago
jackun
2f807a4c0d
Add `spdlog` wrap and logging
3 years ago