Page 1 of 2

AMD RX 480 in Ubuntu 18.04LTS: fails to chooch

Posted: Mon May 18, 2020 9:59 pm
by _The_Editor_
Yo,

I've been at this for about a month now, trying to get my F@H client on my Ubuntu machine to use the RX 480 in addition to the CPU. I've got the client set up as a service in systemd as described on this forum (topic 33353) and when I check the groups of the system service I get:

Code: Select all

$ pidof FAHClient
2104 2100
$ sudo cat /proc/2104/status | grep 'Groups:'
Groups: 65534
So I think all permissions are set up properly. So I dig through the log.txt, and my first sight of GPU problems is right up top:

Code: Select all

21:08:48:Enabled folding slot 00: READY cpu:7
    21:08:48:Enabled folding slot 01: READY gpu:0:Ellesmere XT [Radeon RX 470/480/570/580/590]
    ^[[91m21:08:48:ERROR:No compute devices matched GPU #0 {^[[0m
    ^[[91m21:08:48:ERROR:  "vendor": 4098,^[[0m
    ^[[91m21:08:48:ERROR:  "device": 26591,^[[0m
    ^[[91m21:08:48:ERROR:  "type": 1,^[[0m
    ^[[91m21:08:48:ERROR:  "species": 5,^[[0m
    ^[[91m21:08:48:ERROR:  "description": "Ellesmere XT [Radeon RX 470/480/570/580/590]"^[[0m
    ^[[91m21:08:48:ERROR:}.  You may need to update your graphics drivers.^[[0m

OK so F@H doesn't recognise the GPU, even though it finds a vendor, device, species, and description of the hardware... Then advises to update graphics drivers... I use this PC for gaming as well, and have a bunch of mesa drivers installed for that - all that appears to be working fine, and I regularly run sudo apt upgrade to get the latest libraries. Cross checing GPUs.txt I see the following entry for my RX 480 (line 531):

Code: Select all

    0x1002:0x67df:1:5:Ellesmere XT [Radeon RX 470/480/570/580/590]
So F@H should know how to deal with the RX 480 that it has identified? So I check FAHClient --lspci to see which PCI devices the client is actually seeing, which along with a bunch of intel devices shows these two:

Code: Select all

    0x1002:0x67df:1:0:0:Advanced Micro Devices, Inc. [AMD/ATI]:
    0x1002:0xaaf0:1:0:1:Advanced Micro Devices, Inc. [AMD/ATI]:
Which correlate with the GPU (1:0:0 = 01:00.0) and HDMI audio devices (1:0:1 = 01:00.01), listed when I run sudo lspci -v:

Code: Select all

    01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X] (rev c7) (prog-if 00 [VGA controller])
            Subsystem: Tul Corporation / PowerColor Radeon RX 480
            Flags: bus master, fast devsel, latency 0, IRQ 31
            Memory at e0000000 (64-bit, prefetchable) [size=256M]
            Memory at f0000000 (64-bit, prefetchable) [size=2M]
            I/O ports at e000 [size=256]
            Memory at f7e00000 (32-bit, non-prefetchable) [size=256K]
            Expansion ROM at 000c0000 [disabled] [size=128K]
            Capabilities: [48] Vendor Specific Information: Len=08 <?>
            Capabilities: [50] Power Management version 3
            Capabilities: [58] Express Legacy Endpoint, MSI 00
            Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
            Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
            Capabilities: [150] Advanced Error Reporting
            Capabilities: [200] #15
            Capabilities: [270] #19
            Capabilities: [2b0] Address Translation Service (ATS)
            Capabilities: [2c0] Page Request Interface (PRI)
            Capabilities: [2d0] Process Address Space ID (PASID)
            Capabilities: [320] Latency Tolerance Reporting
            Capabilities: [328] Alternative Routing-ID Interpretation (ARI)
            Capabilities: [370] L1 PM Substates
            Kernel driver in use: amdgpu
            Kernel modules: amdgpu
    
    01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 580]
            Subsystem: Tul Corporation / PowerColor Ellesmere [Radeon RX 580]
            Flags: bus master, fast devsel, latency 0, IRQ 34
            Memory at f7e60000 (64-bit, non-prefetchable) [size=16K]
            Capabilities: [48] Vendor Specific Information: Len=08 <?>
            Capabilities: [50] Power Management version 3
            Capabilities: [58] Express Legacy Endpoint, MSI 00
            Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
            Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
            Capabilities: [150] Advanced Error Reporting
            Capabilities: [328] Alternative Routing-ID Interpretation (ARI)
            Kernel driver in use: snd_hda_intel
            Kernel modules: snd_hda_intel
So to me, it seems like it locates the card, identifies it correctly, then claims not to know wtf it is... But being the trooper that it is, it attemps to run jobs on the card anyway, only to fail out:

Code: Select all

    21:24:02:WU02:FS01:Received Unit: id:02 state:DOWNLOAD error:NO_ERROR project:11761 run:0 clone:7597 gen:63 core:0x22 unit:0x0000007680fccb0a5e700196dd34ffa8
    21:24:02:WU02:FS01:Starting
    21:24:02:ERROR:WU02:FS01:Failed to start core: OpenCL device matching slot 1 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually
I've tried in the past setting the opencl-index manually (I think I've tried -1, 0, and 1), but with no change - happy to repeat if this is required.. Finally, when I run clinfo I get a boat load of device information, so the opencl libraries appear to be present working correctly...

This is the point where I chose to create a help post, as I'm all out of google-fu... CPU slot is happily chewing away on jobs, but GPU just stuck.

Machine is running Ubuntu 18.04 LTS, RX 480, i7-4770, and any more info I'll be happy to provide!

Re: AMD RX 480 in Ubuntu 18.04LTS: fails to chooch

Posted: Mon May 18, 2020 10:08 pm
by bruce
Welcome to foldingforum.org, _The_Editor_

I'm sorry for the difficulties you're having.

the message about OpenCL-index is confusing, at best. With rare exceptions, there isn't anything you can do except to figure out why you have a GPU slot that's trying to sync up with an unsupported GPU.

In addition, the drivers for the Ellesmere XT are currently unsupportable by FAH, though there's a bug-fix which might change that soon. Most projects simply avoid assigning any of their WUs to devices like your own until it can be resolved.

You probably need to install OpenCL before FAH will recognized the device.

Re: AMD RX 480 in Ubuntu 18.04LTS: fails to chooch

Posted: Mon May 18, 2020 10:56 pm
by JimboPalmer
https://www.techpowerup.com/gpu-specs/r ... -480.c2848

describes your card.

viewtopic.php?f=24&t=26036

tells how to post the first 200 lines of you log which would explain a lot of your set up.

Re: AMD RX 480 in Ubuntu 18.04LTS: fails to chooch

Posted: Tue May 19, 2020 6:50 am
by _The_Editor_
bruce wrote:Welcome to foldingforum.org, _The_Editor_

I'm sorry for the difficulties you're having.

the message about OpenCL-index is confusing, at best. With rare exceptions, there isn't anything you can do except to figure out why you have a GPU slot that's trying to sync up with an unsupported GPU.

In addition, the drivers for the Ellesmere XT are currently unsupportable by FAH, though there's a bug-fix which might change that soon. Most projects simply avoid assigning any of their WUs to devices like your own until it can be resolved.

You probably need to install OpenCL before FAH will recognized the device.
Well that's a little reassuring to hear that others just don't bother with this specific set-up.

Regarding OpenCL installation - I already have installed the OpenCL libraries from the amdgpupro driver, and when I run clinfo in the command line I get the following OpenCL device info:

Code: Select all

$ clinfo
Number of platforms:                             1
  Platform Profile:                              FULL_PROFILE
  Platform Version:                              OpenCL 2.1 AMD-APP (3004.6)
  Platform Name:                                 AMD Accelerated Parallel Processing
  Platform Vendor:                               Advanced Micro Devices, Inc.
  Platform Extensions:                           cl_khr_icd cl_amd_event_callback cl_amd_offline_devices


  Platform Name:                                 AMD Accelerated Parallel Processing
Number of devices:                               1
  Device Type:                                   CL_DEVICE_TYPE_GPU
  Vendor ID:                                     1002h
  Board name:                                    AMD Radeon (TM) RX 480 Graphics
  Device Topology:                               PCI[ B#1, D#0, F#0 ]
  Max compute units:                             36
  Max work items dimensions:                     3
    Max work items[0]:                           1024
    Max work items[1]:                           1024
    Max work items[2]:                           1024
  Max work group size:                           256
  Preferred vector width char:                   4
  Preferred vector width short:                  2
  Preferred vector width int:                    1
  Preferred vector width long:                   1
  Preferred vector width float:                  1
  Preferred vector width double:                 1
  Native vector width char:                      4
  Native vector width short:                     2
  Native vector width int:                       1
  Native vector width long:                      1
  Native vector width float:                     1
  Native vector width double:                    1
  Max clock frequency:                           1266Mhz
  Address bits:                                  64
  Max memory allocation:                         4244635648
  Image support:                                 Yes
  Max number of images read arguments:           128
  Max number of images write arguments:          8
  Max image 2D width:                            16384
  Max image 2D height:                           16384
  Max image 3D width:                            2048
  Max image 3D height:                           2048
  Max image 3D depth:                            2048
  Max samplers within kernel:                    16
  Max size of kernel argument:                   1024
  Alignment (bits) of base address:              2048
  Minimum alignment (bytes) for any datatype:    128
  Single precision floating point capability
    Denorms:                                     No
    Quiet NaNs:                                  Yes
    Round to nearest even:                       Yes
    Round to zero:                               Yes
    Round to +ve and infinity:                   Yes
    IEEE754-2008 fused multiply-add:             Yes
  Cache type:                                    Read/Write
  Cache line size:                               64
  Cache size:                                    16384
  Global memory size:                            8035569664
  Constant buffer size:                          4244635648
  Max number of constant args:                   8
  Local memory type:                             Scratchpad
  Local memory size:                             32768
  Max pipe arguments:                            0
  Max pipe active reservations:                  0
  Max pipe packet size:                          0
  Max global variable size:                      0
  Max global variable preferred total size:      0
  Max read/write image args:                     0
  Max on device events:                          0
  Queue on device max size:                      0
  Max on device queues:                          0
  Queue on device preferred size:                0
  SVM capabilities:
    Coarse grain buffer:                         No
    Fine grain buffer:                           No
    Fine grain system:                           No
    Atomics:                                     No
  Preferred platform atomic alignment:           0
  Preferred global atomic alignment:             0
  Preferred local atomic alignment:              0
  Kernel Preferred work group size multiple:     64
  Error correction support:                      0
  Unified memory for Host and Device:            0
  Profiling timer resolution:                    1
  Device endianess:                              Little
  Available:                                     Yes
  Compiler available:                            Yes
  Execution capabilities:
    Execute OpenCL kernels:                      Yes
    Execute native function:                     No
  Queue on Host properties:
    Out-of-Order:                                No
    Profiling :                                  Yes
  Queue on Device properties:
    Out-of-Order:                                No
    Profiling :                                  No
  Platform ID:                                   0x7f96bdbc4e50
  Name:                                          Ellesmere
  Vendor:                                        Advanced Micro Devices, Inc.
  Device OpenCL C version:                       OpenCL C 1.2
  Driver version:                                3004.6
  Profile:                                       FULL_PROFILE
  Version:                                       OpenCL 1.2 AMD-APP (3004.6)
  Extensions:                                    cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_spir cl_khr_gl_event
JimboPalmer wrote:https://www.techpowerup.com/gpu-specs/r ... -480.c2848

describes your card.

viewtopic.php?f=24&t=26036

tells how to post the first 200 lines of you log which would explain a lot of your set up.
So what am I looking for in that techpowerup post? Not sure what to do with that info, given most of it is already correctly detected in my system? For the first 200 lines of the log, please find:

Code: Select all

*********************** Log Started 2020-05-18T21:08:48Z ***********************
21:08:48:Trying to access database...
21:08:48:Started thread 1 on PID 2104
21:08:48:Successfully acquired database lock
21:08:48:Read GPUs.txt
21:08:48:Enabled folding slot 00: READY cpu:7
21:08:48:Enabled folding slot 01: READY gpu:0:Ellesmere XT [Radeon RX 470/480/570/580/590]
21:08:48:ERROR:No compute devices matched GPU #0 {
21:08:48:ERROR:  "vendor": 4098,
21:08:48:ERROR:  "device": 26591,
21:08:48:ERROR:  "type": 1,
21:08:48:ERROR:  "species": 5,
21:08:48:ERROR:  "description": "Ellesmere XT [Radeon RX 470/480/570/580/590]"
21:08:48:ERROR:}.  You may need to update your graphics drivers.
21:08:48:****************************** FAHClient ******************************
21:08:48:    Version: 7.6.13
21:08:48:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
21:08:48:  Copyright: 2020 foldingathome.org
21:08:48:   Homepage: https://foldingathome.org/
21:08:48:       Date: Apr 28 2020
21:08:48:       Time: 04:20:16
21:08:48:   Revision: 5a652817f46116b6e135503af97f18e094414e3b
21:08:48:     Branch: master
21:08:48:   Compiler: GNU 8.3.0
21:08:48:    Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
21:08:48:             -fno-pie
21:08:48:   Platform: linux2 4.19.0-5-amd64
21:08:48:       Bits: 64
21:08:48:       Mode: Release
21:08:48:       Args: --child /etc/fahclient/config.xml
21:08:48:             --pid-file=/var/run/fahclient/fahclient.pid --daemon
21:08:48:     Config: /etc/fahclient/config.xml
21:08:48:******************************** CBang ********************************
21:08:48:       Date: Apr 25 2020
21:08:48:       Time: 00:07:53
21:08:48:   Revision: ea081a3b3b0f4a37c4d0440b4f1bc184197c7797
21:08:48:     Branch: master
21:08:48:   Compiler: GNU 8.3.0
21:08:48:    Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
21:08:48:             -fno-pie -fPIC
21:08:48:   Platform: linux2 4.19.0-5-amd64
21:08:48:       Bits: 64
21:08:48:       Mode: Release
21:08:48:******************************* System ********************************
21:08:48:        CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
21:08:48:     CPU ID: GenuineIntel Family 6 Model 60 Stepping 3
21:08:48:       CPUs: 8
21:08:48:     Memory: 15.58GiB
21:08:48:Free Memory: 11.54GiB
21:08:48:    Threads: POSIX_THREADS
21:08:48: OS Version: 5.3
21:08:48:Has Battery: false
21:08:48: On Battery: false
21:08:48: UTC Offset: 1
21:08:48:        PID: 2104
21:08:48:        CWD: /var/lib/fahclient
21:08:48:         OS: Linux 5.3.0-51-generic x86_64
21:08:48:    OS Arch: AMD64
21:08:48:       GPUs: 1
21:08:48:      GPU 0: Bus:1 Slot:0 Func:0 AMD:5 Ellesmere XT [Radeon RX
21:08:48:             470/480/570/580/590]
21:08:48:       CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
21:08:48:             libcuda.so: cannot open shared object file: No such file or
21:08:48:             directory
21:08:48:     OpenCL: Not detected: clGetDeviceIDs() returned -1
21:08:48:******************************* libFAH ********************************
21:08:48:       Date: Apr 15 2020
21:08:48:       Time: 21:43:24
21:08:48:   Revision: 216968bc7025029c841ed6e36e81a03a316890d3
21:08:48:     Branch: master
21:08:48:   Compiler: GNU 8.3.0
21:08:48:    Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
21:08:48:             -fno-pie
21:08:48:   Platform: linux2 4.19.0-5-amd64
21:08:48:       Bits: 64
21:08:48:       Mode: Release
21:08:48:***********************************************************************
21:08:48:<config>
21:08:48:  <!-- Client Control -->
21:08:48:  <client-threads v='6'/>
21:08:48:  <cycle-rate v='4'/>
21:08:48:  <cycles v='-1'/>
21:08:48:  <disable-sleep-when-active v='true'/>
21:08:48:  <exit-when-done v='false'/>
21:08:48:  <fold-anon v='true'/>
21:08:48:  <idle-seconds v='300'/>
21:08:48:  <open-web-control v='false'/>
21:08:48:  <update-gpus-txt v='true'/>
21:08:48:
21:08:48:  <!-- Configuration -->
21:08:48:  <config-rotate v='true'/>
21:08:48:  <config-rotate-dir v='configs'/>
21:08:48:  <config-rotate-max v='16'/>
21:08:48:
21:08:48:  <!-- Debugging -->
21:08:48:  <assignment-servers>
21:08:48:    assign1.foldingathome.org assign2.foldingathome.org assign3.foldingathome.org assign4.foldingathome.org
21:08:48:  </assignment-servers>
21:08:48:  <auth-as v='true'/>
21:08:48:  <capture-directory v='capture'/>
21:08:48:  <capture-on-error v='false'/>
21:08:48:  <capture-packets v='false'/>
21:08:48:  <capture-requests v='false'/>
21:08:48:  <capture-responses v='false'/>
21:08:48:  <capture-sockets v='false'/>
21:08:48:  <debug-sockets v='false'/>
21:08:48:  <exception-locations v='true'/>
21:08:48:  <stack-traces v='false'/>
21:08:48:
21:08:48:  <!-- Error Handling -->
21:08:48:  <max-slot-errors v='10'/>
21:08:48:  <max-unit-errors v='5'/>
21:08:48:
21:08:48:  <!-- Folding Core -->
21:08:48:  <checkpoint v='15'/>
21:08:48:  <core-priority v='idle'/>
21:08:48:  <cpu-usage v='100'/>
21:08:48:  <gpu-usage v='100'/>
21:08:48:  <no-assembly v='false'/>
21:08:48:
21:08:48:  <!-- Folding Slot Configuration -->
21:08:48:  <cause v='ANY'/>
21:08:48:  <client-subtype v='LINUX'/>
21:08:48:  <client-type v='normal'/>
21:08:48:  <cpu-species v='X86_PENTIUM_II'/>
21:08:48:  <cpu-type v='AMD64'/>
21:08:48:  <cpus v='-1'/>
21:08:48:  <disable-viz v='false'/>
21:08:48:  <gpu v='true'/>
21:08:48:  <max-packet-size v='normal'/>
21:08:48:  <os-species v='UNKNOWN'/>
21:08:48:  <os-type v='LINUX'/>
21:08:48:  <project-key v='0'/>
21:08:48:  <smp v='true'/>
21:08:48:
21:08:48:  <!-- GUI -->
21:08:48:  <gui-enabled v='true'/>
21:08:48:
21:08:48:  <!-- HTTP Server -->
21:08:48:  <allow v='127.0.0.1'/>
21:08:48:  <connection-timeout v='60'/>
21:08:48:  <deny v='0/0'/>
21:08:48:  <http-addresses v='0:7396'/>
21:08:48:  <https-addresses v=''/>
21:08:48:  <max-connect-time v='900'/>
21:08:48:  <max-connections v='800'/>
21:08:48:  <max-request-length v='52428800'/>
21:08:48:  <min-connect-time v='300'/>
21:08:48:
21:08:48:  <!-- Logging -->
21:08:48:  <log v='log.txt'/>
21:08:48:  <log-color v='true'/>
21:08:48:  <log-crlf v='false'/>
21:08:48:  <log-date v='false'/>
21:08:48:  <log-date-periodically v='21600'/>
21:08:48:  <log-domain v='false'/>
21:08:48:  <log-header v='true'/>
21:08:48:  <log-level v='true'/>
21:08:48:  <log-no-info-header v='true'/>
21:08:48:  <log-redirect v='false'/>
21:08:48:  <log-rotate v='true'/>
21:08:48:  <log-rotate-dir v='logs'/>
21:08:48:  <log-rotate-max v='16'/>
21:08:48:  <log-short-level v='false'/>
21:08:48:  <log-simple-domains v='true'/>
21:08:48:  <log-thread-id v='false'/>
21:08:48:  <log-thread-prefix v='true'/>
21:08:48:  <log-time v='true'/>
21:08:48:  <log-to-screen v='true'/>
21:08:48:  <log-truncate v='false'/>
21:08:48:  <verbosity v='5'/>
21:08:48:
21:08:48:  <!-- Network -->
21:08:48:  <proxy v=':8080'/>
21:08:48:  <proxy-enable v='false'/>
21:08:48:  <proxy-pass v='*****'/>
21:08:48:  <proxy-user v=''/>
21:08:48:
21:08:48:  <!-- Process Control -->
21:08:48:  <child v='true'/>
21:08:48:  <daemon v='true'/>
21:08:48:  <fork v='false'/>
21:08:48:  <pid v='false'/>
21:08:48:  <pid-file v='/var/run/fahclient/fahclient.pid'/>
21:08:48:  <respawn v='false'/>
21:08:48:  <service v='false'/>
21:08:48:
21:08:48:  <!-- Remote Command Server -->
21:08:48:  <command-address v='0.0.0.0'/>
21:08:48:  <command-allow-no-pass v='127.0.0.1'/>
21:08:48:  <command-deny-no-pass v='0/0'/>
21:08:48:  <command-enable v='true'/>
21:08:48:  <command-port v='36330'/>
21:08:48:
21:08:48:  <!-- Slot Control -->
21:08:48:  <idle v='false'/>
21:08:48:  <max-shutdown-wait v='60'/>
21:08:48:  <pause-on-battery v='true'/>
21:08:48:  <pause-on-start v='false'/>
21:08:48:  <paused v='false'/>
So other than the previously mentioned wierdness about detecting the driver correctly, the thing that jumps out is "OpenCL: Not detected: clGetDeviceIDs() returned -1", which is wierd when clinfo reports the device... Only thing I can spot is the OpenCL version listed on the techpowerup post is 2.0, and what's installed on my machined and reported under clinfo is 2.1 in the platform version, but 1.2 for the specific device.. I followed this post (viewtopic.php?t=33353) for getting OpenCL libraries installed, and the RX 400 series is 2 generations older than Vega 10 so I chose the orca .deb files as instructed...

Re: AMD RX 480 in Ubuntu 18.04LTS: fails to chooch

Posted: Tue May 19, 2020 7:15 am
by Neil-B
OK so not a Linux or GPU folder - if you have already tried this then apologies for intruding ... but is this one of the cases that might get sorted by the "sudo apt install ocl-icd-opencl-dev" route?

Re: AMD RX 480 in Ubuntu 18.04LTS: fails to chooch

Posted: Tue May 19, 2020 10:23 am
by _The_Editor_
No appologies necessary, I'm feeling about in the dark here so any suggestions are welcome!

Although, I already have that package installed... I think I must have found another forum post that led me to that solution and tried it already.

Re: AMD RX 480 in Ubuntu 18.04LTS: fails to chooch

Posted: Tue May 19, 2020 10:31 am
by Neil-B
The way I have seen it described is uninstall FAH (keep config of config for passkey/user/etc. details) … install the vendor drivers and that package … reboot system then reinstall fah … have no clue why specifically like that - and it may not work/have worked for you - but if it does then I put it down to Linux Pixie Dust :o … Really hope someone helps get this sorted for you.

Re: AMD RX 480 in Ubuntu 18.04LTS: fails to chooch

Posted: Tue May 19, 2020 10:38 am
by _The_Editor_
I've not yet tried that specific order of operations, however in the stack of installed software packages FAH is the most recent... I had a brief moment of madness when I changed my native python environment to python3.8 verses python2.7, which of course broke a lot of software that needed a 2.7 native environment.... After uninstalling a boat of of software (FAH included), restoring my native py environment, then reinstalling, all is working again... and I've now learned a valuable lesson about not messing about with your native envornment, and instead spinning up a conda/pipenv environement to muck about in instead.

I can try removing FAH again, removing drivers (amdgpu, I guess mesa and any opencl packages too?!?), then re-building from scratch... Would rather avoid that for the moment, given how destructive that approach feels!

Re: AMD RX 480 in Ubuntu 18.04LTS: fails to chooch

Posted: Tue May 19, 2020 12:22 pm
by JimboPalmer
If all else fails, you could always post the first two hundred lines of your log, where it describes your set up.

viewtopic.php?f=24&t=26036

Re: AMD RX 480 in Ubuntu 18.04LTS: fails to chooch

Posted: Tue May 19, 2020 3:39 pm
by _The_Editor_
JimboPalmer wrote:If all else fails, you could always post the first two hundred lines of your log, where it describes your set up.

viewtopic.php?f=24&t=26036
I already have - see here: viewtopic.php?f=74&t=35302#p334665

Re: AMD RX 480 in Ubuntu 18.04LTS: fails to chooch

Posted: Tue May 19, 2020 3:41 pm
by JimboPalmer
It is OK, if you don't wish to share your set up, I won't ask again.

Re: AMD RX 480 in Ubuntu 18.04LTS: fails to chooch

Posted: Tue May 19, 2020 3:44 pm
by Neil-B
JimboPalmer … Not sure if you have a forum issue … I can see log earlier in this thread (7 posts?) … Last scrollable window?

Re: AMD RX 480 in Ubuntu 18.04LTS: fails to chooch

Posted: Tue May 19, 2020 11:01 pm
by Joe_H
Please post a copy of your log after you return the logging verbosity back to the default of 3. The higher verbosity just gets in the way and provides no additional useful information.

Re: AMD RX 480 in Ubuntu 18.04LTS: fails to chooch

Posted: Wed May 20, 2020 6:35 am
by _The_Editor_
Log at verbosity level 3, as requested:

Code: Select all

*********************** Log Started 2020-05-20T06:23:56Z ***********************
06:23:56:Trying to access database...
06:23:56:Successfully acquired database lock
06:23:56:Read GPUs.txt
06:23:56:Enabled folding slot 00: PAUSED cpu:7 (by user)
06:23:56:Enabled folding slot 01: PAUSED gpu:0:Ellesmere XT [Radeon RX 470/480/570/580/590] (by user)
06:23:56:ERROR:No compute devices matched GPU #0 {
06:23:56:ERROR:  "vendor": 4098,
06:23:56:ERROR:  "device": 26591,
06:23:56:ERROR:  "type": 1,
06:23:56:ERROR:  "species": 5,
06:23:56:ERROR:  "description": "Ellesmere XT [Radeon RX 470/480/570/580/590]"
06:23:56:ERROR:}.  You may need to update your graphics drivers.
06:23:56:****************************** FAHClient ******************************
06:23:56:    Version: 7.6.13
06:23:56:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
06:23:56:  Copyright: 2020 foldingathome.org
06:23:56:   Homepage: https://foldingathome.org/
06:23:56:       Date: Apr 28 2020
06:23:56:       Time: 04:20:16
06:23:56:   Revision: 5a652817f46116b6e135503af97f18e094414e3b
06:23:56:     Branch: master
06:23:56:   Compiler: GNU 8.3.0
06:23:56:    Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
06:23:56:             -fno-pie
06:23:56:   Platform: linux2 4.19.0-5-amd64
06:23:56:       Bits: 64
06:23:56:       Mode: Release
06:23:56:       Args: --child /etc/fahclient/config.xml
06:23:56:             --pid-file=/var/run/fahclient/fahclient.pid --daemon
06:23:56:     Config: /etc/fahclient/config.xml
06:23:56:******************************** CBang ********************************
06:23:56:       Date: Apr 25 2020
06:23:56:       Time: 00:07:53
06:23:56:   Revision: ea081a3b3b0f4a37c4d0440b4f1bc184197c7797
06:23:56:     Branch: master
06:23:56:   Compiler: GNU 8.3.0
06:23:56:    Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
06:23:56:             -fno-pie -fPIC
06:23:56:   Platform: linux2 4.19.0-5-amd64
06:23:56:       Bits: 64
06:23:56:       Mode: Release
06:23:56:******************************* System ********************************
06:23:56:        CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
06:23:56:     CPU ID: GenuineIntel Family 6 Model 60 Stepping 3
06:23:56:       CPUs: 8
06:23:56:     Memory: 15.58GiB
06:23:56:Free Memory: 5.68GiB
06:23:56:    Threads: POSIX_THREADS
06:23:56: OS Version: 5.3
06:23:56:Has Battery: false
06:23:56: On Battery: false
06:23:56: UTC Offset: 1
06:23:56:        PID: 12347
06:23:56:        CWD: /var/lib/fahclient
06:23:56:         OS: Linux 5.3.0-51-generic x86_64
06:23:56:    OS Arch: AMD64
06:23:56:       GPUs: 1
06:23:56:      GPU 0: Bus:1 Slot:0 Func:0 AMD:5 Ellesmere XT [Radeon RX
06:23:56:             470/480/570/580/590]
06:23:56:       CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
06:23:56:             libcuda.so: cannot open shared object file: No such file or
06:23:56:             directory
06:23:56:     OpenCL: Not detected: clGetDeviceIDs() returned -1
06:23:56:******************************* libFAH ********************************
06:23:56:       Date: Apr 15 2020
06:23:56:       Time: 21:43:24
06:23:56:   Revision: 216968bc7025029c841ed6e36e81a03a316890d3
06:23:56:     Branch: master
06:23:56:   Compiler: GNU 8.3.0
06:23:56:    Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
06:23:56:             -fno-pie
06:23:56:   Platform: linux2 4.19.0-5-amd64
06:23:56:       Bits: 64
06:23:56:       Mode: Release
06:23:56:***********************************************************************
06:23:56:<config>
06:23:56:  <!-- Client Control -->
06:23:56:  <fold-anon v='true'/>
06:23:56:
06:23:56:  <!-- Network -->
06:23:56:  <proxy v=':8080'/>
06:23:56:
06:23:56:  <!-- Slot Control -->
06:23:56:  <power v='full'/>
06:23:56:
06:23:56:  <!-- User Information -->
06:23:56:  <passkey v='*****'/>
06:23:56:  <team v='249288'/>
06:23:56:  <user v='edbuntu'/>
06:23:56:
06:23:56:  <!-- Folding Slots -->
06:23:56:  <slot id='0' type='CPU'>
06:23:56:    <paused v='True'/>
06:23:56:  </slot>
06:23:56:  <slot id='1' type='GPU'>
06:23:56:    <opencl-index v='1'/>
06:23:56:    <paused v='true'/>
06:23:56:  </slot>
06:23:56:</config>
06:24:15:FS00:Unpaused
06:24:15:FS01:Unpaused
06:24:15:WU00:FS00:Starting
06:24:15:WU00:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/v7/lin/64bit/avx/Core_a7.fah/FahCore_a7 -dir 00 -suffix 01 -version 706 -lifeline 12347 -checkpoint 15 -np 7
06:24:15:WU00:FS00:Started FahCore on PID 12499
06:24:15:WU00:FS00:Core PID:12503
06:24:15:WU00:FS00:FahCore 0xa7 started
06:24:15:WU01:FS01:Connecting to assign1.foldingathome.org:80
06:24:15:WU00:FS00:0xa7:*********************** Log Started 2020-05-20T06:24:15Z ***********************
06:24:15:WU00:FS00:0xa7:************************** Gromacs Folding@home Core ***************************
06:24:15:WU00:FS00:0xa7:       Type: 0xa7
06:24:15:WU00:FS00:0xa7:       Core: Gromacs
06:24:15:WU00:FS00:0xa7:       Args: -dir 00 -suffix 01 -version 706 -lifeline 12499 -checkpoint 15 -np
06:24:15:WU00:FS00:0xa7:             7
06:24:15:WU00:FS00:0xa7:************************************ CBang *************************************
06:24:15:WU00:FS00:0xa7:       Date: Nov 5 2019
06:24:15:WU00:FS00:0xa7:       Time: 06:06:57
06:24:15:WU00:FS00:0xa7:   Revision: 46c96f1aa8419571d83f3e63f9c99a0d602f6da9
06:24:15:WU00:FS00:0xa7:     Branch: master
06:24:15:WU00:FS00:0xa7:   Compiler: GNU 8.3.0
06:24:15:WU00:FS00:0xa7:    Options: -std=c++11 -O3 -funroll-loops -fno-pie -fPIC
06:24:15:WU00:FS00:0xa7:   Platform: linux2 4.19.0-5-amd64
06:24:15:WU00:FS00:0xa7:       Bits: 64
06:24:15:WU00:FS00:0xa7:       Mode: Release
06:24:15:WU00:FS00:0xa7:************************************ System ************************************
06:24:15:WU00:FS00:0xa7:        CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
06:24:15:WU00:FS00:0xa7:     CPU ID: GenuineIntel Family 6 Model 60 Stepping 3
06:24:15:WU00:FS00:0xa7:       CPUs: 8
06:24:15:WU00:FS00:0xa7:     Memory: 15.58GiB
06:24:15:WU00:FS00:0xa7:Free Memory: 5.55GiB
06:24:15:WU00:FS00:0xa7:    Threads: POSIX_THREADS
06:24:15:WU00:FS00:0xa7: OS Version: 5.3
06:24:15:WU00:FS00:0xa7:Has Battery: false
06:24:15:WU00:FS00:0xa7: On Battery: false
06:24:15:WU00:FS00:0xa7: UTC Offset: 1
06:24:15:WU00:FS00:0xa7:        PID: 12503
06:24:15:WU00:FS00:0xa7:        CWD: /var/lib/fahclient/work
06:24:15:WU00:FS00:0xa7:******************************** Build - libFAH ********************************
06:24:15:WU00:FS00:0xa7:    Version: 0.0.18
06:24:15:WU00:FS00:0xa7:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
06:24:15:WU00:FS00:0xa7:  Copyright: 2019 foldingathome.org
06:24:15:WU00:FS00:0xa7:   Homepage: https://foldingathome.org/
06:24:15:WU00:FS00:0xa7:       Date: Nov 5 2019
06:24:15:WU00:FS00:0xa7:       Time: 06:13:26
06:24:15:WU00:FS00:0xa7:   Revision: 490c9aa2957b725af319379424d5c5cb36efb656
06:24:15:WU00:FS00:0xa7:     Branch: master
06:24:15:WU00:FS00:0xa7:   Compiler: GNU 8.3.0
06:24:15:WU00:FS00:0xa7:    Options: -std=c++11 -O3 -funroll-loops -fno-pie
06:24:15:WU00:FS00:0xa7:   Platform: linux2 4.19.0-5-amd64
06:24:15:WU00:FS00:0xa7:       Bits: 64
06:24:15:WU00:FS00:0xa7:       Mode: Release
06:24:15:WU00:FS00:0xa7:************************************ Build *************************************
06:24:15:WU00:FS00:0xa7:       SIMD: avx_256
06:24:15:WU00:FS00:0xa7:********************************************************************************
06:24:15:WU00:FS00:0xa7:Project: 14823 (Run 1817, Clone 0, Gen 77)
06:24:15:WU00:FS00:0xa7:Unit: 0x000000579bf7a4d55ea30b2954ae7b91
06:24:15:WU00:FS00:0xa7:Digital signatures verified
06:24:15:WU00:FS00:0xa7:Reducing thread count from 7 to 6 to avoid domain decomposition by a prime number > 3
06:24:15:WU00:FS00:0xa7:Calling: mdrun -s frame77.tpr -o frame77.trr -cpi state.cpt -cpt 15 -nt 6
06:24:15:WU00:FS00:0xa7:Steps: first=0 total=250000
06:24:16:WARNING:WU01:FS01:Failed to get assignment from 'assign1.foldingathome.org:80': No WUs available for this configuration
06:24:16:WU01:FS01:Connecting to assign2.foldingathome.org:80
06:24:16:WU00:FS00:0xa7:Completed 240993 out of 250000 steps (96%)
06:24:18:WARNING:WU01:FS01:Failed to get assignment from 'assign2.foldingathome.org:80': No WUs available for this configuration
06:24:18:WU01:FS01:Connecting to assign3.foldingathome.org:80
06:24:19:WARNING:WU01:FS01:Failed to get assignment from 'assign3.foldingathome.org:80': No WUs available for this configuration
06:24:19:WU01:FS01:Connecting to assign4.foldingathome.org:80
06:24:19:FS01:Paused
06:24:20:WARNING:WU01:FS01:Failed to get assignment from 'assign4.foldingathome.org:80': No WUs available for this configuration
06:24:20:ERROR:WU01:FS01:Exception: Could not get an assignment
06:24:23:FS01:Unpaused
06:24:23:WU01:FS01:Connecting to assign1.foldingathome.org:80
06:24:23:WARNING:WU01:FS01:Failed to get assignment from 'assign1.foldingathome.org:80': No WUs available for this configuration
06:24:23:WU01:FS01:Connecting to assign2.foldingathome.org:80
06:24:24:WARNING:WU01:FS01:Failed to get assignment from 'assign2.foldingathome.org:80': No WUs available for this configuration
06:24:24:WU01:FS01:Connecting to assign3.foldingathome.org:80
06:24:24:WARNING:WU01:FS01:Failed to get assignment from 'assign3.foldingathome.org:80': No WUs available for this configuration
06:24:24:WU01:FS01:Connecting to assign4.foldingathome.org:80
06:24:25:WARNING:WU01:FS01:Failed to get assignment from 'assign4.foldingathome.org:80': No WUs available for this configuration
06:24:25:ERROR:WU01:FS01:Exception: Could not get an assignment
06:24:57:Removing old file 'configs/config-20200510-213011.xml'
06:24:57:Saving configuration to /etc/fahclient/config.xml
06:24:57:<config>
06:24:57:  <!-- Client Control -->
06:24:57:  <fold-anon v='true'/>
06:24:57:
06:24:57:  <!-- Network -->
06:24:57:  <proxy v=':8080'/>
06:24:57:
06:24:57:  <!-- Slot Control -->
06:24:57:  <power v='full'/>
06:24:57:
06:24:57:  <!-- User Information -->
06:24:57:  <passkey v='*****'/>
06:24:57:  <team v='249288'/>
06:24:57:  <user v='edbuntu'/>
06:24:57:
06:24:57:  <!-- Folding Slots -->
06:24:57:  <slot id='0' type='CPU'/>
06:24:57:  <slot id='1' type='GPU'>
06:24:57:    <opencl-index v='1'/>
06:24:57:  </slot>
06:24:57:</config>
06:25:22:WU00:FS00:0xa7:Completed 242500 out of 250000 steps (97%)
06:26:00:WU01:FS01:Connecting to assign1.foldingathome.org:80
06:26:01:WARNING:WU01:FS01:Failed to get assignment from 'assign1.foldingathome.org:80': No WUs available for this configuration
06:26:01:WU01:FS01:Connecting to assign2.foldingathome.org:80
06:26:01:WARNING:WU01:FS01:Failed to get assignment from 'assign2.foldingathome.org:80': No WUs available for this configuration
06:26:01:WU01:FS01:Connecting to assign3.foldingathome.org:80
06:26:02:WU01:FS01:Assigned to work server 3.133.76.19
06:26:02:WU01:FS01:Requesting new work unit for slot 01: READY gpu:0:Ellesmere XT [Radeon RX 470/480/570/580/590] from 3.133.76.19
06:26:02:WU01:FS01:Connecting to 3.133.76.19:8080
06:27:11:WU00:FS00:0xa7:Completed 245000 out of 250000 steps (98%)
06:28:11:WARNING:WU01:FS01:WorkServer connection failed on port 8080 trying 80
06:28:11:WU01:FS01:Connecting to 3.133.76.19:80
06:29:00:WU00:FS00:0xa7:Completed 247500 out of 250000 steps (99%)
06:29:01:WU02:FS00:Connecting to assign1.foldingathome.org:80
06:29:02:WU02:FS00:Assigned to work server 128.252.203.1
06:29:02:WU02:FS00:Requesting new work unit for slot 00: RUNNING cpu:7 from 128.252.203.1
06:29:02:WU02:FS00:Connecting to 128.252.203.1:8080
06:29:02:WU02:FS00:Downloading 1.33MiB
06:29:05:WU02:FS00:Download complete
06:29:05:WU02:FS00:Received Unit: id:02 state:DOWNLOAD error:NO_ERROR project:16438 run:0 clone:1602 gen:71 core:0xa7 unit:0x0000004f80fccb015ea74d752256abf0
06:29:53:WU01:FS01:Downloading 6.02MiB
06:29:59:WU01:FS01:Download 91.31%
06:29:59:WU01:FS01:Download complete
06:29:59:WU01:FS01:Received Unit: id:01 state:DOWNLOAD error:NO_ERROR project:16435 run:1780 clone:2 gen:22 core:0x22 unit:0x0000002803854c135e9a4ef9227376d7
06:29:59:WU01:FS01:Starting
06:29:59:WU01:FS01:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/v7/lin/64bit/Core_22.fah/FahCore_22 -dir 01 -suffix 01 -version 706 -lifeline 12347 -checkpoint 15 -gpu-vendor amd -opencl-device 1 -gpu 1
06:29:59:WU01:FS01:Started FahCore on PID 14681
06:29:59:WU01:FS01:Core PID:14685
06:29:59:WU01:FS01:FahCore 0x22 started
06:30:00:WU01:FS01:0x22:*********************** Log Started 2020-05-20T06:29:59Z ***********************
06:30:00:WU01:FS01:0x22:*************************** Core22 Folding@home Core ***************************
06:30:00:WU01:FS01:0x22:       Type: 0x22
06:30:00:WU01:FS01:0x22:       Core: Core22
06:30:00:WU01:FS01:0x22:    Website: https://foldingathome.org/
06:30:00:WU01:FS01:0x22:  Copyright: (c) 2009-2018 foldingathome.org
06:30:00:WU01:FS01:0x22:     Author: John Chodera <john.chodera@choderalab.org> and Rafal Wiewiora
06:30:00:WU01:FS01:0x22:             <rafal.wiewiora@choderalab.org>
06:30:00:WU01:FS01:0x22:       Args: -dir 01 -suffix 01 -version 706 -lifeline 14681 -checkpoint 15
06:30:00:WU01:FS01:0x22:             -gpu-vendor amd -opencl-device 1 -gpu 1
06:30:00:WU01:FS01:0x22:     Config: <none>
06:30:00:WU01:FS01:0x22:************************************ Build *************************************
06:30:00:WU01:FS01:0x22:    Version: 0.0.5
06:30:00:WU01:FS01:0x22:       Date: Apr 22 2020
06:30:00:WU01:FS01:0x22:       Time: 03:57:11
06:30:00:WU01:FS01:0x22: Repository: Git
06:30:00:WU01:FS01:0x22:   Revision: 2d69202c898bd9bb3e093f51cd32bf411c2a0388
06:30:00:WU01:FS01:0x22:     Branch: HEAD
06:30:00:WU01:FS01:0x22:   Compiler: GNU 4.8.2 20140120 (Red Hat 4.8.2-15)
06:30:00:WU01:FS01:0x22:    Options: -std=c++11 -O3 -funroll-loops
06:30:00:WU01:FS01:0x22:   Platform: linux2 4.19.76-linuxkit
06:30:00:WU01:FS01:0x22:       Bits: 64
06:30:00:WU01:FS01:0x22:       Mode: Release
06:30:00:WU01:FS01:0x22:************************************ System ************************************
06:30:00:WU01:FS01:0x22:        CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
06:30:00:WU01:FS01:0x22:     CPU ID: GenuineIntel Family 6 Model 60 Stepping 3
06:30:00:WU01:FS01:0x22:       CPUs: 8
06:30:00:WU01:FS01:0x22:     Memory: 15.58GiB
06:30:00:WU01:FS01:0x22:Free Memory: 5.36GiB
06:30:00:WU01:FS01:0x22:    Threads: POSIX_THREADS
06:30:00:WU01:FS01:0x22: OS Version: 5.3
06:30:00:WU01:FS01:0x22:Has Battery: false
06:30:00:WU01:FS01:0x22: On Battery: false
06:30:00:WU01:FS01:0x22: UTC Offset: 1
06:30:00:WU01:FS01:0x22:        PID: 14685
06:30:00:WU01:FS01:0x22:        CWD: /var/lib/fahclient/work
06:30:00:WU01:FS01:0x22:         OS: Linux 5.3.0-51-generic x86_64
06:30:00:WU01:FS01:0x22:    OS Arch: AMD64
06:30:00:WU01:FS01:0x22:********************************************************************************
06:30:00:WU01:FS01:0x22:Project: 16435 (Run 1780, Clone 2, Gen 22)
06:30:00:WU01:FS01:0x22:Unit: 0x0000002803854c135e9a4ef9227376d7
06:30:00:WU01:FS01:0x22:Reading tar file core.xml
06:30:00:WU01:FS01:0x22:Reading tar file integrator.xml
06:30:00:WU01:FS01:0x22:Reading tar file state.xml
06:30:00:WU01:FS01:0x22:Reading tar file system.xml
06:30:00:WU01:FS01:0x22:Digital signatures verified
06:30:00:WU01:FS01:0x22:Folding@home GPU Core22 Folding@home Core
06:30:00:WU01:FS01:0x22:Version 0.0.5
06:30:03:WU01:FS01:0x22:ERROR:exception: Error initializing context: clGetDeviceIDs (-1)
06:30:03:WU01:FS01:0x22:Saving result file ../logfile_01.txt
06:30:03:WU01:FS01:0x22:Saving result file science.log
06:30:03:WU01:FS01:0x22:Folding@home Core Shutdown: BAD_WORK_UNIT
06:30:04:WARNING:WU01:FS01:FahCore returned: BAD_WORK_UNIT (114 = 0x72)
06:30:04:WU01:FS01:Sending unit results: id:01 state:SEND error:FAULTY project:16435 run:1780 clone:2 gen:22 core:0x22 unit:0x0000002803854c135e9a4ef9227376d7
06:30:04:WU01:FS01:Uploading 2.20KiB to 3.133.76.19
06:30:04:WU01:FS01:Connecting to 3.133.76.19:8080
06:30:04:WU03:FS01:Connecting to assign1.foldingathome.org:80
06:30:05:WARNING:WU03:FS01:Failed to get assignment from 'assign1.foldingathome.org:80': No WUs available for this configuration
06:30:05:WU03:FS01:Connecting to assign2.foldingathome.org:80
06:30:05:WARNING:WU03:FS01:Failed to get assignment from 'assign2.foldingathome.org:80': No WUs available for this configuration
06:30:05:WU03:FS01:Connecting to assign3.foldingathome.org:80
06:30:06:WARNING:WU03:FS01:Failed to get assignment from 'assign3.foldingathome.org:80': No WUs available for this configuration
06:30:06:WU03:FS01:Connecting to assign4.foldingathome.org:80
06:30:06:WARNING:WU03:FS01:Failed to get assignment from 'assign4.foldingathome.org:80': No WUs available for this configuration
06:30:06:ERROR:WU03:FS01:Exception: Could not get an assignment
06:30:06:WU03:FS01:Connecting to assign1.foldingathome.org:80
06:30:07:WU03:FS01:Assigned to work server 128.252.203.10
06:30:07:WU03:FS01:Requesting new work unit for slot 01: READY gpu:0:Ellesmere XT [Radeon RX 470/480/570/580/590] from 128.252.203.10
06:30:07:WU03:FS01:Connecting to 128.252.203.10:8080
06:30:53:WU00:FS00:0xa7:Completed 250000 out of 250000 steps (100%)
06:30:54:WU00:FS00:0xa7:Saving result file ../logfile_01.txt
06:30:54:WU00:FS00:0xa7:Saving result file dhdl.xvg
06:30:54:WU00:FS00:0xa7:Saving result file frame77.trr
06:30:54:WU00:FS00:0xa7:Saving result file md.log
06:30:54:WU00:FS00:0xa7:Saving result file pullf.xvg
06:30:54:WU00:FS00:0xa7:Saving result file pullx.xvg
06:30:54:WU00:FS00:0xa7:Saving result file science.log
06:30:54:WU00:FS00:0xa7:Saving result file traj_comp.xtc
06:30:54:WU00:FS00:0xa7:Folding@home Core Shutdown: FINISHED_UNIT
06:30:54:WU00:FS00:FahCore returned: FINISHED_UNIT (100 = 0x64)
06:30:54:WU00:FS00:Sending unit results: id:00 state:SEND error:NO_ERROR project:14823 run:1817 clone:0 gen:77 core:0xa7 unit:0x000000579bf7a4d55ea30b2954ae7b91
06:30:54:WU00:FS00:Uploading 6.78MiB to 155.247.164.213
06:30:54:WU00:FS00:Connecting to 155.247.164.213:8080
06:30:55:WU02:FS00:Starting
06:30:55:WU02:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/v7/lin/64bit/avx/Core_a7.fah/FahCore_a7 -dir 02 -suffix 01 -version 706 -lifeline 12347 -checkpoint 15 -np 7
06:30:55:WU02:FS00:Started FahCore on PID 15055
06:30:55:WU02:FS00:Core PID:15059
06:30:55:WU02:FS00:FahCore 0xa7 started
06:30:55:WU02:FS00:0xa7:*********************** Log Started 2020-05-20T06:30:55Z ***********************
06:30:55:WU02:FS00:0xa7:************************** Gromacs Folding@home Core ***************************
06:30:55:WU02:FS00:0xa7:       Type: 0xa7
06:30:55:WU02:FS00:0xa7:       Core: Gromacs
06:30:55:WU02:FS00:0xa7:       Args: -dir 02 -suffix 01 -version 706 -lifeline 15055 -checkpoint 15 -np
06:30:55:WU02:FS00:0xa7:             7
06:30:55:WU02:FS00:0xa7:************************************ CBang *************************************
06:30:55:WU02:FS00:0xa7:       Date: Nov 5 2019
06:30:55:WU02:FS00:0xa7:       Time: 06:06:57
06:30:55:WU02:FS00:0xa7:   Revision: 46c96f1aa8419571d83f3e63f9c99a0d602f6da9
06:30:55:WU02:FS00:0xa7:     Branch: master
06:30:55:WU02:FS00:0xa7:   Compiler: GNU 8.3.0
06:30:55:WU02:FS00:0xa7:    Options: -std=c++11 -O3 -funroll-loops -fno-pie -fPIC
06:30:55:WU02:FS00:0xa7:   Platform: linux2 4.19.0-5-amd64
06:30:55:WU02:FS00:0xa7:       Bits: 64
06:30:55:WU02:FS00:0xa7:       Mode: Release
06:30:55:WU02:FS00:0xa7:************************************ System ************************************
06:30:55:WU02:FS00:0xa7:        CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
06:30:55:WU02:FS00:0xa7:     CPU ID: GenuineIntel Family 6 Model 60 Stepping 3
06:30:55:WU02:FS00:0xa7:       CPUs: 8
06:30:55:WU02:FS00:0xa7:     Memory: 15.58GiB
06:30:55:WU02:FS00:0xa7:Free Memory: 5.45GiB
06:30:55:WU02:FS00:0xa7:    Threads: POSIX_THREADS
06:30:55:WU02:FS00:0xa7: OS Version: 5.3
06:30:55:WU02:FS00:0xa7:Has Battery: false
06:30:55:WU02:FS00:0xa7: On Battery: false
06:30:55:WU02:FS00:0xa7: UTC Offset: 1
06:30:55:WU02:FS00:0xa7:        PID: 15059
06:30:55:WU02:FS00:0xa7:        CWD: /var/lib/fahclient/work
06:30:55:WU02:FS00:0xa7:******************************** Build - libFAH ********************************
06:30:55:WU02:FS00:0xa7:    Version: 0.0.18
06:30:55:WU02:FS00:0xa7:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
06:30:55:WU02:FS00:0xa7:  Copyright: 2019 foldingathome.org
06:30:55:WU02:FS00:0xa7:   Homepage: https://foldingathome.org/
06:30:55:WU02:FS00:0xa7:       Date: Nov 5 2019
06:30:55:WU02:FS00:0xa7:       Time: 06:13:26
06:30:55:WU02:FS00:0xa7:   Revision: 490c9aa2957b725af319379424d5c5cb36efb656
06:30:55:WU02:FS00:0xa7:     Branch: master
06:30:55:WU02:FS00:0xa7:   Compiler: GNU 8.3.0
06:30:55:WU02:FS00:0xa7:    Options: -std=c++11 -O3 -funroll-loops -fno-pie
06:30:55:WU02:FS00:0xa7:   Platform: linux2 4.19.0-5-amd64
06:30:55:WU02:FS00:0xa7:       Bits: 64
06:30:55:WU02:FS00:0xa7:       Mode: Release
06:30:55:WU02:FS00:0xa7:************************************ Build *************************************
06:30:55:WU02:FS00:0xa7:       SIMD: avx_256
06:30:55:WU02:FS00:0xa7:********************************************************************************
06:30:55:WU02:FS00:0xa7:Project: 16438 (Run 0, Clone 1602, Gen 71)
06:30:55:WU02:FS00:0xa7:Unit: 0x0000004f80fccb015ea74d752256abf0
06:30:55:WU02:FS00:0xa7:Reading tar file core.xml
06:30:55:WU02:FS00:0xa7:Reading tar file frame71.tpr
06:30:55:WU02:FS00:0xa7:Digital signatures verified
06:30:55:WU02:FS00:0xa7:Reducing thread count from 7 to 6 to avoid domain decomposition by a prime number > 3
06:30:55:WU02:FS00:0xa7:Calling: mdrun -s frame71.tpr -o frame71.trr -x frame71.xtc -cpt 15 -nt 6
06:30:55:WU02:FS00:0xa7:Steps: first=35500000 total=500000
06:30:56:WU02:FS00:0xa7:Completed 1 out of 500000 steps (0%)
06:31:00:WU00:FS00:Upload 30.40%
06:31:06:WU00:FS00:Upload 64.48%
06:31:12:WU00:FS00:Upload 96.73%
06:31:13:WU00:FS00:Upload complete
06:31:13:WU00:FS00:Server responded WORK_ACK (400)
06:31:13:WU00:FS00:Final credit estimate, 4080.00 points
06:31:13:WU00:FS00:Cleaning up
06:31:15:WU03:FS01:Downloading 29.70MiB
06:31:21:WU03:FS01:Download 20.62%
06:31:27:WU03:FS01:Download 41.25%
06:31:33:WU03:FS01:Download 62.08%
06:31:39:WU03:FS01:Download 82.29%
06:31:43:WU03:FS01:Download complete
06:31:44:WU03:FS01:Received Unit: id:03 state:DOWNLOAD error:NO_ERROR project:11760 run:0 clone:10265 gen:15 core:0x22 unit:0x0000001e80fccb0a5e6f44d3717391d5
06:31:44:WU03:FS01:Starting
06:31:44:WU03:FS01:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/v7/lin/64bit/Core_22.fah/FahCore_22 -dir 03 -suffix 01 -version 706 -lifeline 12347 -checkpoint 15 -gpu-vendor amd -opencl-device 1 -gpu 1
06:31:44:WU03:FS01:Started FahCore on PID 15361
06:31:44:WU03:FS01:Core PID:15365
06:31:44:WU03:FS01:FahCore 0x22 started
06:31:44:WU03:FS01:0x22:*********************** Log Started 2020-05-20T06:31:44Z ***********************
06:31:44:WU03:FS01:0x22:*************************** Core22 Folding@home Core ***************************
06:31:44:WU03:FS01:0x22:       Type: 0x22
06:31:44:WU03:FS01:0x22:       Core: Core22
06:31:44:WU03:FS01:0x22:    Website: https://foldingathome.org/
06:31:44:WU03:FS01:0x22:  Copyright: (c) 2009-2018 foldingathome.org
06:31:44:WU03:FS01:0x22:     Author: John Chodera <john.chodera@choderalab.org> and Rafal Wiewiora
06:31:44:WU03:FS01:0x22:             <rafal.wiewiora@choderalab.org>
06:31:44:WU03:FS01:0x22:       Args: -dir 03 -suffix 01 -version 706 -lifeline 15361 -checkpoint 15
06:31:44:WU03:FS01:0x22:             -gpu-vendor amd -opencl-device 1 -gpu 1
06:31:44:WU03:FS01:0x22:     Config: <none>
06:31:44:WU03:FS01:0x22:************************************ Build *************************************
06:31:44:WU03:FS01:0x22:    Version: 0.0.5
06:31:44:WU03:FS01:0x22:       Date: Apr 22 2020
06:31:44:WU03:FS01:0x22:       Time: 03:57:11
06:31:44:WU03:FS01:0x22: Repository: Git
06:31:44:WU03:FS01:0x22:   Revision: 2d69202c898bd9bb3e093f51cd32bf411c2a0388
06:31:44:WU03:FS01:0x22:     Branch: HEAD
06:31:44:WU03:FS01:0x22:   Compiler: GNU 4.8.2 20140120 (Red Hat 4.8.2-15)
06:31:44:WU03:FS01:0x22:    Options: -std=c++11 -O3 -funroll-loops
06:31:44:WU03:FS01:0x22:   Platform: linux2 4.19.76-linuxkit
06:31:44:WU03:FS01:0x22:       Bits: 64
06:31:44:WU03:FS01:0x22:       Mode: Release
06:31:44:WU03:FS01:0x22:************************************ System ************************************
06:31:44:WU03:FS01:0x22:        CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
06:31:44:WU03:FS01:0x22:     CPU ID: GenuineIntel Family 6 Model 60 Stepping 3
06:31:44:WU03:FS01:0x22:       CPUs: 8
06:31:44:WU03:FS01:0x22:     Memory: 15.58GiB
06:31:44:WU03:FS01:0x22:Free Memory: 5.38GiB
06:31:44:WU03:FS01:0x22:    Threads: POSIX_THREADS
06:31:44:WU03:FS01:0x22: OS Version: 5.3
06:31:44:WU03:FS01:0x22:Has Battery: false
06:31:44:WU03:FS01:0x22: On Battery: false
06:31:44:WU03:FS01:0x22: UTC Offset: 1
06:31:44:WU03:FS01:0x22:        PID: 15365
06:31:44:WU03:FS01:0x22:        CWD: /var/lib/fahclient/work
06:31:44:WU03:FS01:0x22:         OS: Linux 5.3.0-51-generic x86_64
06:31:44:WU03:FS01:0x22:    OS Arch: AMD64
06:31:44:WU03:FS01:0x22:********************************************************************************
06:31:44:WU03:FS01:0x22:Project: 11760 (Run 0, Clone 10265, Gen 15)
06:31:44:WU03:FS01:0x22:Unit: 0x0000001e80fccb0a5e6f44d3717391d5
06:31:44:WU03:FS01:0x22:Reading tar file core.xml
06:31:44:WU03:FS01:0x22:Reading tar file integrator.xml
06:31:44:WU03:FS01:0x22:Reading tar file state.xml
06:31:44:WU03:FS01:0x22:Reading tar file system.xml
06:31:44:WU03:FS01:0x22:Digital signatures verified
06:31:44:WU03:FS01:0x22:Folding@home GPU Core22 Folding@home Core
06:31:44:WU03:FS01:0x22:Version 0.0.5
06:31:48:WU03:FS01:0x22:ERROR:exception: Error initializing context: clGetDeviceIDs (-1)
06:31:48:WU03:FS01:0x22:Saving result file ../logfile_01.txt
06:31:48:WU03:FS01:0x22:Saving result file science.log
06:31:48:WU03:FS01:0x22:Folding@home Core Shutdown: BAD_WORK_UNIT
06:31:48:WARNING:WU03:FS01:FahCore returned: BAD_WORK_UNIT (114 = 0x72)
06:31:48:WU03:FS01:Sending unit results: id:03 state:SEND error:FAULTY project:11760 run:0 clone:10265 gen:15 core:0x22 unit:0x0000001e80fccb0a5e6f44d3717391d5
06:31:48:WU03:FS01:Uploading 7.50KiB to 128.252.203.10
06:31:48:WU03:FS01:Connecting to 128.252.203.10:8080
06:31:48:WU00:FS01:Connecting to assign1.foldingathome.org:80
06:31:49:WARNING:WU00:FS01:Failed to get assignment from 'assign1.foldingathome.org:80': No WUs available for this configuration
06:31:49:WU00:FS01:Connecting to assign2.foldingathome.org:80
06:31:49:WARNING:WU00:FS01:Failed to get assignment from 'assign2.foldingathome.org:80': No WUs available for this configuration
06:31:49:WU00:FS01:Connecting to assign3.foldingathome.org:80
06:31:50:WARNING:WU00:FS01:Failed to get assignment from 'assign3.foldingathome.org:80': No WUs available for this configuration
06:31:50:WU00:FS01:Connecting to assign4.foldingathome.org:80
06:31:50:WARNING:WU00:FS01:Failed to get assignment from 'assign4.foldingathome.org:80': No WUs available for this configuration
06:31:50:ERROR:WU00:FS01:Exception: Could not get an assignment
06:31:51:WU00:FS01:Connecting to assign1.foldingathome.org:80
06:31:51:WARNING:WU00:FS01:Failed to get assignment from 'assign1.foldingathome.org:80': No WUs available for this configuration
06:31:51:WU00:FS01:Connecting to assign2.foldingathome.org:80
06:31:52:WARNING:WU00:FS01:Failed to get assignment from 'assign2.foldingathome.org:80': No WUs available for this configuration
06:31:52:WU00:FS01:Connecting to assign3.foldingathome.org:80
06:31:52:WARNING:WU00:FS01:Failed to get assignment from 'assign3.foldingathome.org:80': No WUs available for this configuration
06:31:52:WU00:FS01:Connecting to assign4.foldingathome.org:80
06:31:53:WARNING:WU00:FS01:Failed to get assignment from 'assign4.foldingathome.org:80': No WUs available for this configuration
06:31:53:ERROR:WU00:FS01:Exception: Could not get an assignment
06:32:13:WARNING:WU01:FS01:WorkServer connection failed on port 8080 trying 80
06:32:13:WU01:FS01:Connecting to 3.133.76.19:80
06:32:36:WU02:FS00:0xa7:Completed 5000 out of 500000 steps (1%)
06:32:51:WU00:FS01:Connecting to assign1.foldingathome.org:80
06:32:51:WARNING:WU00:FS01:Failed to get assignment from 'assign1.foldingathome.org:80': No WUs available for this configuration
06:32:51:WU00:FS01:Connecting to assign2.foldingathome.org:80
06:32:52:WARNING:WU00:FS01:Failed to get assignment from 'assign2.foldingathome.org:80': No WUs available for this configuration
06:32:52:WU00:FS01:Connecting to assign3.foldingathome.org:80
06:32:52:WARNING:WU00:FS01:Failed to get assignment from 'assign3.foldingathome.org:80': No WUs available for this configuration
06:32:52:WU00:FS01:Connecting to assign4.foldingathome.org:80
06:32:53:WARNING:WU00:FS01:Failed to get assignment from 'assign4.foldingathome.org:80': No WUs available for this configuration
06:32:53:ERROR:WU00:FS01:Exception: Could not get an assignment

Re: AMD RX 480 in Ubuntu 18.04LTS: fails to chooch

Posted: Wed May 20, 2020 6:51 am
by PantherX
Assuming that you installed the AMD closed source drivers (proprietary), you will also need to install the OpenCL package as you're getting this error:
06:23:56: OpenCL: Not detected: clGetDeviceIDs() returned -1

I have read that you can use this command to install the OpenCL package:
sudo apt install ocl-icd-opencl-dev