Skip to content

Instantly share code, notes, and snippets.

@cirrusUK
Created November 29, 2020 22:39
Show Gist options
  • Save cirrusUK/feb6c1569778aa578b871f088baa5b37 to your computer and use it in GitHub Desktop.
Save cirrusUK/feb6c1569778aa578b871f088baa5b37 to your computer and use it in GitHub Desktop.
### MangoHud configuration file
### Uncomment any options you wish to enable. Default options are left uncommented
### Use some_parameter=0 to disable a parameter (only works with on/off parameters)
### Everything below can be used / overridden with the environment variable MANGOHUD_CONFIG instead
################ PERFORMANCE #################
#gpu_name
### Limit the application FPS. Comma-separated list of one or more FPS values (e.g. 0,30,60). 0 means unlimited (unless v-synced).
# fps_limit=
### VSYNC [0-3] 0 = adaptive; 1 = off; 2 = mailbox; 3 = on
vsync=0
### OpenGL VSYNC [0-N] 0 = off; >=1 = wait for N v-blanks, N > 1 acts as a fps limiter (fps = display refresh rate / N)
gl_vsync=-1
################### VISUAL ###################
### Legacy Layout
legacy_layout
### Display the current CPU information
##cpu_stats
cpu_temp
# cpu_power
cpu_text=Intel(R) i7:
# cpu_mhz
cpu_load_change
cpu_load_value
#cpu_load_color=#87d700,00FFFF,FF00FF
cpu_load_value=20,90
### Display the current GPU information
#gpu_stats
gpu_temp
#gpu_core_clock
#gpu_mem_clock
#gpu_power
gpu_text=GTS 450:
vulkan_driver
gpu_load_change
gpu_load_value=20,90
#gpu_load_color=#87d700,00FFFF,FF00FF
### Display FPS and frametime
#fps
#frametime
### Display loaded MangoHud architecture
#arch
### Display the frametime line graph
#frame_timing
#histogram
### Display the current system time
time
### Time formatting examples
time_format = %H:%M
# time_format = [ %T %F ]
# time_format = %X # locally formatted time, because of limited glyph range, missing characters may show as '?' (e.g. japanese)
### Change the hud font size (default is 24)
font_size=24
font_scale=1.0
font_size_text=24
font_scale_media_player = 0.55
no_small_font
### Change default font (set location to .TTF/.OTF file )
## Set font for the whole hud
font_file='/usr/share/fonts/OTF/Droid Sans Mono for Powerline.otf'
## Set font only for text like media player metadata
font_file_text=''/usr/share/fonts/OTF/FuraMono-Bold Powerline.otf
## Set font glyph ranges. Defaults to latin-only. Don't forget to set font_file/text_font_file to font that supports these.
## Probably don't enable all at once because of memory usage and hardware limits concerns.
## If you experience crashes or text is just squares, reduce glyph range or reduce font size.
font_glyph_ranges=korean, chinese, chinese_simplified, japanese, cyrillic, thai, vietnamese, latin_ext_a, latin_ext_b
### Change the hud position (default is top-left)
position=top-left
### Display the current CPU load & frequency for each core
core_load
### IO read and write for the app (not system)
io_read
io_write
io_stats
### Display system ram / vram usage
ram
vram
#full
### Display Wine version
# wine
### Disable / hide the hud by deafult
# no_display
### Hud position offset
# offset_x=
# offset_y=
### Hud dimensions
# width=
# height=
# table_columns=
# cellpadding_y=
### Hud transparency / alpha
background_alpha=0.1
#alpha=0.1
### Color customization
text_color=FFFFFF
gpu_color=d75f00
cpu_color=ffffaf
# vram_color=AD64C1
# ram_color=C26693
# engine_color=EB5B5B
# io_color=A491D3
#frametime_color=732010
# background_color=020202
# media_player_color=FFFFFF
# wine_color=732010
### Show media player metadata
media_player
media_player_name = audacious
media_player_order = title,artist,album
### Specify gpu with pci bus id for amdgpu and NVML stats.
### Set to 'domain:bus:slot.function'
#pci_dev = 0:02:0.0
### Blacklist
#blacklist =
################## INTERACTION #################
### Change toggle keybinds for the hud & logging
toggle_hud=Shift_R+F12
#toggle_fps_limit=Shift_L+F1
#toggle_logging=Shift_L+F2
#reload_cfg=Shift_L+F4
#upload_log=Shift_L+F3
################## LOG #################
### Automatically start the log after X seconds
# autostart_log = 1
### Set amount of time in second that the logging will run for
# log_duration
### Set location of the output files (Required for logging)
# output_folder = /home/<USERNAME>/mangologs
### Permit uploading logs directly to Flightlessmango.com
permit_upload=1
### Define a '+'-separated list of percentiles shown in the benchmark results.
### Use "AVG" to get a mean average. Default percentiles are 97+AVG+1+0.1
# benchmark_percentiles=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment