Skip to content

Latest commit

 

History

History
116 lines (90 loc) · 3.85 KB

README_sles.md

File metadata and controls

116 lines (90 loc) · 3.85 KB

SLES® Supported OS Kernel/Distribution

This repository contains the following drivers.

  1. Intel® Graphics Driver Backports(i915) - The main graphics driver (includes a compatible DRM subsystem and dmabuf if necessary)
  2. Intel® Converged Security Engine(CSE) - Converged Security Engine
  3. Intel® Platform Monitoring Technology(PMT/VSEC) - Intel® Platform Telemetry

Our current backport supports the following OS Distribution.

OS Distribution OS Version Kernel Version
SLES® 15SP6 6.4.0.150600.xx
SLES® 15SP5 5.14.21.150500.xx
SLES® 15SP4 5.14.21.150400.xx

Prerequisite

We have dependencies on the following packages

  • make
  • glibc-devel
  • rpm-build
  • flex
  • bison
  • gawk
$ sudo zypper install make glibc-devel rpm-build bison flex gawk

For DKMS modules, we need to install dkms and lsb-release packages too.

$ sudo zypper install dkms lsb-release

Dependencies

These drivers have a 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

Each project is tagged consistently, so when pulling these repos, pull the same tag.

Package creation

Dynamic Kernel Module Support(DKMS)

Creating i915 DKMS packages

$ make <Build Options> <DKMS Package Target>

Example:
        $ make i915dkmsrpm-pkg

    Generated package name :
	intel-i915-dkms-1.23.6.24.230425.29-1.x86_64.rpm

Above command will create rpm packages at $HOME/rpmbuild/RPMS/x86_64/

DKMS Kernel Headers Requirement

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 versions 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 zypper ref -s && sudo zypper install -y kernel-default-<SLES15_SP6_KERNEL_VERSION> \
kernel-syms-<SLES15_SP6_KERNEL_VERSION>

Example:
       $ sudo zypper ref -s && sudo zypper install -y kernel-default-6.4.0_150600.21 \
       kernel-syms-6.4.0_150600.21

Binary RPM

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 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 command will create rpm packages at $HOME/rpmbuild/RPMS/x86_64/

Build Options

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.

Installation and verification

$ sudo rpm -ivh intel-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.

Uninstallation

$ sudo rpm -e intel-i915*

Reboot the device after uninstallation of all packages.

$ sudo reboot