Update Gamemode and MangoHud configs

This commit is contained in:
Sravan Balaji
2024-03-10 14:34:24 -04:00
parent 0a53d2ac40
commit e9f64d26e6
3 changed files with 51 additions and 14 deletions

View File

@@ -21,37 +21,39 @@ cpu_load_change
core_load_change core_load_change
cpu_load_value=50,90 cpu_load_value=50,90
cpu_load_color=FFFFFF,FFAA7F,CC0000 cpu_load_color=FFFFFF,FFAA7F,CC0000
cpu_color=2e97cb cpu_color=2E97CB
cpu_text=CPU cpu_text=CPU
io_stats io_stats
io_read io_read
io_write io_write
io_color=a491d3 io_color=A491D3
swap swap
vram vram
vram_color=ad64c1 vram_color=AD64C1
ram ram
ram_color=c26693 ram_color=C26693
fps fps
engine_color=eb5b5b engine_color=EB5B5B
gpu_name gpu_name
gpu_color=2e9762 gpu_color=2E9762
vulkan_driver vulkan_driver
wine wine
wine_color=eb5b5b wine_color=EB5B5B
frame_timing=1 frame_timing=1
frametime_color=00ff00 frametime_color=00FF00
throttling_status throttling_status
resolution
vkbasalt vkbasalt
gamemode gamemode
media_player_color=ffffff gamepad_battery
media_player_color=FFFFFF
table_columns=3 table_columns=3
background_alpha=0.4 background_alpha=0.4
font_size=24 font_size=24
background_color=020202 background_color=020202
position=top-left position=top-left
text_color=ffffff text_color=FFFFFF
round_corners=0 round_corners=0
#GOVERLAY_THEME=mangohuddefault #GOVERLAY_THEME=mangohuddefault
toggle_hud=Shift_R+F12 toggle_hud=Shift_R+F12

View File

@@ -23,6 +23,8 @@ softrealtime=off
; GameMode can renice game processes. You can put any value between 0 and 20 here, the value ; GameMode can renice game processes. You can put any value between 0 and 20 here, the value
; will be negated and applied as a nice value (0 means no change). Defaults to 0. ; will be negated and applied as a nice value (0 means no change). Defaults to 0.
; To use this feature, the user must be added to the gamemode group (and then rebooted):
; sudo usermod -aG gamemode $(whoami)
renice=10 renice=10
; By default, GameMode adjusts the iopriority of clients to BE/0, you can put any value ; By default, GameMode adjusts the iopriority of clients to BE/0, you can put any value
@@ -35,6 +37,10 @@ ioprio=0
; Defaults to 1 ; Defaults to 1
inhibit_screensaver=1 inhibit_screensaver=1
; Sets whether gamemode will disable split lock mitigation when active
; Defaults to 1
disable_splitlock=1
[filter] [filter]
; If "whitelist" entry has a value(s) ; If "whitelist" entry has a value(s)
; gamemode will reject anything not in the whitelist ; gamemode will reject anything not in the whitelist
@@ -75,6 +81,15 @@ inhibit_screensaver=1
; This corresponds to power_dpm_force_performance_level, "manual" is not supported for now ; This corresponds to power_dpm_force_performance_level, "manual" is not supported for now
;amd_performance_level=high ;amd_performance_level=high
[cpu]
; Parking or Pinning can be enabled with either "yes", "true" or "1" and disabled with "no", "false" or "0".
; Either can also be set to a specific list of cores to park or pin, comma separated list where "-" denotes
; a range. E.g "park_cores=1,8-15" would park cores 1 and 8 to 15.
; The default is uncommented is to disable parking but enable pinning. If either is enabled the code will
; currently only properly autodetect Ryzen 7900x3d, 7950x3d and Intel CPU:s with E- and P-cores.
;park_cores=no
;pin_cores=yes
[supervisor] [supervisor]
; This section controls the new gamemode functions gamemode_request_start_for and gamemode_request_end_for ; This section controls the new gamemode functions gamemode_request_start_for and gamemode_request_end_for
; The whilelist and blacklist control which supervisor programs are allowed to make the above requests ; The whilelist and blacklist control which supervisor programs are allowed to make the above requests
@@ -88,10 +103,10 @@ inhibit_screensaver=1
[custom] [custom]
; Custom scripts (executed using the shell) when gamemode starts and ends ; Custom scripts (executed using the shell) when gamemode starts and ends
;start=notify-send "GameMode started" ;start=notify-send "GameMode started"
; /home/me/bin/stop_ethmining.sh ; /home/me/bin/stop_foldingathome.sh
;end=notify-send "GameMode ended" ;end=notify-send "GameMode ended"
; /home/me/bin/start_ethmining.sh ; /home/me/bin/start_foldingathome.sh
; Timeout for scripts (seconds). Scripts will be killed if they do not complete within this time. ; Timeout for scripts (seconds). Scripts will be killed if they do not complete within this time.
;script_timeout=10 ;script_timeout=10

