(Linux) Intel GPU not recognised on Flatpak Boinc

Snowball101
Snowball101
Joined: 22 Feb 23
Posts: 32
Credit: 2146559
RAC: 17662
Topic 230879

Hi there,

 

Windows has gotten ever more bloated so I decided to switch to Ubuntu Linux (yes I know in Linux terms it is still bloated)

 

I have a Thinkpad r480 20RK series with Radeon and Intel graphics

 

This is the first time I have installed Ubuntu and the APT version of BOINC seems to be a test version 7.18 from 2020. It is really unstable, as it suggests, and it froze the manager and my computer, forcing some tasks to be aborted due to not starting by deadline. It somehow only recognized only the Intel GPU as I could tell from the event log.

 

After a lot of searching I came across the Flatpak version 7.22 which seems more stable and newer.

Boinc manager also recognizes the GPU which driver I have installed with amdgpu, however, the intel opencl I installed with APT was not recognized. 

 

I could go on in more detail but I do not want to waste time on both sides. Long story short: 

How do I get Boinc to recognize the intel GPU?

Thank you very much for your time.

mikey
mikey
Joined: 22 Jan 05
Posts: 12005
Credit: 1834250454
RAC: 124368
Snowball101
Snowball101
Joined: 22 Feb 23
Posts: 32
Credit: 2146559
RAC: 17662

yes and I installed the intel

yes and I installed the intel apt sources and the drivers according to the commands here

https://dgpu-docs.intel.com/driver/client/overview.html

Do I need to install the developer drivers?

I also installed mesa drivers, do not know if that helps?

mikey
mikey
Joined: 22 Jan 05
Posts: 12005
Credit: 1834250454
RAC: 124368

Snowball101 wrote: yes and I

Snowball101 wrote:

yes and I installed the intel apt sources and the drivers according to the commands here

https://dgpu-docs.intel.com/driver/client/overview.html

Do I need to install the developer drivers?

I also installed mesa drivers, do not know if that helps? 

If I remember correctly Mesa drivers are for AMD gpu's but I don't know if they will 'hurt' or not having them installed. I know in Windows you can have all 3 gpu types of drivers installed and Boinc and Windows will pick the one it needs but I'm a newbie to Linux and am still learning too. Yes I've been using Linux for a few years now but only to setup Boinc only machines not to actually do everyday stuff on.

Did you install nautilus on your pc so you can easily get into the various folders and edit the .xml files in Boinc as an Admin? You don't need it if you use the Lunatics version of Boinc as it puts into the Home folder where you are already the Admin. I use Linux Mint which is a derivative of Ubuntu and Debian but I think it's easier although there's ALOT more tech support for Ubuntu on the net, and here on Einstein as well.

Snowball101
Snowball101
Joined: 22 Feb 23
Posts: 32
Credit: 2146559
RAC: 17662

I have the full Ubuntu-Gnome

I have the full Ubuntu-Gnome desktop installed, so I can look into various folders (and file search is blazing fast compared to Windows) 

I now noticed that when I go to settings it shows that I am using an AMD GPU as display. 

However using the lscpi grep vga command it shows both intel and AMD GPUs as available.

Boinc is in the .var folder in the home folder so I guess it is running as admin, though I will double check just in case.

I guess I will go to the ubuntu Q&A website to see if the community there can figure out.

 

Keith Myers
Keith Myers
Joined: 11 Feb 11
Posts: 4758
Credit: 17738313293
RAC: 4856699

Snowball101 wrote: Boinc is

Snowball101 wrote:

Boinc is in the .var folder in the home folder so I guess it is running as admin, though I will double check just in case.

If your Boinc installation is in the home folder, even though its in the hidden .var folder, you are the owner.

By definition, the /home directory or folder is owned by $USER or IOW yourself.

 

Snowball101
Snowball101
Joined: 22 Feb 23
Posts: 32
Credit: 2146559
RAC: 17662

That just makes the situation

That just makes the situation even peculiar. The APT version recognized the Intel GPU only, the flatpak version recognized the AMD GPU only, and now Einstein@home is not sending any tasks even after a project reset.

Another project, Asteroids@home, is sending tasks, though those immediately give an error when run.

Ill check their forums. Never thought Linux is so hard. Got to the last step and throws me an error.

Thanks for the help though.

Keith Myers
Keith Myers
Joined: 11 Feb 11
Posts: 4758
Credit: 17738313293
RAC: 4856699

I hope you realize that gpu

I hope you realize that gpu tasks require the appropriate drivers for the gpu architecture.  That is provided by the respective card manufacturer.

Boinc had nothing to do with providing the drivers itself.  It is up to the OS and the user to provide the support.

Only when the required drivers supporting the card type is active will BOINC recognize the devices.

The lspci | grep VGA should have reported both the Intel and AMD cards.

Then inspect the first 30 lines of the Event Log startup in the Manager via the Tools menu.  You should see both the AMD and Intel card driver detected in the beginning of the log.  If both types of gpu are not shown in the Log, then the required drivers for the missing cards type need to be installed.

You should see something like this in the log:

