Last active
June 12, 2026 07:57
-
-
Save srlemke/5a2a3528e4c3949c97957d5d647f1a52 to your computer and use it in GitHub Desktop.
6900XT gamemode settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This is not so much needed anymore, lact does a great job of applying this same settings! | |
| Install lact, set ofset -81 and should be all done. | |
| on lact, also set fan to curve instead auto. | |
| mangohud and gamemode are still good stuff, so I suggest those to be installed. | |
| ## Original Manual way bellow: ### | |
| #You need to unlock the card for over/under-clocking work, add this as grub boot kernel argument: (lact can do this) | |
| amdgpu.ppfeaturemask=0xffffffff | |
| #To not lose it when updating kernel: | |
| vim /etc/default/grub | |
| #On recent/newer OpenSUSE Tumbleweed: | |
| vim /etc/kernel/cmdline | |
| amdgpu.ppfeaturemask=0xffffffff" | |
| #Create and secure 1 directory to store 2 scrips: | |
| mkdir /usr/bin/scripts/ | |
| chmod 700 /usr/bin/scripts | |
| #script1: | |
| #Double check your cardid, it usually is card0 or card1, in my example its card1, adjust script accordingly | |
| games:/usr/bin/scripts # cat undervolt-gamemode-before.sh | |
| #!/bin/bash | |
| #The bellow is the underwolt lines: | |
| echo "vo -81" > /sys/class/drm/card1/device/pp_od_clk_voltage | |
| echo "c" > /sys/class/drm/card1/device/pp_od_clk_voltage | |
| sleep 1 | |
| echo "vo -80" > /sys/class/drm/card1/device/pp_od_clk_voltage | |
| echo "c" > /sys/class/drm/card1/device/pp_od_clk_voltage | |
| #4 is the best performant one (VR) | |
| echo "1" > /sys/class/drm/card1/device/pp_power_profile_mode | |
| #fan: | |
| echo "1" > /sys/class/drm/card1/device/hwmon/hwmon0/pwm1_enable | |
| echo "162" > /sys/class/drm/card1/device/hwmon/hwmon0/pwm1 | |
| games:/usr/bin/scripts # | |
| #script2: | |
| simrig:/usr/bin/scripts # cat undervolt-gamemode-after.sh | |
| #!/bin/bash | |
| echo "c" > /sys/class/drm/card1/device/pp_od_clk_voltage | |
| echo "low" > /sys/class/drm/card1/device/power_dpm_force_performance_level | |
| echo "2" > /sys/class/drm/card1/device/pp_power_profile_mode | |
| cpupower frequency-set -g powersave | |
| #fan: | |
| echo "1" > /sys/class/drm/card1/device/hwmon/hwmon0/pwm1_enable | |
| echo "96" > /sys/class/drm/card1/device/hwmon/hwmon0/pwm1 | |
| simrig:/usr/bin/scripts # | |
| #Make all executable: | |
| chmod 700 /usr/bin/scripts/* | |
| cp /usr/share/doc/packages/gamemoded/gamemode.ini /etc/ | |
| vim /etc/gamemode.ini | |
| [custom] | |
| ; Custom scripts (executed using the shell) when gamemode starts and ends | |
| #start=notify-send "GameMode started" | |
| start=sudo /usr/bin/scripts/undervolt-gamemode-before.sh | |
| #end=notify-send "GameMode ended" | |
| end=sudo /usr/bin/scripts/undervolt-gamemode-after.sh | |
| #Since the scripts run with sudo, run visudo as root and add as last line: | |
| slemke ALL=(root) NOPASSWD: /usr/bin/scripts/* | |
| #Install mangohud | |
| Game start properties on Steam: | |
| mangohud gamemoderun %command% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment