Install Intel Media Studio SDK and GPU driver from Intel Media Server Studio 2018 R1 – CentOS 7 (7.4.1708)

Author:

This tutorial shows how to install GPU video Driver for Intel Internal Graphics – the GPU unit in Intel processors and the Intel Media SDK to enable hardware video decoding and encoding capabilities of the Intel processors with GPU builtin.

Installing Media Server Studio your system will get validated stack of software by Intel to build application against Media SDK interface. So you’ll put in your system not only Intel software but the proper version of the libraries, on which the Intel Media SDK depends on. At the end your application will link to the Intel libmfx dispatcher. Basically you get:

  • libmfx.a dispatcher – the API for your application
  • libmfxhw64.so hardware implementation
  • related libraries (including OpenCL)
  • specific versions for libva and libdrm
  • user mode driver
  • modified i915 graphics driver module
  • kernel patches

STEP 1) Enable internal graphics in your system.

Not only you have to enable the internal graphics from the BIOS of your motherboard, but you must verify the mother board supports internal graphics. Here is the tutorial for the SUPERMICRO servers – “Enable internal graphics in SUPERMICRO servers”. As you can see from the link, for SUPEMICRO servers you will need:

Intel Xeon E3-1200 v4 Family with C226 chipset
Intel Xeon E3-1200 and E3-1500 v5 Family with C236 chipset

But you can use a Desktop processor like Intel i3, i5, i7, which have builtin GPU and the chances the motherboard supports it is really big, just enable it from the BIOS.

STEP 2) Install the right CentOS 7 – 7.4.1708

We need this specific version, because at present the latest version of Intel Media Server Studio requires it. Intel support only this specific version with their latest Intel Media Server Studio 2018 R1 – we need it because it ships the needed Intel GPU driver and the right libraries to compile against. Here is a howto how you can install this version – Howto do a netinstall of CentOS 7 – minimal server installation Now this version is deprecated so you could have problems finding it. Here is the right place – http://vault.centos.org/7.4.1708/isos/x86_64/ Just follow the instructions for downloading.
Check the right version of the CentOS 7 and whether you enabled successfully the Internal Graphics in the BIOS:

[root@srv ~]# cat /etc/centos-release
CentOS Linux release 7.4.1708 (Core) 
[root@srv ~]# uname -a
Linux conv11.mytv.bg 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@srv ~]# lspci |grep Display
00:02.0 Display controller: Intel Corporation Iris Pro Graphics P580 (rev 09)

Iris Pro Graphics P580 (rev 09)

is the GPU unit of “Intel(R) Xeon(R) CPU E3-1585 v5 @ 3.50GHz”. If you do not see it with lspci you woud not be able to proceed with the steps below.

STEP 3) Download Intel Media Server Studio 2018 R1

We have another howto to follow for this step. Because Intel want to register before downloading it we made another howto with the steps and what to expect in the Intel Media Server Studio 2018 R1 package – just follow the simple steps (to register and download): “Download, what is in the package Intel Media Server Studio 2018 R1 and which linux distro it supports”

STEP 4) Install Intel Media Studio SDK from Intel Media Server Studio 2018 R1

It assumes you are the root user, downloaded the MediaServerStudioEssentials2018R1.tar.gz from the previous step (step 3) and put the file in /root/ directory.

[root@srv ~]# ls -la MediaServerStudioEssentials2018R1.tar.gz
-rw-r--r--. 1 root root 576084887 18 Jun 13,20 MediaServerStudioEssentials2018R1.tar.gz
[root@srv ~]# tar xzvf MediaServerStudioEssentials2018R1.tar.gz
MediaServerStudioEssentials2018R1/
MediaServerStudioEssentials2018R1/Intel(R)_Media_Server_Studio_EULA.pdf
MediaServerStudioEssentials2018R1/Intel_SDK_for_OpenCL_2017_r2_release_notes.pdf
MediaServerStudioEssentials2018R1/MediaSamples_Linux_2018R1_b982.tar.gz.sig
MediaServerStudioEssentials2018R1/site_license_materials.txt
MediaServerStudioEssentials2018R1/third_party_programs.txt
MediaServerStudioEssentials2018R1/redist.txt
MediaServerStudioEssentials2018R1/media_server_studio_essentials_release_notes.pdf
MediaServerStudioEssentials2018R1/MediaSamples_Linux_2018R1_b982.tar.gz
MediaServerStudioEssentials2018R1/intel_sdk_for_opencl_2017_7.0.0.2580_x64.tgz
MediaServerStudioEssentials2018R1/SDK2018Production16.8.tar.gz
[root@srv ~]# cd MediaServerStudioEssentials2018R1/
[root@srv MediaServerStudioEssentials2018R1]# tar xzvf SDK2018Production16.8.tar.gz
SDK2018Production16.8/
SDK2018Production16.8/Generic/
SDK2018Production16.8/Generic/intel-opencl-16.8-67208.x86_64.tar.xz
SDK2018Production16.8/Generic/intel-opencl-devel-16.8-67208.x86_64.tar.xz
SDK2018Production16.8/Generic/intel-linux-media_generic_16.8-69021_64bit.tar.gz
SDK2018Production16.8/Generic/NOTICES.TXT
SDK2018Production16.8/Generic/intel-linux-media_generic_16.8-69021_64bit.tar.gz.sig
SDK2018Production16.8/Generic/vpg_ocl_linux_rpmdeb.public
SDK2018Production16.8/Generic/intel-opencl-cpu-16.8-67208.x86_64.tar.xz
SDK2018Production16.8/media_server_studio_getting_started_guide.pdf
SDK2018Production16.8/CentOS_7.4/
SDK2018Production16.8/CentOS_7.4/libdrm-2.4.74-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/mss-linux-xcode-media.public
SDK2018Production16.8/CentOS_7.4/MediaSamples_Linux_bin-16.8-69021.tar.gz.sig
SDK2018Production16.8/CentOS_7.4/MediaSamples_Linux_bin-16.8-69021.tar.gz
SDK2018Production16.8/CentOS_7.4/intel-linux-media-devel-16.8-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/intel-opencl-cpu-16.8-67208.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/intel-linux-media-16.8-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/NOTICES.TXT
SDK2018Production16.8/CentOS_7.4/install_scripts_centos_16.8-69021.tar.gz
SDK2018Production16.8/CentOS_7.4/install_scripts_centos_16.8-69021.tar.gz.sig
SDK2018Production16.8/CentOS_7.4/ukmd-kmod-16.8-69021.el7.centos.src.rpm
SDK2018Production16.8/CentOS_7.4/kmod-ukmd-16.8-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/libva-2.0.1.pre1-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/drm-utils-2.4.74-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/libdrm-devel-2.4.74-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/intel-opencl-devel-16.8-67208.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/intel-opencl-16.8-67208.x86_64.rpm
SDK2018Production16.8/CentOS_7.4/vpg_ocl_linux_rpmdeb.public
SDK2018Production16.8/CentOS_7.4/libva-devel-2.0.1.pre1-69021.el7.centos.x86_64.rpm
SDK2018Production16.8/intel-opencl-release-notes.pdf
SDK2018Production16.8/media_server_studio_fei_release_notes.pdf
SDK2018Production16.8/media_server_studio_sdk_release_notes.pdf
[root@srv MediaServerStudioEssentials2018R1]# cd SDK2018Production16.8/CentOS_7.4/
[root@srv CentOS_7.4]# tar xzvf install_scripts_centos_16.8-69021.tar.gz
install_sdk_CentOS.sh
uninstall_sdk_CentOS.sh
[root@srv CentOS_7.4]# ./install_sdk_CentOS.sh
Checking yum by paramters "--releasever=7.4.1708"...
Loaded plugins: fastestmirror
Determining fastest mirrors
Cannot find a valid baseurl for repo: base/7.4.1708/x86_64
Checking yum by paramters "--releasever=7.4.1708"...Failed!
This Version of MediaServerStudio has been validated against CentOS 7.4.1708.
To install MediaServerStudio there is a requirement to install packages using yum package manager.
yum package manager automatically installs from latest CentOS released version repository.
If CentOS latest release version is newer than 7.4.1708, yum will default to install packages from this repository.
This could lead to packages been installed that could conflict with this version of MediaServerStudio and cause installation to fail.
It is ultimate responsibility of user to manage yum repositories to ensure that packages installed during installation of MediaServerStudio using yum package manger are installed from correct repository.
For more information on CentOS version please see: "https://wiki.centos.org/FAQ/General#head-dcca41e9a3d5ac4c6d900a991990fd11930867d6"


User has 3 options to proceed with installation:
1: (default) Installation Script will automatically attempt to enable correct repositories to install from.
2: User can manually edit yum repository files to ensure yum installs from correct repository, i.e. "--releasever=7.4.1708" is workable.
   If this option is chosen installation will abort then user need to fix yum repository files and run this script again.
3: Force installation from default yum repository, i.e. using "--releasever=7" yum option (ONLY for advanced users who clearly know what will happen)

If no response in 120 seconds option 1 will be default [1]2

   Here is an example how to fix yum repository file but just for information -
   Edit /etc/yum.repos.d/CentOS-Base.repo, comment out the mirrorlist lines, uncomment and edit the baseurl lines for each entry to point to correct URL -
   (a)
   ====================================================================================================
   #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
   baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
   ====================================================================================================
   OR (b)
   ====================================================================================================
   #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
   baseurl=http://vault.centos.org/centos/$releasever/os/$basearch/
   ====================================================================================================
   The reason of (b) is centos will move from mirror to vault for old versions then (a) won't work any longer.
   One example for old CentOS7.2 is
       http://mirror.centos.org/centos/7.2.1511/readme
   It is expected the same deprecation of mirror will happen one day for CentOS7.4, too.

Please finish the modification and re-run the script to install.

Edit your

/etc/yum.repos.d/CentOS-Base.repo

and put in it the following:

[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
baseurl=http://vault.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

Execute the installation script again (full log of the installation you can see at the end of the howto):

[root@srv CentOS_7.4]# ./install_sdk_CentOS.sh 
Checking yum by paramters "--releasever=7.4.1708"...
Loaded plugins: fastestmirror
base                                                                                                                                           | 3.6 kB  00:00:00     
(1/2): base/7.4.1708/x86_64/group_gz                                                                                                           | 156 kB  00:00:00     
(2/2): base/7.4.1708/x86_64/primary_db                                                                                                         | 5.7 MB  00:00:01     
Determining fastest mirrors
Checking yum by paramters "--releasever=7.4.1708"...Succeeded!
Installing prerequisiters with yum parameters "--releasever=7.4.1708"...
Loaded plugins: fastestmirror
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.69-11.el7 will be installed
--> Processing Dependency: perl >= 5.006 for package: autoconf-2.69-11.el7.noarch
...
...
...
Complete!
Installing prerequisiters with yum parameters "--releasever=7.4.1708"...Succeeded!
Installing user-space library rpms...
warning: libdrm-2.4.74-69021.el7.centos.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID a9b021f4: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:libdrm-2.4.74-69021.el7.centos   ################################# [  9%]
   2:libva-2.0.1.pre1-69021.el7.centos################################# [ 18%]
   3:intel-linux-media-16.8-69021.el7.################################# [ 27%]
Install finished. Please reboot.
   4:intel-opencl-16.8-67208          ################################# [ 36%]
   5:intel-opencl-cpu-16.8-67208      ################################# [ 45%]
   6:intel-linux-media-devel-16.8-6902################################# [ 55%]
   7:libva-devel-2.0.1.pre1-69021.el7.################################# [ 64%]
   8:libdrm-devel-2.4.74-69021.el7.cen################################# [ 73%]
   9:drm-utils-2.4.74-69021.el7.centos################################# [ 82%]
  10:intel-opencl-devel-16.8-67208    ################################# [ 91%]
Cleaning up / removing...
  11:libdrm-2.4.74-1.el7              ################################# [100%]
Installing kmod-ukmd-16.8-69021...
warning: kmod-ukmd-16.8-69021.el7.centos.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID a9b021f4: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:kmod-ukmd-16.8-69021.el7.centos  ################################# [100%]
Working. This may take some time ...
Done.

Installation done. Please reboot.
[root@srv CentOS_7.4]# reboot

You can see this time the installation script completed successfully. You should reboot to load the Intel GPU driver.

STEP 5) Verify the installation of Intel GPU driver and Intel Media Studio SDK

