Mesa driver linux установка

How To Install Mesa Drivers on Ubuntu 20.04 LTS

In this tutorial, we will show you how to install Mesa Drivers on Ubuntu 20.04 LTS. For those of you who didn’t know, Mesa Drivers is an open-source graphics driver of Radeon, Intel, and Nvidia. Over the 20+ years in the Linux and open-source industry, the mesa drivers project has expanded to implement more graphics APIs such as OpenGL ES, OpenCL, OpenMAX, VDPAU, VA API, XVMC, Vulcan, EGL, etc

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘ sudo ‘ to the commands to get root privileges. I will show you the step-by-step installation of the Mesa Drivers open-source graphics drivers of Radeon, Intel, and Nvidia on Ubuntu 20.04 (Focal Fossa). You can follow the same instructions for Ubuntu 18.04, 16.04, and any other Debian-based distribution like Linux Mint.

Prerequisites

  • A server running one of the following operating systems: Ubuntu 20.04, 18.04, and any other Debian-based distribution like Linux Mint.
  • It’s recommended that you use a fresh OS install to prevent any potential issues
  • A non-root sudo user or access to the root user . We recommend acting as a non-root sudo user , however, as you can harm your system if you’re not careful when acting as the root.

Install Mesa Drivers on Ubuntu 20.04 LTS Focal Fossa

Step 1. First, make sure that all your system packages are up-to-date by running the following apt commands in the terminal.

sudo apt update sudo apt upgrade sudo apt install mesa-utils

Step 2. Installing Mesa Drivers on Ubuntu 20.04.

By default, Mesa Drivers is not available on Ubuntu 20.04 base repository. Now run the following command below to add the Kisak-table PPA to your Ubuntu system:

sudo add-apt-repository ppa:kisak/kisak-mesa

Then, update apt packages and install Mesa Drivers using the following command below:

sudo apt update sudo apt install mesa

You can check if your system uses Mesa and the installed versions using this command:

Congratulations! You have successfully installed Mesa. Thanks for using this tutorial for installing the Mesa Drivers open-source graphics drivers of Radeon, Intel, and Nvidia on the Ubuntu 20.04 LTS Focal Fossa system. For additional help or useful information, we recommend you check the official Mesa website.

If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!

Читайте также:  Kali linux disable firewall

Источник

How to Install The Latest Mesa Graphics Driver in Ubuntu 20.04 / 21.04

For those sticking to the open-source graphics driver, the latest Mesa 3D graphics library is easy to install via an Ubuntu PPA.

Mesa is an open-source software implementation of OpenGL, Vulkan, VDPAU, VA-API, and other graphics API specifications.

Ubuntu uses Mesa as OpenGL implementation if no proprietary driver is in use. It is however always old. For users want to play some games with the open-source RadeonSI, RADV, Intel, or Nouveau drivers, you may try the latest Mesa via PPA.

Install Mesa via Ubuntu PPA:

A trustworthy Ubuntu PPA is available that contains the latest stable Mesa packages for Ubuntu 18.04, Ubuntu 20.04. It also provides packages for Ubuntu 20.10 and Ubuntu 21.04, but not tested.

Search for and open terminal from system app launcher. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:kisak/kisak-mesa

Type user password, no visual feedback, when it asks. Read the PPA description as you want and hit Enter to continue.

2. Install Mesa packages:

For Ubuntu 18.04, Linux Mint, you need to update package cache though it’d done automatically in Ubuntu 20.04 and higher.

Finally install available upgrades of all packages including Mesa library via command:

To find out the package version, use command:

glxinfo | grep "OpenGL version"

Restore Original Mesa packages:

To restore your graphics driver to the original status, firstly install ppa-purge via command:

sudo apt install ppa-purge

Next purge the Ubuntu PPA which will downgrade all the installed packages:

sudo ppa-purge ppa:kisak/kisak-mesa

For Linux Mint 20, it’s recommended to add -d focal flag to work safely:

sudo ppa-purge -d focal ppa:kisak/kisak-mesa

permalink

Ji m

I’m a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to remind me outdated tutorial! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected] Buy me a coffee: https://ko-fi.com/ubuntuhandbook1

3 responses to How to Install The Latest Mesa Graphics Driver in Ubuntu 20.04 / 21.04

On the “Additional Drivers” tab in settings, It shows “Unknown: Unknown”. Will this help detect my driver or should I like it how it is?

This article’s title is a little misleading.. I am trying to find out which mesa driver packages to install and this only helps if they are already installed. Thanks.

This article is complete nonsense. It only tells you how to install it after you already installed it. Who needs that? Noone.

Источник

How to Install Mesa Drivers on Ubuntu [Latest and Stable]

Mesa itself is not a graphics card like Nvidia or AMD. Instead, it provides open source software implementation of OpenGL, Vulkan, and some other graphics API specifications for Intel and AMD graphics hardware. With Mesa, you can play high-end games and use applications that require such graphics libraries.

More information on Mesa can be found in this article.

How to install Mesa on Ubuntu?

Mesa drivers on Ubuntu

Mesa comes preinstalled on Ubuntu with the open source graphics drivers of Radeon, Intel and Nvidia (sometimes). Though it probably won’t be the latest Mesa version.

Читайте также:  Linux debian install php

You can check if your system uses Mesa and the installed versions using this command:

If for some reasons (like playing games), you want to install a newer version of Mesa, this tutorial will help you with that. Since, you’ll be using PPA, I highly recommend reading my in-depth guide on PPA.

Installing new Mesa graphics drivers may also need a newer Linux kernel. It will be a good idea to enable HWE kernel on Ubuntu to reduce the chances of conflict with the kernel. HWE Kernel gives you the latest stable kernel used by Ubuntu on an older LTS release.

Install the latest stable version of Mesa driver in Ubuntu [Latest point release]

The Kisak-mesa PPA provides the latest point release of Mesa. You can use it by entering the following commands one by one in the terminal:

sudo add-apt-repository ppa:kisak/kisak-mesa sudo apt update sudo apt upgrade

It will give you the latest Mesa point release.

Remove it and go back to original Mesa driver

If you are facing issues and do not want to use the newer version of Mesa, you can revert to the original version.

sudo apt install ppa-purge

And then use it to remove the PPA as well as the Mesa package version installed by this PPA.

sudo ppa-purge ppa:kisak/kisak-mesa

Install the latest Mesa graphics drivers in Ubuntu [Bleeding edge]

If you want the latest Mesa drivers as they are being developed, this is what you need.

There is this awesome PPA that provides open source graphics drivers packages for Radeon, Intel and Nvidia hardware.

The best thing here is that all driver packages are automatically built twice a day, when there is an upstream change.

If you want the absolute latest Mesa drivers on Ubuntu and do not want to take the trouble of installing it from the source code, use this PPA by Oibaf.

The PPA is available for 20.04, 20.10 and 21.04 at the time of writing this article. It is no longer updated for Ubuntu 18.04 LTS.

Open the terminal and use the following commands one by one:

sudo add-apt-repository ppa:oibaf/graphics-drivers sudo apt update sudo apt upgrade

This will give you the latest Mesa drivers.

Remove it and go back to original Mesa driver

You can remove the PPA and the latest Mesa driver using the ppa-purge tool.

sudo apt-get install ppa-purge

Now use it to disable the PPA you had added and revert the Mesa package to the version provided by Ubuntu officially.

sudo ppa-purge ppa:oibaf/graphics-drivers

I hope this quick tutorial was helpful in getting a newer version of Mesa on Ubuntu. If you have questions or suggestions, please use the comment section.

Источник

Как установить последний графический драйвер Mesa в Ubuntu 20.04 / 21.04

Для тех, кто придерживается графических драйверов с открытым исходным кодом, могут легко установить самую новую библиотеку Mesa 3D graphics library с помощью Ubuntu PPA.

Mesa — это программная реализация OpenGL, Vulkan, VDPAU, VA-API и других спецификаций графических API с открытым исходным кодом.

Ubuntu использует Mesa в качестве реализации OpenGL, если не используется проприетарный драйвер. Однако она всегда старая. Для пользователей, которые хотят играть в игры с открытыми драйверами RadeonSI, RADV, Intel или Nouveau, вы можете попробовать последнюю версию Mesa через PPA.

