Commit Graph

1310 Commits

Author SHA1 Message Date
jackun
1a8b98e09d Divide memory sizes by 1024 byte chunks 2020-03-07 02:08:01 +01:00
FlightlessMango
857dcf7fb8 use hmwon freq1/2 instead for amdgpu core/mem clocks 2020-03-07 02:08:01 +01:00
FlightlessMango
274b3e67ca don't extend hud width if gpu_stats is disabled 2020-03-07 02:08:01 +01:00
FlightlessMango
4d5f62386b added gpu mem and core clocks to hud 2020-03-07 02:08:01 +01:00
jackun
f8398c3e7a Add I/O stats
Using /proc/self/io 'read_bytes' and 'write_bytes' fields which count only
reads/writes that hit the storage (i.e no cached reads).
2020-03-07 02:07:24 +01:00
FlightlessMango
534ca9416d Spruced up iostats and change to bool from custom 2020-03-07 02:06:40 +01:00
FlightlessMango
4847cb8e31 Using table for hud layout 2020-03-07 02:06:40 +01:00
FlightlessMango
5f5ce9598d set ImGui to tables branch 2020-03-07 02:05:39 +01:00
jackun
2472e69205
Check if pApplicationInfo is null 2020-03-07 02:29:31 +02:00
jackun
ea8f0ad666
Includes cleanup 2020-03-06 23:07:28 +02:00
jackun
fad35b9540
Just check hwmon sysfs folder for cpu temp sensors 2020-03-05 09:52:14 +02:00
jackun
83d235e630
README.md: add time params 2020-03-02 23:01:47 +02:00
jackun
ddb84305da
time_format examples 2020-03-02 22:53:43 +02:00
jackun
6bf37f8510
Add "time_format" parameter; update time string every "fps_sampling_period" interval
See std::put_time docs for supported formatting
2020-03-02 22:53:43 +02:00
jackun
9a4c9033fa
Support escaping delimiters in MANGOHUD_CONFIG 2020-03-02 22:53:42 +02:00
jackun
417b1aac8d
config: trim only surrounding whitespace 2020-03-02 22:53:29 +02:00
FlightlessMango
58c7831d5c hud width correction 2020-02-29 01:38:40 +01:00
FlightlessMango
80cff1ac86 Fixed hud width not applying 2020-02-29 01:16:41 +01:00
FlightlessMango
12ba4f9ea5 No need to set hud height manually anymore 2020-02-28 22:01:04 +01:00
telans
c694c34dde
Merge pull request #47 from ilyazzz/patch-1
Add AUR info to README
2020-02-25 07:44:44 +13:00
Ilya Zlobintsev
48e385615b
Update README.md
Co-Authored-By: telans <telans@protonmail.com>
2020-02-24 09:35:21 +02:00
Ilya Zlobintsev
25b50e9f24
Add AUR info to README 2020-02-23 14:45:07 +02:00
telans
ea9160b082
Merge pull request #43 from tim77/tim77-packaging-status
Add Fedora package installation instructions
2020-02-21 20:07:51 +13:00
jackun
8a348ffbf0
Disable gpu_timing for now
Issue #44
2020-02-20 23:08:09 +02:00
Artem Polishchuk
bcc279c498
Add Fedora installation instructions 2020-02-20 17:31:30 +02:00
jackun
b91be85ff9
Use std::unordered_map and std::mutex instead for object mapping and related cleanups 2020-02-20 01:03:35 +02:00
jackun
54950853b5
Remove redundant 'no_display' code 2020-02-18 15:36:20 +02:00
jackun
d78622a322
Don't enable 'read_cfg' too when 'full' is set in MANGOHUD_CONFIG
Could use OVERLAY_PARAM_INTERNAL or something similar but currently
less code to just save the boolean and reset.
2020-02-18 15:13:22 +02:00
jackun
8f66bd7d87
Set stats window height to ImGui::GetCursorPosY() 2020-02-18 14:35:58 +02:00
jackun
2fb0453e28
Create ImGui fonts per swapchain 2020-02-18 14:21:22 +02:00
FlightlessMango
099082affc Refresh config keybind 2020-02-18 12:04:59 +01:00
FlightlessMango
7593582f4a Fixed parsing crosshair color function 2020-02-18 11:44:45 +01:00
jackun
9053b63142
Allocate instance_data with "new" 2020-02-18 11:49:09 +02:00
jackun
68e880a101
config: rename param to "read_cfg" 2020-02-18 11:47:58 +02:00
jackun
ad2ed4a99a
config: load highest priority config available only 2020-02-18 09:32:45 +02:00
jackun
80f29aad9d
Allow MANGOHUD_CONFIG to override configuration files' settings.
Use `MANGOHUD_CONFIG=some_setting=1` to skip reading the configuration files
and just use the settings specified with MANGOHUD_CONFIG.

