Page 1 of 1

Mac-Mini 7.6.21 and Intel GPU

Posted: Wed Dec 16, 2020 6:29 am
by sejtam
I read the announcement that the Intel GPU is now supported: viewtopic.php?f=24&t=36512

lshw(1) identifies the GPU as:
*-display
description: VGA compatible controller
product: 3rd Gen Core processor Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:53 memory:a0000000-a03fffff memory:90000000-9fffffff ioport:2000(size=64) memory:c0000-dffff

I take it that 'version: 09' corresponds to the Gen9 mentioned.

I also followed the install instructions in https://dgpu-docs.intel.com/installatio ... focal.html
as my mac is headless and I need teh GPU only for folding

09:00:56:******************************* System ********************************
09:00:56: CPU: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz
09:00:56: CPU ID: GenuineIntel Family 6 Model 58 Stepping 9
09:00:56: CPUs: 8
09:00:56: Memory: 15.55GiB
09:00:56:Free Memory: 13.98GiB
09:00:56: Threads: POSIX_THREADS
09:00:56: OS Version: 5.4
09:00:56:Has Battery: false
09:00:56: On Battery: false
09:00:56: UTC Offset: 0
09:00:56: PID: 8007
09:00:56: CWD: /etc/fahclient
09:00:56: OS: Linux 5.4.0-52-generic x86_64
09:00:56: OS Arch: AMD64
09:00:56: GPUs: 1
09:00:56: GPU 0: INTEL:2 [HD Graphics 4000]
09:00:56: CUDA: Not detected

So the GPU is seen but CUDA support is missing?

06:26:40:WARNING:FS02:No CUDA or OpenCL 1.2+ support detected for GPU slot 02: gpu:-1:-1. Disabling.
06:26:40:Adding folding slot 02: gpu:-1:-1

Re: Mac-Mini 7.6.21 and Intel GPU

Posted: Wed Dec 16, 2020 6:51 am
by sejtam
FTR:
I have these packages installed:

intel-igc-cm/focal,now 1.0.1+i423~u20.04 amd64 [installed,automatic]
intel-level-zero-gpu/focal,now 1.0.18513+i423~u20.04 amd64 [installed]
intel-media-va-driver-non-free/focal,now 20.3.0+i423~u20.04 amd64 [installed]
intel-microcode/focal-updates,focal-security,now 3.20201110.0ubuntu0.20.04.2 amd64 [installed,automatic]
intel-opencl-icd/focal,now 20.47.18513+i423~u20.04 amd64 [installed]
libdrm-intel1/focal,now 2.4.102+i423~u20.04 amd64 [installed,automatic]

Re: Mac-Mini 7.6.21 and Intel GPU

Posted: Wed Dec 16, 2020 7:27 am
by Joe_H
For the Intel iGPU to be used, OpenCL needs to be seen by the client. The message about CUDA support only applies to nVidia GPUs.

Looking up your CPU though reveals that it is too old. It is part of the Ivy Bridge family of processors, the HD 4000 it has is Gen7. You can look it up in this Wikipedia article - https://en.wikipedia.org/wiki/List_of_I ... sing_units.

I am not certain what the "version:09" refers to.

Re: Mac-Mini 7.6.21 and Intel GPU

Posted: Sat Dec 19, 2020 7:56 pm
by bruce
I share your disappointment. My laptop also has a Gen7 graphics processor. :(

Support for higher Intel Gen numbers is being extended upward. There's no assurance that it will be extended downward. Our iGP may be too slow for FAH or (more likely) the OpenCL driver package may have bugs that prevent it from consistently getting correct answers.