Open CL Missing after Reinstalling Linux

Message boards : Number crunching : Open CL Missing after Reinstalling Linux
Message board moderation

To post messages, you must log in.

AuthorMessage
J. Mileski
Volunteer tester
Avatar

Send message
Joined: 9 Jun 02
Posts: 632
Credit: 172,116,532
RAC: 572
United States
Message 2021473 - Posted: 2 Dec 2019, 23:30:00 UTC

My computer martouf quit during the WOW event. I just got around to doing something about it. I decided to use Mint xfce. I added ppa:graphisc-drivers/ppa and selected 430.50 driver., Now my event log shows I'm missing Open CL.

Mon 02 Dec 2019 10:45:37 PM GMT | | Starting BOINC client version 7.14.2 for x86_64-pc-linux-gnu
Mon 02 Dec 2019 10:45:37 PM GMT | | log flags: file_xfer, sched_ops, task, sched_op_debug
Mon 02 Dec 2019 10:45:37 PM GMT | | Libraries: libcurl/7.58.0 GnuTLS/3.5.18 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Mon 02 Dec 2019 10:45:37 PM GMT | | Data directory: /home/john/Desktop/BOINC
Mon 02 Dec 2019 10:45:37 PM GMT | | CUDA: NVIDIA GPU 0: GeForce GTX 960 (driver version 430.50, CUDA version 10.1, compute capability 5.2, 4044MB, 3995MB available, 2541 GFLOPS peak)
Mon 02 Dec 2019 10:45:37 PM GMT | | CUDA: NVIDIA GPU 1: GeForce GTX 960 (driver version 430.50, CUDA version 10.1, compute capability 5.2, 4044MB, 3995MB available, 2541 GFLOPS peak)
Mon 02 Dec 2019 10:45:37 PM GMT | SETI@home | Found app_info.xml; using anonymous platform
Mon 02 Dec 2019 10:45:37 PM GMT | | App version needs OpenCL but GPU doesn't support it
Mon 02 Dec 2019 10:45:37 PM GMT | | App version needs OpenCL but GPU doesn't support it
Mon 02 Dec 2019 10:45:38 PM GMT | | [libc detection] gathered: 2.27, Ubuntu GLIBC 2.27-3ubuntu1
Mon 02 Dec 2019 10:45:38 PM GMT | | Host name: martouf
Mon 02 Dec 2019 10:45:38 PM GMT | | Processor: 32 GenuineIntel Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz [Family 6 Model 79 Stepping 1]
Mon 02 Dec 2019 10:45:38 PM GMT | | 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 arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single pti intel_ppin ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdt_a rdseed adx smap intel_pt xsaveopt cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm arat pln pts md_clear flush_l1d
Mon 02 Dec 2019 10:45:38 PM GMT | | OS: Linux LinuxMint: Linux Mint 19.2 Tina [4.15.0-72-generic|libc 2.27 (Ubuntu GLIBC 2.27-3ubuntu1)]
Mon 02 Dec 2019 10:45:38 PM GMT | | Memory: 62.81 GB physical, 976.00 MB virtual
Mon 02 Dec 2019 10:45:38 PM GMT | | Disk: 115.90 GB total, 90.81 GB free
Mon 02 Dec 2019 10:45:38 PM GMT | | Local time is UTC +0 hours
Mon 02 Dec 2019 10:45:38 PM GMT | | Config: use all coprocessors
Mon 02 Dec 2019 10:45:38 PM GMT | SETI@home | URL http://setiathome.berkeley.edu/; Computer ID 8646786; resource share 100
Mon 02 Dec 2019 10:45:38 PM GMT | SETI@home | General prefs: from SETI@home (last modified 31-Jan-2018 02:38:53)
Mon 02 Dec 2019 10:45:38 PM GMT | SETI@home | Host location: none
Mon 02 Dec 2019 10:45:38 PM GMT | SETI@home | General prefs: using your defaults
Mon 02 Dec 2019 10:45:38 PM GMT | | Reading preferences override file
Mon 02 Dec 2019 10:45:38 PM GMT | | Preferences:
Mon 02 Dec 2019 10:45:38 PM GMT | | max memory usage when active: 32160.62 MB
Mon 02 Dec 2019 10:45:38 PM GMT | | max memory usage when idle: 57889.11 MB
Mon 02 Dec 2019 10:45:38 PM GMT | | max disk usage: 91.51 GB
Mon 02 Dec 2019 10:45:38 PM GMT | | max CPUs used: 30
Mon 02 Dec 2019 10:45:38 PM GMT | | (to change preferences, visit a project web site or select Preferences in the Manager)
Mon 02 Dec 2019 10:45:38 PM GMT | | Setting up project and slot directories
Mon 02 Dec 2019 10:45:38 PM GMT | | Checking active tasks
Mon 02 Dec 2019 10:45:38 PM GMT | | Setting up GUI RPC socket
Mon 02 Dec 2019 10:45:38 PM GMT | | Checking presence of 538 project files

