AMD develops two types of drivers for its video cards, the first is open source - AMDGPU, it is built into the kernel and comes by default with the distribution.

But besides it, an improved version with closed components is being developed - the version of the AMDGPU-PRO driver. In this article we will look at how to install the amd Ubuntu 16.04 driver.

Default after installation operating system you get the Radeon open source driver. It is open source and developers can include it in the core and keep it up to date. It works great for windowing, compositing, or light gaming, but it's much slower than specially optimized drivers when it comes to 3D games.

Previously, AMD released another driver called fglrx. It was completely closed source and you had to install it after installing the distribution. The AMD team kept this driver compatible with new Linux kernels and the X graphics server. This driver was more optimized for 3D gaming, but it had its problems. But now it is not supported.

AMD has now switched to a hybrid approach. The AMDGPU kernel driver is open source and developers can improve and support it. It's already built into the Ubuntu 16.04 kernel.

Additionally, AMD provides a binary package called AMDGPU-PRO. This component is closed source and provides better performance in 3D games. It works in conjunction with an open source driver. The company is developing not two drivers, but one, but it is divided into two parts.

There is a closed source component, but both AMD and NVIDIA believe it is necessary. For example, proprietary code may contain various optimizations that companies do not want to disclose to each other.

AMDGPU-PRO supports the following protocols and APIs:

  • OpenGL 4.5 and GLX 1.4;
  • OpenCL 1.2;
  • Vulkan 1.0;
  • VDPAU;
  • Vulkan support for DOTA2.

Now, let's look at how to install the amd Ubuntu 16.04 driver.

Installing AMDGPU-PRO on Ubuntu 16.04

You can download the driver installer at official page AMD product downloads. Here you will need to select your card and then the system:

You can also download the latest version 16.40 for Ubuntu 16.04 at the time of writing using the following command:

wget https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-16.40-348864.tar.xz

Once the download is complete, unzip the resulting file:

tar -Jxvf amdgpu-pro-16.40-348864.tar.xz

When all the files are unpacked, you need to run the amdgpu-pro-install script to install. The installation must be performed with superuser rights, and you must also confirm twice the installation of the driver itself and additional packages from the AMDGPU-PRO repositories.

The script will use your package manager to install the necessary graphics stack and DKMS components. Run the script with superuser rights:

sudo amdgpu-pro-driver/amdgpu-pro-install

Once the amd Ubuntu 16.04 driver installation is complete, reboot your computer to use the new graphics stack.

Setting up AMDGPU-PRO

If you want to use the new Vulkan technology, you need to add your user to the video group. To do this run the following command:

sudo usermod -a -G video $LOGNAME

To apply the changes you need to log out and log in.

How to remove AMD drivers in Ubuntu 16.04

If for any reason you want to remove the AMDGPU-PRO driver, you can use a special script that is supplied in the archive. To do this, run the command:

sudo amdgpu-pro-uninstall

After finishing the program, you need to restart your computer to apply the changes.

Conclusions

In this article we looked at how amd ubuntu 16.04 drivers are installed. You can use the driver that comes by default, but if you want better gaming performance or new technologies like Vulkan, you will have to install a proprietary driver. If you have any questions, ask in the comments!

Hello, my name is Enikey. There was an epidemic in our city, because if before I used to give pigs and sevens for a pack of dumplings, now they are asking for real linux. Welcome to Vitebsk! So - it turns out that so many problems can arise with it that I could not even imagine. Therefore, as a kind and sympathetic person, I would like to start a series of articles on how to quickly and without hemorrhoids set up your favorite Linux. And the first problem that I encountered was that I could not find the necessary firewood on the turnips. In this case, we had an ATI mobility Radeon 3450 on a laptop. So here it is. To help you with the installation and save your precious time, here I will give you help on installation and in general on ATi solutions for Ubuntu.

Accelerating compiz on AMD (ATi) video cards in Ubuntu.