Как установить Mesa с помощью Ubuntu PPA:

Существует надежный Ubuntu PPA, который содержит последние стабильные пакеты Mesa для Ubuntu 18.04, Ubuntu 20.04. Он также предоставляет пакеты для Ubuntu 20.10 и Ubuntu 21.04, но он не был протестирован.

Читайте также:  Создание ярлыков в linux mint

Найдите и откройте терминал из меню системных приложений. Выполните команду для добавления PPA:

sudo add-apt-repository ppa:kisak/kisak-mesa

Прочитайте описание PPA по своему усмотрению и нажмите Enter, чтобы продолжить.

Для Ubuntu 18.04, Linux Mint, вам нужно обновить кэш пакетов, хотя в Ubuntu 20.04 и выше это делается автоматически.

Наконец, установите доступные обновления всех пакетов, включая библиотеку Mesa, с помощью команды:

Чтобы узнать версию пакета, используйте команду:

glxinfo | grep "OpenGL version".

Восстановите исходные пакеты Mesa:

Чтобы восстановить исходное состояние графического драйвера, сначала установите ppa-purge с помощью команды:

sudo apt install ppa-purge

Затем очистите Ubuntu PPA, что приведет к понижению рейтинга всех установленных пакетов:

sudo ppa-purge ppa:kisak/kisak-mesa

Для Linux Mint 20 рекомендуется добавить флаг -d focal для безопасной работы:

sudo ppa-purge -d focal ppa:kisak/kisak-mesa

Вот и все. Всем удачного дня.

Источник

How to Install Mesa Drivers on Ubuntu 22.04 LTS and Ubuntu 20.04 LTS

LinuxStoney

Today in this quick tutorial we’re going to learn how to install the latest version of mesa graphic driver on Ubuntu 22.04 LTS and Ubuntu 20.04 LTS Linux, or upgrade your older mesa driver into the latest point release, let me first introduce;

What is Mesa Driver ?

The Mesa Drivers project started out as an open source application in the OpenGL specification. It is a system for providing interactive 3D graphics also called Mesa3D. Over the 25+ years in the Linux and open source industry, the mesa drivers project has expanded to implement more graphics APIs such as OpenGL ES, OpenCL, OpenMax, VDPAU, VA API, XVMC, Vulcan, EGL, etc. These are various device drivers for the Mesa library. Mesa drivers are open source API Implementation for AMD and Intel vendor graphics

These open source mesa 3d drivers software simulation environment provides full hardware acceleration for modern graphic cards and make possible to gives you better performance with open source projects like X.org and Other windowing system In fact, Wayland doesn’t have its own platform-specific interface to OpenGL it just uses Mesa’s EGL implementation supports. and many more others, that support OpenGL on Linux and FreeBSD.AMD, Intel, Valve and others. Linux popular game porters also contributed code to Mesa. Lots of FOSS lovers also help with Mesa development.

Well so lets get turning to the today’s point, how to install mesa drivers on Ubuntu, well mesa comes preinstalled on but sometimes not with the latest version.

check your mesa drivers version using following command :

check-mesa-drivers-version

Install Mesa Drivers on Ubuntu 22.04 LTS Linux step by step :

The Kisak-table PPA provides Repository always provide latest point release of Mesa 3D drivers, use following command and install the latest version mesa ;

sudo add-apt-repository ppa:kisak/kisak-mesa

add-mesa-repository-ppa

sudo apt update sudo apt install mesa

installing-mesa-graphic-drivers

Remove latest version and go back to original Mesa Driver :

If you have any issues or bugs in latest version and do not want to use the latest version of Mesa, you can revert and go back to the original version.

Install PPA Purge tool first:

sudo apt install ppa-purge

And then using this tool to remove the PPA repo and Mesa driver package.

sudo ppa-purge ppa:kisak/kisak-mesa

removing-mesa-graphic-drivers

I hope this How-to Article was helpful to you, installing a newer version of Mesa on Ubuntu 22.04 LTS and Ubuntu 20.04 LTS . If you’re having any issues, questions or suggestions, please feel free to use the comment section.

Источник

Оцените статью
Adblock
detector