How To Install mesa-va-drivers on Ubuntu 20.04

In this tutorial we learn how to install mesa-va-drivers on Ubuntu 20.04. mesa-va-drivers is Mesa VA-API video acceleration drivers Mesa VA-API video acceleration drivers

Introduction

In this tutorial we learn how to install mesa-va-drivers on Ubuntu 20.04.

What is mesa-va-drivers

mesa-va-drivers is:

These libraries provide the Video Acceleration API (VA-API) for Unix. They provide accelerated video playback (incl. H.264) and video post-processing for the supported graphics cards.

This package enables support for VA-API for some gallium drivers. Task: kubuntu-desktop, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: mesa-va-drivers Architecture: amd64 Version: 20.0.4-2ubuntu1 Multi-Arch: same Priority: optional Section: universe/libs Source: mesa Origin: Ubuntu Maintainer: Ubuntu X-SWAT [email protected] Original-Maintainer: Debian X Strike Force [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 26780 Provides: va-driver Depends: libc6 (>= 2.29), libdrm-amdgpu1 (>= 2.4.100), libdrm-nouveau2 (>= 2.4.66), libdrm-radeon1 (>= 2.4.31), libdrm2 (>= 2.4.75), libelf1 (>= 0.142), libexpat1 (>= 2.0.1), libgcc-s1 (>= 3.4), libllvm9 (>= 1:9~svn298832-1~), libstdc++6 (>= 5.2), libx11-xcb1 (>= 2:1.6.9), libxcb-dri2-0 (>= 1.8), libxcb-dri3-0, libxcb-present0, libxcb-sync1, libxcb-xfixes0, libxcb1 (>= 1.9.2), libxshmfence1, libzstd1 (>= 1.3.2), zlib1g (>= 1:1.1.4) Breaks: vdpau-va-driver (« 0.7.4-5) Replaces: vdpau-va-driver (« 0.7.4-5) Enhances: libva2 Filename: pool/universe/m/mesa/mesa-va-drivers_20.0.4-2ubuntu1_amd64.deb Size: 2415676 MD5sum: dc4278793b6d537f063931e351ab3610 SHA1: 4bf504e0e7c616b2005b84a34be13faeeff59804 SHA256: 0a3317be03915bc0f0fccd729216c7f54ccbd97aada1177bef5db519155ca78a Homepage: https://mesa3d.org/ Description-en: Mesa VA-API video acceleration drivers These libraries provide the Video Acceleration API (VA-API) for Unix. They provide accelerated video playback (incl. H.264) and video post-processing for the supported graphics cards.

This package enables support for VA-API for some gallium drivers. Task: kubuntu-desktop, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

There are three methods to install mesa-va-drivers on Ubuntu 20.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 mesa-va-drivers Using apt-get

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

sudo apt-get update

After updating apt database, We can install mesa-va-drivers using apt-get by running the following command:

sudo apt-get -y install mesa-va-drivers

Install mesa-va-drivers Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install mesa-va-drivers using apt by running the following command:

sudo apt -y install mesa-va-drivers

Install mesa-va-drivers 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 mesa-va-drivers using aptitude by running the following command:

sudo aptitude -y install mesa-va-drivers

How To Uninstall mesa-va-drivers on Ubuntu 20.04

To uninstall only the mesa-va-drivers package we can use the following command:

sudo apt-get remove mesa-va-drivers

Uninstall mesa-va-drivers And Its Dependencies

To uninstall mesa-va-drivers and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove mesa-va-drivers

Remove mesa-va-drivers Configurations and Data

To remove mesa-va-drivers configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge mesa-va-drivers

Remove mesa-va-drivers configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge mesa-va-drivers

References

Summary

In this tutorial we learn how to install mesa-va-drivers package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.