How to crunch on your IGPU

Using your nVidia or AMD Graphics card for BOINC computation.
User avatar
Alez
[ TSBT's Pirate ]
[ TSBT's Pirate ]
Posts: 10363
Joined: Thu Oct 04, 2012 1:22 pm
Location: roaming the planet

#11 Re: How to crunch on your IGPU

Post by Alez »

Dirk Broer wrote:
Alez wrote:I did manage to get one 7750 running under Ubuntu 13.04 but it was so much hassle installing and then it would not recognise the GPU under boinc without restarting Boinc.
Under any distro of Linux this is standard operational procedure. You have to re-start the client after boot-up to be able to use your GPU(s). Seems there has been made an error in the sequence of starting processes by someone in the past!

The command is

#sudo /etc/init.d/boinc-client restart
I've only had to do that with my AMD cards. My two boxes with nVidia cards ( 1 has 3 x GTX660ti's installed ) both start up with the system, all cards recognised and crunching straight off.
Image
The best form of help from above is a sniper on the rooftop....
User avatar
Dirk Broer
Corsair
Corsair
Posts: 1962
Joined: Thu Feb 20, 2014 11:24 pm
Location: Leiden, South Holland, Netherlands
Contact:

#12 Re: How to crunch on your IGPU

Post by Dirk Broer »

Intel IGP on Linux

Download the Intel-compute-runtime (aka NEO) files from Github and remove the Beignet files, as NEO is meant to replace those.
One small disadvantage: Beignet promises OpenCL 2.0 (but does not work) and NEO delivers OpenCL 1.2 on my Intel UHD 605 -but works....
On more recent/more capable Intel IGP hardware NEO does even OpenCL 2.1!
Image
User avatar
Dirk Broer
Corsair
Corsair
Posts: 1962
Joined: Thu Feb 20, 2014 11:24 pm
Location: Leiden, South Holland, Netherlands
Contact:

#13 Re: How to crunch on your IGPU

Post by Dirk Broer »

Dirk Broer wrote: Wed Apr 24, 2019 2:03 pm Intel IGP on Linux

Download the Intel-compute-runtime (aka NEO) files from Github and remove the Beignet files, as NEO is meant to replace those.
One small disadvantage: Beignet promises OpenCL 2.0 (but does not work) and NEO delivers OpenCL 1.2 on my Intel UHD 605 -but works....
On more recent/more capable Intel IGP hardware NEO does even OpenCL 2.1!
You can do even better than that:
Download the Intel-compute-runtime (aka NEO) files from Github and leave the Beignet files, although NEO is meant to replace those.
One small advantage: Beignet supports OpenCL 2.0 (but does not work as supplied in your distro) and NEO delivers OpenCL 1.2 on my Intel UHD 605 -but works....and then it appears that the Beignet files that you did not remove now also supply you with a working GPU, and it can be stronger one than the NEO one even. You can now either pretend to have two Intel IGPUs in your system, or disable the weakest.

Code: Select all

Asrock-J5005-iTX
1	Starting BOINC client version 7.9.3 for x86_64-pc-linux-gnu	
2	log flags: file_xfer, sched_ops, task	
3	Libraries: libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3	
4	Data directory: /var/lib/boinc-client	
5	OpenCL: Intel GPU 0 (ignored by config): Intel(R) Gen9 HD Graphics NEO (driver version 20.19.16754, device version OpenCL 1.2 NEO, 3277MB, 3277MB available, 115 GFLOPS peak)	
6	OpenCL: Intel GPU 1: Intel HD Graphics Family (driver version 1.3, device version OpenCL 2.0 beignet 1.3, 4096MB, 4096MB available, 144 GFLOPS peak)	
7	OpenCL CPU: Intel(R) Pentium(R) Silver J5005 CPU @ 1.50GHz (OpenCL driver vendor: Intel(R) Corporation, driver version 18.1.0.0920, device version OpenCL 2.1 (Build 0))	
8	Einstein@Home	11/13/2021 3:53:41 PM	Found app_info.xml; using anonymous platform	
9	[libc detection] gathered: 2.27, Ubuntu GLIBC 2.27-3ubuntu1.4	
10	Host name: Asrock-J5005-iTX	
11	Processor: 4 GenuineIntel Intel(R) Pentium(R) Silver J5005 CPU @ 1.50GHz [Family 6 Model 122 Stepping 1]	
12	Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperf	
13	OS: Linux LinuxMint: Linux Mint 19.3 Tricia [5.4.0-89-generic|libc 2.27 (Ubuntu GLIBC 2.27-3ubuntu1.4)]	
14	Memory: 15.30 GB physical, 23.08 GB virtual	
15	Disk: 314.28 GB total, 109.53 GB free	
16	Local time is UTC +1 hours	
17	VirtualBox version: 5.2.42_Ubuntur137960	
Image
User avatar
Dirk Broer
Corsair
Corsair
Posts: 1962
Joined: Thu Feb 20, 2014 11:24 pm
Location: Leiden, South Holland, Netherlands
Contact:

#14 Re: How to crunch on your IGPU

Post by Dirk Broer »

I just have the Radeon R3 of one of my AM1 systems running under Lubuntu 20.04!

I have always thought that is was just a software issue, even though some 'gurus' declared that the AMD APUs are not supported under Ubuntu 20.04 variants when using the AMDGPU-PRO driver and then pointing to a list of supported cards where you indeed can find no R3 (AMD Kabini IGP on Socket AM1), R5 or R7 (AMD Carrizo IGP on Socket AM4, "Bristol Ridge"), VEGA 3 or VEGA 8 (Athlon 200GE, 3000GE, Ryzen 3 2200G on Socket AM4, "Raven Ridge"/Ryzen 3200G on Socket AM4, "Picasso"). I have always held high hopes for the Vega 11 (Ryzen 5 2400G on Socket AM4, "Raven Ridge"/3400G on Socket AM4, "Picasso"), as they present themselves as RX VEGA 11, but half the internet is full of people complaining they do not have OpenCL on their quite recent Ati/AMD cards and APUs.

What is at least one of the software based errors that has been made? I encountered when searching for "KABINI not supported in kfd" this article, that makes clear to me that the install script goofs up, producing a line KERNEL=="kfd", GROUP=="video", MODE="0660" in /etc/udev/rules.d/70-amdgpu.rules.

When you replace the two double == by single ones you get in the case of my Lubuntu 20.04 running Athlon 5350 on Socket AM1

Code: Select all

MSI-AM1I
1	Starting BOINC client version 7.16.6 for x86_64-pc-linux-gnu	
2	log flags: file_xfer, sched_ops, task	
3	Libraries: libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3	
4	Data directory: /var/lib/boinc-client	
5	OpenCL: AMD/ATI GPU 0: AMD Radeon Graphics (driver version 3224.4, device version OpenCL 1.2 AMD-APP (3224.4), 8966MB, 8966MB available, 154 GFLOPS peak)	
6	OpenCL CPU: pthread-AMD Athlon(tm) 5350 APU with Radeon(tm) R3 (OpenCL driver vendor: The pocl project, driver version 1.4, device version OpenCL 1.2 pocl HSTR: pthread-x86_64-pc-linux-gnu-btver2)	
7	libc: Ubuntu GLIBC 2.31-0ubuntu9.3 version 2.31	
8	Host name: MSI-AM1I	
9	Processor: 4 AuthenticAMD AMD Athlon(tm) 5350 APU with Radeon(tm) R3 [Family 22 Model 0 Stepping 1]	
10	Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor	
11	OS: Linux Ubuntu: Ubuntu 20.04.3 LTS [5.4.0-88-generic|libc 2.31 (Ubuntu GLIBC 2.31-0ubuntu9.3)]	
12	Memory: 13.62 GB physical, 3.53 GB virtual	
13	Disk: 213.02 GB total, 129.66 GB free	
14	Local time is UTC +2 hours	
15	VirtualBox version: 6.1.26_Ubuntur145957	
Image
Post Reply Previous topicNext topic

Return to “Graphics Processing Unit (GPU)”