Intel GPU on Linux with Beignet

[AF>Libristes] Kao
[AF>Libristes] Kao
Joined: 30 May 16
Posts: 21
Credit: 5790060
RAC: 66
Topic 210122

Hi,

Could it be possible that one day we get Intel GPU applications made for Linux around the OpenCl package named Beignet ?

Holmis
Joined: 4 Jan 05
Posts: 1118
Credit: 1055935564
RAC: 0

According to this post it

According to this post it might already work.

[AF>Libristes] Kao
[AF>Libristes] Kao
Joined: 30 May 16
Posts: 21
Credit: 5790060
RAC: 66

Well according to Boinc

Well according to Boinc Manager :

No work sent for Intel GPU because Binary Radio Pulsard Search Arecibo is not available for your type of computer (however it's working with the Nvidia card :/)

Stef
Stef
Joined: 8 Mar 05
Posts: 206
Credit: 110568193
RAC: 0

+1I would also like to have

+1

I would also like to have work for intel GPU on linux / beignet.

MarkJ
MarkJ
Joined: 28 Feb 08
Posts: 437
Credit: 139002861
RAC: 0

Beignet is depreciated. Intel

Beignet is depreciated. Intel came up with newer “neo” drivers for the 7th gen and later CPU. Neo is open source but they haven’t made it into any linux Disto that I am aware of. They are available for Windows from the Intel download centre.

When I had 6th gen i7’s I used Beignet with some success, but the built-in GPU will slow down all the CPU tasks so I stopped using them. The GPU tasks would take around 20 minutes but the performance hit to the other tasks was around an hour per thread and that was with a thread dedicated to the OpenCL task.

voidxor
voidxor
Joined: 16 Sep 05
Posts: 12
Credit: 22455162
RAC: 15831

Is it still the case that

Is it still the case that there's no way to run Einstein on an Intel GPU under Linux? I've spent this week reading every thread on this topic twice over:

In addition to my desktop (running Kubuntu), I have two headless machines (running Debian) for BOINC only. All three are identical and have Ivy Bridge processors. (Yeah, yeah, they're a few years old. I'll upgrade next winter if I can get this working.)

Right now, all three machine's event logs say "No usable GPUs found" immediately upon BOINC startup (before anything Einstein related). So there's obviously a driver issue I need to address. I tried installing Beignet and rebooting, but that didn't fix it. Reading the other threads has me worried that lots of Linux tinkering might be necessary.

I also see @MarkJ's comment above that Beignet is deprecated, which would negate some of the testing done here in 2015. Apparently Intel finally released OpenCL drivers (though perhaps not for Ivy Bridge?). Ubuntu has an Intel package but Debian does not yet. There's also Mesa, if that's an option.

On the Einstein side of things, I no longer see a Linux Intel GPU app listed on the Applications page, not even as a beta. So @Bernd Machenschalk, is there simply no way to even test this at present? Thanks.

Bernd Machenschalk
Bernd Machenschalk
Moderator
Administrator
Joined: 15 Oct 04
Posts: 4312
Credit: 250462137
RAC: 35142

Please understand that this

Please understand that this platform (Intel GPU on Linux) isn't of enough importance for the project to spend a significant share of our limited resources on it.

I really have no clue about the client and why it doesn't detect the GPU with one or the other driver. Maybe people over at BOINC or people from the forums here mentioned in this thread are able to help you.

The app binary that we could offer is a 32Bit OpenCL one that I'm not sure will work with any current driver. Without the client detecting the GPU you'll need to run it on "anonymous platform" to make use of the GPU (it will show up as ordinary CPU app on the client then). I'll post a link here if you're willing to try.

BM

voidxor
voidxor
Joined: 16 Sep 05
Posts: 12
Credit: 22455162
RAC: 15831

Thanks for your help. Let me

Thanks for your help. Let me work on getting my BOINC clients to detect my Intel GPUs first, instead of messing with the anonymous platform.

If anybody knows why I'm getting "No usable GPUs found" in my event logs, please let me know.

Keith Myers
Keith Myers
Joined: 11 Feb 11
Posts: 4964
Credit: 18718540891
RAC: 6369909

Have you loaded a BOINC

Have you loaded a BOINC compatible OpenCL driver for your Intel igpu?

 

voidxor
voidxor
Joined: 16 Sep 05
Posts: 12
Credit: 22455162
RAC: 15831

Yes, I had installed

Yes, I had installed beignet-opencl-icd on one of the headless Debian machines and rebooted, but was still getting "No usable GPUs found" in my event log.

I hooked up an HDMI monitor, just to prove that it wasn't the lack of a dummy plug, but no difference.

Yesterday, I tried the same thing on my desktop with Ubuntu's package of the same name. That gave me the following in my event log:

Sat 27 Feb 2021 03:50:15 PM CST |  | Starting BOINC client version 7.16.6 for x86_64-pc-linux-gnu
Sat 27 Feb 2021 03:50:15 PM CST |  | log flags: file_xfer, sched_ops, task
Sat 27 Feb 2021 03:50:15 PM CST |  | 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
Sat 27 Feb 2021 03:50:15 PM CST |  | Data directory: /var/lib/boinc-client
Sat 27 Feb 2021 03:50:15 PM CST |  | OpenCL: Intel GPU 0: Intel(R) HD Graphics IvyBridge GT1 (driver version 1.3, device version OpenCL 1.2 beignet 1.3, 2048MB, 2048MB available, 48 GFLOPS peak)
Sat 27 Feb 2021 03:50:16 PM CST |  | libc: Ubuntu GLIBC 2.31-0ubuntu9.2 version 2.31
Sat 27 Feb 2021 03:50:16 PM CST |  | Host name: shuttleworth
Sat 27 Feb 2021 03:50:16 PM CST |  | Processor: 4 GenuineIntel Intel(R) Core(TM) i5-3470T CPU @ 2.90GHz [Family 6 Model 58 Stepping 9]
Sat 27 Feb 2021 03:50:16 PM CST |  | 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 rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault epb pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts md_clear flush_l1d
Sat 27 Feb 2021 03:50:16 PM CST |  | OS: Linux Ubuntu: Ubuntu 20.04.2 LTS [5.4.0-66-generic|libc 2.31 (Ubuntu GLIBC 2.31-0ubuntu9.2)]
Sat 27 Feb 2021 03:50:16 PM CST |  | Memory: 7.64 GB physical, 3.00 GB virtual
Sat 27 Feb 2021 03:50:16 PM CST |  | Disk: 56.37 GB total, 35.89 GB free
Sat 27 Feb 2021 03:50:16 PM CST |  | Local time is UTC -6 hours
Sat 27 Feb 2021 03:50:16 PM CST |  | Config: GUI RPCs allowed from:
Sat 27 Feb 2021 03:50:16 PM CST | Einstein@Home | General prefs: from Einstein@Home (last modified 19-Feb-2021 21:30:21)
Sat 27 Feb 2021 03:50:16 PM CST | Einstein@Home | Host location: none
Sat 27 Feb 2021 03:50:16 PM CST | Einstein@Home | General prefs: using your defaults
Sat 27 Feb 2021 03:50:16 PM CST |  | Reading preferences override file
Sat 27 Feb 2021 03:50:16 PM CST |  | Preferences:
Sat 27 Feb 2021 03:50:16 PM CST |  | max memory usage when active: 4695.89 MB
Sat 27 Feb 2021 03:50:16 PM CST |  | max memory usage when idle: 6730.78 MB
Sat 27 Feb 2021 03:50:16 PM CST |  | max disk usage: 38.49 GB
Sat 27 Feb 2021 03:50:16 PM CST |  | (to change preferences, visit a project web site or select Preferences in the Manager)
Sat 27 Feb 2021 03:50:16 PM CST |  | Setting up project and slot directories
Sat 27 Feb 2021 03:50:16 PM CST |  | Checking active tasks
Sat 27 Feb 2021 03:50:16 PM CST |  | Using account manager BOINCstatsBAM!
Sat 27 Feb 2021 03:50:16 PM CST | Einstein@Home | URL http://einstein.phys.uwm.edu/; Computer ID 12865405; resource share 1000
Sat 27 Feb 2021 03:50:16 PM CST | LHC@home | URL https://lhcathome.cern.ch/lhcathome/; Computer ID 10677144; resource share 0
Sat 27 Feb 2021 03:50:16 PM CST |  | Setting up GUI RPC socket
Sat 27 Feb 2021 03:50:16 PM CST |  | Checking presence of 769 project files
Sat 27 Feb 2021 03:50:23 PM CST | Einstein@Home | Sending scheduler request: To fetch work.
Sat 27 Feb 2021 03:50:23 PM CST | Einstein@Home | Requesting new tasks for Intel GPU
Sat 27 Feb 2021 03:50:26 PM CST | Einstein@Home | Scheduler request completed: got 0 new tasks
Sat 27 Feb 2021 03:50:26 PM CST | Einstein@Home | No work sent
Sat 27 Feb 2021 03:50:26 PM CST | Einstein@Home | No work is available for Gravitational Wave search O2 Multi-Directional GPU
Sat 27 Feb 2021 03:50:26 PM CST | Einstein@Home | see scheduler log messages on https://einsteinathome.org/host/12865405/log
Sat 27 Feb 2021 03:50:26 PM CST | Einstein@Home | Binary Radio Pulsar Search (Arecibo) is not available for your type of computer.
Sat 27 Feb 2021 03:50:26 PM CST | Einstein@Home | Project requested delay of 60 seconds

...which was a breakthrough. I also have an HDMI (not VGA) monitor on my desktop, so perhaps the difference is that Ubuntu has more recent packages than Debian. Unless, perhaps, the text-mode Debian Standard is the issue (i.e. no GUI installed). Anyway, my Ubuntu desktop then got stuck in a loop of asking the Einstein server for Intel GPU work every 60 seconds. I then enabled beta apps in my project preferences, but that goes back to my earlier issue for Bernd that there doesn't even appear to be a test application at the moment.

I'll play more tomorrow. I can always uninstall Beignet and try the Intel or Mesa implementations instead.

Keith Myers
Keith Myers
Joined: 11 Feb 11
Posts: 4964
Credit: 18718540891
RAC: 6369909

Yes, I still think the

Yes, I still think the scheduler will not see the Beignet OpenCL driver as compatible with any of the Einstein apps.

I think you might have better luck with the Mesa drivers.

The Intel Neo drivers don't support your older cpu so they are out of the equation.

From my memory, one of the most knowledgeable BOINC helpers is Richard Haselgrove who I know has tons of Intel driver experience with BOINC.

If you don't make any progress I would shoot him a PM and ask for help.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.