Commit Graph

1501 Commits

Author SHA1 Message Date
FlightlessMango
aab8730f69 exec: make sure LD_PRELOAD is unset 2021-12-19 14:42:11 +01:00
FlightlessMango
7212c79feb Logging: push param to benchmark calc 2021-12-19 14:40:27 +01:00
Tatsuyuki Ishi
ada173e67f overlay: avoid quadratic behavior
Using a vector with erase(begin()) results in a copy of the full array
every time. This is inefficient and in the case of HUD graphs, was having
quadratic complexity which can noticeably affect performance.

This patch replaces most of the operations with an O(1) alternative,
keeping the total cost under a linear bound. While on this, also refactor
the size of graph array into a constant.
2021-12-19 00:20:54 +09:00
FlightlessMango
337ecbc4cf use scaling_cur_freq for cpu core mhz 2021-12-14 18:49:23 +01:00
FlightlessMango
ee7f3fbfd2 Mangoapp: frametime message queue 2021-12-13 14:38:50 +01:00
FlightlessMango
52ae70f650 read_line: return empty line if ifstream fails 2021-12-13 14:33:39 +01:00
FlightlessMango
ac58c30bbc Use driverInfo for driver name/version instead 2021-12-13 14:20:38 +01:00
FlightlessMango
e7de7b5b93 Get device name before system info 2021-12-10 11:47:55 +01:00
FlightlessMango
9434033083 Don't use read_line as it causes issue with splitgate 2021-12-10 11:27:12 +01:00
FlightlessMango
f2dcf3f4b2 Rewrite of exec() 2021-12-09 21:16:12 +01:00
xc8a
bbd75f0907 Correct miscellaneus to miscellaneous 2021-12-07 08:36:57 +02:00
jackun
62584ae4ff
Fix mangohud-setup.sh paths 2021-12-02 09:06:48 +02:00
Alessandro Toia
8821ec6141 Fix markup for exec param in readme 2021-12-01 16:08:19 -08:00
Alessandro Toia
0fa85082ce Add missing param to readme 2021-12-01 15:49:59 -08:00
FlightlessMango
23ed317536 mangoapp: shm struct + gamescope engine 2021-11-18 08:25:30 +01:00
FlightlessMango
fbda58c907 Some windows fixes 2021-11-12 05:44:53 +01:00
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>
2021-11-10 08:55:02 +02:00
FlightlessMango
572f6617ef mangohud control python script 2021-11-04 02:08:45 +01:00
FlightlessMango
45be485a13 mangohud control 2021-11-04 02:08:26 +01:00
FlightlessMango
5fee3bc5e3 Change _params to pointer 2021-11-04 02:07:38 +01:00
FlightlessMango
872c3f03a4 Show highest cpu freq instead of cumulative 2021-11-03 01:06:15 +01:00
jackun
5a0f284e4f
Update README.md 2021-10-28 20:45:12 +03:00
Stephan Lachnit
9d1b3a358d
build-source: exclude spdlog (#618)
Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
2021-10-28 16:38:32 +03:00
FlightlessMango
da573e8eba mangoapp: fix not respecting nvctrl option 2021-10-23 02:35:09 +02:00
FlightlessMango
4d76ad5161 Fix some uglyness in meson build 2021-10-18 19:19:59 +02:00
FlightlessMango
67a4918439 Only check for glfw dep if mangoapp 2021-10-18 19:14:58 +02:00
FlightlessMango
e0fe8b6930 Fix issue with imgui options 2021-10-18 18:58:39 +02:00
FlightlessMango
d99d6c8bd4 Bump version to 0.6.6 2021-10-18 18:33:26 +02:00
FlightlessMango
cb3682633e Mangoapp: include unistd for sleep 2021-10-18 17:50:58 +02:00
FlightlessMango
b001eb4714 Move _params init to overlay.cpp 2021-10-18 17:50:58 +02:00
FlightlessMango
cd215854ce Mangoapp: meson option 2021-10-18 17:50:58 +02:00
Joshua Ashton
fb619147e4 Set overlay atom to tell gamescope to render over 2021-10-18 17:50:58 +02:00
FlightlessMango
4e3a40c6ef mangoapp + gamescope shm 2021-10-18 17:50:58 +02:00
flightlessmango
71082a9642
Merge pull request #612 from Rennarde1312/master
Fix flatpak install instruction
2021-10-16 14:36:08 +02:00
Rennarde1312
9b2a86adb4 Fix flatpak install instruction 2021-10-07 08:44:26 +02:00
jackun
1344b5fa3a
Ubuntu 32-bit libs note 2021-10-07 09:28:16 +03:00
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
2021-10-07 09:02:59 +03:00
jackun
abf146f73c
Set correct swapchain_stats etc references for hw updater 2021-10-02 16:42:37 +03:00
jackun
9b6a39dfe9
sed s/gnu_linux/linux/g 2021-10-02 15:25:07 +03:00
jackun
90e48f95ca
Use unversioned fmt::format_error 2021-10-02 15:25:07 +03:00
jackun
6584f23a6c
Use ghc::filesystem to iterate over /proc/self/map_files 2021-10-02 15:25:07 +03:00
jackun
c452609718
Fix hw update thread waiting for initial update signal 2021-09-27 14:52:47 +03:00
jackun
ced84ec526
Try to find dlopen/dlsym from libc.so too (musl libc, glibc 2.34+) 2021-09-27 14:48:43 +03:00
jackun
cd43374102
Update README.md
Add extra line after table
2021-09-27 10:33:20 +03:00
Martin Wimpress
c8be7d3cc1
Add Ubuntu PPA install instructions (#431) 2021-09-24 22:26:43 +03:00
jackun
b3a95f1bca
Merge branch 'develop' 2021-09-24 22:17:31 +03:00
FlightlessMango
947f287a5e
Only create hw_info_thread once 2021-09-24 22:16:47 +03:00
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.
2021-09-23 14:54:22 +03:00
Faalagorn
87e25a3038
Add missing and rearrange options in .conf
Added missing options and rearranged the way they appear under legacy layout plus minor fixes:
* Added some default values after `=`
* Commented out options with default values
* Unified style
2021-09-23 14:54:16 +03:00
FlightlessMango
3ac7772a55 Add universal param 2021-09-18 17:21:20 +02:00