Page 1 of 1

How to enable GPU folding using Ryzen 7 4700U?

Posted: Sun Jul 12, 2020 2:01 pm
by rori1977
--- First time forum poster - please don't shoot :-) ---

Dear forum members,

I am struggling to continue folding on my new laptop using LinuxMint 20.04 LTS, fresh install.

I had the following issues, which I solved or worked around:
1.) Builtin GPU was not detected (with preinstalled standard linux kernel 5.4)
2.) "Phython2"-issue dependency (worked around by using remote-webcontrol from other computer) as described here:
viewtopic.php?f=108&t=35707

So I

* upgraded to latest mainline linux kernel (now on 5.7.8)
* installed oibaf-ppa for latest graphic drivers
* made a git-clone for "/lib/firmware" to have latest amd firmware

I can see now finally see a built-in GPU card. However it wrongly identifies as "Ryzen 4900HS" card in my webcontrol.
Furthermore it still refuses to get utilized due to missing / wrong OpenCL setting.
Before I had an NVIDIA card and used CUDA, but, if I understood well, for AMD I need some other drivers (ROCm or OpenCL)

Please give me a hint as to how to enable OpenCL for by AMD Ryzen Mobile 4700U, as this seems to be a final prerequisite for me to continue GPU-folding.
My current impression is, that there is no proprietary linux driver available on the AMD website for this (yet).

https://www.amd.com/de/support/apu/amd- ... en-7-4700u

Question:
1.) How to make sure the GPU is recognized as what it really is (and not something else)?
2.) How to install an opensource driver (if existing) in the absence of a AMD proprietary driver?

Any help/advice highly appreciated.

Code: Select all

 robert@localhorst:~$ inxi -G
Graphics:
  Device-1: AMD Renoir driver: amdgpu v: kernel 
  Display: x11 server: X.Org 1.20.8 driver: amdgpu,ati 
  unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: AMD RENOIR (DRM 3.37.0 5.7.8-050708-generic LLVM 10.0.1) 
  v: 4.6 Mesa 20.2.0-devel (git-351b513 2020-07-12 focal-oibaf-ppa) 

Code: Select all

uname -a
Linux localhorst 5.7.8-050708-generic #202007090835 SMP Thu Jul 9 09:04:17 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Code: Select all

System:    Kernel: 5.7.8-050708-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
           Desktop: Cinnamon 4.6.6 wm: muffin dm: LightDM Distro: Linux Mint 20 Ulyana 
           base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: Acer product: Aspire A515-44 v: V1.02 serial: <filter> 
           Mobo: RO model: Calla_RN v: V1.02 serial: <filter> UEFI: INSYDE v: 1.02 
           date: 03/23/2020 
Battery:   ID-1: BAT1 charge: 50.1 Wh condition: 50.1/47.8 Wh (105%) volts: 12.8/11.2 
           model: LGC AP18C8K serial: <filter> status: Full 
CPU:       Topology: 8-Core model: AMD Ryzen 7 4700U with Radeon Graphics bits: 64 type: MCP 
           arch: Zen rev: 1 L2 cache: 4096 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 31938 
           Speed: 3167 MHz min/max: 1400/2000 MHz Core speeds (MHz): 1: 3183 2: 3183 3: 3183 
           4: 3183 5: 3183 6: 1451 7: 3183 8: 3183 
Graphics:  Device-1: AMD Renoir vendor: Acer Incorporated ALI driver: amdgpu v: kernel 
           bus ID: 05:00.0 chip ID: 1002:1636 
           Display: x11 server: X.Org 1.20.8 driver: amdgpu,ati unloaded: fbdev,modesetting,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: AMD RENOIR (DRM 3.37.0 5.7.8-050708-generic LLVM 10.0.1) 
           v: 4.6 Mesa 20.2.0-devel (git-351b513 2020-07-12 focal-oibaf-ppa) direct render: Yes 
Audio:     Device-1: AMD vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel 
           bus ID: 05:00.1 chip ID: 1002:1637 
           Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor 
           vendor: Acer Incorporated ALI driver: N/A bus ID: 05:00.5 chip ID: 1022:15e2 
           Device-3: AMD Family 17h HD Audio vendor: Acer Incorporated ALI driver: snd_hda_intel 
           v: kernel bus ID: 05:00.6 chip ID: 1022:15e3 
           Sound Server: ALSA v: k5.7.8-050708-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
           vendor: Acer Incorporated ALI driver: r8169 v: kernel port: 2000 bus ID: 03:00.0 
           chip ID: 10ec:8168 
           IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Lite-On 
           driver: ath10k_pci v: kernel port: 2000 bus ID: 04:00.0 chip ID: 168c:003e 
           IF: wlp4s0 state: up mac: <filter> 
Drives:    Local Storage: total: 476.94 GiB used: 10.31 GiB (2.2%) 
           ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFM512GDJTNI-82A0A size: 476.94 GiB 
           speed: 31.6 Gb/s lanes: 4 serial: <filter> 