Some owners of more mature (but not only) ATI video cards, and in our case, an ATI mobility Radeon 3450 on a laptop with a proprietary driver, will be happy to know (if they don’t already know) that Ubuntu can become even more beautiful by taking a couple of simple steps:
Install CompizConfig Settings Manager sudo apt-get install compizconfig-settings-manager.
Open via dash by entering ccsm (or search in installed applications).
Click on the OpenGL icon and uncheck "Sync to VBlank". Working in Ubuntu will be 10% more pleasant, info 100%
In the AMD Catalyst Control Center application, on the “Display Settings --> Noise Reduction” page, disable noise reduction.
In the same place, but on the page “3D --> Additional settings", Set Wait for vertical update to "Off unless specified by the application".
Open the GStreamer settings by typing gstreamer-properties in the dash. On the Video tab we do:
Module = X Window System(With X11/... extensions)
Device = AMD Radeon AVIVO Video

Removal

 1. Delete already installed drivers(if the drivers have not been installed, skip this step)
sudo sh /usr/share/ati/fglrx-uninstall.sh
sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev* xorg-driver-fglrx

Preparation

2. Preparing to install the driver
Installation of additional packages for assembly and lib
sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf
sudo apt-get install libstdc++6 dkms libqtgui4 wget execstack libelfg0
sudo apt-get install dh-modaliases

For owners of x86_64 ubuntu, don’t forget

Sudo apt-get install ia32-libs

Installation (option No. 1)

3. Installing the AMD driver
Creating directories, downloading the driver itself, generating packages, installing packages
wget www2.ati.com/drivers/linux/ati-driver-installer-11-9-x86.x86_64.run
sh ./ati-driver-installer-11-9-x86.x86_64.run --buildpkg Ubuntu/natty
sudo dpkg -i *.deb

Installation (option No. 2)

3. Installing the AMD driver
cd ~/; mkdir catalyst11.9; cd catalyst11.9/
wget www2.ati.com/drivers/linux/ati-driver-installer-11-9-x86.x86_64.run
sh ./ati-driver-installer-11-9-x86.x86_64.run

Installation (option No. 3)

3. Installing the AMD driver

Creating directories, downloading the driver itself, installation
download the archive from here
AMD Catalyst 11.12
unpack, go to the directory where you unpacked it and run the Install file, then select “Run in terminal” and enter the password
You can also install via
sudo dpkg -i “directory path”*.deb

Settings

Driver setup for optimal performance in Ubuntu environment
Creating an xorg.conf file, setting up 2d window display modes
More information about driver setup

sudo /usr/bin/amdconfig --initial -f
sudo /usr/bin/amdconfig --set-pcs-str=DDX,ForceXAA,TRUE
sudo /usr/bin/amdconfig --input=/etc/X11/xorg.conf --tls=1

For owners of X2\DUAL cards (for example 4870X2 or 5970) sudo /usr/bin/amdconfig --initial -f --adapter=all

For owners of two (or more monitors)

Sudo /usr/bin/amdconfig --set-pcs-str="DDX,EnableRandR12,FALSE"

Tags: ATi, AMD, Linux, Ubuntu

