- Saved searches
- Use saved searches to filter your results more quickly
- License
- intel/linux-sgx-driver
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- How do I install the Intel Graphics driver in my system?
- 5 Answers 5
- Установка драйвера Intel в Ubuntu
- Официальный установщик драйверов Intel
- Установка драйвера Intel в Ubuntu
- Выводы
- Steps to Install Intel Graphic Drivers on Ubuntu 20.04LTS
- How to check graphic drivers on Ubuntu?
- How to install Intel graphic drivers on Ubuntu?
- Conclusion
- Installation Guides
- Red Hat Enterprise Linux
- SUSE Linux Enterprise Server
- Ubuntu
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
Signed-off-by: Zhang Lili lili.z.zhang@intel.com
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.
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
How do I install the Intel Graphics driver in my system?
Can someone help me out and explain or point me in the right direction on how to check video drivers and see if my video card running okay? I had 10.04 installed on my Thinkpad r61 with Compiz Manager and life was great, until the machine took water damage. I bought an ASUS (X54H) since and am trying out 12.04, but the desktop just doesn’t look right. I always struggled with video driver installation. There are no proprietary drivers available in the hardware manager. When I run lspci | grep VGA :
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
I will greatly appreciate your help. I want to use Linux more, but like I said video drivers appear to be my biggest concern. I have also tried 12.04 on my desktop PC, but again failed to configure video card, so switched back to Windows 7.
5 Answers 5
The Intel graphics driver is part of the xserver-xorg-video-intel driver package, which is installed on all Ubuntu systems by default. And since it isn’t a proprietary driver package, it doesn’t show up in jockey (aka the Hardware Drivers application).
Just to ensure it didn’t get removed by mistake (very slim possibility), just run this command:
sudo apt-get install xserver-xorg-video-intel
If the driver is installed, and you’re still having issues with graphics on your desktop, then please file a bug report against the xorg package, using this terminal command:
Установка драйвера Intel в Ubuntu
В отличие от драйверов видеокарт от других производителей, таких как Nvidia и AMD, часть драйвера Intel для интегрированных видеокарт встроена в ядро, а другая часть в пакет mesa-utils. Таким образом если вы используете последнюю версию ядра и свежую версию mesa-utils то, скорее всего, вы используете самую свежую версию драйвера Intel.
В этой статье мы рассмотрим как выполняется установка драйвера Intel в Ubuntu если он не установлен по умолчанию, а также как получить самую последнюю версию.
Официальный установщик драйверов Intel
Раньше существовал установщик драйверов от Intel, позволяющий установить последнюю версию драйвера в Ubuntu или Fedora, но потом компания прекратила поддержку этой утилиты. Скачать её можно здесь. Но последняя версия пакета вышла в 2018 году, и с тех пор уже вышло много новых ядер и новых версий дистрибутива Ubuntu. Сейчас в репозиториях Ubuntu версия драйвера более новая чем там.
Установка драйвера 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.
Steps to Install Intel Graphic Drivers on Ubuntu 20.04LTS
Hello folks, in this article, We will be discussing how to install Intel graphic drivers on Ubuntu 20.04LTS.
Intel’s graphic drivers come preinstalled in the kernel. But if they are not installed on your system, and you want to install them or check for currently used drivers or graphic cards. Follow this article till the end.
How to check graphic drivers on Ubuntu?
Open a terminal window by pressing Ctrl+Alt+T. Execute the following command to see the currently used graphic drivers:
sudo lspci -nn | grep -e VGA
Another way of checking the currently used graphic drivers is using the mesa utility. First, install the mesa utility by executing the following command:
sudo apt install mesa-utils
Now, enter the following command to get the driver details. It will also give you other GPU details along with driver details.
How to install Intel graphic drivers on Ubuntu?
Open a terminal window by pressing Ctrl+Alt+T. Now, to install the latest drivers, add the graphics package repository by executing the following commands, it will install gpg-agent and get and will install the public key required to verify the integrity of the package.
sudo apt install -y gpg-agent wget wget -qO - https://repositories.intel.com/graphics/intel-graphics.key | sudo apt-key add - sudo apt-add-repository \ 'deb [arch=amd64] https://repositories.intel.com/graphics/ubuntu focal main'
Now, Add the graphics software packages by executing the following command:
sudo apt update sudo apt install \ intel-opencl-icd \ intel-level-zero-gpu level-zero \ intel-media-va-driver-non-free libmfx1
That’s it! Intel graphic drivers are installed successfully.
If you also want to install development packages, execute the following command:
sudo apt install \ libigc-dev \ intel-igc-cm \ libigdfcl-dev \ libigfxcmrt-dev \ level-zero-dev
Conclusion
So, We discussed how to check for currently used drivers and install Intel graphic drivers on Ubuntu 20.04LTS. I hope it works for you. Thank you for reading!
Installation Guides
Intel® software packages for general purpose GPU capabilities are provided for several Linux*-based distributions.
Information for configuring the repositories is provided in the following installation guides:
Red Hat Enterprise Linux
- This page is depreciated.
- RHEL* 8.5
- Add package repository
- Stable vs Devel
- Stable
- Devel
- OPTIONAL: Install developer packages
- Configuring permissions
- Deprecation Notice
- Add package repository
- Install run-time packages
- OPTIONAL: Install developer packages
- Configuring permissions
- Deprecation Notice
- Add package repository
- Stable vs Devel
- Stable
- Devel
- OPTIONAL: Install developer packages
- Configuring permissions
SUSE Linux Enterprise Server
- This page is depreciated.
- SLES* 15 SP3
- Add package repository
- Stable vs Devel
- Stable
- Devel
- OPTIONAL: Install developer packages
- Configuring permissions
- Unable to find OpenCL*
- Deprecation Notice
- Add package repository
- Install run-time packages
- OPTIONAL: Install developer packages
- Configuring permissions
- Unable to find OpenCL*
- Deprecation Notice
- Add package repository
- Install run-time packages
- OPTIONAL: Install developer packages
- Configuring permissions
- Unable to find OpenCL*
Ubuntu
- Add package repository
- Add package repository