Partition: ID-1: / size: 467.96 GiB used: 10.31 GiB (2.2%) fs: ext4 dev: /dev/nvme0n1p2 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 chip ID: 1d6b:0002 
           Device-1: 1-3:2 info: Lite-On type: Bluetooth driver: btusb rev: 2.0 chip ID: 04ca:3016 
           Device-2: 1-4:3 info: Elan Micro ELAN:Fingerprint type: <vendor specific> driver: N/A 
           rev: 2.0 chip ID: 04f3:0c4f 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 chip ID: 1d6b:0003 
           Hub: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 chip ID: 1d6b:0002 
           Device-3: 3-4:2 info: Chicony HD User Facing type: Video driver: uvcvideo rev: 2.0 
           chip ID: 04f2:b64f 
           Hub: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 chip ID: 1d6b:0003 
Sensors:   System Temperatures: cpu: 84.8 C mobo: N/A gpu: amdgpu temp: 71 C 
           Fan Speeds (RPM): N/A 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/cappelikan-ppa-focal.list 
           1: deb http: //ppa.launchpad.net/cappelikan/ppa/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http: //packages.linuxmint.com ulyana main upstream import backport #id:linuxmint_main
           2: deb http: //archive.ubuntu.com/ubuntu focal main restricted universe multiverse
           3: deb http: //archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
           4: deb http: //archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
           5: deb http: //security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http: //archive.canonical.com/ubuntu/ focal partner
           Active apt repos in: /etc/apt/sources.list.d/oibaf-graphics-drivers-focal.list 
           1: deb http: //ppa.launchpad.net/oibaf/graphics-drivers/ubuntu focal main
Info:      Processes: 255 Uptime: 42m Memory: 7.21 GiB used: 1.71 GiB (23.7%) Init: systemd v: 245 
           runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Client: Unknown python3.8 client inxi: 3.0.38 

(Log from F@H will come in a minute, from the other computer - wait a sec, please :-))

Re: How to enable GPU folding using Ryzen 7 4700U?

Posted: Sun Jul 12, 2020 2:20 pm
by rori1977
Here is the log:

Code: Select all

13:00:25:Adding folding slot 01: READY gpu:0:Renoir [Ryzen 4900HS mobile]
13:00:25:Removing old file 'configs/config-20200706-204359.xml'
13:00:25:Saving configuration to /etc/fahclient/config.xml
13:00:25:<config>
13:00:25:  <!-- Client Control -->
13:00:25:  <fold-anon v='true'/>
13:00:25:
13:00:25:  <!-- Folding Slot Configuration -->
13:00:25:  <cause v='COVID_19'/>
13:00:25:
13:00:25:  <!-- HTTP Server -->
13:00:25:  <allow v='127.0.0.1 192.168.2.0/24'/>
13:00:25:
13:00:25:  <!-- Network -->
13:00:25:  <proxy v=':8080'/>
13:00:25:
13:00:25:  <!-- Remote Command Server -->
13:00:25:  <command-allow-no-pass v='127.0.0.1 192.168.2.0/24'/>
13:00:25:
13:00:25:  <!-- Slot Control -->
13:00:25:  <power v='FULL'/>
13:00:25:
13:00:25:  <!-- User Information -->
13:00:25:  <passkey v='*****'/>
13:00:25:  <team v='258841'/>
13:00:25:  <user v='Sir_Vivor'/>
13:00:25:
13:00:25:  <!-- Web Server -->
13:00:25:  <web-allow v='127.0.0.1 192.168.2.0/24'/>
13:00:25:
13:00:25:  <!-- Folding Slots -->
13:00:25:  <slot id='0' type='CPU'/>
13:00:25:  <slot id='1' type='GPU'/>
13:00:25:</config>
13:00:25:FS00:Shutting core down
13:00:25:WU00:FS00:0xa7:Caught signal SIGINT(2) on PID 1621
13:00:25:WU00:FS00:0xa7:Exiting, please wait. . .
13:00:25:WU01:FS01:Connecting to assign1.foldingathome.org:80
13:00:26:WU00:FS00:0xa7:Folding@home Core Shutdown: INTERRUPTED
13:00:26:WU00:FS00:FahCore returned: INTERRUPTED (102 = 0x66)
13:00:26:WU01:FS01:Assigned to work server 18.188.125.154
13:00:26:WU01:FS01:Requesting new work unit for slot 01: READY gpu:0:Renoir [Ryzen 4900HS mobile] from 18.188.125.154
13:00:26:WU01:FS01:Connecting to 18.188.125.154:8080
13:00:26:WU00:FS00:Starting
13:00:26:WARNING:WU00:FS00:Changed SMP threads from 8 to 7 this can cause some work units to fail
13:00:26: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 1575 -checkpoint 15 -np 7
13:00:26:WU00:FS00:Started FahCore on PID 1689
13:00:26:WU00:FS00:Core PID:1693
13:00:26:WU00:FS00:FahCore 0xa7 started
13:00:27:WU00:FS00:0xa7:*********************** Log Started 2020-07-12T13:00:26Z ***********************
13:00:27:WU00:FS00:0xa7:************************** Gromacs Folding@home Core ***************************
13:00:27:WU00:FS00:0xa7:       Type: 0xa7
13:00:27:WU00:FS00:0xa7:       Core: Gromacs
13:00:27:WU00:FS00:0xa7:       Args: -dir 00 -suffix 01 -version 706 -lifeline 1689 -checkpoint 15 -np 7
13:00:27:WU00:FS00:0xa7:************************************ CBang *************************************
13:00:27:WU00:FS00:0xa7:       Date: Nov 5 2019
13:00:27:WU00:FS00:0xa7:       Time: 06:06:57
13:00:27:WU00:FS00:0xa7:   Revision: 46c96f1aa8419571d83f3e63f9c99a0d602f6da9
13:00:27:WU00:FS00:0xa7:     Branch: master
13:00:27:WU00:FS00:0xa7:   Compiler: GNU 8.3.0
13:00:27:WU00:FS00:0xa7:    Options: -std=c++11 -O3 -funroll-loops -fno-pie -fPIC
13:00:27:WU00:FS00:0xa7:   Platform: linux2 4.19.0-5-amd64
13:00:27:WU00:FS00:0xa7:       Bits: 64
13:00:27:WU00:FS00:0xa7:       Mode: Release
13:00:27:WU00:FS00:0xa7:************************************ System ************************************
13:00:27:WU00:FS00:0xa7:        CPU: AMD Ryzen 7 4700U with Radeon Graphics
13:00:27:WU00:FS00:0xa7:     CPU ID: AuthenticAMD Family 23 Model 96 Stepping 1
13:00:27:WU00:FS00:0xa7:       CPUs: 8
13:00:27:WU00:FS00:0xa7:     Memory: 7.21GiB
13:00:27:WU00:FS00:0xa7:Free Memory: 5.81GiB
13:00:27:WU00:FS00:0xa7:    Threads: POSIX_THREADS
13:00:27:WU00:FS00:0xa7: OS Version: 5.7
13:00:27:WU00:FS00:0xa7:Has Battery: true
13:00:27:WU00:FS00:0xa7: On Battery: false
13:00:27:WU00:FS00:0xa7: UTC Offset: 2
13:00:27:WU00:FS00:0xa7:        PID: 1693
13:00:27:WU00:FS00:0xa7:        CWD: /var/lib/fahclient/work
13:00:27:WU00:FS00:0xa7:******************************** Build - libFAH ********************************
13:00:27:WU00:FS00:0xa7:    Version: 0.0.18
13:00:27:WU00:FS00:0xa7:     Author: Joseph Coffland <[email protected]>
13:00:27:WU00:FS00:0xa7:  Copyright: 2019 foldingathome.org
13:00:27:WU00:FS00:0xa7:   Homepage: https://foldingathome.org/
13:00:27:WU00:FS00:0xa7:       Date: Nov 5 2019
13:00:27:WU00:FS00:0xa7:       Time: 06:13:26
13:00:27:WU00:FS00:0xa7:   Revision: 490c9aa2957b725af319379424d5c5cb36efb656
13:00:27:WU00:FS00:0xa7:     Branch: master
13:00:27:WU00:FS00:0xa7:   Compiler: GNU 8.3.0
13:00:27:WU00:FS00:0xa7:    Options: -std=c++11 -O3 -funroll-loops -fno-pie
13:00:27:WU00:FS00:0xa7:   Platform: linux2 4.19.0-5-amd64
13:00:27:WU00:FS00:0xa7:       Bits: 64
13:00:27:WU00:FS00:0xa7:       Mode: Release
13:00:27:WU00:FS00:0xa7:************************************ Build *************************************
13:00:27:WU00:FS00:0xa7:       SIMD: avx_256
13:00:27:WU00:FS00:0xa7:********************************************************************************
13:00:27:WU00:FS00:0xa7:Project: 13850 (Run 0, Clone 36138, Gen 217)
13:00:27:WU00:FS00:0xa7:Unit: 0x00000103287234c95e788ab10e9e0620
13:00:27:WU00:FS00:0xa7:Digital signatures verified
13:00:27:WU00:FS00:0xa7:Reducing thread count from 7 to 6 to avoid domain decomposition by a prime number > 3
13:00:27:WU00:FS00:0xa7:Calling: mdrun -s frame217.tpr -o frame217.trr -x frame217.xtc -e frame217.edr -cpi state.cpt -cpt 15 -nt 6
13:00:27:WU00:FS00:0xa7:Steps: first=108500000 total=500000
13:00:27:WU01:FS01:Downloading 7.04MiB
13:00:32:WU01:FS01:Download complete
13:00:32:WU01:FS01:Received Unit: id:01 state:DOWNLOAD error:NO_ERROR project:13416 run:519 clone:157 gen:2 core:0x22 unit:0x0000000512bc7d9a5f02afaa07903dee
13:00:32:WU01:FS01:Starting
13:00:32:ERROR:WU01: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
13:00:32:WU01:FS01:Starting
13:00:32:ERROR:WU01: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
13:00:32:WU00:FS00:0xa7:Completed 2202 out of 500000 steps (0%)
13:00:50:Removing old file 'configs/config-20200706-211227.xml'
13:00:50:Saving configuration to /etc/fahclient/config.xml
13:00:50:<config>
13:00:50:  <!-- Client Control -->
13:00:50:  <fold-anon v='true'/>
13:00:50:
13:00:50:  <!-- Folding Slot Configuration -->
13:00:50:  <cause v='COVID_19'/>
13:00:50:
13:00:50:  <!-- HTTP Server -->
13:00:50:  <allow v='127.0.0.1 192.168.2.0/24'/>
13:00:50:
13:00:50:  <!-- Network -->
13:00:50:  <proxy v=':8080'/>
13:00:50:
13:00:50:  <!-- Remote Command Server -->
13:00:50:  <command-allow-no-pass v='127.0.0.1 192.168.2.0/24'/>
13:00:50:
13:00:50:  <!-- Slot Control -->
13:00:50:  <power v='FULL'/>
13:00:50:
13:00:50:  <!-- User Information -->
13:00:50:  <passkey v='*****'/>
13:00:50:  <team v='258841'/>
13:00:50:  <user v='Sir_Vivor'/>
13:00:50:
13:00:50:  <!-- Web Server -->
13:00:50:  <web-allow v='127.0.0.1 192.168.2.0/24'/>
13:00:50:
13:00:50:  <!-- Folding Slots -->
13:00:50:  <slot id='0' type='CPU'/>
13:00:50:  <slot id='1' type='GPU'/>
13:00:50:</config>
13:01:13:WU00:FS00:0xa7:Completed 5000 out of 500000 steps (1%)
13:01:32:WU01:FS01:Starting
13:01:32:ERROR:WU01: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
13:02:27:WU00:FS00:0xa7:Completed 10000 out of 500000 steps (2%)
13:03:10:WU01:FS01:Starting
13:03:10:ERROR:WU01: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
13:03:42:WU00:FS00:0xa7:Completed 15000 out of 500000 steps (3%)
13:04:57:WU00:FS00:0xa7:Completed 20000 out of 500000 steps (4%)
13:05:47:WU01:FS01:Starting
13:05:47:ERROR:WU01: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
13:06:12:WU00:FS00:0xa7:Completed 25000 out of 500000 steps (5%)
13:07:28:WU00:FS00:0xa7:Completed 30000 out of 500000 steps (6%)
13:08:43:WU00:FS00:0xa7:Completed 35000 out of 500000 steps (7%)
13:09:59:WU00:FS00:0xa7:Completed 40000 out of 500000 steps (8%)
13:10:01:WU01:FS01:Starting
13:10:01:ERROR:WU01: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
13:10:01:WU01:FS01:Sending unit results: id:01 state:SEND error:FAILED project:13416 run:519 clone:157 gen:2 core:0x22 unit:0x0000000512bc7d9a5f02afaa07903dee
13:10:01:WU01:FS01:Connecting to 18.188.125.154:8080
13:10:01:WU01:FS01:Server responded WORK_ACK (400)
13:10:01:WU01:FS01:Cleaning up
13:10:01:WU02:FS01:Connecting to assign1.foldingathome.org:80
13:10:02:WU02:FS01:Assigned to work server 140.163.4.231
13:10:02:WU02:FS01:Requesting new work unit for slot 01: READY gpu:0:Renoir [Ryzen 4900HS mobile] from 140.163.4.231
13:10:02:WU02:FS01:Connecting to 140.163.4.231:8080
13:10:20:WU02:FS01:Downloading 7.92MiB
13:10:26:WU02:FS01:Download 80.45%
13:10:27:WU02:FS01:Download complete
13:10:27:WU02:FS01:Received Unit: id:02 state:DOWNLOAD error:NO_ERROR project:11751 run:0 clone:8893 gen:86 core:0x22 unit:0x000000998ca304e75e6bbcf3e03c7810
13:10:27:WU02:FS01:Starting
13:10:27: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
13:10:27:WU02:FS01:Starting
13:10:27: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
13:11:16:WU00:FS00:0xa7:Completed 45000 out of 500000 steps (9%)
13:11:27:WU02:FS01:Starting
13:11:27: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
13:12:32:WU00:FS00:0xa7:Completed 50000 out of 500000 steps (10%)
13:13:05:WU02:FS01:Starting
13:13:05: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
13:13:49:WU00:FS00:0xa7:Completed 55000 out of 500000 steps (11%)
13:15:07:WU00:FS00:0xa7:Completed 60000 out of 500000 steps (12%)
13:15:42:WU02:FS01:Starting
13:15:42: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
13:16:26:WU00:FS00:0xa7:Completed 65000 out of 500000 steps (13%)
13:17:43:WU00:FS00:0xa7:Completed 70000 out of 500000 steps (14%)
13:19:02:WU00:FS00:0xa7:Completed 75000 out of 500000 steps (15%)
13:19:56:WU02:FS01:Starting
13:19:56: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
13:19:56:WU02:FS01:Sending unit results: id:02 state:SEND error:FAILED project:11751 run:0 clone:8893 gen:86 core:0x22 unit:0x000000998ca304e75e6bbcf3e03c7810
13:19:56:WU02:FS01:Connecting to 140.163.4.231:8080
13:19:57:WU02:FS01:Server responded WORK_ACK (400)
13:19:57:WU02:FS01:Cleaning up
13:19:57:WU01:FS01:Connecting to assign1.foldingathome.org:80
13:19:57:WU01:FS01:Assigned to work server 18.188.125.154
13:19:57:WU01:FS01:Requesting new work unit for slot 01: READY gpu:0:Renoir [Ryzen 4900HS mobile] from 18.188.125.154
13:19:57:WU01:FS01:Connecting to 18.188.125.154:8080
13:19:58:WU01:FS01:Downloading 7.05MiB
13:20:03:WU01:FS01:Download complete
13:20:03:WU01:FS01:Received Unit: id:01 state:DOWNLOAD error:NO_ERROR project:13416 run:512 clone:166 gen:2 core:0x22 unit:0x0000000512bc7d9a5f02afabe2204a70
13:20:03:WU01:FS01:Starting
13:20:03:ERROR:WU01: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
13:20:03:WU01:FS01:Starting
13:20:03:ERROR:WU01: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
13:20:21:WU00:FS00:0xa7:Completed 80000 out of 500000 steps (16%)
13:21:03:WU01:FS01:Starting
13:21:03:ERROR:WU01: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
13:21:40:WU00:FS00:0xa7:Completed 85000 out of 500000 steps (17%)
13:22:41:WU01:FS01:Starting
13:22:41:ERROR:WU01: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
13:22:59:WU00:FS00:0xa7:Completed 90000 out of 500000 steps (18%)
13:24:18:WU00:FS00:0xa7:Completed 95000 out of 500000 steps (19%)
13:25:18:WU01:FS01:Starting
13:25:18:ERROR:WU01: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
13:25:36:WU00:FS00:0xa7:Completed 100000 out of 500000 steps (20%)
13:26:55:WU00:FS00:0xa7:Completed 105000 out of 500000 steps (21%)
13:28:14:WU00:FS00:0xa7:Completed 110000 out of 500000 steps (22%)
13:29:32:WU01:FS01:Starting
13:29:32:ERROR:WU01: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
13:29:32:WU01:FS01:Sending unit results: id:01 state:SEND error:FAILED project:13416 run:512 clone:166 gen:2 core:0x22 unit:0x0000000512bc7d9a5f02afabe2204a70
13:29:32:WU01:FS01:Connecting to 18.188.125.154:8080
13:29:33:WU00:FS00:0xa7:Completed 115000 out of 500000 steps (23%)
13:29:33:WU01:FS01:Server responded WORK_ACK (400)
13:29:33:WU01:FS01:Cleaning up
13:29:33:WU02:FS01:Connecting to assign1.foldingathome.org:80
13:29:33:WU02:FS01:Assigned to work server 140.163.4.231
13:29:33:WU02:FS01:Requesting new work unit for slot 01: READY gpu:0:Renoir [Ryzen 4900HS mobile] from 140.163.4.231
13:29:33:WU02:FS01:Connecting to 140.163.4.231:8080
13:29:36:3:127.0.0.1:New Web session
13:29:57:WU02:FS01:Downloading 7.93MiB
13:30:03:WU02:FS01:Download 67.81%
13:30:05:WU02:FS01:Download complete
13:30:05:WU02:FS01:Received Unit: id:02 state:DOWNLOAD error:NO_ERROR project:11751 run:0 clone:3434 gen:32 core:0x22 unit:0x000000488ca304e75e6a804dcfb42045
13:30:05:WU02:FS01:Starting
13:30:05: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
13:30:05:WU02:FS01:Starting
13:30:05: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
13:30:52:WU00:FS00:0xa7:Completed 120000 out of 500000 steps (24%)
13:31:05:WU02:FS01:Starting
13:31:05: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
13:32:12:WU00:FS00:0xa7:Completed 125000 out of 500000 steps (25%)
13:32:42:WU02:FS01:Starting
13:32:42: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
13:33:32:WU00:FS00:0xa7:Completed 130000 out of 500000 steps (26%)
13:34:52:WU00:FS00:0xa7:Completed 135000 out of 500000 steps (27%)
13:35:20:WU02:FS01:Starting
13:35:20: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
13:36:11:WU00:FS00:0xa7:Completed 140000 out of 500000 steps (28%)
13:37:30:WU00:FS00:0xa7:Completed 145000 out of 500000 steps (29%)
13:38:49:WU00:FS00:0xa7:Completed 150000 out of 500000 steps (30%)
13:39:34:WU02:FS01:Starting
13:39:34: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
13:39:34:WU02:FS01:Sending unit results: id:02 state:SEND error:FAILED project:11751 run:0 clone:3434 gen:32 core:0x22 unit:0x000000488ca304e75e6a804dcfb42045
13:39:34:WU02:FS01:Connecting to 140.163.4.231:8080
13:39:34:WU02:FS01:Server responded WORK_ACK (400)
13:39:34:WU02:FS01:Cleaning up
13:39:34:WU01:FS01:Connecting to assign1.foldingathome.org:80
13:39:35:WU01:FS01:Assigned to work server 66.170.111.50
13:39:35:WU01:FS01:Requesting new work unit for slot 01: READY gpu:0:Renoir [Ryzen 4900HS mobile] from 66.170.111.50
13:39:35:WU01:FS01:Connecting to 66.170.111.50:8080
13:39:41:WU01:FS01:Downloading 22.42MiB
13:39:47:WU01:FS01:Download 17.85%
13:39:53:WU01:FS01:Download 44.33%
13:39:59:WU01:FS01:Download 72.22%
13:40:04:WU01:FS01:Download complete
13:40:05:WU01:FS01:Received Unit: id:01 state:DOWNLOAD error:NO_ERROR project:16448 run:0 clone:1281 gen:157 core:0x22 unit:0x000000f842aa6f325ed18ce29bedc1bd
13:40:05:WU01:FS01:Starting
13:40:05:ERROR:WU01: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
13:40:05:WU01:FS01:Starting
13:40:05:ERROR:WU01: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
13:40:09:WU00:FS00:0xa7:Completed 155000 out of 500000 steps (31%)
13:41:05:WU01:FS01:Starting
13:41:05:ERROR:WU01: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
13:41:29:WU00:FS00:0xa7:Completed 160000 out of 500000 steps (32%)
13:42:42:WU01:FS01:Starting
13:42:42:ERROR:WU01: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
13:42:49:WU00:FS00:0xa7:Completed 165000 out of 500000 steps (33%)
13:44:08:WU00:FS00:0xa7:Completed 170000 out of 500000 steps (34%)
13:45:19:WU01:FS01:Starting
13:45:19:ERROR:WU01: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
13:45:27:WU00:FS00:0xa7:Completed 175000 out of 500000 steps (35%)
13:46:46:WU00:FS00:0xa7:Completed 180000 out of 500000 steps (36%)
13:48:05:WU00:FS00:0xa7:Completed 185000 out of 500000 steps (37%)
13:49:24:WU00:FS00:0xa7:Completed 190000 out of 500000 steps (38%)
13:49:34:WU01:FS01:Starting
13:49:34:ERROR:WU01: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
13:49:34:WU01:FS01:Sending unit results: id:01 state:SEND error:FAILED project:16448 run:0 clone:1281 gen:157 core:0x22 unit:0x000000f842aa6f325ed18ce29bedc1bd
13:49:34:WU01:FS01:Connecting to 66.170.111.50:8080
13:49:34:WU02:FS01:Connecting to assign1.foldingathome.org:80
13:49:34:WU01:FS01:Server responded WORK_ACK (400)
13:49:34:WU01:FS01:Cleaning up
13:49:35:WU02:FS01:Assigned to work server 140.163.4.231
13:49:35:WU02:FS01:Requesting new work unit for slot 01: READY gpu:0:Renoir [Ryzen 4900HS mobile] from 140.163.4.231
13:49:35:WU02:FS01:Connecting to 140.163.4.231:8080
13:49:42:WU02:FS01:Downloading 4.53MiB
13:49:46:WU02:FS01:Download complete
13:49:46:WU02:FS01:Received Unit: id:02 state:DOWNLOAD error:NO_ERROR project:11748 run:0 clone:5983 gen:27 core:0x22 unit:0x000000418ca304e75e6bb057bb3b31d1
13:49:46:WU02:FS01:Starting
13:49:46: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
13:49:46:WU02:FS01:Starting
13:49:46: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
13:50:43:WU00:FS00:0xa7:Completed 195000 out of 500000 steps (39%)
13:50:47:WU02:FS01:Starting
13:50:47: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
13:52:03:WU00:FS00:0xa7:Completed 200000 out of 500000 steps (40%)
13:52:24:WU02:FS01:Starting
13:52:24: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
13:53:23:WU00:FS00:0xa7:Completed 205000 out of 500000 steps (41%)
13:54:41:WU00:FS00:0xa7:Completed 210000 out of 500000 steps (42%)
13:55:01:WU02:FS01:Starting
13:55:01: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
13:55:58:WU00:FS00:0xa7:Completed 215000 out of 500000 steps (43%)
13:57:16:WU00:FS00:0xa7:Completed 220000 out of 500000 steps (44%)
13:58:35:WU00:FS00:0xa7:Completed 225000 out of 500000 steps (45%)
13:59:16:WU02:FS01:Starting
13:59:16: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
13:59:16:WU02:FS01:Sending unit results: id:02 state:SEND error:FAILED project:11748 run:0 clone:5983 gen:27 core:0x22 unit:0x000000418ca304e75e6bb057bb3b31d1
13:59:16:WU02:FS01:Connecting to 140.163.4.231:8080
13:59:16:WU02:FS01:Server responded WORK_ACK (400)
13:59:16:WU02:FS01:Cleaning up
13:59:16:WU01:FS01:Connecting to assign1.foldingathome.org:80
13:59:17:WU01:FS01:Assigned to work server 18.188.125.154
13:59:17:WU01:FS01:Requesting new work unit for slot 01: READY gpu:0:Renoir [Ryzen 4900HS mobile] from 18.188.125.154
13:59:17:WU01:FS01:Connecting to 18.188.125.154:8080
13:59:17:WU01:FS01:Downloading 7.04MiB
13:59:22:WU01:FS01:Download complete
13:59:22:WU01:FS01:Received Unit: id:01 state:DOWNLOAD error:NO_ERROR project:13416 run:505 clone:183 gen:2 core:0x22 unit:0x0000000512bc7d9a5f02afacd2571589
13:59:22:WU01:FS01:Starting
13:59:22:ERROR:WU01: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
13:59:22:WU01:FS01:Starting
13:59:22:ERROR:WU01: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
13:59:55:WU00:FS00:0xa7:Completed 230000 out of 500000 steps (46%)
14:00:23:WU01:FS01:Starting
14:00:23:ERROR:WU01: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
14:01:13:WU00:FS00:0xa7:Completed 235000 out of 500000 steps (47%)
14:02:00:WU01:FS01:Starting
14:02:00:ERROR:WU01: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
14:02:32:WU00:FS00:0xa7:Completed 240000 out of 500000 steps (48%)
14:03:50:WU00:FS00:0xa7:Completed 245000 out of 500000 steps (49%)
14:04:37:WU01:FS01:Starting
14:04:37:ERROR:WU01: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
14:05:07:WU00:FS00:0xa7:Completed 250000 out of 500000 steps (50%)
14:06:25:WU00:FS00:0xa7:Completed 255000 out of 500000 steps (51%)
14:07:43:WU00:FS00:0xa7:Completed 260000 out of 500000 steps (52%)
14:08:52:WU01:FS01:Starting
14:08:52:ERROR:WU01: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
14:08:52:WU01:FS01:Sending unit results: id:01 state:SEND error:FAILED project:13416 run:505 clone:183 gen:2 core:0x22 unit:0x0000000512bc7d9a5f02afacd2571589
14:08:52:WU01:FS01:Connecting to 18.188.125.154:8080
14:08:52:WU01:FS01:Server responded WORK_ACK (400)
14:08:52:WU01:FS01:Cleaning up
14:08:52:WU02:FS01:Connecting to assign1.foldingathome.org:80
14:08:53:WU02:FS01:Assigned to work server 18.188.125.154
14:08:53:WU02:FS01:Requesting new work unit for slot 01: READY gpu:0:Renoir [Ryzen 4900HS mobile] from 18.188.125.154
14:08:53:WU02:FS01:Connecting to 18.188.125.154:8080
14:08:53:WU02:FS01:Downloading 7.04MiB
14:08:58:WU02:FS01:Download complete
14:08:58:WU02:FS01:Received Unit: id:02 state:DOWNLOAD error:NO_ERROR project:13416 run:455 clone:188 gen:2 core:0x22 unit:0x0000000512bc7d9a5f02afb1944771f1
14:08:58:WU02:FS01:Starting
14:08:58: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
14:08:59:WU02:FS01:Starting
14:08:59: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
14:09:00:WU00:FS00:0xa7:Completed 265000 out of 500000 steps (53%)
14:09:59:WU02:FS01:Starting
14:09:59: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
14:10:18:WU00:FS00:0xa7:Completed 270000 out of 500000 steps (54%)
14:11:35:WU00:FS00:0xa7:Completed 275000 out of 500000 steps (55%)
14:11:36:WU02:FS01:Starting
14:11:36: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
14:12:53:WU00:FS00:0xa7:Completed 280000 out of 500000 steps (56%)
14:14:10:WU00:FS00:0xa7:Completed 285000 out of 500000 steps (57%)
14:14:13:WU02:FS01:Starting
14:14:13: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
14:15:28:WU00:FS00:0xa7:Completed 290000 out of 500000 steps (58%)
14:16:46:WU00:FS00:0xa7:Completed 295000 out of 500000 steps (59%)
14:18:03:WU00:FS00:0xa7:Completed 300000 out of 500000 steps (60%)
14:18:28:WU02:FS01:Starting
14:18:28: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
14:18:28:WU02:FS01:Sending unit results: id:02 state:SEND error:FAILED project:13416 run:455 clone:188 gen:2 core:0x22 unit:0x0000000512bc7d9a5f02afb1944771f1
14:18:28:WU02:FS01:Connecting to 18.188.125.154:8080
14:18:28:WU02:FS01:Server responded WORK_ACK (400)
14:18:28:WU02:FS01:Cleaning up
14:18:28:WU01:FS01:Connecting to assign1.foldingathome.org:80
14:18:29:WU01:FS01:Assigned to work server 140.163.4.231
14:18:29:WU01:FS01:Requesting new work unit for slot 01: READY gpu:0:Renoir [Ryzen 4900HS mobile] from 140.163.4.231
14:18:29:WU01:FS01:Connecting to 140.163.4.231:8080
14:19:00:WU01:FS01:Downloading 7.85MiB
14:19:06:WU01:FS01:Download 62.11%
14:19:08:WU01:FS01:Download complete
14:19:08:WU01:FS01:Received Unit: id:01 state:DOWNLOAD error:NO_ERROR project:11750 run:0 clone:1596 gen:21 core:0x22 unit:0x000000238ca304e75e6a8022d5304273
14:19:08:WU01:FS01:Starting
14:19:08:ERROR:WU01: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
14:19:08:WU01:FS01:Starting
14:19:08:ERROR:WU01: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
14:19:21:WU00:FS00:0xa7:Completed 305000 out of 500000 steps (61%)


