This repository contains the following drivers.
- Intel® Graphics Driver Backports(i915) - The main graphics driver (includes a compatible DRM subsystem and dmabuf if necessary*)
- Intel® Converged Security Engine(CSE) - Converged Security Engine
- Intel® Platform Monitoring Technology(PMT/VSEC) - Intel® Platform Telemetry
Our current backport supports the following OS Distributions.
OS Distribution | OS Version |
---|---|
RHEL® | 9.x |
RHEL® | 8.x |
We have dependencies on the following packages
- make
- glibc-devel
- rpm-build
- flex
- bison
- gawk
$ sudo dnf install make glibc-devel rpm-build bison flex gawk
For DKMS modules, we need to install dkms
package too.
$ sudo dnf install dkms
These drivers a have dependency on Intel® GPU firmware and a few more kernel mode drivers may be needed based on specific use cases, platforms, and distributions. The source code of additional drivers should be available at Intel GPU
- Intel® GPU firmware - Firmware required by Intel® GPUs.
Each project is tagged consistently, so when pulling these repos, pull the same tag.
We have 2 kinds of backport packages, depending on the target OS Kernel version
- Build with i915 and drm. Ex: RHEL® 8.x
- Build with i915 alone. Ex: RHEL® 9.x
OS Distribution | OS Version | DKMS Package Target | Binary Package Target |
---|---|---|---|
RHEL® | 9.5 | i915dkmsrpm-pkg | binrpm-pkg |
RHEL® | 9.4 | i915dkmsrpm-pkg | binrpm-pkg |
RHEL® | 9.3 | i915dkmsrpm-pkg | binrpm-pkg |
RHEL® | 9.2 | i915dkmsrpm-pkg | binrpm-pkg |
RHEL® | 9.0 | i915dkmsrpm-pkg | binrpm-pkg |
RHEL® | 8.10 | dkmsrpm-pkg | binrpm-pkg |
RHEL® | 8.9 | dkmsrpm-pkg | binrpm-pkg |
RHEL® | 8.8 | dkmsrpm-pkg | binrpm-pkg |
RHEL® | 8.6 | dkmsrpm-pkg | binrpm-pkg |
Creating i915 DKMS packages
$ make <Build Options> <DKMS Package Target>
Example: For RHEL9.5
$ make i915dkmsrpm-pkg
Generated package name :
intel-i915-dkms-1.24.3.13.240419.12-1.x86_64.rpm
Above command will create RPM packages at $HOME/rpmbuild/RPMS/x86_64/
The kernel header used at the time of backporting may not be compatible with the latest version at the time of installation which can lead to installation issues. Please refer version file to get information on the kernel version being used during backporting.
Please note that DKMS installation will skip if the kernel headers are not installed.
$ sudo dnf check-update; sudo dnf install -y kernel-<RHEL_9.5_KERNEL_VERSION>.el9_4.x86_64 \
kernel-devel-<RHEL_9.5_KERNEL_VERSION>.el9_4.x86_64
Example:
$ sudo dnf check-update; sudo dnf install -y kernel-5.14.0-503.11.1.el9_5.x86_64 \
kernel-devel-5.14.0-503.11.1.el9_5.x86_64
$ sudo dnf check-update; sudo dnf install -y kernel-<RHEL_8.10_KERNEL_VERSION>.el8_10.x86_64 \
kernel-devel-<RHEL_8.10_KERNEL_VERSION>.el8_10.x86_64
Example:
$ sudo dnf check-update; sudo dnf install -y kernel-4.18.0-544.el8_10.x86_64 \
kernel-devel-4.18.0-544.el8_10.x86_64
Creation of binary rpm can be done using the below command. By default it will use the header of the booted kernel, However, it can be pointed to other headers via optional KLIB and KLIB_BUILD arguments.
$ make <Build Options> KLIB=<Header Path> KLIB_BUILD=<Header Path>/build binrpm-pkg
Example:
$ make KLIB=/lib/modules/$(uname -r) KLIB_BUILD=/lib/modules/$(uname -r)/build binrpm-pkg
Generated Files:
intel-i915-<version>.$(uname -r)-1.x86_64.rpm
Above commands will create RPM packages at $HOME/rpmbuild/RPMS/x86_64/
dmabuf backport will be added in package so we need to disable loading of base kernel dmabuf using kernel command line. "initcall_blacklist=sync_debugfs_init,dma_buf_init".
Build options provides a list of different arguments which can be passed during package creation or build.
Please refer to README_common for the full list of Build options.
$ sudo rpm -ivh intel-[dmabuf-drm-]i915*.rpm
Reboot the device after installation of all packages.
$ sudo reboot
For verification, please grep backport from dmesg after reboot. You should see something like below
$ sudo dmesg |grep -i backport
[ 5.963854] COMPAT BACKPORTED INIT
[ 5.968761] Loading modules backported from I915-23.6.24
[ 5.976154] Backport generated by backports.git I915_23.6.24_PSB_230425.29
[ 6.069699] [drm] I915 BACKPORTED INIT
Please refer to README_backport_version for different verification processes.
$ sudo rpm -e intel-i915*
Reboot the device after uninstallation of all packages.
$ sudo reboot
KVMGT is not supported on Server Gfx cards so we need to blacklist KVMGT, on a later version due to KVMGT refactoring we may have an unknown symbol warning during DKMS installation.
Example:
depmod: WARNING: /lib/modules/$(uname -r)/kernel/drivers/gpu/drm/i915/kvmgt.ko.xz needs unknown symbol intel_gvt_set_ops
depmod: WARNING: /lib/modules/$(uname -r)/kernel/drivers/gpu/drm/i915/kvmgt.ko.xz needs unknown symbol intel_gvt_clear_ops
Blacklist 'kvmgt' to avoid KVMGT module load during kernel boot.
sudo grubby --update-kernel=/boot/vmlinuz-$(uname -r) --args="modprobe.blacklist=kvmgt"