Use `MANGOHUD_CONFIG=read_configs,...` to read configuration files too and
add other settings that you would like to override.
2020-02-18 09:24:22 +02:00
jackun
f7e7146883
config: find_last_of can search for multiple characters, doh 2020-02-18 00:59:56 +02:00
telans
6afea3c392
Merge pull request #41 from ikeycode/solus-support
Add Solus support
2020-02-18 08:54:22 +13:00
jackun
6a45ac84b3
config: sometimes wine exe has forward-slashes instead 2020-02-17 13:52:10 +02:00
Ikey Doherty
cc2dc97eab
build.sh: Add explicit support for Solus
As Solus is in a longstanding transition away from the Pythonic eopkg
package manager (a fork of PiSI) - some workarounds are required.
In a nut shell, eopkg exit codes aren't applied to info/status commands,
so we must use the Pythonic API.

The 32-bit build dependencies are first calculated, and merged with
the 'system.devel' component required for building any package on
Solus. This is similar to 'build-essential' on other distributions.

With this change, we can safely `./build.sh install` on Solus and
have MANGOHUD=1 working with Vulkan applications, as tested on my
own Solus installation with the Serpent demos in Vulkan mode with
bgfx backend.

Signed-off-by: Ikey Doherty <ikey.doherty@lispysnake.com>
2020-02-17 11:17:46 +00:00
Ikey Doherty
93f3c97a63
build.sh: Support multiple locations of the os-release file
In stateless operating systems the os-release file might not exist
in /etc/ unless a compatability link is in place, or the user has
overriden the distro defaults.

A layering approach should instead be used, to read a set of known
paths in priority order. If the /etc/os-release file is not found,
the fallback location of /usr/lib/os-release will be used instead.

Signed-off-by: Ikey Doherty <ikey.doherty@lispysnake.com>
2020-02-17 10:16:42 +00:00
jackun
65b90fc01b
config file: respect XDG dirs
Other half of #37
2020-02-15 13:23:18 +02:00
telans
ab04249782
build/install: respect XDG dirs
Half of #37
2020-02-15 23:35:31 +13:00
telans
32b2445614
install: run from script dir
Fixes #29
2020-02-15 07:45:57 +13:00
telans
6b9bb816d5
update overlay example 2020-02-14 20:06:44 +13:00
jackun
67eab673d8
Override previous setting, std::unordered_map::insert() does not. 2020-02-14 08:45:22 +02:00
telans
9d0b766cda
build: support Pop!_OS 2020-02-14 10:55:55 +13:00
jackun
70d0e81c36
Clone vulkan headers if needed 2020-02-13 23:53:56 +02:00
Danilo Spinella
18edd4eb50 meson: Add option to use system vulkan headers 2020-02-13 21:47:50 +02:00
Danilo Spinella
2c6f9d0d44 meson: Remove generation of unneeded includes
vk_dispatch_table_helper.h and vk_layer_dispatch_table.h headers
are not used anymore by mesa layer, remove their generation.

Remove git modules required only for the generation of above headers.
2020-02-13 21:47:50 +02:00