Re: How to enable GPU folding using Ryzen 7 4700U?

Posted: Sun Jul 12, 2020 2:27 pm
by rori1977
Another strange observation from FAHClient --lspci

Code: Select all


robert@localhorst:/usr/bin$ sudo FAHClient --lspci
[sudo] Passwort für robert:       
VendorID:DeviceID:PCI Bus:PCI Slot:PCI function:Vendor Name:Description
0x1022:0x1630:0:0:0:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x1631:0:0:2:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x1632:0:1:0:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x1633:0:1:1:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x1634:0:1:2:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x1634:0:1:3:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x1632:0:2:0:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x1634:0:2:1:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x1632:0:8:0:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x1635:0:8:1:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x1635:0:8:2:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x790b:0:20:0:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x790e:0:20:3:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x1448:0:24:0:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x1449:0:24:1:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x144a:0:24:2:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x144b:0:24:3:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x144c:0:24:4:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x144d:0:24:5:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x144e:0:24:6:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x144f:0:24:7:Advanced Micro Devices, Inc. [AMD]:
Speicherzugriffsfehler
robert@localhorst:/usr/bin$


Re: How to enable GPU folding using Ryzen 7 4700U?

Posted: Sun Jul 12, 2020 6:03 pm
by Joe_H
rori1977 wrote:I can see now finally see a built-in GPU card. However it wrongly identifies as "Ryzen 4900HS" card in my webcontrol
Recognition of GPUs is done by the device ID. In this case AMD uses the same IGP chiplet in a number of Ryzen processors, and following their common practice use the same device ID for a range of products based on the same chip. The entry in the GPUs.txt was based on the first report on this IGP:

