[Tuto]openSuse 15.3,Tumbleweed,opencl installation

Moderators: Site Moderators, FAHC Science Team

Post Reply
promeneur
Posts: 198
Joined: Tue Aug 07, 2012 11:59 am
Hardware configuration: openSUSE Tumbleweed, x86_64,Asrock B760M-HDV/M.2 D4, Intel Core i3-12100, 16 GB, Intel UHD Graphics 730, NVIDIA GeForce GT 1030, Edup-Love EP-9651GS Wi-Fi Bluetooth, multicard reader USB 3.0 startech.com 35fcreadbu3, Epson XP 7100, Headset Bluetooth 3.0 Philips SHQ7300

[Tuto]openSuse 15.3,Tumbleweed,opencl installation

Post by promeneur »

0. Warning

1. Package to install
1.1. openSUSE 15.3

From https://download.opensuse.org/repositor ... _Leap_15.3

libOpenCL1
clinfo (to check the installation of opencl)

Code: Select all

sudo zypper addrepo https://download.opensuse.org/repositories/science/openSUSE_Leap_15.3/science.repo
sudo zypper refresh
sudo zypper install libOpenCL1 clinfo
From https://download.opensuse.org/repositor ... Leap_15.3/
intel-opencl

Code: Select all

sudo zypper addrepo https://download.opensuse.org/repositories/X11:XOrg/openSUSE_Leap_15.3/X11:XOrg.repo
sudo zypper refresh
sudo zypper install intel-opencl
As you installed fah from https://download.opensuse.org/repositor ... Leap_15.3/
install fetch-fahclient-devel

1.2. openSUSE Tumbleweed

Install the same packages :

libOpenCL1
clinfo (to check the installation of opencl
intel-opencl

They are supplied in the standard "OSS" repo of Tumbleweed

As you installed fah from https://download.opensuse.org/repositor ... umbleweed/
install fetch-fahclient-devel

2. in fah-control with "settings" tool

in "slot" tab select the slot of the igpu then use "modify" to replace "gpu = false" by "gpu-beta = True"

3. restart the service "fahclient"

check it is well restarted

4. with fah-control
in "status" tab
select the gpu line and switch from "pause" to "fold"

5. troubleshooting
5.1.

in case you have an error message in the log:

16:04:47:WARNING:FS01:Guessing ambiguous GPU to OpenCL device mapping for 01: gpu:0:2 KBL GT2 [HD Graphics 630]. Consider upgrading your graphics driver or manually setting ``opencl-index`` in this slot's configuration.

You have 2 opencl softwares : one for the igpu and one for another card, in my case an nvidia card.

For example

06:44:08: GPUs: 2
06:44:08: GPU 0: Bus:0 Slot:2 Func:0 INTEL:1 KBL GT2 [HD Graphics 630]
06:44:08: GPU 1: Bus:1 Slot:0 Func:0 NVIDIA:3 GK208B [GeForce GT 730] 692.7
06:44:08: CUDA Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:3.5 Driver:11.4
06:44:08:OpenCL Device 0: Platform:0 Device:0 Bus:NA Slot:NA Compute:2.0 Driver:1.3
06:44:08:OpenCL Device 1: Platform:1 Device:0 Bus:1 Slot:0 Compute:3.0 Driver:470.86

I understand fah does not know what opencl to use for the intel igpu HD Graphics 630.
It must be use the OpenCL Device 0 which is the opencl for intel igpu and not the OpenCL Device 1 which is for the nvidia card.

OpenCL Device 0 <=> opencl-index = 0

Add for the igpu slot a new "opencl-index" parameter and assign to it the value "0"

5.2. Your igpu does not appear in fah-control; "status" tab

In case of :
You have an igpu and a gpu (for example an nvidia adapter)
Your monitor is connected to the gpu adapter.

This is a standard way to manage the igpu and the gpu
In this case the igpu is disabled.

In the BIOS go to graphics settings
search a parameter about the igpu to activate/disactivate the igpu then change its value from "automatic" to "enabled"
or
search mutli-monitor settings
search a parameter to activate/disactivate the multi-monitor feature then change the value to "enabled"
Image
Post Reply