Enabling Intel Quick Sync Video¶
Intel Quick Sync Video™ is a hardware acceleration technology for video processing on modern Intel CPUs. It dramatically increases video transcoding performance by using build-in GPU (graphics processing unit) of Intel processors.
Prerequisites¶
Currently Intel Quick Sync Video has the following requirements:
CentOS 7.2
Intel® Xeon® Processor E3-12xx series with Intel HD Graphics 4200+ and motherboard with C226 chipset
4th Generation Intel Core™ Processors with Intel® Iris™ Pro Graphics, Intel Iris Graphics or Intel HD Graphics 4200+ Series (with motherboards 8X chipset series (Q85, Q87, B85, H81, H87, Z87))
5th Generation Intel Core™ Processors with Intel Iris™ Pro Graphics, Intel Iris Graphics or Intel HD Graphics 5000/6000+ Series (with motherboards 8X chipset series (Q85, Q87, B85, H81, H87, Z87))
Please note that XEON processors require C226 chipset. This is not relevant for Core processors. If you have different hardware configuration, Intel Quick Sync Video probably won’t work!
We have successfully tested Intel Quick Sync Video with the following hardware configurations:
Intel Xeon E3-1225, E3-1245, E-1246, E3-1276, E3-1285, E3-1286 with SuperMicro X10SLH-F and Intel S1200V3RPM motherboards (C226 chipset)
Intel Core i7-4790, i5-4590, i5-4570
To quickly check your hardware, use the modified Intel system analyzer:
wget http://repo.streambuilder.pro/open/binary/sb_sys_analyzer_linux.py
python sb_sys_analyzer_linux.py
Enabling Intel Quick Sync on CentOS¶
Get the [CentOS 7.2][1] installed on the server. Make sure that
lspci -nn -s 0:02.0 displays only Intel Graphic Controller:
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3 Processor Integrated Graphics Controller [8086:041a] (rev 06)
To enable Intel Quick Sync Video on CentOS 7, download and apply kernel
patch 3.10.0-229.el7.x86_64. The command below must be executed
as a non-privileged user (not ``root``!):
wget -q http://repo.streambuilder.pro/open/binary/mss_install.sh -O mss_install.sh && bash mss_install.sh
After kernel patching is completed, reboot the server so changes may take effect. Intel Quick Sync Video will be enabled.
Note: the above method is suitable only for Intel® Xeon® E3-1200 v3/v4 Family processors. To install Intel® Media Server Studio for Intel® Xeon® E3-1200 and E3-1500 v5 Family refer to Intel Xeon v5 Family processors
Kernel options¶
If you are experiencing hang on boot or hardware acceleration still not working, you may need to add kernel options to GRUB.
Open /etc/default/grub and search for GRUB_CMDLINE_LINUX variable.
Append the following line to its’ value:
- ::
i915.enable_rc6=0 i915.disable_display=1 i915.verbose_state_checks=1
Update GRUB configuration:
- ::
grub2-mkconfig -o /boot/grub2/grub.cfg
Reboot and check the hardware acceleration.
Following CPU models and mainboard are probably affected:
Intel(R) Xeon(R) CPU E3-1285 v4 3.50GHz w/ Supermicro X10SLH-F
Intel(R) Xeon(R) CPU E3-1285 v3 3.60GHz w/ Supermicro X10SLH-F
Enabling Intel Quick Sync on C226 chipset¶
By default Intel QSV is not enabled for video encoding acceleration. Follow steps below to enable it (on Supermicro X10SLH-F, other mainboard may have differencies):
Setup and configure your server to start SSH server. Make sure you have a remote access to your server.
Update BIOS firmware version to the latest one.
In BIOS disable offboard video card: Advanced (top menu) -> Chipset Configuration -> System Agent Configuration -> Graphic Configuration -> Internal Graphics. Switch to “Enabled”. Save changes and exit.
Turn power off. Disable VGA output by switching JPG1 jumper to the position 2-3 (as shown below). Refer to the mainboard manual for more information. [X10SLH-F VGA jumper location]