Commit Graph

2000 Commits (master)
 

Author SHA1 Message Date
jackun fad35b9540
Just check hwmon sysfs folder for cpu temp sensors 4 years ago
jackun 83d235e630
README.md: add `time` params 4 years ago
jackun ddb84305da
time_format examples 4 years ago
jackun 6bf37f8510
Add "time_format" parameter; update time string every "fps_sampling_period" interval
See std::put_time docs for supported formatting
4 years ago
jackun 9a4c9033fa
Support escaping delimiters in MANGOHUD_CONFIG 4 years ago
jackun 417b1aac8d
config: trim only surrounding whitespace 4 years ago
FlightlessMango 58c7831d5c hud width correction 4 years ago
FlightlessMango 80cff1ac86 Fixed hud width not applying 4 years ago
FlightlessMango 12ba4f9ea5 No need to set hud height manually anymore 4 years ago
telans c694c34dde
Merge pull request #47 from ilyazzz/patch-1
Add AUR info to README
4 years ago
Ilya Zlobintsev 48e385615b
Update README.md
Co-Authored-By: telans <telans@protonmail.com>
4 years ago
Ilya Zlobintsev 25b50e9f24
Add AUR info to README 4 years ago
telans ea9160b082
Merge pull request #43 from tim77/tim77-packaging-status
Add Fedora package installation instructions
4 years ago
jackun 8a348ffbf0
Disable gpu_timing for now
Issue #44
4 years ago
Artem Polishchuk bcc279c498
Add Fedora installation instructions 4 years ago
jackun b91be85ff9
Use std::unordered_map and std::mutex instead for object mapping and related cleanups 4 years ago
jackun 54950853b5
Remove redundant 'no_display' code 4 years ago
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.
4 years ago
jackun 8f66bd7d87
Set stats window height to ImGui::GetCursorPosY() 4 years ago
jackun 2fb0453e28
Create ImGui fonts per swapchain 4 years ago
FlightlessMango 099082affc Refresh config keybind 4 years ago
FlightlessMango 7593582f4a Fixed parsing crosshair color function 4 years ago
jackun 9053b63142
Allocate instance_data with "new" 4 years ago
jackun 68e880a101
config: rename param to "read_cfg" 4 years ago
jackun ad2ed4a99a
config: load highest priority config available only 4 years ago
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.
4 years ago
jackun f7e7146883
config: find_last_of can search for multiple characters, doh 4 years ago
telans 6afea3c392
Merge pull request #41 from ikeycode/solus-support
Add Solus support
4 years ago
jackun 6a45ac84b3
config: sometimes wine exe has forward-slashes instead 4 years ago
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>
4 years ago
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>
4 years ago
jackun 65b90fc01b
config file: respect XDG dirs
Other half of #37
4 years ago
telans ab04249782
build/install: respect XDG dirs
Half of #37
4 years ago
telans 32b2445614
install: run from script dir
Fixes #29
4 years ago
telans 6b9bb816d5
update overlay example 4 years ago
jackun 67eab673d8
Override previous setting, std::unordered_map::insert() does not. 4 years ago
telans 9d0b766cda
build: support Pop!_OS 4 years ago
jackun 70d0e81c36
Clone vulkan headers if needed 4 years ago
Danilo Spinella 18edd4eb50 meson: Add option to use system vulkan headers 4 years ago
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.
4 years ago
jackun 5c4816efa5
Unused instance_data 4 years ago
jackun b2abe8073e
Remove unused android stuff 4 years ago
jackun 69cf83d3bc
config file: print that config file is skipped if we failed to open it 4 years ago
jackun 3e0eda559d
print if done parsing config file 4 years ago
jackun 6086a6b9ab
config file: try to detect Wine executable's path 4 years ago
telans ca738c4126
config: add time, vsync explanation 4 years ago
telans 81dc992dfa
readme: mention config 4 years ago
telans fda9f1cd94
install: recursive 4 years ago
telans 9b566a64bd
install: update config locations 4 years ago
jackun 169d5ff99a
Search configs in ~/.config/MangoHud 4 years ago