Unable to run OpenCL on Intel Xe Graphics on Linux

Viktor Nikolov
Viktor Nikolov
Joined: 20 Oct 10
Posts: 1
Credit: 38862399
RAC: 74138
Topic 229086

Hi!

I'm setting up my new ZOTAC ZBOX CI665 nano to run (among other things) Einstein@home.

Under Windows 11 everything works OK.
BOINC receives work units for both CPU and GPU and therefore utilizes also 96 GPU execution units of ZBOX's Intel Core i71165G7.

However I want to run Ubuntu 22.04 on the ZBOX. I installed the Intel GPU drivers according to this guide from Intel.

On Ubuntu BOINC is not getting work units for GPU.

BOINC log tells me

see scheduler log messages on https://einsteinathome.org/host/13125301/log

and the log says

Intel GPU device name: 'Intel(R) Iris(R) Xe Graphics [0x9a49]' doesn't match 'HD Graphics [123]|HD Graphics 40'

Indeed the clinfo command lists

Device Name Intel(R) Iris(R) Xe Graphics [0x9a49]

BOINC client also lists "Xe Graphics" during startup:

15.02.2023 19:36:16 |  | OpenCL: Intel GPU 0: Intel(R) Iris(R) Xe Graphics [0x9a49] (driver version 22.49.25018.23, device version OpenCL 3.0 NEO, 6178MB, 6178MB available, 998 GFLOPS peak)

It's a pity that I can't run Einstein@home on Intel GPU under Linux. It runs perfectly fine on Windows.

Can something be changed so the Einstein@home accepts "Intel(R) Iris(R) Xe Graphics [0x9a49]"?

Viktor

Tom M
Tom M
Joined: 2 Feb 06
Posts: 6570
Credit: 9651681374
RAC: 2870285

I vaguely remember some kind

I vaguely remember some kind of process for updating the Linux GPU naming/hex code stuff.   Hmm-mm....  Can't find a reference darn it.

A Proud member of the O.F.A.  (Old Farts Association).  Be well, do good work, and keep in touch.® (Garrison Keillor)  I want some more patience. RIGHT NOW!

Keith Myers
Keith Myers
Joined: 11 Feb 11
Posts: 5020
Credit: 18921094540
RAC: 6508904

Looks like you did get gpu

Looks like you did get gpu work units for the GR#1 intel-gpu application.

[version] Best version of app hsgamma_FGRPB1G is 1.22 ID 1169 FGRPopencl-intel_gpu (29.00 GFLOPS)
2023-02-15 15:22:38.8567 [PID=3360564]    [send] [HOST#13125272] [WU#709250289 LATeah4021L00_1124.0_0_0.0_16744350] using delay bound 1209600 (opt: 1209600 pess: 1209600)
2023-02-15 15:22:38.8579 [PID=3360564]    [send] [HOST#13125272] Sending app_version 1169 hsgamma_FGRPB1G 9 122 FGRPopencl-intel_gpu; 29.00 GFLOPS
2023-02-15 15:22:38.8598 [PID=3360564]    [send] est. duration for WU 709250289: unscaled 18103.45 scaled 18103.45
2023-02-15 15:22:38.8598 [PID=3360564]    [HOST#13125272] Sending [RESULT#1428467587 LATeah4021L00_1124.0_0_0.0_16744350_2] (est. dur. 18103.45 seconds, delay 1209600, deadline 1677684158

[send] [WU#709596207] meets deadline: 18103.45 + 18103.45 < 1209600
2023-02-15 15:22:38.8614 [PID=3360564]    [send] [HOST#13125272] [WU#709596207 LATeah4021L00_1180.0_0_0.0_12613818] using delay bound 1209600 (opt: 1209600 pess: 1209600)
2023-02-15 15:22:38.8623 [PID=3360564]    [send] [HOST#13125272] Sending app_version 1169 hsgamma_FGRPB1G 9 122 FGRPopencl-intel_gpu; 29.00 GFLOPS
2023-02-15 15:22:38.8637 [PID=3360564]    [send] est. duration for WU 709596207: unscaled 18103.45 scaled 18103.45
2023-02-15 15:22:38.8637 [PID=3360564]    [HOST#13125272] Sending [RESULT#1428436138 LATeah4021L00_1180.0_0_0.0_12613818_1] (est. dur. 18103.45 seconds, delay 1209600, deadline 1677684158)

This is for the Windows host though.

The project never has released a Linux application for the Intel gpus.  You will have to request one from the project admins.

 

Ian&Steve C.
Ian&Steve C.
Joined: 19 Jan 20
Posts: 4045
Credit: 48036253717
RAC: 35297884

There is a Linux Intel

There is a Linux Intel GPU application for BRP4. 
 

but the scheduler doesn’t recognize the Xe as a valid Intel GPU. It’s got some regex setup to look for a name like “Intel HD” something. You have to run anonymous platform to get tasks for an Xe card. I falsified my coproc_info to give the name the scheduler was looking for to fool it into sending me the app. Then I copied the app_version section from client_state to fashion my own app_info file to run anonymous platform. 
 

true that the project could just open it up so that it recognizes the Intel Xe cards properly. 

_________________________________________________________________________

Comment viewing options

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