Page 1 of 1

FAH on Chakra Linux (arch variant)

Posted: Thu Sep 26, 2013 9:52 pm
by halucigenia
Hi,

I just got my new build up and running on my Sapphire PURE Black 990FX (which required BIOS 1APEF036.ROM for this GPU) with a Gigabyte GTX660 GV-N660OC-2GD .

I went for Chakra Linux which is an arch variant (just to be different).

I used octopi (GUI for Pacman) to install Nvidia 3.19.49-1, nvidia-utils 3.19.49-1 and opencl-nvidia 3.19.49-2

I installed FAH from arch AUR using the following command "makepkg -s -f" after cding to the folder that I extracted the foldingathome 7.3.6-1 tarball to.

Then used "sudo pacman -U foldingathome-7.3.6-1-x86_64.pkg.tar.xz" to install

I manually edited the config.xml as per my previous Ubuntu installs.

And ran sudo FAHClient from the resulting /opt/fah directory

There must be a way to get this up and running, maybe getting it into the Chakra CCR Repos, and to get FAHClient running as a service but since I am new to Chakra Linux that is beyond my capabilities at the moment.

I hope that this helps someone.

Also if anyone has any advice for getting FAH up and running on this distro in a better way please let me know.

It is just folding the first 7811 WU @ ~ 60000 PPD (using FAHControl from my Kubuntu box to monitor it)

Re: FAH on Chakra Linux (arch variant)

Posted: Thu Sep 26, 2013 10:22 pm
by Jesse_V
Why are you running FAHClient as root? It should have its own user, with less privileges than root.

Re: FAH on Chakra Linux (arch variant)

Posted: Thu Sep 26, 2013 10:32 pm
by halucigenia
Jesse_V wrote:Why are you running FAHClient as root? It should have its own user, with less privileges than root.
Thanks, any advice appreciated. As I said I will have to figure out how to set it up as a service.

Re: FAH on Chakra Linux (arch variant)

Posted: Sat Sep 28, 2013 12:07 pm
by halucigenia
To get FAHClient running as a service I was following Folding@home - ArchWiki
But getting stuck at the
# systemctl start foldingathome
step as it always returned an error regarding locales.

so I edited the /etc/locale.gen file and added the following lines to it:-

en_GB ISO-8859-1
en_GB.UTF-8 UTF-8

then ran
sudo locale.gen

and re-ran
makepkg -s -f
and
sudo pacman -U foldingathome-7.3.6-1-x86_64.pkg.tar.xz
from the folder that I extracted tarball to

Then continued with the Folding@home - ArchWiki instructions
cd /opt/fah
# sudo systemctl start foldingathome
$ sudo systemctl status foldingathome
# sudo systemctl enable foldingathome

and it now appears to be running as a service OK :D

I really should have waited till I had it running as a service before I posted this thread, but I was excited just to be able to fold on my new build. :oops:

Re: FAH on Chakra Linux (arch variant)

Posted: Sun Aug 10, 2014 11:42 am
by halucigenia
Update:

I have been using the old version of Chakra that I originally installed as per the OP since I found that when upgrading Chakra with pacman -Syu the Nvidia drivers were being upgraded to 331.20 and I lost up to 50% ppd.

However, I recently spotted a thread on the chakra forums that stated that nvidia-304xx was supported in the latest versions. It took a bit of doing to update as I had to remove all traces of Nvidia 3.19 drivers, as they are still unsupported, before I could get pacman -Syu to work. But after the upgrade running

Code: Select all

sudo pacman -S nvidia-304xx-utils nvidia-304xx opencl-nvidia-304xx
got me up and running with FAH again on an upgraded Chakra OS.

I also took the opportunity to upgrade to FAHClient 7.4.4 by downloading fahclient_7.4.4-64bit-release.tar.bz2 from Arch AUR and following the same instructions as in the OP.

So, now I am all up to date I will check out what PPD I get with the upgraded rig, hopefully it will be close enough to what I was getting before.

Re: FAH on Chakra Linux (arch variant)

Posted: Sun Aug 10, 2014 4:29 pm
by 7im
Downloading a fah client from anywhere other than the fah web sites is both risky and a violation of the EULA.

Known good (unmodified, not hacked, etc.) links are provided in the Linux Install Guide.

Re: FAH on Chakra Linux (arch variant)

Posted: Sun Aug 10, 2014 8:47 pm
by bruce
I checked on the Arch AUR library. They do not host the client. They maintain an index which points right back to the Stanford site, so the words "risky and a violation of the EULA" do not apply (but it was worth checking). The copy you downloaded was not modified/hacked/etc.