How to enable GPU folding using Ryzen 7 4700U?
Posted: Sun Jul 12, 2020 2:01 pm
--- 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.
(Log from F@H will come in a minute, from the other computer - wait a sec, please )
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