-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathAMDGPUFanControl
23 lines (23 loc) · 1.18 KB
/
AMDGPUFanControl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
###################################################################################
############################### Requirements: git #################################
###################################################################################
# AMDGPU Fan #
# Change the speed of your GPU Fan if you are running Linux with AMD #
# This has been tested on Arch Based releases but assumed to be working on others #
###################################################################################
#!/bin/bash
mkdir -p ~/Downloads/GPU
mkdir ~/.GPU
cd ~/Downloads/GPU
git clone https://github.com/DominiLux/amdgpu-pro-fans.git
mv amdgpu-pro-fans/amdgpu-pro-fans.sh ~/.GPU/amdgpu-pro-fans.sh
chmod u+x ~/.GPU/amdgpu-pro-fans.sh
echo >> ~/.bashrc
echo '#AMD GPU Fan Contorl' >> ~/.bashrc
echo '#Usage "gpu <fanspeed%>"' >> ~/.bashrc
echo 'alias gpu='\''sudo ~/.GPU/amdgpu-pro-fans.sh -s'\' >> ~/.bashrc
source ~/.bashrc
#This is controlled with the commannd $ gpu <speed%>
#e.g '$ gpu 60' for 60%
#Credit to https://github.com/DominiLux
###################################################################################