This branch provides i915 driver source code backported for Red Hat® Enterprise Linux® to enable intel discrete GPUs support.
We are using backport project to generate out of tree i915 kernel module source codes.
This repo is a code snapshot of particular version of backports and does not contain individual git change history.
redhat/main will point to the currently supported version of Red Hat® Enterprise Linux®.
We will add a new branch redhat/rhel<x.y> whenever a version is deprecated or moved to the maintenance phase.
Our current backport is based on Red Hat® Enterprise Linux® 8.8. We are using the header of the latest available kernel at the time of backporting. However, it may not be compatible with the latest version at the time of installation. Please refer Version file to check the RHEL_8.8_KERNEL_VERSION. It will point to the kernel version which is being used during backporting.
In case of an issue with the latest kernel, please install the kernel version pointed by RHEL_8.8_KERNEL_VERSION.
sudo dnf check-update; sudo dnf install -y kernel-<RHEL_8.8_KERNEL_VERSION>.el8.x86_64 \
kernel-devel-<RHEL_8.8_KERNEL_VERSION>.el8.x86_64
example:
sudo dnf check-update; sudo dnf install -y kernel-4.18.0-477.el8.x86_64 \
kernel-devel-4.18.0-477.el8.x86_64
Please refer Releases
we have dependencies on the following packages
-
dkms
-
make
-
lsb-release
-
rpm-build
sudo dnf install -y dkms make lsb-release rpm-build
This driver is part of a collection of kernel-mode drivers that enable support for Intel graphics. The backports collection within https://github.com/intel-gpu includes:
- Intel® Graphics Driver Backports for Linux - The main graphics driver (includes a compatible DRM subsystem and dmabuf if necessary)
- Intel® Converged Security Engine Backports - Converged Security Engine
- Intel® Platform Monitoring Technology Backports - Intel Platform Telemetry
- Intel® GPU firmware - Firmware required by intel GPUs.
Each project is tagged consistently, so when pulling these repos, pull the same tag.
We need to create dmabuf and i915 dkms packages using the below command.
make dkmsrpm-pkg
Above will create rpm packages at $HOME/rpmbuild/RPMS/x86_64/
Binary rpm's consists of pre-built ko modules for particular kernel version and flavor. To create binary packages, Build system should be having kernel and respective headers installed.
make binrpm-pkg
Generated Files: intel-i915--1.x86_64.rpm intel-dmabuf--1.x86_64.rpm
Check "make binrpm-pkg-help" for detailed usage.
use below command to install binary rpm
rpm -ivh <rpm>
i915 driver has dependency on VSEC(PMT) and MEI(CSE), Please install VSEC and MEI before installting i915 driver.
sudo rpm -ivh intel-dmabuf-dkms*.rpm intel-i915-dkms*.rpm
# Reboot the device after installation of all packages.
sudo reboot
On redhat/main, along with i915 we are backporting dmabuf and drm. Since dmabuf is part of base kernel, we need to blacklist dmabuf by adding "initcall_blacklist=sync_debugfs_init,dma_buf_init" in kernel command line.
Please grep backport from dmesg after reboot. you should see something like below
> sudo dmesg |grep -i backport
[sudo] password for gta:
[2.684355] DMABUF-COMPAT BACKPORTED INIT
[2.684371] Loading dma-buf modules backported from I915-23.5.15
[2.684372] DMA BUF backport generated by backports.git RHEL_88_23.5.15_PSB_230406.17
[2.684910] I915 COMPAT BACKPORTED INIT
[2.684911] Loading I915 modules backported from I915-23.5.15
[2.684912] I915 Backport generated by backports.git RHEL_88_23.5.15_PSB_230406.17
[2.702432] [drm] DRM BACKPORTED INIT
[2.724641] [drm] DRM_KMS_HELPER BACKPORTED INIT
[2.838672] [drm] I915 BACKPORTED INIT