- Saved searches
- Use saved searches to filter your results more quickly
- License
- intel/media-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
- Установка драйвера 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
- How do I install the Intel Graphics driver in my system?
- 5 Answers 5
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/media-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
align to libva definition
Git stats
Files
Failed to load latest commit information.
README.md
Intel(R) Media Driver for VAAPI
The Intel(R) Media Driver for VAAPI is a new VA-API (Video Acceleration API) user mode driver supporting hardware accelerated decoding, encoding, and video post processing for GEN based graphics hardware.
The Intel(R) Media Driver for VAAPI is distributed under the MIT license with portions covered under the BSD 3-clause «New» or «Revised» License. You may obtain a copy of the License at MIT & BSD-3-Clause
apt install autoconf libtool libdrm-dev xorg xorg-dev openbox libx11-dev libgl1-mesa-glx libgl1-mesa-dev
Equivalents for other distributions should work.
- Build and install LibVA
- Build and install GmmLib following GmmLib compatibility
- Get media repo and format the workspace folder as below (suggest the workspace to be a dedicated one for media driver build):
This will install the following files (e.g. on Ubuntu):
-- Installing: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so -- Installing: /etc/profile.d/intel-media.sh -- Installing: /usr/lib/x86_64-linux-gnu/igfxcmrt64.so
For iHD_drv_video.so please export related LIBVA environment variables.
export LIBVA_DRIVERS_PATH= export LIBVA_DRIVER_NAME=iHD
- BDW (Broadwell)
- SKL (Skylake)
- BXTx (BXT: Broxton, APL: Apollo Lake, GLK: Gemini Lake)
- KBLx (KBL: Kaby Lake, CFL: Coffe Lake, WHL: Whiskey Lake, CML: Comet Lake, AML: Amber Lake)
- ICL (Ice Lake)
- JSL (Jasper Lake) / EHL (Elkhart Lake)
- TGLx (TGL: Tiger Lake, RKL: Rocket Lake, ADL-S/P/N: Alder Lake, RPL-S/P: Raptor Lake)
- DG1/SG1
- Alchemist(DG2)/ATSM
- Meteor Lake(MTL)
Media driver contains three components as below
- Video decoding calls hardware-based decoder(VDBox) which provides fully-accelerated hardware video decoding to release the graphics engine for other operations.
- Video encoding supports two modes, one calls hardware-based encoder(VDEnc/Huc) to provide low power encoding, another one is hardware(PAK)+shader(media kernel+VME) based encoding. User could choose the mode through VA-API.
- Video processing supports several popular features by hardware-based video processor(VEBox/SFC) and shader(media kernel) based solution together.
Media driver supports two build types as below
- Full Feature Build is default driver build, which supports all feature by hardware accelerator and close source shaders(media kernel binaries). Ubuntu intel-media-va-driver-non-free package is generated from this build type.
- Free Kernel Build, enables fully open source shaders(media kernels) and hardware features but the features would be limited. Ubuntu intel-media-va-driver package is generated from this build type.
For more decoding and encoding features information, please refer to
Video Processing Features
For more feature information, please refer to Supported video processing csc/scaling format
Media-driver supports few build types as described below. You could refer to the following settings to enable them.
- Full Feature Build: ENABLE_KERNELS=ON(Default) ENABLE_NONFREE_KERNELS=ON(Default)
- Free Kernel Build: ENABLE_KERNELS=ON ENABLE_NONFREE_KERNELS=OFF
- If trying to use pre-built open source kernel binaries, please add BUILD_KERNELS=OFF(Default).
- If trying to rebuild open source kernel from source code, please add BUILD_KERNELS=ON.
Media-driver requires special i915 kernel mode driver (KMD) version to support the following new platforms since upstream version of i915 KMD does not fully support them (pending patches upstream):
By default, media-driver builds against upstream i915 KMD and will miss support for the platforms listed above. To enable new platforms which require special i915 KMD and specify ENABLE_PRODUCTION_KMD=ON (default: OFF ) build configuration option.
Known Issues and Limitations
- Intel(R) Media Driver for VAAPI is recommended to be built against gcc compiler v6.1 or later, which officially supported C++11.
- SKL: Green or other incorrect color will be observed in output frames when using YV12/I420 as input format for csc/scaling/blending/rotation, etc. on Ubuntu 16.04 stock (with kernel 4.10). The issue can be addressed with the kernel patch: WaEnableYV12BugFixInHalfSliceChicken7
- HuC firmware is necessary for AVC/HEVC/VP9/AV1 low power encoding bitrate control, including CBR, VBR, etc. The default Kernel configuration didn’t enable Huc loading for TGL/RKL and legacy platforms but enabled it from ADL+ platforms. You could change Huc setting by «options i915 enable_guc=2» > /etc/modprobe.d/i915.conf under root. For ADL+ platforms, Kernel loads Huc as default if related platform Huc binary exist in /lib/firware/i915 . You could see the Huc firmwares are avaiable from below kernel versions for different platforms:
- APL/KBL: starting from Kernal 4.11, Huc loading is disabled as default so need to set i915.enable_guc=2
- CFL: starting from Kernal 4.15, Huc loading is disabled as default so need to set i915.enable_guc=2
- ICL: starting from Kernal 5.2, Huc loading is disabled as default so need to set i915.enable_guc=2
- EHL/JSL: starting from Kernal 5.8, Huc loading is disabled as default so need to set i915.enable_guc=2
- TGL: starting from Kernal 5.9, Huc loading is disabled as default so need to set i915.enable_guc=2
- RKL: starting from Kernal 5.17, Huc loading is disabled as default so need to set i915.enable_guc=2
- ADL-S/ADL-P: starting from Kernal 5.17
- ADL-N/RPL-S/RPL-P: starting from Kernal 6.2
- DG1/SG1: intel-gpu/intel-gpu-i915-backports
- Alchemist(DG2): starting from Kernal 6.2
- ATSM: intel-gpu/intel-gpu-i915-backports
- Other more known issues, please refer to media-driver/wiki «Known Issues» pages.
(*) Other names and brands may be claimed as property of others.
Установка драйвера 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!
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: