Ubuntu 14.04 amd R9 gpu folding

If you're new to FAH and need help getting started or you have very basic questions, start here.

Moderators: Site Moderators, FAHC Science Team

targitaj
Posts: 17
Joined: Wed Jan 20, 2010 12:55 pm
Location: Russia

Re: Ubuntu 14.04 amd R9 gpu folding

Post by targitaj »

bollix47
targitaj wrote:Adding GPU slot, it get core17 and fold on CPU.
TSC! Russia
targitaj
Posts: 17
Joined: Wed Jan 20, 2010 12:55 pm
Location: Russia

Re: Ubuntu 14.04 amd R9 gpu folding

Post by targitaj »

It is realy sad. Screen1 screen2. Should i kill the wu and stop it?
TSC! Russia
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Ubuntu 14.04 amd R9 gpu folding

Post by bruce »

targitaj wrote:It is realy sad. Screen1 screen2. Should i kill the wu and stop it?
Thank you for the report.

It's possible that Project: 13001 Run 477 Clone 0 Gen 16 is a bad WU. It's also possible that something is wrong with your configuration but I don't see it from the information given.

After 10.20 days, if you have not completed it, the WU will be reissued to somebody else who will attempt to complete it. If they succeed, it will indicate that it is NOT a Bad WU.

EDIT: Project: 13001 Run 477 Clone 0 Gen 16 has been successfully completed by someone else.
It happened to be completed in 1.03 days, so their GPU is significantly faster than yours. While theirs was a NVidia GPU, I personally have an R7-200 that folds fine.
What is the significance of the word "cloud" in the description of your machine?
bollix47
Posts: 2958
Joined: Sun Dec 02, 2007 5:04 am
Location: Canada

Re: Ubuntu 14.04 amd R9 gpu folding

Post by bollix47 »

targitaj wrote:Have on APU 7850 kaveri (45W mode) same problem.
If you're referring to one of these then I understand why your cpu appears to be doing the folding since that APU is part of the cpu and with only a total of 12 cores I understand why it's taking so long. This APU is not designed for folding.
Image
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Ubuntu 14.04 amd R9 gpu folding

Post by bruce »

bollix47 wrote:
targitaj wrote:Have on APU 7850 kaveri (45W mode) same problem.
If you're referring to one of these then I understand why your cpu appears to be doing the folding since that APU is part of the cpu and with only a total of 12 cores I understand why it's taking so long. This APU is not designed for folding.
One of my machines contains an A8 (less powerful than your A10). Although technically the A8 contains a supported GPU, I've found that it's too slow to fold. I decided my best choice was to add a dedicated GPU and use my A8 for a CPU slot.

I have not tested the performance of my CPU slot, but since portions of the internal GPU uses hardware dedicated to GPU functions and other portions use hardware that is shared with the CPU, I suspect that by off-loading my GPU functions to dedicated hardware, not only my GPU folding was accelerated, folding on my CPU was also accelerated.
targitaj
Posts: 17
Joined: Wed Jan 20, 2010 12:55 pm
Location: Russia

Re: Ubuntu 14.04 amd R9 gpu folding

Post by targitaj »

bruce
The log with kaveri i gave here

I think, i do something wrong. I have same problem on the different hosts wiht different hardware. The problem is - core17 fold on CPU.
Ok, step-by-step:
1. install ubuntu 14.04
2. download amd driver
3. install all nessesary debs for build fglrx*.deb. Manual, paragraph 3
4. install generated fxlrx*.deb
5. downlod folding@home debs
6. install folding@home debs
7. profit???
What i missed?
PS. 3d games work fine. I have HL/HL2 in steam.
TSC! Russia
bollix47
Posts: 2958
Joined: Sun Dec 02, 2007 5:04 am
Location: Canada

Re: Ubuntu 14.04 amd R9 gpu folding

Post by bollix47 »

I used the instructions here to install Catalyst 14.9 on a fresh install of Ubuntu 14.04. If I recall correctly I may have used the "Generate Distribution Specific Driver Package Option".

I did have to install a few pieces of software before the install script stopped complaining about missing dependencies:

sudo apt-get install lib32gcc1 dh-modaliases execstack debhelper dkms build-essential

I believe the above list to be complete but you can always check the install log if the driver creation does not complete.

After installing those the .run file completed successfully and after a reboot catalyst worked fine as did the 14.9 drivers and folding.
Image
targitaj
Posts: 17
Joined: Wed Jan 20, 2010 12:55 pm
Location: Russia

Re: Ubuntu 14.04 amd R9 gpu folding

Post by targitaj »

bollix47
Thanx. I will try this way.
How do you monitor GPU load in ubuntu?
TSC! Russia
bollix47
Posts: 2958
Joined: Sun Dec 02, 2007 5:04 am
Location: Canada

Re: Ubuntu 14.04 amd R9 gpu folding

Post by bollix47 »

Using a terminal:

For load:

aticonfig --odgc

For temperature:

aticonfig --odgt

FYI: my 7970 currently shows 95% load and 61C temp running a P13001

NB: X needs to be running to perform AMD Overdrive(TM) commands ... i.e. the commands need to be run on the physical computer and not via remote or you need to run a script on the remote computer that outputs to a file that you can then view
Image
targitaj
Posts: 17
Joined: Wed Jan 20, 2010 12:55 pm
Location: Russia

Re: Ubuntu 14.04 amd R9 gpu folding

Post by targitaj »

bruce wrote:What is the significance of the word "cloud" in the description of your machine?
The project tarh-cloud is not completed. There is no significant load. All virtual machines down.
TSC! Russia
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Ubuntu 14.04 amd R9 gpu folding

Post by bruce »

targitaj wrote:
bruce wrote:What is the significance of the word "cloud" in the description of your machine?
The project tarh-cloud is not completed. There is no significant load. All virtual machines down.
So are you saying that you're running the FAH client in more than one virtual machine on the same hardware? That may not work, and in any case is strongly discouraged. If you have a single GPU, a single client will use all of its resources and starting a second client that has to share those resources will only slow down both copies. The net result is that it REDUCES FAH's throughput. A single FAH client is designed to use all unused resources of a real machine, and anything that reduces its access to those resources has a negative effect, including another client and including the virtualization process, itself.
targitaj
Posts: 17
Joined: Wed Jan 20, 2010 12:55 pm
Location: Russia

Re: Ubuntu 14.04 amd R9 gpu folding

Post by targitaj »

bruce wrote: So are you saying that you're running the FAH client in more than one virtual machine on the same hardware?
No. Client in host OS.
TSC! Russia
verlyol
Posts: 103
Joined: Sun Jul 10, 2011 11:54 am
Hardware configuration: system 1: AMD FX6300 on Ubuntu 17.04 LTS
Location: Brabant-Wallon, Belgium

Re: Ubuntu 14.04 amd R9 gpu folding

Post by verlyol »

I have a radeon R7 260x and for now I fold only with the cpu (FX-8120) on Ubuntu 14.04 LTS

if I install the latest drivers AMD I could also fold with my gpu?

V7 will automatically install the downloader FAHcore_17 and a WU?
Image


I dedicate my participation to my grandmother died in 1992 because of Parkinson's disease
and to my friend Benoit died of leukemia February 18 2012 ...he was 40 years old.
C_Peine
Posts: 1
Joined: Sat Oct 18, 2014 5:08 pm

290X Linux issue

Post by C_Peine »

Hi everyone! I am new to F@H and got stuck with a probable dealbreaker for me:
I tried setting up F@H but got extremely low PPD on my GPU. ~ 1600
GPU usage stays at 0%. However my CPU usage is high (700% on my 8 core) despite of having stopped my cpu slot.

I tried on Windows and got around 180k. However Windows is not an option for me.

I am using:
F@H v 7.4.4
Ubuntu 14.04
Catalyst 14.9
AMD APP SDK 2.9-1
Linux version 3.13.0-37-generic (buildd@kapok) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014

top:
7106 fahclie+ 39 19 1356972 455768 24816 S 703,5 2,8 110:34.46 FahCore_17

aticonfig --odgc:
Default Adapter - AMD Radeon R9 200 Series
Core (MHz) Memory (MHz)
Current Clocks : 528 1250
Current Peak : 1000 1250
Configurable Peak Range : [300-1500] [150-2000]
GPU load : 0%


LOG:

Code: Select all

*********************** Log Started 2014-10-18T17:01:00Z ***********************
17:01:00:************************* Folding@home Client *************************
17:01:00:    Website: http://folding.stanford.edu/
17:01:00:  Copyright: (c) 2009-2014 Stanford University
17:01:00:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
17:01:00:       Args: --child --lifeline 7014 /etc/fahclient/config.xml --run-as
17:01:00:             fahclient --pid-file=/var/run/fahclient.pid --daemon
17:01:00:     Config: /etc/fahclient/config.xml
17:01:00:******************************** Build ********************************
17:01:00:    Version: 7.4.4
17:01:00:       Date: Mar 4 2014
17:01:00:       Time: 12:02:38
17:01:00:    SVN Rev: 4130
17:01:00:     Branch: fah/trunk/client
17:01:00:   Compiler: GNU 4.4.7
17:01:00:    Options: -std=gnu++98 -O3 -funroll-loops -mfpmath=sse -ffast-math
17:01:00:             -fno-unsafe-math-optimizations -msse2
17:01:00:   Platform: linux2 3.2.0-1-amd64
17:01:00:       Bits: 64
17:01:00:       Mode: Release
17:01:00:******************************* System ********************************
17:01:00:        CPU: AMD FX(tm)-8320 Eight-Core Processor
17:01:00:     CPU ID: AuthenticAMD Family 21 Model 2 Stepping 0
17:01:00:       CPUs: 8
17:01:00:     Memory: 15.66GiB
17:01:00:Free Memory: 12.00GiB
17:01:00:    Threads: POSIX_THREADS
17:01:00: OS Version: 3.13
17:01:00:Has Battery: false
17:01:00: On Battery: false
17:01:00: UTC Offset: 2
17:01:00:        PID: 7016
17:01:00:        CWD: /var/lib/fahclient
17:01:00:         OS: Linux 3.13.0-37-generic x86_64
17:01:00:    OS Arch: AMD64
17:01:00:       GPUs: 1
17:01:00:      GPU 0: ATI:5 Hawaii [Radeon R9 200X Series]
17:01:00:       CUDA: Not detected
17:01:00:***********************************************************************
17:01:00:<config>
17:01:00:  <!-- Client Control -->
17:01:00:  <fold-anon v='true'/>
17:01:00:
17:01:00:  <!-- Folding Slot Configuration -->
17:01:00:  <gpu v='false'/>
17:01:00:
17:01:00:  <!-- Folding Slots -->
17:01:00:</config>
17:01:00:Switching to user fahclient
17:01:00:Trying to access database...
17:01:00:Successfully acquired database lock
17:01:00:FS00:Set client configured
17:01:00:Enabled folding slot 00: READY cpu:7
17:01:01:WU00:FS00:Connecting to 171.67.108.200:8080
17:01:03:WU00:FS00:Connecting to 171.67.108.200:8080
17:01:04:WU00:FS00:Assigned to work server 171.64.65.99
17:01:04:WU00:FS00:Requesting new work unit for slot 00: READY cpu:7 from 171.64.65.99
17:01:04:WU00:FS00:Connecting to 171.64.65.99:8080
17:01:06:WU00:FS00:Downloading 1.96MiB
17:01:08:WU00:FS00:Download complete
17:01:08:WU00:FS00:Received Unit: id:00 state:DOWNLOAD error:NO_ERROR project:7808 run:9 clone:338 gen:40 core:0xa4 unit:0x000000330a3b1e874e3103c6f3fb635a
17:01:08:WU00:FS00:Downloading core from http://web.stanford.edu/~pande/Linux/AMD64/Core_a4.fah
17:01:08:WU00:FS00:Connecting to web.stanford.edu:80
17:01:09:WU00:FS00:FahCore a4: Downloading 2.56MiB
17:01:15:WU00:FS00:FahCore a4: 58.61%
17:01:18:WU00:FS00:FahCore a4: Download complete
17:01:18:WU00:FS00:Valid core signature
17:01:18:WU00:FS00:Unpacked 5.98MiB to cores/web.stanford.edu/~pande/Linux/AMD64/Core_a4.fah/FahCore_a4
17:01:18:WU00:FS00:Starting
17:01:18:WU00:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/web.stanford.edu/~pande/Linux/AMD64/Core_a4.fah/FahCore_a4 -dir 00 -suffix 01 -version 704 -lifeline 7016 -checkpoint 15 -np 7
17:01:18:WU00:FS00:Started FahCore on PID 7060
17:01:18:WU00:FS00:Core PID:7064
17:01:18:WU00:FS00:FahCore 0xa4 started
17:01:19:WU00:FS00:0xa4:
17:01:19:WU00:FS00:0xa4:*------------------------------*
17:01:19:WU00:FS00:0xa4:Folding@Home Gromacs GB Core
17:01:19:WU00:FS00:0xa4:Version 2.27 (Dec. 15, 2010)
17:01:19:WU00:FS00:0xa4:
17:01:19:WU00:FS00:0xa4:Preparing to commence simulation
17:01:19:WU00:FS00:0xa4:- Looking at optimizations...
17:01:19:WU00:FS00:0xa4:- Created dyn
17:01:19:WU00:FS00:0xa4:- Files status OK
17:01:19:WU00:FS00:0xa4:- Expanded 2054064 -> 5365960 (decompressed 261.2 percent)
17:01:19:WU00:FS00:0xa4:Called DecompressByteArray: compressed_data_size=2054064 data_size=5365960, decompressed_data_size=5365960 diff=0
17:01:19:WU00:FS00:0xa4:- Digital signature verified
17:01:19:WU00:FS00:0xa4:
17:01:19:WU00:FS00:0xa4:Project: 7808 (Run 9, Clone 338, Gen 40)
17:01:19:WU00:FS00:0xa4:
17:01:19:WU00:FS00:0xa4:Assembly optimizations on if available.
17:01:19:WU00:FS00:0xa4:Entering M.D.
17:01:25:WU00:FS00:0xa4:Completed 0 out of 1500000 steps  (0%)
17:02:01:Saving configuration to /etc/fahclient/config.xml
17:02:01:<config>
17:02:01:  <!-- Client Control -->
17:02:01:  <fold-anon v='true'/>
17:02:01:
17:02:01:  <!-- Folding Slot Configuration -->
17:02:01:  <gpu v='false'/>
17:02:01:
17:02:01:  <!-- Folding Slots -->
17:02:01:  <slot id='0' type='CPU'/>
17:02:01:</config>
17:02:02:Adding folding slot 01: READY gpu:0:Hawaii [Radeon R9 200X Series]
17:02:02:Saving configuration to /etc/fahclient/config.xml
17:02:02:<config>
17:02:02:  <!-- Client Control -->
17:02:02:  <fold-anon v='true'/>
17:02:02:
17:02:02:  <!-- Folding Slot Configuration -->
17:02:02:  <gpu v='false'/>
17:02:02:
17:02:02:  <!-- Network -->
17:02:02:  <proxy v=':8080'/>
17:02:02:
17:02:02:  <!-- User Information -->
17:02:02:  <passkey v='********************************'/>
17:02:02:  <user v='Christian_Peine'/>
17:02:02:
17:02:02:  <!-- Folding Slots -->
17:02:02:  <slot id='0' type='CPU'/>
17:02:02:  <slot id='1' type='GPU'/>
17:02:02:</config>
17:02:02:FS00:Shutting core down
17:02:02:WU01:FS01:Connecting to 171.67.108.201:80
17:02:03:WU01:FS01:Assigned to work server 140.163.4.231
17:02:03:WU01:FS01:Requesting new work unit for slot 01: READY gpu:0:Hawaii [Radeon R9 200X Series] from 140.163.4.231
17:02:03:WU01:FS01:Connecting to 140.163.4.231:8080
17:02:03:WU01:FS01:Downloading 4.84MiB
17:02:04:WU00:FS00:0xa4:Client no longer detected. Shutting down core.
17:02:04:WU00:FS00:0xa4:
17:02:04:WU00:FS00:0xa4:Folding@home Core Shutdown: CLIENT_DIED
17:02:04:WU00:FS00:FahCore returned: INTERRUPTED (102 = 0x66)
17:02:04:WU00:FS00:Starting
17:02:04:WARNING:WU00:FS00:Changed SMP threads from 7 to 6 this can cause some work units to fail
17:02:04:WU00:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/web.stanford.edu/~pande/Linux/AMD64/Core_a4.fah/FahCore_a4 -dir 00 -suffix 01 -version 704 -lifeline 7016 -checkpoint 15 -np 6
17:02:04:WU00:FS00:Started FahCore on PID 7088
17:02:04:WU00:FS00:Core PID:7092
17:02:04:WU00:FS00:FahCore 0xa4 started
17:02:05:WU00:FS00:0xa4:
17:02:05:WU00:FS00:0xa4:*------------------------------*
17:02:05:WU00:FS00:0xa4:Folding@Home Gromacs GB Core
17:02:05:WU00:FS00:0xa4:Version 2.27 (Dec. 15, 2010)
17:02:05:WU00:FS00:0xa4:
17:02:05:WU00:FS00:0xa4:Preparing to commence simulation
17:02:05:WU00:FS00:0xa4:- Looking at optimizations...
17:02:05:WU00:FS00:0xa4:- Files status OK
17:02:05:WU00:FS00:0xa4:- Expanded 2054064 -> 5365960 (decompressed 261.2 percent)
17:02:05:WU00:FS00:0xa4:Called DecompressByteArray: compressed_data_size=2054064 data_size=5365960, decompressed_data_size=5365960 diff=0
17:02:05:WU00:FS00:0xa4:- Digital signature verified
17:02:05:WU00:FS00:0xa4:
17:02:05:WU00:FS00:0xa4:Project: 7808 (Run 9, Clone 338, Gen 40)
17:02:05:WU00:FS00:0xa4:
17:02:05:WU00:FS00:0xa4:Assembly optimizations on if available.
17:02:05:WU00:FS00:0xa4:Entering M.D.
17:02:07:FS00:Paused
17:02:07:FS00:Shutting core down
17:02:08:WU01:FS01:Download complete
17:02:08:WU01:FS01:Received Unit: id:01 state:DOWNLOAD error:NO_ERROR project:13000 run:96 clone:0 gen:39 core:0x17 unit:0x0000005d538b3db7530fb722cc151c3c
17:02:08:WU01:FS01:Downloading core from http://web.stanford.edu/~pande/Linux/AMD64/ATI/R600/Core_17.fah
17:02:08:WU01:FS01:Connecting to web.stanford.edu:80
17:02:09:WU01:FS01:FahCore 17: Downloading 3.01MiB
17:02:11:WU00:FS00:0xa4:Completed 0 out of 1500000 steps  (0%)
17:02:14:WU00:FS00:0xa4:Client no longer detected. Shutting down core.
17:02:14:WU00:FS00:0xa4:
17:02:14:WU00:FS00:0xa4:Folding@home Core Shutdown: CLIENT_DIED
17:02:15:WU00:FS00:FahCore returned: INTERRUPTED (102 = 0x66)
17:02:28:WU01:FS01:FahCore 17: 51.90%
17:02:34:WU01:FS01:FahCore 17: 60.21%
17:02:40:WU01:FS01:FahCore 17: 91.35%
17:02:40:WU01:FS01:FahCore 17: Download complete
17:02:41:WU01:FS01:Valid core signature
17:02:41:WU01:FS01:Unpacked 8.16MiB to cores/web.stanford.edu/~pande/Linux/AMD64/ATI/R600/Core_17.fah/FahCore_17
17:02:41:WU01:FS01:Starting
17:02:41:WU01:FS01:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/web.stanford.edu/~pande/Linux/AMD64/ATI/R600/Core_17.fah/FahCore_17 -dir 01 -suffix 01 -version 704 -lifeline 7016 -checkpoint 15 -gpu 0 -gpu-vendor ati
17:02:41:WU01:FS01:Started FahCore on PID 7102
17:02:41:WU01:FS01:Core PID:7106
17:02:41:WU01:FS01:FahCore 0x17 started
17:02:41:WU01:FS01:0x17:*********************** Log Started 2014-10-18T17:02:41Z ***********************
17:02:41:WU01:FS01:0x17:Project: 13000 (Run 96, Clone 0, Gen 39)
17:02:41:WU01:FS01:0x17:Unit: 0x0000005d538b3db7530fb722cc151c3c
17:02:41:WU01:FS01:0x17:CPU: 0x00000000000000000000000000000000
17:02:41:WU01:FS01:0x17:Machine: 1
17:02:41:WU01:FS01:0x17:Reading tar file state.xml
17:02:41:WU01:FS01:0x17:Reading tar file system.xml
17:02:42:WU01:FS01:0x17:Reading tar file integrator.xml
17:02:42:WU01:FS01:0x17:Reading tar file core.xml
17:02:42:WU01:FS01:0x17:Digital signatures verified
17:03:02:Saving configuration to /etc/fahclient/config.xml
17:03:02:<config>
17:03:02:  <!-- Client Control -->
17:03:02:  <fold-anon v='true'/>
17:03:02:
17:03:02:  <!-- Folding Slot Configuration -->
17:03:02:  <gpu v='false'/>
17:03:02:
17:03:02:  <!-- Network -->
17:03:02:  <proxy v=':8080'/>
17:03:02:
17:03:02:  <!-- User Information -->
17:03:02:  <passkey v='********************************'/>
17:03:02:  <user v='Christian_Peine'/>
17:03:02:
17:03:02:  <!-- Folding Slots -->
17:03:02:  <slot id='0' type='CPU'>
17:03:02:    <paused v='true'/>
17:03:02:  </slot>
17:03:02:  <slot id='1' type='GPU'/>
17:03:02:</config>
17:04:37:WU01:FS01:0x17:Completed 0 out of 5000000 steps (0%)
7im
Posts: 10179
Joined: Thu Nov 29, 2007 4:30 pm
Hardware configuration: Intel i7-4770K @ 4.5 GHz, 16 GB DDR3-2133 Corsair Vengence (black/red), EVGA GTX 760 @ 1200 MHz, on an Asus Maximus VI Hero MB (black/red), in a blacked out Antec P280 Tower, with a Xigmatek Night Hawk (black) HSF, Seasonic 760w Platinum (black case, sleeves, wires), 4 SilenX 120mm Case fans with silicon fan gaskets and silicon mounts (all black), a 512GB Samsung SSD (black), and a 2TB Black Western Digital HD (silver/black).
Location: Arizona
Contact:

Re: Ubuntu 14.04 amd R9 gpu folding

Post by 7im »

verlyol wrote:I have a radeon R7 260x and for now I fold only with the cpu (FX-8120) on Ubuntu 14.04 LTS

if I install the latest drivers AMD I could also fold with my gpu?

V7 will automatically install the downloader FAHcore_17 and a WU?
Yes.
Yes.
How to provide enough information to get helpful support
Tell me and I forget. Teach me and I remember. Involve me and I learn.
Post Reply