dd78c02ed8
Co-authored-by: jackun <jack.un@gmail.com> Co-authored-by: telans <telans@protonmail.com> |
4 years ago | |
---|---|---|
assets | 4 years ago | |
bin | 4 years ago | |
include/vulkan | 4 years ago | |
modules | 4 years ago | |
src | 4 years ago | |
.gitignore | 4 years ago | |
.gitmodules | 4 years ago | |
README.md | 4 years ago | |
meson.build | 4 years ago |
README.md
MangoHud
A modification of the Mesa vulkan overlay. Personal improvements including temperature reporting and logging capabilities.
Comparison (outdated)
Installation
- Arch linux: PKGBUILD
Normal usage
To enable the MangoHud vulkan overlay layer, run :
MANGOHUD=1 /path/to/my_vulkan_app
Or alternatively, add MANGOHUD=1
to your shell profile.
MANGOHUD_CONFIG parameters
You can customize the hud by using the MANGOHUD_CONFIG environment variable while separating different options with a comma.
cpu_temp
: Displays current CPU temperaturegpu_temp
: Displays current GPU temperaturecore_load
: Displays current CPU load per corefont_size
: Changes the default font size (default is 24)width
: Set custom hud widthheight
: Set custom hud heightposition=x
: Available values forx
includetop-left
,top-right
,bottom-left
, andbottom-right
Note: Width and Height are set automatically based on the font_size, but can be overridden.
Example: MANGOHUD_CONFIG=cpu_temp,gpu_temp,position=top-right,height=500,font_size=32
Environment Variables
MANGOHUD_OUTPUT
: Define name and location of the output file (Required for logging)MANGOHUD_FONT
: Change default font (set location to .TTF/.OTF file )
Keybindings
F2
: Toggle LoggingF12
: Toggle Hud
MangoHud fps logging
When you toggle logging (using the keybind F2
), a file is created with your chosen name (using MANGOHUD_OUTPUT
) plus a date & timestamp.
This file can be uploaded to Flightlessmango.com to create graphs automatically. you can share the created page with others, just link it.
Multiple log files
It's possible to upload multiple files when using Flightlessmango.com. You can rename them to your preferred names and upload them in a batch. These filenames will be used as the legend in the graph.