Code: Select all

0x1002:0x1636:1:5:Renoir [Ryzen 4900HS mobile]
My understanding is that F@h on Linux works best with the AMD proprietary drivers and OpenCL installation. However, here are some topics that have been posted in the past about getting folding to work with the ROCm drivers and OpenCL support:

viewtopic.php?f=81&t=33942&p=322255

viewtopic.php?f=106&t=34231&p=324652

Another topic on getting a different AMD GPU folding using proprietary drivers:

viewtopic.php?f=81&t=33353

Hope this helps some, there are more topics about getting AMD cards folding under Linux on the site as well. For other sites the setup guides on Linus Tech Tips for F@h have been mentioned favorably here on the forum.

Re: How to enable GPU folding using Ryzen 7 4700U?

Posted: Sun Jul 12, 2020 6:28 pm
by rori1977
Hello Joe_H.

thanks for the hints. As I mentioned, the proprietary drivers are so far not existing.

This link is only mentioning a Win10 driver so far:
https://www.amd.com/de/support/apu/amd- ... en-7-4700u

I'll go and see if I get it running using the other links you posted.

Thanks!

Re: How to enable GPU folding using Ryzen 7 4700U?

Posted: Sun Jul 12, 2020 7:52 pm
by rori1977
Hi,

looking on the other rocm-related links, they seem to be applicable to xenial.

Maybe as a consequence of that, DKMS is failing to build against recent mainline kernel.

Code: Select all

Removing old amdgpu-3.5-30 DKMS files...

------------------------------
Deleting module version: 3.5-30
completely from the DKMS tree.
------------------------------
Done.
Loading new amdgpu-3.5-30 DKMS files...
Building for 5.7.8-050708-generic
Building for architecture amd64
Building initial module for 5.7.8-050708-generic
Error! Bad return status for module build on kernel: 5.7.8-050708-generic (amd64
)
Consult /var/lib/dkms/amdgpu/3.5-30/build/make.log for more information.
dpkg: Fehler beim Bearbeiten des Paketes rock-dkms (--configure):
 »installiertes rock-dkms-Skript des Paketes post-installation«-Unterprozess gab
 den Fehlerwert 10 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von rocm-dkms:
 rocm-dkms hängt ab von rock-dkms; aber:
  Paket rock-dkms ist noch nicht konfiguriert.
So other ideas appreciated if any.