10-Mar-2024 12:18:44 [---] CUDA: NVIDIA GPU 0: NVIDIA GeForce RTX 3090 (driver version 535.99, CUDA version 12.2, compute capability 8.6, 24257MB, 23701MB available, 36211 GFLOPS peak)
10-Mar-2024 12:18:44 [---] CUDA: NVIDIA GPU 1: NVIDIA GeForce RTX 3080 Ti (driver version 535.99, CUDA version 12.2, compute capability 8.6, 12045MB, 11779MB available, 35328 GFLOPS peak)
10-Mar-2024 12:18:44 [---] OpenCL: NVIDIA GPU 0: NVIDIA GeForce RTX 3090 (driver version 535.161.07, device version OpenCL 3.0 CUDA, 24257MB, 23701MB available, 36211 GFLOPS peak)
10-Mar-2024 12:18:44 [---] OpenCL: NVIDIA GPU 1: NVIDIA GeForce RTX 3080 Ti (driver version 535.161.07, device version OpenCL 3.0 CUDA, 12045MB, 11779MB available, 35328 GFLOPS peak)

You should see a similar report for the AMD and the Intel cards which indicates both cards have properly installed drivers.

 

Snowball101
Snowball101
Joined: 22 Feb 23
Posts: 32
Credit: 2146559
RAC: 17662

Keith Myers wrote: I hope

Keith Myers wrote:

I hope you realize that gpu tasks require the appropriate drivers for the gpu architecture.  That is provided by the respective card manufacturer.

Boinc had nothing to do with providing the drivers itself.  It is up to the OS and the user to provide the support.

Only when the required drivers supporting the card type is active will BOINC recognize the devices.

The lspci | grep VGA should have reported both the Intel and AMD cards.

I have checked that. Here is the output:

ThinkPad-R480:~$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
 

ThinkPad-R480:~$ sudo lspci -k | grep -EA3 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
    Subsystem: Lenovo UHD Graphics 620
    Kernel driver in use: i915
    Kernel modules: i915
--
02:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] (rev c3)
    Subsystem: Lenovo Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X]
    Kernel driver in use: amdgpu
    Kernel modules: amdgpu

 

Keith Myers wrote:

Then inspect the first 30 lines of the Event Log startup in the Manager via the Tools menu.  You should see both the AMD and Intel card driver detected in the beginning of the log.  If both types of gpu are not shown in the Log, then the required drivers for the missing cards type need to be installed.

You should see something like this in the log:

10-Mar-2024 12:18:44 [---] CUDA: NVIDIA GPU 0: NVIDIA GeForce RTX 3090 (driver version 535.99, CUDA version 12.2, compute capability 8.6, 24257MB, 23701MB available, 36211 GFLOPS peak)
10-Mar-2024 12:18:44 [---] CUDA: NVIDIA GPU 1: NVIDIA GeForce RTX 3080 Ti (driver version 535.99, CUDA version 12.2, compute capability 8.6, 12045MB, 11779MB available, 35328 GFLOPS peak)
10-Mar-2024 12:18:44 [---] OpenCL: NVIDIA GPU 0: NVIDIA GeForce RTX 3090 (driver version 535.161.07, device version OpenCL 3.0 CUDA, 24257MB, 23701MB available, 36211 GFLOPS peak)
10-Mar-2024 12:18:44 [---] OpenCL: NVIDIA GPU 1: NVIDIA GeForce RTX 3080 Ti (driver version 535.161.07, device version OpenCL 3.0 CUDA, 12045MB, 11779MB available, 35328 GFLOPS peak)

You should see a similar report for the AMD and the Intel cards which indicates both cards have properly installed drivers.

That is where I found out about this peculiar situation. Here is the text:

