How To Install i965-va-driver-shaders on Ubuntu 18.04

In this tutorial we learn how to install i965-va-driver-shaders on Ubuntu 18.04. i965-va-driver-shaders is VAAPI driver for Intel G45 & HD Graphics family

Introduction

In this tutorial we learn how to install i965-va-driver-shaders on Ubuntu 18.04.

What is i965-va-driver-shaders

i965-va-driver-shaders is:

The VA-API (Video Acceleration API) enables hardware accelerated video decode/encode at various entry-points (VLD, IDCT, Motion Compensation etc.) for the prevailing coding standards today (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/WMV3). It provides an interface to fully expose the video decode capabilities in today’s GPUs.

This package contains the video decode and encode driver backend for the Intel G45 chipsets and Intel HD Graphics for the Intel Core processor family. The supported platforms include:

  • Cantiga, Intel GMA 4500MHD (GM45)
  • Ironlake, Intel HD Graphics for 2010 Intel Core processor family
  • Sandy Bridge, Intel HD Graphics for 2011 Intel Core processor family
  • Ivy Bridge
  • Haswell
  • Broadwell
  • Skylake
  • Kaby Lake
  • Coffee Lake
  • Cannon Lake

This package contains also contains the non-free encode shaders for VP8, VP9, HEVC and AVC for generation 7.5 hardware a newer.

There are three methods to install i965-va-driver-shaders on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install i965-va-driver-shaders Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install i965-va-driver-shaders using apt-get by running the following command:

sudo apt-get -y install i965-va-driver-shaders

Install i965-va-driver-shaders Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install i965-va-driver-shaders using apt by running the following command:

sudo apt -y install i965-va-driver-shaders

Install i965-va-driver-shaders Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install i965-va-driver-shaders using aptitude by running the following command:

sudo aptitude -y install i965-va-driver-shaders

How To Uninstall i965-va-driver-shaders on Ubuntu 18.04

To uninstall only the i965-va-driver-shaders package we can use the following command:

sudo apt-get remove i965-va-driver-shaders

Uninstall i965-va-driver-shaders And Its Dependencies

To uninstall i965-va-driver-shaders and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove i965-va-driver-shaders

Remove i965-va-driver-shaders Configurations and Data

To remove i965-va-driver-shaders configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge i965-va-driver-shaders

Remove i965-va-driver-shaders configuration, data, and all of its dependencies

We can use the following command to remove i965-va-driver-shaders configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge i965-va-driver-shaders

References

Summary

In this tutorial we learn how to install i965-va-driver-shaders package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.