I'm pretty sure I had Open CL before.
What do I look for?
ID: 2021473 · Report as offensive     Reply Quote
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 12616
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2021485 - Posted: 3 Dec 2019, 1:09:33 UTC

You can always check to see what graphics components are loaded with clinfo
sudo apt install clinfo

That will show you the CUDA and OpenCL components installed on the host. You can install the OpenCL component of the Nvidia drivers separately if the metapackage failed to do so.
sudo apt-get install ocl-icd-libopencl1

Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 2021485 · Report as offensive     Reply Quote
J. Mileski
Volunteer tester
Avatar

Send message
Joined: 9 Jun 02
Posts: 632
Credit: 172,116,532
RAC: 572
United States
Message 2021517 - Posted: 3 Dec 2019, 6:30:50 UTC - in response to Message 2021485.  

You can always check to see what graphics components are loaded with clinfo
sudo apt install clinfo

That will show you the CUDA and OpenCL components installed on the host. You can install the OpenCL component of the Nvidia drivers separately if the metapackage failed to do so.
sudo apt-get install ocl-icd-libopencl1

Thanks, that worked.
Tue 03 Dec 2019 06:27:54 AM GMT |  | Starting BOINC client version 7.14.2 for x86_64-pc-linux-gnu
Tue 03 Dec 2019 06:27:54 AM GMT |  | log flags: file_xfer, sched_ops, task, sched_op_debug
Tue 03 Dec 2019 06:27:54 AM GMT |  | Libraries: libcurl/7.58.0 GnuTLS/3.5.18 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Tue 03 Dec 2019 06:27:54 AM GMT |  | Data directory: /home/john/Desktop/BOINC
Tue 03 Dec 2019 06:27:54 AM GMT |  | CUDA: NVIDIA GPU 0: GeForce GTX 960 (driver version 430.50, CUDA version 10.1, compute capability 5.2, 4044MB, 3995MB available, 2541 GFLOPS peak)
Tue 03 Dec 2019 06:27:54 AM GMT |  | CUDA: NVIDIA GPU 1: GeForce GTX 960 (driver version 430.50, CUDA version 10.1, compute capability 5.2, 4044MB, 3995MB available, 2541 GFLOPS peak)
Tue 03 Dec 2019 06:27:54 AM GMT |  | OpenCL: NVIDIA GPU 0: GeForce GTX 960 (driver version 430.50, device version OpenCL 1.2 CUDA, 4044MB, 3995MB available, 2541 GFLOPS peak)
Tue 03 Dec 2019 06:27:54 AM GMT |  | OpenCL: NVIDIA GPU 1: GeForce GTX 960 (driver version 430.50, device version OpenCL 1.2 CUDA, 4044MB, 3995MB available, 2541 GFLOPS peak)
Tue 03 Dec 2019 06:27:54 AM GMT | SETI@home | Found app_info.xml; using anonymous platform
Tue 03 Dec 2019 06:27:54 AM GMT |  | [libc detection] gathered: 2.27, Ubuntu GLIBC 2.27-3ubuntu1
Tue 03 Dec 2019 06:27:54 AM GMT |  | Host name: martouf
Tue 03 Dec 2019 06:27:54 AM GMT |  | Processor: 32 GenuineIntel Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz [Family 6 Model 79 Stepping 1]
Tue 03 Dec 2019 06:27:54 AM GMT |  | 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 arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single pti intel_ppin ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdt_a rdseed adx smap intel_pt xsaveopt cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm arat pln pts md_clear flush_l1d
Tue 03 Dec 2019 06:27:54 AM GMT |  | OS: Linux LinuxMint: Linux Mint 19.2 Tina [4.15.0-72-generic|libc 2.27 (Ubuntu GLIBC 2.27-3ubuntu1)]
Tue 03 Dec 2019 06:27:54 AM GMT |  | Memory: 62.81 GB physical, 976.00 MB virtual
Tue 03 Dec 2019 06:27:54 AM GMT |  | Disk: 115.90 GB total, 80.74 GB free
Tue 03 Dec 2019 06:27:54 AM GMT |  | Local time is UTC +0 hours
Tue 03 Dec 2019 06:27:54 AM GMT |  | Config: use all coprocessors
Tue 03 Dec 2019 06:27:54 AM GMT | SETI@home | URL http://setiathome.berkeley.edu/; Computer ID 8646786; resource share 100
Tue 03 Dec 2019 06:27:54 AM GMT | SETI@home | General prefs: from SETI@home (last modified 31-Jan-2018 02:38:53)
Tue 03 Dec 2019 06:27:54 AM GMT | SETI@home | Host location: none
Tue 03 Dec 2019 06:27:54 AM GMT | SETI@home | General prefs: using your defaults
Tue 03 Dec 2019 06:27:54 AM GMT |  | Reading preferences override file
Tue 03 Dec 2019 06:27:54 AM GMT |  | Preferences:
Tue 03 Dec 2019 06:27:54 AM GMT |  | max memory usage when active: 32160.62 MB
Tue 03 Dec 2019 06:27:54 AM GMT |  | max memory usage when idle: 57889.11 MB
Tue 03 Dec 2019 06:27:54 AM GMT |  | max disk usage: 81.27 GB
Tue 03 Dec 2019 06:27:54 AM GMT |  | max CPUs used: 30

ID: 2021517 · Report as offensive     Reply Quote
J. Mileski
Volunteer tester
Avatar

Send message
Joined: 9 Jun 02
Posts: 632
Credit: 172,116,532
RAC: 572
United States
Message 2050536 - Posted: 28 May 2020, 23:47:10 UTC - in response to Message 2021517.  

You can always check to see what graphics components are loaded with clinfo
sudo apt install clinfo

That will show you the CUDA and OpenCL components installed on the host. You can install the OpenCL component of the Nvidia drivers separately if the metapackage failed to do so.
sudo apt-get install ocl-icd-libopencl1


I'd like to add, when I went to Folding@Home I was still missing a component of Open CL. I found that I had to add
sudo apt install ocl-icd-opencl-dev
because I was still missing
/usr/lib/x86_64-linux-gnu/libOpenCL.so 

ID: 2050536 · Report as offensive     Reply Quote
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 12616
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2050544 - Posted: 29 May 2020, 1:55:47 UTC

Strange that library is the main library of OpenCL in Linux. Should have been installed with the basic:
sudo apt-get install ocl-icd-libopencl1

But for sure the -dev library would have included the entire kit 'n kaboodle. Glad you figured it out.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 2050544 · Report as offensive     Reply Quote

Message boards : Number crunching : Open CL Missing after Reinstalling Linux


 
©2021 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.