After you reboot your machine you should check if the Intel GPU driver is loaded and is working properly:

[root@srv ~]# ls /opt/intel/mediasdk/
doc  include  lib  lib64  opensource  plugins  tools
[root@conv11 ~]# lsmod | grep 'i915'
i915                 1328806  1 
drm_ukmd_kms_helper   141366  1 i915
drm_ukmd_compat       122928  2 i915,drm_ukmd_kms_helper
drm_ukmd              369737  3 i915,drm_ukmd_kms_helper
i2c_algo_bit           13413  3 ast,igb,i915
video                  24520  1 i915
i2c_core               40756  10 ast,drm,igb,i915,i2c_i801,i2c_hid,drm_kms_helper,i2c_algo_bit,drm_ukmd,drm_ukmd_kms_helper
[root@srv ~]# dmesg|grep drm
[    2.114138] drm: loading out-of-tree module taints kernel.
[    2.114269] drm: module verification failed: signature and/or required key missing - tainting kernel
[    2.115431] [drm] Initialized
[    2.120228] [drm_ukmd] Initialized drm_ukmd module
[    2.120643] Initialized drm/i915 compat module 20180222-16.8-69021-k0260ae1
[    2.128447] [drm_ukmd] Found 128MB of eLLC
[    2.128686] [drm_ukmd] Memory usable by graphics device = 4096M
[    2.128690] [drm_ukmd] Replacing VGA console driver
[    2.135059] [drm_ukmd] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.135060] [drm_ukmd] Driver supports precise vblank timestamp query.
[    2.180772] [drm_ukmd] failed to retrieve link info, disabling eDP
[    2.182319] [drm_ukmd] Cannot find any crtc or sizes - going 1024x768
[    2.182355] [drm_ukmd] RC6 disabled, disabling runtime PM support
[    2.182362] [drm_ukmd] Initialized i915 1.6.0 20180222-16.8-69021-k0e37c29 for 0000:00:02.0 on minor 0
[    2.182443] [drm] Using P2A bridge for configuration
[    2.182447] [drm] AST 2400 detected
[    2.182457] [drm] Analog VGA only
[    2.182471] [drm] dram 1632000000 1 16 01000000
[    2.182663] i915 0000:00:02.0: fb1: inteldrmfb frame buffer device
[    2.187145] fb: conflicting fb hw usage astdrmfb vs EFI VGA - removing generic driver
[    2.187277] fbcon: astdrmfb (fb0) is primary device
[    2.228185] ast 0000:03:00.0: fb0: astdrmfb frame buffer device
[    2.346863] [drm] Initialized ast 0.1.0 20120228 for 0000:03:00.0 on minor 1
[    3.767992] [drm_ukmd] RC6 off
[    3.769801] [drm_ukmd] The Ring/GT multiplier is 2
[root@srv ~]# ls -altr /dev/dri/
total 0
drwxr-xr-x.  2 root root       120 26 Jun  1,35 .
crw-rw----.  1 root video 226, 128 26 Jun  1,35 renderD128
crw-------.  1 root video 226,  64 26 Jun  1,35 controlD64
crw-rw----.  1 root video 226,   0 26 Jun  1,35 card0
crw-rw----.  1 root video 226,   1 26 Jun  1,35 card1
drwxr-xr-x. 19 root root      3220 26 Jun  1,35 ..
[root@srv ~]#

The Intel Graphic Driver is loaded successfully as you can see, it is very important to have a directory

/dev/dri/

and “dev” devices like

/dev/dri/renderD128

/dev/dri/controlD64

/dev/dri/card0 or/and /dev/dri/card1

After the reboot if you get

[root@srv ~]# ls -altr /dev/dri/
ls: cannot access /dev/dri/: No such file or directory

see the troubleshooting section below!
You can use a sample program from the SDK to verify everything is installed properly – the Driver and the libraries are installed and loaded.

