Intel processors linux driver

cmey / install-intel-opencl-drivers-for-linux.sh

This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters

# 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 *

This installs linux kernel 4.7 but we want 4.13.0-36-generic

Test OpenCL status with: Intel System Analyzer

curl https://software.intel.com/system/files/managed/d4/4d/sys_analyzer_linux.py_.tgz > sys_analyzer_linux.py_.tgz tar -xvzf sys_analyzer_linux.py_.tgz python sys_analyzer_linux.py -v 

Should see at the bottom:
[ OK ] OpenCL check:platform:Intel(R) OpenCL GPU OK CPU OK

Manual Intel OpenCL Drivers installation, without installing(and patching) an old kernel (4.7)

Christophe’s previous step before you follow the guide below:

curl http://registrationcenter-download.intel.com/akdlm/irc_nas/11396/SRB5.0_linux64.zip > SRB5.0_linux64.zip unzip SRB5.0_linux64.zip 
sudo apt-get update sudo apt-get install xz-utils mkdir intel-opencl tar -C intel-opencl -Jxf intel-opencl-r5.0-63503.x86_64.tar.xz tar -C intel-opencl -Jxf intel-opencl-devel-r5.0-63503.x86_64.tar.xz tar -C intel-opencl -Jxf intel-opencl-cpu-r5.0-63503.x86_64.tar.xz sudo cp -R intel-opencl/* / sudo ldconfig 

Print Ubuntu version:
lsb_release -a
Print kernel version that’s running:
uname -r
Print kernel versions installed:
dpkg —list | grep linux-image

Verify CPU model name is Intel:
grep -m 1 name /proc/cpuinfo , should be:
model name : Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz

Verify GPU is Intel:
lspci -nn | grep VGA , should be:
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5927] (rev 06)

make sure you add your user to video group by:
sudo usermod -a -G video $LOGNAME

# from https://github.com/intel-iot-devkit/reference-implementation/tree/master/face-access-control # get install_OCL_driver2_sh.tgz web to https://software.intel.com/file/593325/download tar xf install_OCL_driver2_sh.tgz mkdir opencl-temp sudo ./install_OCL_driver2.sh install --workspace opencl-temp # answer No 

A new version of the Intel OpenCL driver for Linux is out.
See: https://github.com/intel/compute-runtime/releases

It should now be as simple as:

wget https://github.com/intel/compute-runtime/releases/download/18.33.11309/intel-opencl_18.33.11309_amd64.deb dpkg -i intel-opencl_18.33.11309_amd64.deb apt-get install -f 

Note this driver is advertised to only work on Gen8+ hardware.

MBP 15 Mid 2014, has i7-4980HQ which contains an Iris Pro Graphics 5200 | GT3e

clinfo: Device Name Iris Pro 
Release date: 2014 Microarchitecture: Haswell Core Name: Crystal Well Integrated GPU: Intel Iris Pro 5200 

«Crystalwell is the codename of the L4 cache (eDRAM) featured in the Iris Pro-enabled Haswell CPUs. According to Intel, this superior quality memory is responsible for the increased performance of Iris Pro graphics.»
(source)

MBP 13 touch bar Mid 2017, has i7-7567U which contains an Iris Plus Graphics 650

clinfo: Device Name Intel(R) HD Graphics 
Release date: 2017 Core Name: Kaby Lake Microarchitecture: Kaby Lake Integrated GPU: Intel® Iris™ Plus Graphics 650 

This file seems not exist any more

Читайте также:  Настройка iscsi initiator linux

wget http://registrationcenter-download.intel.com/akdlm/irc_nas/11396/SRB5.0_linux64.zip
—2019-05-27 15:54:21— http://registrationcenter-download.intel.com/akdlm/irc_nas/11396/SRB5.0_linux64.zip
Resolving registrationcenter-download.intel.com (registrationcenter-download.intel.com). 104.124.188.30, 2600:1406:d000:183::b, 2600:1406:d000:1bb::b
Connecting to registrationcenter-download.intel.com (registrationcenter-download.intel.com)|104.124.188.30|:80. connected.
HTTP request sent, awaiting response. 404 Not Found
2019-05-27 15:54:25 ERROR 404: Not Found.

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.

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

Источник

Установка драйвера Intel в Ubuntu

В отличие от драйверов видеокарт от других производителей, таких как Nvidia и AMD, часть драйвера Intel для интегрированных видеокарт встроена в ядро, а другая часть в пакет mesa-utils. Таким образом если вы используете последнюю версию ядра и свежую версию mesa-utils то, скорее всего, вы используете самую свежую версию драйвера Intel.

В этой статье мы рассмотрим как выполняется установка драйвера Intel в Ubuntu если он не установлен по умолчанию, а также как получить самую последнюю версию.

Официальный установщик драйверов Intel

Раньше существовал установщик драйверов от Intel, позволяющий установить последнюю версию драйвера в Ubuntu или Fedora, но потом компания прекратила поддержку этой утилиты. Скачать её можно здесь. Но последняя версия пакета вышла в 2018 году, и с тех пор уже вышло много новых ядер и новых версий дистрибутива Ubuntu. Сейчас в репозиториях Ubuntu версия драйвера более новая чем там.

Читайте также:  Делаем сервер из linux

Установка драйвера Intel в Ubuntu

Вы можете посмотреть какой сейчас драйвер видеокарты используется с помощью команды lspci:

Как видите, в данном примере используется i915, это драйвер видеокарты от Intel. Он работает и ничего больше устанавливать не нужно. Если же в этой строчке находится что-то другое, можно попытаться установить драйвер.

Для установки части драйвера для Xorg и Mesa достаточно установить в систему такие пакеты:

sudo apt install xserver-xorg-video-intel

sudo apt install mesa-utils

Если вы хотите получить самую последнюю версию драйвера можно воспользоваться специальным PPA. Для добавления репозитория в систему выполните:

sudo add-apt-repository ppa:oibaf/graphics-drivers

Затем просто обновите систему и перезагрузите компьютер:

Выводы

Вот и все. Теперь вы знаете как выполняется установка драйвера Intel Ubuntu. В отличие от драйверов для Nvidia, в большинстве случаев здесь всё уже установлено. И вам не надо думать как поддерживать актуальную версию этого драйвера в своей системе. Если у вас остались вопросы, спрашивайте в комментариях!

Обнаружили ошибку в тексте? Сообщите мне об этом. Выделите текст с ошибкой и нажмите Ctrl+Enter.

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

License

intel/linux-sgx-driver

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Intel(R) Software Guard Extensions for Linux* OS

Intel(R) Software Guard Extensions (Intel(R) SGX) is an Intel technology for application developers seeking to protect select code and data from disclosure or modification.

The Linux SGX software stack is comprised of the Intel(R) SGX driver, the Intel(R) SGX SDK, and the Intel(R) SGX Platform Software. The Intel(R) SGX SDK and Intel(R) SGX PSW are hosted in the linux-sgx project.

The linux-sgx-driver project hosts the out-of-tree driver for the Linux Intel(R) SGX software stack, which will be used until the driver upstreaming process is complete.

Читайте также:  Etc hosts ipv6 linux

This driver can be used to support earlier SGX-capable CPUs without Flexible Launch Control (FLC). However, please note that the ABI of this driver is diverged from the upstreaming SGX kernel patches and extra effort may be required to migrate software using this driver to future kernels with SGX support. To minimize ABI divergence and better align all SGX software stack with future SGX enabled kernel, no new features will be added to this driver. Support for distro/kernel versions other than those listed here will be considered on a case-by-case basis.

The DCAP driver has been developed to track closely with the upstreaming kernel patches, and support all SGX CPUs with FLC. Therefore, we recommend SGX community to start using the DCAP driver to minimize future impact from adopting new mainline kernels with SGX support.

For new feature requests/patches, please submit them directly to the linux-sgx mailing list

See License.txt for details.

Build and Install the Intel(R) SGX Driver

  • Ensure that you have an operating system version supported as listed in releases: https://01.org/intel-software-guard-extensions/downloads
  • Ensure that you have the following required hardware:
    • 6th Generation Intel(R) Core(TM) Processor or newer
    $ dpkg-query -s linux-headers-$(uname -r) 
    $ sudo apt-get install linux-headers-$(uname -r) 
    $ sudo yum install kernel-devel 
    $ sudo yum install kernel $ sudo reboot 
    $ sudo yum install elfutils-libelf-devel 

    Note: Refer to the «Intel® SGX Resource Enumeration Leaves» section in the Intel SGX Programming reference guide to make sure your cpu has the SGX feature.

    Build the Intel(R) SGX Driver

    To build Intel(R) SGX driver, change the directory to the driver path and enter the following command:

    You can find the driver isgx.ko generated in the same directory.

    Install the Intel(R) SGX Driver

    To install the Intel(R) SGX driver, enter the following command with root privilege:

    $ sudo mkdir -p "/lib/modules/"`uname -r`"/kernel/drivers/intel/sgx" $ sudo cp isgx.ko "/lib/modules/"`uname -r`"/kernel/drivers/intel/sgx" $ sudo sh -c "cat /etc/modules | grep -Fxq isgx || echo isgx >> /etc/modules" $ sudo /sbin/depmod $ sudo /sbin/modprobe isgx 

    On Red Hat Enterprise Linux Server or CentOS, need to run below command on each reboot

    On SUSE, need to add ‘—allow-unsupported’ flag when executing ‘modprobe’ command during the SGX driver intallation and on each reboot

    $ sudo /sbin/modprobe isgx --allow-unsupported 

    Uninstall the Intel(R) SGX Driver

    Before uninstall the Intel(R) SGX driver, make sure the aesmd service is stopped. See the topic, Start or Stop aesmd Service, on how to stop the aesmd service.
    To uninstall the Intel(R) SGX driver, enter the following commands:

    $ sudo /sbin/modprobe -r isgx $ sudo rm -rf "/lib/modules/"`uname -r`"/kernel/drivers/intel/sgx" $ sudo /sbin/depmod $ sudo /bin/sed -i '/^isgx$/d' /etc/modules 

    Источник

Оцените статью
Adblock
detector