Commit Graph

970 Commits

Author SHA1 Message Date
jackun
e555a942fb
Use single IO stats instance 2022-02-18 16:44:10 +02:00
FlightlessMango
e12042ca3d mangoapp: adjust for changed msg size in gamescope 2022-02-17 15:27:17 +01:00
FlightlessMango
fa133940c8 Fix min/max frametime 2022-02-17 12:36:04 +01:00
Alessandro Toia
fb97530965 cpu: Fix not reporting amd cpu power 2022-02-16 19:53:42 -08:00
FlightlessMango
e289a55c6f mangoapp: make sure steam_focused is false when mangoapp_steam 2022-02-16 11:26:39 +01:00
FlightlessMango
316914da8d mangoapp: fixed mangoapp not respecting no_display 2022-02-15 19:16:45 +01:00
FlightlessMango
5cdedc4671 mangoapp: gamescope debug graphs 2022-02-15 10:23:33 +01:00
jackun
4608fa5e3a
vkGetInstanceProcAddr(instance, "vkGetInstanceProcAddr") should return our vkGetInstanceProcAddr not the next in the chain. 2022-02-15 00:35:55 +02:00
FlightlessMango
7740e8430f mangoapp: clean up unused variable 2022-02-14 11:01:20 +01:00
FlightlessMango
44a335a809 mangoapp: mangoapp_steam bool 2022-02-14 11:01:03 +01:00
FlightlessMango
6521eaa82d mangoapp: hide hud by default 2022-02-14 04:46:11 +01:00
Alessandro Toia
056f7b0e29 Check if battery status is full 2022-02-13 14:40:04 -08:00
FlightlessMango
17867f2a6d Battery: show remaining if > 1.f 2022-02-13 15:01:47 +01:00
FlightlessMango
b11714a326 mangoapp: hide fsr sharp when off 2022-02-13 15:00:16 +01:00
FlightlessMango
339f5c0d11 mangoapp: hide when steam is focused 2022-02-13 14:57:48 +01:00
FlightlessMango
cdcd08be44 battery remaining: don't show seconds at least by default 2022-02-13 08:51:28 +01:00
FlightlessMango
5508933c47 mangoapp: make fsr display a little prettier 2022-02-13 08:51:09 +01:00
Alessandro Toia
590f52d223 When battery is plugged in show plug icon 2022-02-12 15:28:34 -08:00
FlightlessMango
30ee0b770d Don't use all sysfs files if metrics_path 2022-02-11 08:53:06 +01:00
FlightlessMango
c708b1a8a8 disable deviceid check for now 2022-02-11 08:52:04 +01:00
FlightlessMango
4556caf6d3 mangoapp: remove some debug 2022-02-11 05:52:32 +01:00
FlightlessMango
b598d22543 mangoapp: don't write imgui.ini 2022-02-11 03:05:44 +01:00
Alessandro Toia
b158888d54 Add remaining time text to battery 2022-02-08 21:33:43 -08:00
FlightlessMango
61fb9267a0 mangoapp: don't use fsr if msg doesn't contain fsr 2022-02-09 05:33:08 +01:00
FlightlessMango
39f6ae98ec Battery remaining time 2022-02-09 05:20:59 +01:00
FlightlessMango
a9f811a207 mangoapp: gamescope fsr 2022-02-09 01:20:24 +01:00
FlightlessMango
8ddbcc3803 don't average log fps 2022-02-07 20:25:35 +01:00
FlightlessMango
d71dd74685 Fix amdgpu watt and make it more granular 2022-02-07 04:34:17 +01:00
flightlessmango
a76f2a9677
Merge pull request #684 from Joshua-Ashton/no_display_default_mapp
Enable no_overlay by default with mangoapp
2022-02-06 21:57:14 +01:00
FlightlessMango
5373140341 Don't enable battery_icon with full 2022-02-06 21:56:45 +01:00
FlightlessMango
d72099d1e7 Fixed issue with amdgpu metrics for APU 2022-02-06 21:56:33 +01:00
Joshua Ashton
beecde110b Enable no_overlay by default with mangoapp
Don't want this displaying unless explicitly requested.
2022-02-05 08:05:15 +00:00
FlightlessMango
986f3cc1b3 gpu_metrics: apu: set cpu temp as highest core temp 2022-02-04 21:01:44 +01:00
FlightlessMango
6983c2ec39 Use gpu_metrics instead of libdrm when available 2022-02-04 19:55:00 +01:00
jackun
eefce24024
Log an error if nvmlDeviceGetUtilizationRates failed 2022-02-04 16:50:51 +02:00
Joshua Ashton
8bc979b53c mangoapp: Fix janky window size transitions
GL apps that use non-normalized coordinates for stuff that will probably do stuff like this a lot in ways that make it hard to precompute the values beforehand make me very upset.
2022-02-01 02:34:36 +00:00
Joshua Ashton
b99817fd2b mangoapp: Don't redraw if we don't have new frames 2022-02-01 01:34:08 +00:00
Joshua Ashton
da8b0cbad4 mangoapp: Fix usage of notify_one in condition variable
This should be outside of the lock_guard scope to avoid a deadlock.
2022-02-01 01:27:45 +00:00
FlightlessMango
8e2c7e8524 mangoapp: disable amdgpu_handles 2022-01-29 20:29:10 +01:00
Lukáš Horáček
4943129844 cpu: Add parentheses around assigment in if check 2022-01-26 10:34:26 +02:00
Lukáš Horáček
ed4c8bca80 logging: Initialize total, total_cpu, total_gpu variables 2022-01-26 10:34:26 +02:00
Lukáš Horáček
e0cee5dbe3 cpu: Remove unused _power variable 2022-01-26 10:34:26 +02:00
FlightlessMango
fb1cae9cc9 display min/max frametime for period 2022-01-25 12:37:58 +01:00
flightlessmango
e435764eff
Merge pull request #662 from nanokatze/master
Set VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT when creating swapchain
2022-01-25 11:27:11 +01:00
FlightlessMango
9c15d093d6 Only reset logger if param is not set 2022-01-25 11:18:28 +01:00
FlightlessMango
639c39cdbb mangohudctl: expand help message 2022-01-24 06:02:52 +01:00
FlightlessMango
15a5edeb51 mangoapp: fixing up ctl switch statements 2022-01-22 05:17:55 +01:00
FlightlessMango
c50c815630 destroy logger with vulkan instance 2022-01-22 04:24:48 +01:00
Alessandro Toia
af716ac830 Add fps_only to legacy_elements, fixes #674 2022-01-21 17:40:29 -08:00
FlightlessMango
46730b572a permit starting a new log even if previous is rendering 2022-01-21 13:33:39 +01:00
FlightlessMango
9c7f91eccd clearer headers in summary 2022-01-21 11:20:50 +01:00
FlightlessMango
e9d4eeff04 mangohudctl meson option 2022-01-21 10:42:30 +01:00
FlightlessMango
97f6a00171 mangohudctl and interface 2022-01-21 10:35:55 +01:00
Joshua Ashton
f462c7ff76 Write log file in mangoapp
This was only writing the summary, which is rather useless.
2022-01-21 06:46:25 +00:00
FlightlessMango
3e2023a4a2 mangoapp: control socket 2022-01-20 01:24:01 +01:00
FlightlessMango
d4ca1050ec control: add toggle-logging 2022-01-19 05:29:50 +01:00
FlightlessMango
d734fa1b66 mangoapp: set static height to include benchmark 2022-01-19 05:29:50 +01:00
Alessandro Toia
2455d7ae9e Disable fps_color_change and core_load_change when using full config 2022-01-18 17:11:51 -08:00
flightlessmango
0f49c5796a
Merge pull request #671 from Joshua-Ashton/empty_crash
Fix crash when no frames were recorded
2022-01-19 01:57:03 +01:00
Joshua Ashton
437563fa77 Fix crash when no frames were recorded
This can happen with MangoApp + the Steam Deck UI as it doesn't commit when there is nothing going on
2022-01-19 00:51:50 +00:00
FlightlessMango
3d3916247a mangoapp: force benchmark underneath 2022-01-19 01:35:46 +01:00
FlightlessMango
8ee7dc0d7b mangoapp: increase window size when rendering benchmark 2022-01-19 01:35:46 +01:00
FlightlessMango
53b2a8b842 mangoapp: force log_interval 0 2022-01-19 01:35:46 +01:00
Alessandro Toia
21ecb48214 Fix fps not showing when using full config 2022-01-18 16:04:05 -08:00
FlightlessMango
6f882115f0 initialize m_log_end 2022-01-18 23:49:30 +01:00
flightlessmango
1f94e0af4d
Merge pull request #657 from ishitatsuyuki/quad
overlay: avoid quadratic behavior
2022-01-17 08:18:25 +01:00
FlightlessMango
5d3c0ff686 mangoapp: make sure logger is inited 2022-01-15 20:05:32 +01:00
FlightlessMango
d5c409beed mangoapp: temporarily remove vram mhz 2022-01-15 01:34:09 +01:00
FlightlessMango
37e18279e7 mangoapp: use amdgpu metrics 2022-01-14 22:41:38 +01:00
FlightlessMango
498687c33d mangoapp: let gamescope decide when to send updates 2022-01-07 18:42:06 +01:00
FlightlessMango
f7dffb03a1 mangoapp: bump width 2022-01-07 11:00:49 +01:00
FlightlessMango
77e4d51d87 calculate and show mins in benchmark 2022-01-06 14:54:45 +01:00
FlightlessMango
3366120364 Move calc benchmark into logger 2022-01-06 14:54:45 +01:00
FlightlessMango
7071900a79 Disable fps_only when using full param 2022-01-06 13:40:25 +01:00
FlightlessMango
496fa0babc mangoapp: shutdown and reinit based on no_display 2022-01-06 10:57:18 +01:00
FlightlessMango
6c0965c27b Write a log summary 2022-01-06 07:10:09 +01:00
FlightlessMango
a1b7b55a54 Use hudelements params in logging 2022-01-05 11:27:39 +01:00
FlightlessMango
92151565fc mangoapp: disable some options 2022-01-05 08:46:33 +01:00
flightlessmango
01cdc6cdc2
Merge pull request #664 from Joshua-Ashton/gamescope-external
mangoapp: Use GAMESCOPE_EXTERNAL_OVERLAY
2022-01-05 05:16:31 +00:00
FlightlessMango
941d5e6977 mangoapp: close if no_display 2022-01-05 06:14:19 +01:00
FlightlessMango
b0fc3d348a mangoapp: notifier 2022-01-05 06:14:19 +01:00
FlightlessMango
4cd2ba539f mangoapp: cleaning up 2022-01-05 06:14:19 +01:00
jackun
4a33838bcd
Add extra parentheses to make compiler happy 2022-01-04 18:20:33 +02:00
Joshua Ashton
80042e00a3 mangoapp: Rename to "mangoapp overlay window" 2022-01-04 12:17:36 +00:00
Joshua Ashton
0be5e9a72f mangoapp: Use GAMESCOPE_EXTERNAL_OVERLAY
Don't replace the STEAM_OVERLAY
2022-01-04 06:56:56 +00:00
Alessandro Toia
4f02e20205 Blacklist: add EADesktop.exe and EALauncher.exe 2022-01-03 15:49:08 -08:00
Alessandro Toia
6717ad9ecf Remove the FPS text from fps_only param 2022-01-03 15:43:53 -08:00
Alessandro Toia
15fc641fc3 Add fps_only param to disable showing the engine name 2022-01-02 19:30:52 -08:00
FlightlessMango
9758d2a286 Try to get correct amd gpu when multiple 2022-01-02 12:04:22 +01:00
FlightlessMango
e7c59c55a2 Rewrite reading core mhz files 2021-12-30 23:59:04 +01:00
Constantine
a04230ad29 Set VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT when creating swapchain
Fixes #582
2021-12-30 23:44:56 +02:00
FlightlessMango
cfd802c063 Incorrect param used in calc benchmark 2021-12-30 02:27:21 +01:00
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