[root@srv ~]# cd MediaServerStudioEssentials2018R1
[root@srv MediaServerStudioEssentials2018R1]# tar xzf MediaSamples_Linux_2018R1_b982.tar.gz
[root@srv MediaServerStudioEssentials2018R1]# 
[root@srv ~]# cd MediaServerStudioEssentials2018R1/MediaSamples_Linux_2018R1_b982/samples/_bin/x64/
[root@srv x64]# ./sample_multi_transcode -i::h264 ../content/test_stream.264 -o::h264 test_out.h264 -hw -la
Multi Transcoding Sample Version 8.2.25.982

libva info: VA-API version 1.0.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
Pipeline surfaces number (DecPool): 59
MFX HARDWARE Session 0 API ver 1.25 parameters: 
Input  video: AVC 
Output video: AVC 

Session 0 was NOT joined with other sessions

Transcoding started
..
Transcoding finished

Common transcoding time is 0.139387 sec
-------------------------------------------------------------------------------
*** session 0 PASSED (MFX_ERR_NONE) 0.139182 sec, 101 frames
-i::h264 ../content/test_stream.264 -o::h264 test_out.h264 -hw -la 

-------------------------------------------------------------------------------

The test PASSED

The test is “PASSED”, the sample stream is transcoded successfully with hardware accelaration.

* Troubleshooting – missing /dev/dri/ directory and no KMS by default!

[root@srv ~]# ls /opt/intel/mediasdk/
doc  include  lib  lib64  opensource  plugins  tools
[root@srv ~]# lsmod | grep 'i915'
i915                 1328806  0 
drm_ukmd_kms_helper   141366  1 i915
drm_ukmd_compat       122928  2 i915,drm_ukmd_kms_helper
drm_ukmd              369737  2 i915,drm_ukmd_kms_helper
i2c_algo_bit           13413  2 igb,i915
video                  24520  1 i915
i2c_core               40756  10 drm,igb,i915,i2c_i801,i2c_hid,ipmi_ssif,drm_kms_helper,i2c_algo_bit,drm_ukmd,drm_ukmd_kms_helper
[root@srv ~]# dmesg|grep drm
[    2.111649] drm: loading out-of-tree module taints kernel.
[    2.111752] drm: module verification failed: signature and/or required key missing - tainting kernel
[    2.112516] [drm] Initialized
[    2.115745] [drm_ukmd] Initialized drm_ukmd module
[    2.116043] Initialized drm/i915 compat module 20180222-16.8-69021-k0260ae1
[root@srv ~]#
[root@srv ~]# ls -altr /dev/dri/
ls: cannot access /dev/dri/: No such file or directory

If you see the above error of missing

/dev/dri

