FWIW, I have Linux Mint 19.3 Tricia with 5.4.7-050407-generic kernel. I was able to get my 3950X up and folding by simply installing fahclient v7.5.1 and terminal/FAHControl. I could not add my GPU however so.....
Here are the minimal steps I have found to get FAH up and running with my GPU without having to install any additional packages. Trying other methods I found messed up Steam and I couldn't play games (thank goodness for Timeshift!) I also hate installing unnecessary packages:
Installing F@H:
Code: Select all
## Download fahclient, fahcontrol, and optionally fahviewer from https://foldingathome.org/start-folding/ and save to your desktop
## Double click on each package, one at a time and have Package Installer install the packages.
sudo nvidia-xconfig --cool-bits=4
sudo gedit /etc/fahclient/config.xml
## Within the config.xml, change the gpu-entry from 'false' to 'true' and save.
sudo wget https://fah-web.stanford.edu/file-releases/public/GPUs.txt -P /var/lib/fahclient
sudo chown fahclient:root /var/lib/fahclient/GPUs.txt
sudo /etc/init.d/FAHClient restart
## Open FAHControl and select <Configure>, <Slots>, <Add>, <GPU>, <OK>, and <Save>.
## Optionally, I added extra slot options for my CPU (client-type, bigadv) and for my GPU (client-type, advanced). Read more about that here: https://foldingathome.org/support/faq/installation-guides/configuration-guide/
The GPU.txt file was not automatically downloaded by fahclient, so that is why I downloaded it in the above steps. Maybe it's because my config.xml had the gpu entry set to false?
If you don't already have nvidia drivers installed, I have included what I can remember from the process. I chose v440. Please correct me if I mis-remembered anything about the nvidia drivers! I had to install gcc-7 and gcc-9 because it turns out, nvidia installation will fail if you are running an upgraded kernel unless you also install the gcc compilers that were used to compile that kernel. Had to read /var/lib/dkms/nvidia/440.44/build/make.log to figure that out.
Nvidia Drivers:
Code: Select all
sudo apt-get purge nvidia*
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install build-essential libc6:i386
sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
sudo apt install software-properties-common
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install gcc-7 g++-7 gcc-9 g++-9
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90 --slave /usr/bin/g++ g++ /usr/bin/g++-9 --slave /usr/bin/gcov gcov /usr/bin/gcov-9
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 70 --slave /usr/bin/g++ g++ /usr/bin/g++-7 --slave /usr/bin/gcov gcov /usr/bin/gcov-7
sudo update-initramfs -u
sudo reboot
## Hit CTRL+ALT+F1
sudo telinit 3
sudo CC="gcc-7.2.0" bash ~/Desktop/NVIDIA-Linux-x86_64-440.44.run
sudo reboot