Mining on Linux step by step lesson 1, a big guide on how to set up a mining farm on Linux. The OS will be Ubuntu 18.04. In this article we will install Ubuntu itself, drivers for AMD video cards and launch the famous Claymore`s miner (glue).

Mining on Linux

Installing Ubuntu 18.04 OS and AMD driver

Content (clickable navigation):

Preparing for installation

  • Get a 4 GB flash drive for recording there installation file ubuntu.
  • Download Ubuntu itself on the official website.
  • Make the flash drive bootable in order to run from it and install the OS. Instructions on how to do this.

Installing Ubuntu for mining

When you boot from the flash drive, you will need to select a language for subsequent actions, in our case it is Russian.

Now we select the OS language and layout, that is, “Russian language”.

IN this section, we select the minimal installation type, we do not need a media player, LibreOffice and other software on the farm. And choose last point, to download drivers for your hardware.

Now we decide what to do with our SSD/HDD, the first option erases everything and splits the disk itself.

But we will choose another option to partition the disk correctly (at our discretion).

Select our disk and click on “+”, after which we agree to the warning.
Now we create partitions, the first partition is the “swap file”. You can install 16GB or 20GB, we recommend installing 20GB to be sure.

Again select “ free space” and click “+”, now we make a partition purely for Linux, set 25-40GB, this is quite enough. And change the “new partition type” to “Logical”.

The only section left is “/home”, this is our home folder, so to speak. If something happens to Linux, we will simply reinstall the required partition, and the software will remain in /home. Set the remaining size.

As a result, we get the following.

Click “Install Now” and go to the next section, where we need to specify the PC name, user and password of the super user (sudo).

We write our location to set the time.

We are waiting for the installation to complete.

When the installation is complete, there will be a window like this in which we select reboot.

After the system reboots, a window will appear prompting you to update. Click “Remind me later” since we will update the system ourselves.

Now press the following key combination Ctrl+Alt+T, this combination will open a terminal for us.

In which we write the command to check system packages:

Now enter the password you came up with when installing Ubuntu. We are waiting for this result.

Now let's write a command to update the system.

After downloading, go to the AMD website to download the drivers link. Where we select our OS and video card model. And click “Display Results” (show results).

Now we download the driver we need and save.

Now go to the file itself and leave the window open.

Now we download a utility through the terminal that will allow us to quickly navigate to file system(analogous to total commander on Windows). We also enter the admin password and confirm the download.

After installation, simply write in the line mc to open our utility.

Now right-click on the driver and extract it. And on the right click “ Choose“.

The result is as follows.

Now in the MC itself that we installed, use the arrows to navigate to the installation folder.

Now press “Ctrl+O” to write commands in this path.

Now install it by writing:

And so we confirm everything.

Then we write two commands to check whether the driver is installed correctly and what version of the driver is used.

lspci | grep -E “VGA | 3D"
lspci -k | grep -EA2 “VGA | 3D"

After downloading, we will rename the folder with the miner for further convenience.

The miner can be launched in two ways:
1) Through MC, simply go to the folder with the miner and run start.bash
2) Just go to the folder and then run the file start.bash.

If you find an error, please highlight a piece of text and click:
(Ctrl+Enter) if you have Windows or ( Fn+Enter), if you have MacOS 📢 Thank you!

Installation instructions for ATI Catalyst Linux Driver, based on official documentation. What is described in the article is true for everyone latest versions drivers. Tested on Ubuntu.

Preparations

3D programs require support for shared memory (POSIX Shared Memory). To do this, add the following line to the /etc/fstab file:

tmpfs /dev/shm tmpfs defaults 0 0

Before starting the installation, it is advisable to remove (more on this below) the previous version of the video driver. Then install the Linux kernel headers. To do this, let's search in Synaptic for the word headers. In response, we will see lines like linux-headers-2.6.38-11-generic-pae. There may be several of them. We need headers for the kernel that is used in our system. Finding the current version is easy in the “System Monitor” on the “System” tab. By the way, there is a suspicion that the headers will already be installed.

Based on the official documentation, to successfully install the driver we will need several more packages:

  • XFree86-Mesa-libGL
  • libstdc++
  • libgcc
  • XFree86-libs
  • fontconfig
  • freetype

The XFree86-Mesa-libGL and XFree86-libs packages are present in the Ubuntu repositories under different names and are most likely already installed on your system.

Driver installation

In the Terminal, run the command:

sudo sh ati-driver-installer-11-8-x86.x86_64.run

She will launch our file with root rights. As a result, a standard installer dialog box will appear. After installation is complete, restart your computer. The ATI Catalyst Control Center item will appear in the main menu, where you can make basic driver settings.

Uninstalling the ATI driver

sudo aticonfig --uninstall

After running the command, all that remains is to restart the computer. The old driver has been removed.

Today I will tell you how to install a proprietary driver for Radeon video cards HD 7850 on Ubuntu 14.04 LTS x64. What is the installation problem? The standard proprietary driver installer just didn't want to switch the driver. I tried to install the fglrx package (this is a proprietary driver) manually. But apt-get complained about unresolved dependencies for the fglrx-updates package, as well as the absence of the fglrx package. I downloaded the packages for Ubuntu from the AMD website. But they also did not want to be installed properly. They cursed at dependencies, cursed at mistakes, for example errors encountered while processing fglrx. Perhaps this article will help you in a similar situation. Besides, these instructions can be used as a trial version for installing radeon video card drivers in other distributions.

I would like to say why I did not want to use the standard open source driver. There were several important reasons for this:

  1. Loud cooler noise and overheating of the Radeon video card on an opensource driver in Ubuntu. Judging by user reviews, the open source driver of the HD series video card is hotter than the proprietary one. And from my personal experience, the computer was much louder in Ubuntu than in Windows.
  2. Hardware acceleration in Google Chrome didn't work well. When watching a video after, after 5 minutes, Chrome browser started to crash with an error. Sometimes the video just slowed down. At times XServer crashed or the monitor simply went dark. I suspect that this is also due to the video card overheating. There is no such problem with the proprietary driver.

Let's get started. To get started, download the driver package from the AMD website for Linux. Which is distributed as an installer, and not in ready-made packages. At the moment it can be downloaded from this page, the link is here:

After downloading, unzip the archive. This shouldn't be a problem since Ubuntu has a graphical archive manager. Afterwards, launch a terminal and go to the folder that was in the archive. For example, like this:

cd /home/jakeroid/Desktop/fglrx-14.501.1003/

cd /home/jakeroid/Desktop/fglrx-14.501.1003/

Now we need to run our installer. For Ubuntu, it should generate 4 packages, which we will then install. The folder should contain a file with the name amd-driver-installer-*. Let's launch it.

sudo ./amd-driver-installer-14.501.1003-x86.x86_64.run

sudo /amd - driver - installer - 14.501.1003 - x86 . x86_64. run

Most likely the installer will fail with an error. This happens because your system lacks the required libraries and other packages.

Click "OK". After this, the installer window should still open:

Close it by clicking “Cancel”, since we need to open the installation log file and see which packages are missing. Run the command:

gedit /usr/share/ati/fglrx-install.log

gedit /usr/share/ati/fglrx - install . log

Now we see which packages need to be installed:

Be careful! The list of packages on your system may be different! You need to install only the necessary packages from your installation log (file /usr/share/ati/fglrx-install.log).

Install the missing packages with the command:

sudo apt-get install dh-modaliases execstack dpkg-dev debhelper dkms lib32gcc1

sudo apt - get install dh - modaliases execstack dpkg - dev debhelper dkms lib32gcc1

Now let's run the installer again. It should launch without errors. Select “Generate Distribution Specific Driver Package” in the installer menu and click “Continue”:

We accept the terms of the agreement by clicking “I Agree”:

In the next window, scroll to the bottom of the page and make sure that “Build package for detected OS: Ubuntu/trusty” is selected. If you install the driver on a different version of Ubuntu, you will have a different word after the slash in the OS name. Then click “Continue”:

Packet generation will begin. Depending on the performance of your computer, this may take from a few seconds to several minutes. My progress bars did not “move”, but in less than a minute the packages were ready.

After the installer finishes generating packages, you will see the following window:

Click "Exit". Afterwards, a new window will appear that immediately prompts you to install packages. Take your time to click “Yes”. The fact is that during installation the packages Radeon drivers will conflict with the ocl-icd-libopencl1 (amd64) package, if of course it is installed on the system. If you have a 32-bit OS, most likely this problem will not arise. But just in case, I advise you to click “No” and try to remove the ocl-icd-libopencl1 package with the command.


Close