directory, but the driver seems loaded it is because by default on some systems the modsetting is off (KMS – https://en.wikipedia.org/wiki/Mode_setting) and now thw driver is half working. So you need to remove the driver and load it with a parameter:

[root@srv ~]# rmmod i915
[root@srv ~]# modprobe i915 modeset=1
[root@srv ~]# dmesg|grep drm
[    2.111649] drm: loading out-of-tree module taints kernel.
[    2.111752] drm: module verification failed: signature and/or required key missing - tainting kernel
[    2.112516] [drm] Initialized
[    2.115745] [drm_ukmd] Initialized drm_ukmd module
[    2.116043] Initialized drm/i915 compat module 20180222-16.8-69021-k0260ae1
[  594.423711] [drm_ukmd] Found 128MB of eLLC
[  594.423942] [drm_ukmd] Memory usable by graphics device = 4096M
[  594.423945] [drm_ukmd] Replacing VGA console driver
[  594.429823] [drm_ukmd] Supports vblank timestamp caching Rev 2 (21.10.2013).
[  594.429823] [drm_ukmd] Driver supports precise vblank timestamp query.
[  594.470490] [drm_ukmd] failed to retrieve link info, disabling eDP
[  594.472353] [drm_ukmd] Cannot find any crtc or sizes - going 1024x768
[  594.472705] i915 0000:00:02.0: fb1: inteldrmfb frame buffer device
[  594.479838] [drm_ukmd] RC6 disabled, disabling runtime PM support
[  594.479841] [drm_ukmd] Initialized i915 1.6.0 20180222-16.8-69021-k0e37c29 for 0000:00:02.0 on minor 0
[  595.771996] [drm_ukmd] RC6 off
[  595.772030] [drm_ukmd] The Ring/GT multiplier is 2

You see a lot more information for “drm” in “dmesg” and the “dev” devices are here:

[root@srv ~]# ls -al /dev/dri/
total 0
drwxr-xr-x.  2 root root       100 25 Jun 13,20 .
drwxr-xr-x. 19 root root      3220 26 Jun  0,24 ..
crw-rw----.  1 root video 226,   0 25 Jun 13,20 card0
crw-------.  1 root video 226,  64 25 Jun 13,20 controlD64
crw-rw----.  1 root video 226, 128 25 Jun 13,20 renderD128
[root@srv ~]#

If you see the “/dev/dri/renderD128” the Intel GPU driver is loaded correctly and you can use hardware video decoding and encoding.
It is a good practice to enable it by default (of course, if it wasn’t by default! If in your system the KMS load by default you can skip it):
First check if in /etc/default/grub there is “nomodeset” in “GRUB_CMDLINE_LINUX” and remove it and update your grub2 configuration with (the BIOS of the server is in UEFI mode for sure if you want to have KMS):

[root@srv ~]# grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg 
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-693.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-693.el7.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-c1a8b43c94cb4b5caa8786ca5e85211c
Found initrd image: /boot/initramfs-0-rescue-c1a8b43c94cb4b5caa8786ca5e85211c.img
done
[root@srv ~]# reboot

Reboot and check again if the driver loaded with modsetting (KMS) enabled. If it is still not loaded properly you could try to add to “/etc/default/grub” in “GRUB_CMDLINE_LINUX” the following (just add the two options to the other options in the variable – you could try first only the first one, because preliminary_hw_support could lead to instability in some hardware):

GRUB_CMDLINE_LINUX="i915.modeset=1 i915.preliminary_hw_support=1"

And then againt regenerate the grub2 config with:

[root@srv ~]# grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg 
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-693.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-693.el7.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-c1a8b43c94cb4b5caa8786ca5e85211c
Found initrd image: /boot/initramfs-0-rescue-c1a8b43c94cb4b5caa8786ca5e85211c.img
done
[root@srv ~]# reboot

Now you should have “/dev/dri” directory.

* Full log of the installation

Click on the second page.

3 thoughts on “Install Intel Media Studio SDK and GPU driver from Intel Media Server Studio 2018 R1 – CentOS 7 (7.4.1708)”

  1. After running ./install_sdk_CentOS.sh /dev/dri/ was there. But after reboot, there is no /dev/dri. So i have done your GRUB_CMDLINE_LINUX entry, still after reboot there is no /dev/dri/.
    Machine details ::
    1. [ cat /proc/cpuinfo] –> model name : Intel(R) Core(TM) i7-7700T CPU @ 2.90GHz
    2. [lspci | grep VGA] –> 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)

    1. Can you check if there is “nomodeset” in GRUB_CMDLINE_LINUX? If there were you should delete it? To take effect this option (the remove of the option) you MUST make a new grub2 configuration and reboot. So remove “nomodeset” from GRUB_CMDLINE_LINUX and execute:
      [root@srv ~]# grub2-mkconfig -o /boot/grub2/grub.cfg
      Generating grub configuration file …
      Found linux image: /boot/vmlinuz-3.10.0-862.14.4.el7.x86_64
      Found initrd image: /boot/initramfs-3.10.0-862.14.4.el7.x86_64.img
      Found linux image: /boot/vmlinuz-3.10.0-862.11.6.el7.x86_64
      Found initrd image: /boot/initramfs-3.10.0-862.11.6.el7.x86_64.img
      Found linux image: /boot/vmlinuz-3.10.0-862.3.2.el7.x86_64
      Found initrd image: /boot/initramfs-3.10.0-862.3.2.el7.x86_64.img
      Found linux image: /boot/vmlinuz-3.10.0-693.el7.x86_64
      Found initrd image: /boot/initramfs-3.10.0-693.el7.x86_64.img
      Found linux image: /boot/vmlinuz-0-rescue-cc7889764e86441b8d1eb54e29e81a91
      Found initrd image: /boot/initramfs-0-rescue-cc7889764e86441b8d1eb54e29e81a91.img
      done
      [root@srv ~]# reboot

Leave a Reply

Your email address will not be published. Required fields are marked *