View File

@@ -74,6 +74,7 @@
- [[#general][General]] - [[#general][General]]
- [[#filter][Filter]] - [[#filter][Filter]]
- [[#gpu][GPU]] - [[#gpu][GPU]]
- [[#cpu][CPU]]
- [[#supervisor][Supervisor]] - [[#supervisor][Supervisor]]
- [[#custom][Custom]] - [[#custom][Custom]]
- [[#media][Media]] - [[#media][Media]]
@@ -8458,6 +8459,8 @@ softrealtime=off
; GameMode can renice game processes. You can put any value between 0 and 20 here, the value ; GameMode can renice game processes. You can put any value between 0 and 20 here, the value
; will be negated and applied as a nice value (0 means no change). Defaults to 0. ; will be negated and applied as a nice value (0 means no change). Defaults to 0.
; To use this feature, the user must be added to the gamemode group (and then rebooted):
; sudo usermod -aG gamemode $(whoami)
renice=10 renice=10
; By default, GameMode adjusts the iopriority of clients to BE/0, you can put any value ; By default, GameMode adjusts the iopriority of clients to BE/0, you can put any value
@@ -8469,6 +8472,10 @@ ioprio=0
; Sets whether gamemode will inhibit the screensaver when active ; Sets whether gamemode will inhibit the screensaver when active
; Defaults to 1 ; Defaults to 1
inhibit_screensaver=1 inhibit_screensaver=1
; Sets whether gamemode will disable split lock mitigation when active
; Defaults to 1
disable_splitlock=1
#+END_SRC #+END_SRC
*** Filter *** Filter
@@ -8519,6 +8526,19 @@ inhibit_screensaver=1
;amd_performance_level=high ;amd_performance_level=high
#+END_SRC #+END_SRC
*** CPU
#+BEGIN_SRC conf :tangle .config/gamemode.ini
[cpu]
; Parking or Pinning can be enabled with either "yes", "true" or "1" and disabled with "no", "false" or "0".
; Either can also be set to a specific list of cores to park or pin, comma separated list where "-" denotes
; a range. E.g "park_cores=1,8-15" would park cores 1 and 8 to 15.
; The default is uncommented is to disable parking but enable pinning. If either is enabled the code will
; currently only properly autodetect Ryzen 7900x3d, 7950x3d and Intel CPU:s with E- and P-cores.
;park_cores=no
;pin_cores=yes
#+END_SRC
*** Supervisor *** Supervisor
#+BEGIN_SRC conf :tangle .config/gamemode.ini #+BEGIN_SRC conf :tangle .config/gamemode.ini
@@ -8539,10 +8559,10 @@ inhibit_screensaver=1
[custom] [custom]
; Custom scripts (executed using the shell) when gamemode starts and ends ; Custom scripts (executed using the shell) when gamemode starts and ends
;start=notify-send "GameMode started" ;start=notify-send "GameMode started"
; /home/me/bin/stop_ethmining.sh ; /home/me/bin/stop_foldingathome.sh
;end=notify-send "GameMode ended" ;end=notify-send "GameMode ended"
; /home/me/bin/start_ethmining.sh ; /home/me/bin/start_foldingathome.sh
; Timeout for scripts (seconds). Scripts will be killed if they do not complete within this time. ; Timeout for scripts (seconds). Scripts will be killed if they do not complete within this time.
;script_timeout=10 ;script_timeout=10