Mon 18 Mar 2024 07:26:49 PM CST |  | cc_config.xml not found - using defaults
Mon 18 Mar 2024 07:26:49 PM CST |  | Starting BOINC client version 7.22.1 for x86_64-pc-linux-gnu
Mon 18 Mar 2024 07:26:49 PM CST |  | log flags: file_xfer, sched_ops, task
Mon 18 Mar 2024 07:26:49 PM CST |  | Libraries: libcurl/7.88.1-DEV OpenSSL/3.0.13 zlib/1.3.1 nghttp2/1.58.0
Mon 18 Mar 2024 07:26:49 PM CST |  | Data directory: /home/sun
Mon 18 Mar 2024 07:26:50 PM CST |  | OpenCL: AMD/ATI GPU 0: AMD Radeon 500 Series (radeonsi, polaris12, LLVM 15.0.7, DRM 3.5 (driver version 23.3.5, device version OpenCL 1.1 Mesa 23.3.5 (git-ace31d82e0), 2048MB, 2048MB available, 669 GFLOPS peak)
Mon 18 Mar 2024 07:26:50 PM CST |  | libc:  version 2.35
Mon 18 Mar 2024 07:26:50 PM CST |  | Host name: sun-ThinkPad-R480
Mon 18 Mar 2024 07:26:50 PM CST |  | Processor: 8 GenuineIntel Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz [Family 6 Model 142 Stepping 10]
Mon 18 Mar 2024 07:26:50 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 pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust sgx bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm arat pln pts hwp hwp_notify hwp_act_window hwp_epp vnmi md_clear flush_l1d arch_capabilities
Mon 18 Mar 2024 07:26:50 PM CST |  | OS: Linux GNOME: GNOME 44 (Flatpak runtime) [6.5.0-25-generic|libc 2.35]
Mon 18 Mar 2024 07:26:50 PM CST |  | Memory: 7.51 GB physical, 8.00 GB virtual
Mon 18 Mar 2024 07:26:50 PM CST |  | Disk: 59.74 GB total, 9.41 GB free
Mon 18 Mar 2024 07:26:50 PM CST |  | Local time is UTC +8 hours
Mon 18 Mar 2024 07:26:50 PM CST | Einstein@Home | General prefs: from Einstein@Home (last modified 28-Feb-2023 20:53:42)
Mon 18 Mar 2024 07:26:50 PM CST | Einstein@Home | Host location: none
Mon 18 Mar 2024 07:26:50 PM CST | Einstein@Home | General prefs: using your defaults
Mon 18 Mar 2024 07:26:50 PM CST |  | Reading preferences override file
Mon 18 Mar 2024 07:26:51 PM CST |  | Preferences:
Mon 18 Mar 2024 07:26:51 PM CST |  | -  When computer is in use
Mon 18 Mar 2024 07:26:51 PM CST |  | -     'In use' means mouse/keyboard input in last 1.0 minutes
Mon 18 Mar 2024 07:26:51 PM CST |  | -     don't use GPU
Mon 18 Mar 2024 07:26:51 PM CST |  | -     max CPUs used: 8
Mon 18 Mar 2024 07:26:51 PM CST |  | -     Use at most 100% of the CPU time
Mon 18 Mar 2024 07:26:51 PM CST |  | -     max memory usage: 6.76 GB
Mon 18 Mar 2024 07:26:51 PM CST |  | -  When computer is not in use
Mon 18 Mar 2024 07:26:51 PM CST |  | -     max CPUs used: 8
Mon 18 Mar 2024 07:26:51 PM CST |  | -     Use at most 100% of the CPU time
Mon 18 Mar 2024 07:26:51 PM CST |  | -     max memory usage: 7.51 GB
Mon 18 Mar 2024 07:26:51 PM CST |  | -  Suspend if running on batteries
Mon 18 Mar 2024 07:26:51 PM CST |  | -  Leave apps in memory if not running
Mon 18 Mar 2024 07:26:51 PM CST |  | -  Store at least 1.00 days of work
Mon 18 Mar 2024 07:26:51 PM CST |  | -  Store up to an additional 5.00 days of work
Mon 18 Mar 2024 07:26:51 PM CST |  | -  max disk usage: 10.56 GB
Mon 18 Mar 2024 07:26:51 PM CST |  | -  (to change preferences, visit a project web site or select Preferences in the Manager)
Mon 18 Mar 2024 07:26:51 PM CST |  | Setting up project and slot directories
Mon 18 Mar 2024 07:26:51 PM CST |  | Checking active tasks
Mon 18 Mar 2024 07:26:51 PM CST | Asteroids@home | URL https://asteroidsathome.net/boinc/; Computer ID 768959; resource share 100
Mon 18 Mar 2024 07:26:51 PM CST | Einstein@Home | URL https://einstein.phys.uwm.edu/; Computer ID 13178441; resource share 100
Mon 18 Mar 2024 07:26:51 PM CST |  | Setting up GUI RPC socket
Mon 18 Mar 2024 07:26:51 PM CST |  | Checking presence of 149 project files

It does not recognize intel opencl somehow


ThinkPad-R480:~$ apt search intel-opencl
Sorting... Done
Full Text Search... Done
intel-opencl-icd/unknown,now 23.35.27191.42-775~22.04 amd64 [installed]
  Intel graphics compute runtime for OpenCL

It shows as installed when searching though.

 

cecht
cecht
Joined: 7 Mar 18
Posts: 1442
Credit: 2482490211
RAC: 1068551

From your output, that Radeon

From your output, that Radeon 500 Series has "2048MB available". Is the issue insufficient memory to run E@H tasks?

Ideas are not fixed, nor should they be; we live in model-dependent reality.

Ian&Steve C.
Ian&Steve C.
Joined: 19 Jan 20
Posts: 3724
Credit: 35028046394
RAC: 36840459

his issue with the AMD card

his issue with the AMD card is the Mesa drivers.

he needs to install the ROCm or AMD proprietary driver appropriate for the GPU and kernel version.

BRP7 will not send work to Mesa driver systems. and 2GB is not enough for Gravitational Wave work (in my experience it needs slightly more than 2GB).

the issue with Intel GPU detection could be a driver issue (try the beignet driver?), a BOINC issue, but that's not a "Einstein@home" issue and this issue is best to take to the BOINC message boards or the BOINC github, or whoever is the maintainer for the BOINC flatpak.

_________________________________________________________________________

Comment viewing options

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