Skip to content

Instantly share code, notes, and snippets.

@cmey
Last active September 29, 2023 14:36
Show Gist options
  • Star 13 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save cmey/a2b2223e7947b62bd94d405e290c9293 to your computer and use it in GitHub Desktop.
Save cmey/a2b2223e7947b62bd94d405e290c9293 to your computer and use it in GitHub Desktop.
Intel OpenCL drivers for Linux
# get OpenCL driver automated installer (installs kernel 4.7)
curl https://software.intel.com/sites/default/files/managed/f6/77/install_OCL_driver.sh_.txt > install_OCL_driver.sh
chmod +x install_OCL_driver.sh
# install OpenCL driver
sudo ./install_OCL_driver.sh install
# check
ls /boot/vmlinuz-*intel*
@LittleSouken
Copy link

marco@mr-pc:$ sudo snap install mailspring
[sudo] senha para marco:
snap "mailspring" is already installed, see 'snap help refresh'
marco@mr-pc:
$ get OpenCL driver automated installer (installs kernel 4.7)
bash: erro de sintaxe próximo ao token inesperado (' marco@mr-pc:~$ get OpenCL driver automated installer (installs kernel 4.7) bash: erro de sintaxe próximo ao token inesperado ('
marco@mr-pc:$ get OpenCL driver automated installer (installs kernel 4.7)
bash: erro de sintaxe próximo ao token inesperado `('
marco@mr-pc:
$ curl https://software.intel.com/sites/default/files/managed/f6/77/install_OCL_driver.sh_.txt > install_OCL_driver.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 28973 100 28973 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k
marco@mr-pc:$ chmod +x install_OCL_driver.sh
marco@mr-pc:
$ sudo ./install_OCL_driver.sh install
ERROR: this script is supported only on Ubuntu 14.04 and 16.04.

@daniele777
Copy link

Hi Guys need help .. i have hp250g4 with intel processor Intel(R) Celeron(R) N3050 @ 1.60GHz x 2
Gpu Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller i recive this error from software

ATTENTION! No OpenCL-compatible or CUDA-compatible platform found.

You are probably missing the OpenCL or CUDA runtime installation.

  • AMD GPUs on Linux require this driver:
    "RadeonOpenCompute (ROCm)" Software Platform (3.1 or later)
  • Intel CPUs require this runtime:
    "OpenCL Runtime for Intel Core and Intel Xeon Processors" (16.1.1 or later)
  • NVIDIA GPUs require this runtime and/or driver (both):
    "NVIDIA Driver" (440.64 or later)
    "CUDA Toolkit" (9.0 or later)

How to install this driver??? I have linux debian based "Deepin""
Thx

@cmey
Copy link
Author

cmey commented Jun 29, 2020

@Neil-Lunavat
Copy link

This process is such a headache. I just want my hashcat to work :(

@daniele777
Copy link

daniele777 commented Apr 10, 2021

There isn't some Command like sudo apt install opencl ???

@Neil-Lunavat
Copy link

There isn't some Command like sudo apt install opencl ???

Tried it bruv. Here's the result:

$ sudo apt install opencl
E: Unable to locate package opencl

@daniele777
Copy link

So can't install opencl with cuda ??

@Neil-Lunavat
Copy link

What do you mean? What do you want to do?

@ibitebyt3s
Copy link

ibitebyt3s commented Oct 21, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment