For those who are users of ATI / AMD video drivers or some AMD processor with integrated GPU, you will know that, AMD distributes the drivers officially of your products to improve system performance of these, the only downside is that it does it as private software.
Unlike the drivers that the free software community offers us directly, but unfortunately there is a lot of difference in performance. That is why free drivers leave much to be desired in terms of performance under heavy GPU use.
Although from the point of view of many there is no difference, for those users who use their computers to play games or some entertainment activity that includes the use of video, they can notice the difference when using the free or private drivers.
This time we will use the proprietary drivers from AMD in our system. The installation of these is simple, we will only have to download the appropriate package to our system and install it. But before that we will have to review some points of our system to carry out this task.
Previous steps to install Radeon Drivers in Ubuntu
Before proceeding to download the driver, it is necessary to check the specifications of the corresponding driver as it is, the version of Xorg it supports, as well as any extra dependencies it may require.
To know what Xorg version we have installed in the system, with the following command we can find out:
X -version
Having the information of the Xorg, we go on to review the details and specifications and find out if the version of the Xorg is compatible. We will also have to perform a preventive backup of our Xorg configuration, for whatever reason, it is necessary to know where we save it, in my case I leave it in the same folder with the extension name .backup to identify it:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
How to install the AMD proprietary drivers in Ubuntu
First we will have to go to the official AMD page to download the drivers for our video card. The link is this.
If you do not know what chip set you have, with the following command it displays the hardware that your computer has, you just have to identify it:
sudo lspci
It will throw you all the devices that you have connected by PCI
Or with this other command:
lspci | grep VGA
So it will have to throw you something similar to this:
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] [Radeon R5 (PCIE)]
In my case I have an AMD processor with an integrated Radeon R5 GPU.
With this information, we proceed to download the appropriate driver for our system.
Quickly we will have to update our system, we can carry out this step with these two commands, we open a terminal and write:
sudo apt update
sudo apt upgrade
At the end of the download of the package we proceed to unzip the .tar file. At the end of the process, a folder will appear with some .deb files, something similar to the image.
We proceed to open a terminal and we place ourselves in the directory where the files of the folder were that we unzipped earlier, in my case I left it in the "Downloads" folder.
cd Descargas
cd amdgpu-pro
Y finally we proceed to install of the proprietary drivers with:
./amdgpu-pro-install -y
In my case it applies like this, for some, they will only have a .run or .sh file, which appeared when they unzipped the .tar file.
Before installing it, they will have to give it execution permissions with the following command:
sudo chmod +x tuarchivo.run.o.sh
And finally they install it, with the following command:
sudo sh ./tuarchivo.run.o.sh
And it will proceed to install, you will have to finish the installation in 5-10 minutes. Finally we will only have to restart the system.
How to uninstall Radeon drivers in Ubuntu
For users of the most current drivers such as Radeon or AMD GP, the uninstall command is as follows:
amdgpu-pro-uninstall
For previous versions are the drivers that are the fglrx is uninstalled with:
sudo apt-get purge xorg-driver-fglrx fglrx-*
The tutorial sucks.
They do not say what to do to choose a pedicure with the driver. Ubuntu does not know what to do and makes it impossible for you to decide.
We don't want ambiguous things.
Good morning Francisco.
I try to make it as universal as possible, since not all of us use the same chipset.
In my case I have a laptop with a Radeon R5 processor and integrated gpu, while in another I have one that is already quite old which is a 3200 HD.
If you want something more specific I will gladly help you
Good morning, David I know that the publication has a long time, but I would like to know if you could help me with something, I would like to know if there is any way to handle interchangeable graphics in Ubuntu, since I think that the dedicated graphics card is always on and my battery tends to download faster than in windows, by the way I am using elemenary OS as a linux distribution, I do not know if you recommend any other, in my case I have a laptop with the following specifications regarding the graphic section
ASUS A10 LAPTOP X555DG-XX033T.
AMD A10-8700P Radeon R6 Processor, 10 Compute Cores 4C + 6G 1,8ghz up to 3,2ghz.
Dedicated Video Card: AMD Radeon® ATI R6 M340DX DX Dual Graphics with 2GB DDR3.
Thanks in advance
You can do it from the BIOS, this causes you to have to restart the laptop every time you require this.
I installed it, but I don't know where in the BIOS I can configure the graph before starting.
If you could explain me I would appreciate it.
Greetings.
100% AGREE IT'S A SHIT OLD UBUNTU ALL LINUX IS A SHIT! EACH MORE AGAINST THE USER. I CAN'T EVEN INSTALL UBUNTU 16 10 NOW
I PUT 1 OLD UBUNTU AND INSTALL 1.
THEY ARE SOME CHILDREN DPUTA, I RETURN TO WINDOWS
There should be a filter to access tutorials based on education level. If that were the case, they wouldn't let you show up, rude.
Now for now it is not worth it to use the proprietary drivers, they give more problems than the ones they solve, the best thing you can do if you have an AMD graphics card is to add a repository with Mesa updates.
uhmm ... I am not an expert but for now I am going to have problems installing the driver for my rx 480 in Ubuntu 16.04.3 (the driver is for 16.04.2) because they are having problems ... as I read they are not being compatible with the kernel version 4.10.
I repeat, I am not a connoisseur but I was about to make my second attempt when I paid attention to that note on the amd page, so if someone can limit with a comment like «you have to wait X time because they generally take that period to fix it with "canonical" or something like that. Thank you very much for the tutorial. Greetings.
I have a question, I downloaded my driver which comes in a .deb file ... And when unzipping I only have two .tar files and a text file. How can I install it? I use elementary OS.
diego salinas, if it is a deb point file you install it with gdebi do not unzip it
I have a Lenovo G40-70 with an AMD R5 M230 graphics card is it possible to recognize it?
hello, let me tell you that I have the following problem. i have a hp pavilion 15-cd002la
which brings an AMD A-Series A10-9620P (Quad-core / 2500 MHz - 3400 MHz) which is an apu. it has video card r5 as main and r7. they are interchangeable graphics. the issue is that kubuntu does not recognize my graphic adapter. I can't change the screen resolution, nor can I make it brighter. so I decided to install the amd proprietary driver but when I wanted to install it I got "Error: The existing package xserver-xorg-core-lts-xenial is broken"
try to install it from the terminal and I get this:
nanolivares @ nanolivares-HP-Pavilion-Laptop-15-cd0xx: ~ / Documents $ sudo dpkg -i fglrx_15.302-0ubuntu1_amd64_ub_14.01.deb
[sudo] password for nanolivares:
Selecting the previously unselected fglrx package.
dpkg: about fglrx_15.302-0ubuntu1_amd64_ub_14.01.deb containing fglrx:
xserver-xorg-core-lts-xenial conflicts with fglrx
fglrx (version 2: 15.302-0ubuntu1) will be installed.
dpkg: error processing file fglrx_15.302-0ubuntu1_amd64_ub_14.01.deb (–install):
conflicting packages - fglrx will not install
Errors were encountered while processing:
fglrx_15.302-0ubuntu1_amd64_ub_14.01.deb
when checking the hardware through the terminal I see that only the R7 card detects me
nanolivares @ nanolivares-HP-Pavilion-Laptop-15-cd0xx: ~ $ lspci
00: 00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1576
00: 00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 1577
00: 01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD / ATI] Carrizo (rev ca)
00: 01.1 Audio device: Advanced Micro Devices, Inc. [AMD / ATI] Kabini HDMI / DP Audio
00: 02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157b
00: 02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
00: 02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
00: 02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
00: 03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157b
00: 03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
00: 08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 1578
00: 09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157d
00: 09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Device 157a
00: 10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 20)
00: 11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 49)
00: 12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 49)
00: 14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 4a)
00: 14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00: 18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1570
00: 18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1571
00: 18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1572
00: 18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1573
00: 18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1574
00: 18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1575
01: 00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 522a (rev 01)
02: 00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111 / 8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03: 00.0 Network controller: Realtek Semiconductor Co., Ltd. Device d723
04: 00.0 Display controller: Advanced Micro Devices, Inc. [AMD / ATI] Topaz XT [Radeon R7 M260 / M265] (rev ff)
It is worth mentioning that from the driver manager I cannot change the driver either.
I hope they can help me. greetings to all
Hello Arnaldo, I have the same laptop as you, I would like to know how you activated the wifi and if you could configure the graphics card, since I have not been able to configure both.
I have ubuntu 18.04, I will appreciate your comments nes_306@hotmail.comwhatsapp: +50371161575
thanks in advance
I have a radeon 6300 HD in my lap and Debian 8 ignores it like OpenSuse, Ubuntu and Linux Mint do the best of them but still and all the video has poor performance and I do not use the lap to play but to work and study. However, the old Windows makes the video work excellently ... Anyway, if things with the Drivers in Linux distro do not improve and become easier for users, Windows will continue to reign and the poor without drivers will have no choice but to back to it ... WE NEED THINGS TO BETTER AND BE EASIER IN ANY LINUX, I SAY GNU / LINUX ...
I shot a v
Go to the manufacturer's page better, I have the radeon r5 APU and with a few simple steps I installed it with the .deb
Hi
I have a Dell with a
Advanced Micro Devices, Inc. [AMD / ATI] Carrizo (rev c9)
Could someone tell me what should I do?
Thank you
Marcelo
Good morning David. Thank you for your effort to help newbies like me.
Following your steps I see that I have an AMD (AM / (KABINI) Radeon HD 8210.
This is what comes out in the terminal:
00: 01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD / ATI] Kabini [Radeon HD 8210]
I would like to update proprietary drivers for Ubuntu 18.04 to see if it improves my laptop.
But when I go to the download page I MISS OUT. I don't know which package to download
Can you help me.
Thank you
Which version or which GNU is it that you install in the amd with integrated r5? What is the latest GNUlinux that offers the best support for cards of the same characteristics? in the Mint forum I read that only open source drivers can be used in Mint18 and in the Mint17 open source with fglrx
Well, I have a problem, I installed lubuntu 18.04 lts and I did not get the graphics driver in an old laptop compaq presario 700 I downloaded the driver for the graphics card, it is in zip format and I do not know what steps I have to take to install it That the screen looks good on the laptop could you give me a cable and give me a good explanation of how to do it thanks
Hi John.
I suppose that your card is an older model than the Radeon 4xxx so the file you downloaded must be unzipped and it should result in a ".run" file which you must give execution permissions.
I must tell you in advance that all these card "drivers" of these models are not compatible with the new versions of the Xorg, so as far as I remember they are only compatible with the Xorg 1.12.
Anyway to run this file.
You can do this by secondary clicking on the file and clicking on "properties".
You will look for the box that says "executable file", mark it and exit.
Now only from the terminal you must execute the command:
sudo ./ appartfile.run »
And with it you should be able to install.
I would recommend using the mesa drivers.
Good morning David. Thank you for your selfless help to the UNDERSTOOD.
This is my tray taken from the terminal:
compatible controller: Advanced Micro Devices, Inc. [AMD / ATI] Kabini [Radeon HD 8210]
I understand that it is a Radeon HD 8210
But I don't know which driver to install
Now I read in UBUNLOG this:
AMDGPU-PRO is updated with support for the latest Ubuntu versions - Ubunlog
https://ubunlog.com/amdgpu-pro-se-actualiza-con-soporte-para-las-ultimas-versiones-de-ubuntu/?utm_source=feedburner&utm_medium=%24%7Bfeed%2C+email%7D&utm_campaign=Feed%3A+%24%7BUbunlog%7D+%28%24%7BUbunlog%7D%29
Can i install eto or i will make a mess
Thanks a lot, David
If you prefer to reply to my email, perfect
Good morning David, very good tutorial. I ask you, I am wanting to install Kubuntu on an AMD A4-4000 APU (3GHz) with AMD Radeon HD 7480D Graphics. The installer that I have on the USB starts well and the installation screen appears. When I select "Install Kubuntu" a few seconds pass and the pc restarts. I have installed on two other PCs and it worked fine, but not on this one. Could it be the video drivers? What I can do? If you can help me it would be great. Thanks a lot!
Hello, good morning Matias.
What you say is weird, have you tried another USB?
Hi!
I need a little help ... I'm supposed to be using a Readon 3000, I already downloaded the driver as you say, a .run file was decompressed, but at the time of executing it, the terminal indicates that it cannot be accessed, because the file does not exist or directory specified ...
In addition to that I could not verify the version of the xorg, I am using an ubuntu 18.04.3 lts with budgie GNOME desktop, I do not know how much this affects ...
I hope you can help me
Hello, first of all thank you for your contributions and your content!
On the other hand I have a problem ... I installed linux mint 19.3 (based on ubuntu) in my notebook that has an AMD HD 7340 graphics (igp) and it is impossible for me to install it, I tried with everything, is there any way to install something to force the installation or at least recognize part of the graphic?
thank you very much!
Ayudaaa !, I have an ASUS laptop with a dedicated graphics card which is a Raedon RX 550X, on the AMD page there is no linux driver for this model, only for Windows, what can I do? It is useless for me to have a dedicated graphics card if at the time of playing I use the integrated one and with this it is a complete garbage, nor to connect it to a screen because not even in HD I get the resolution, thanks in advance for the help.
Hi,
Well, my personal experience after maybe +40 hours in front of my computer.
1st: download old drivers. It has not used to download the latest one, because the kernel will say: NO THANKS!
wget --referrer https://www.amd.com/es/support https://drivers.amd.com/drivers/linux/amdgpu-pro-18.40-673869-ubuntu-16.04.tar.xz
2nd: extract the file "tar -Jxvf amdgpu-pro-18.40-673869-ubuntu-16.04.tar.xz"
3st: install using the most common command: "./amdgpu-pro-install -y"
and that's all 🙂
Well, in my case I had nvidia + radeon, so it was more difficult indeed, but for nvidia was too easy, just delete old drivers and reinstall: “sudo apt-get install nvidia-455
»
And the results are here (clinfo):
root @ nvidia: / home / nvidia # clinfo
Number of platforms 2
Platform Name NVIDIA CUDA
Platform Vendor NVIDIA Corporation
Platform Version OpenCL 1.2 CUDA 11.2.109
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_device_uuid
Platform Extensions function suffix NV
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.0 AMD-APP (2117.10)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
Platform Extensions function suffix AMD
Platform Name NVIDIA CUDA
Number of devices 3
Device Name GeForce GTX 1050 Ti
Device Vendor NVIDIA Corporation
Device Vendor ID 0x10de
Device Version OpenCL 1.2 CUDA
Driver Version 460.32.03
Device OpenCL C Version OpenCL C 1.2
Device Type GPU
Device Profile FULL_PROFILE
Device Topology (NV) PCI-E, 04: 00.0
Max compute units 6
Max clock frequency 1506MHz
Compute Capability (NV) 6.1
Device Partition (core)
Max number of sub-devices 1
Supported partition types None
Max work item dimensions 3
Max work item sizes 1024x1024x64
Max work group size 1024
Preferred work group size multiple 32
Warp size (NV) 32
Preferred/native vector sizes
char 1/1
short 1/1
int 1/1
long 1/1
half 0/0 (n / a)
float 1/1
double 1/1 (cl_khr_fp64)
Half-precision Floating-point support (n / a)
Single-precision Floating-point support (core)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Correctly-rounded divide and sqrt operations Yes
Double-precision Floating-point support (cl_khr_fp64)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Correctly-rounded divide and sqrt operations No
Address bits 64, Little-Endian
Global memory size 4236312576 (3.945GiB)
Error Correction support No
Max memory allocation 1059078144 (1010MiB)
Unified memory for Host and Device No
Integrated memory (NV) No
Minimum alignment for any data type 128 bytes
Alignment of base address 4096 bits (512 bytes)
Global Memory cache type Read / Write
Global Memory cache size 294912
Global Memory cache line 128 bytes
Image support Yes
Max number of samplers per kernel 32
Max size for 1D images from buffer 268435456 pixels
Max 1D or 2D image array size 2048 images
Max 2D image size 16384 × 32768 pixels
Max 3D image size 16384x16384x16384 pixels
Max number of read image args 256
Max number of write image args 16
Local memory type Local
Local memory size 49152 (48KiB)
Registers per block (NV) 65536
Max constant buffer size 65536 (64KiB)
Max number of constant args 9
Max size of kernel argument 4352 (4.25KiB)
queue properties
Out-of-order execution Yes
Profiling Yes
Prefer user sync for interop No
Profiling timer resolution 1000ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Kernel execution timeout (NV) No
Concurrent copy and kernel execution (NV) Yes
Number of async copy engines 2
printf () buffer size 1048576 (1024KiB)
built-in kernels
Device Available Yes
Compiler Available Yes
Linker Available Yes
Device Extensions cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_device_uuid
Device Name GeForce GTX 1050 Ti
Device Vendor NVIDIA Corporation
Device Vendor ID 0x10de
Device Version OpenCL 1.2 CUDA
Driver Version 460.32.03
Device OpenCL C Version OpenCL C 1.2
Device Type GPU
Device Profile FULL_PROFILE
Device Topology (NV) PCI-E, 05: 00.0
Max compute units 6
Max clock frequency 1392MHz
Compute Capability (NV) 6.1
Device Partition (core)
Max number of sub-devices 1
Supported partition types None
Max work item dimensions 3
Max work item sizes 1024x1024x64
Max work group size 1024
Preferred work group size multiple 32
Warp size (NV) 32
Preferred/native vector sizes
char 1/1
short 1/1
int 1/1
long 1/1
half 0/0 (n / a)
float 1/1
double 1/1 (cl_khr_fp64)
Half-precision Floating-point support (n / a)
Single-precision Floating-point support (core)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Correctly-rounded divide and sqrt operations Yes
Double-precision Floating-point support (cl_khr_fp64)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Correctly-rounded divide and sqrt operations No
Address bits 64, Little-Endian
Global memory size 4236312576 (3.945GiB)
Error Correction support No
Max memory allocation 1059078144 (1010MiB)
Unified memory for Host and Device No
Integrated memory (NV) No
Minimum alignment for any data type 128 bytes
Alignment of base address 4096 bits (512 bytes)
Global Memory cache type Read / Write
Global Memory cache size 294912
Global Memory cache line 128 bytes
Image support Yes
Max number of samplers per kernel 32
Max size for 1D images from buffer 268435456 pixels
Max 1D or 2D image array size 2048 images
Max 2D image size 16384 × 32768 pixels
Max 3D image size 16384x16384x16384 pixels
Max number of read image args 256
Max number of write image args 16
Local memory type Local
Local memory size 49152 (48KiB)
Registers per block (NV) 65536
Max constant buffer size 65536 (64KiB)
Max number of constant args 9
Max size of kernel argument 4352 (4.25KiB)
queue properties
Out-of-order execution Yes
Profiling Yes
Prefer user sync for interop No
Profiling timer resolution 1000ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Kernel execution timeout (NV) No
Concurrent copy and kernel execution (NV) Yes
Number of async copy engines 2
printf () buffer size 1048576 (1024KiB)
built-in kernels
Device Available Yes
Compiler Available Yes
Linker Available Yes
Device Extensions cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_device_uuid
Device Name GeForce GTX 1050 Ti
Device Vendor NVIDIA Corporation
Device Vendor ID 0x10de
Device Version OpenCL 1.2 CUDA
Driver Version 460.32.03
Device OpenCL C Version OpenCL C 1.2
Device Type GPU
Device Profile FULL_PROFILE
Device Topology (NV) PCI-E, 07: 00.0
Max compute units 6
Max clock frequency 1506MHz
Compute Capability (NV) 6.1
Device Partition (core)
Max number of sub-devices 1
Supported partition types None
Max work item dimensions 3
Max work item sizes 1024x1024x64
Max work group size 1024
Preferred work group size multiple 32
Warp size (NV) 32
Preferred/native vector sizes
char 1/1
short 1/1
int 1/1
long 1/1
half 0/0 (n / a)
float 1/1
double 1/1 (cl_khr_fp64)
Half-precision Floating-point support (n / a)
Single-precision Floating-point support (core)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Correctly-rounded divide and sqrt operations Yes
Double-precision Floating-point support (cl_khr_fp64)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Correctly-rounded divide and sqrt operations No
Address bits 64, Little-Endian
Global memory size 4236312576 (3.945GiB)
Error Correction support No
Max memory allocation 1059078144 (1010MiB)
Unified memory for Host and Device No
Integrated memory (NV) No
Minimum alignment for any data type 128 bytes
Alignment of base address 4096 bits (512 bytes)
Global Memory cache type Read / Write
Global Memory cache size 294912
Global Memory cache line 128 bytes
Image support Yes
Max number of samplers per kernel 32
Max size for 1D images from buffer 268435456 pixels
Max 1D or 2D image array size 2048 images
Max 2D image size 16384 × 32768 pixels
Max 3D image size 16384x16384x16384 pixels
Max number of read image args 256
Max number of write image args 16
Local memory type Local
Local memory size 49152 (48KiB)
Registers per block (NV) 65536
Max constant buffer size 65536 (64KiB)
Max number of constant args 9
Max size of kernel argument 4352 (4.25KiB)
queue properties
Out-of-order execution Yes
Profiling Yes
Prefer user sync for interop No
Profiling timer resolution 1000ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Kernel execution timeout (NV) No
Concurrent copy and kernel execution (NV) Yes
Number of async copy engines 2
printf () buffer size 1048576 (1024KiB)
built-in kernels
Device Available Yes
Compiler Available Yes
Linker Available Yes
Device Extensions cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_device_uuid
Platform Name AMD Accelerated Parallel Processing
Number of devices 1
Device Name AMD Athlon (tm) 64 X2 Dual Core Processor 4200+
Device Vendor AuthenticAMD
Device Vendor ID 0x1002
Device Version OpenCL 1.2 AMD-APP (2117.10)
Driver Version 2117.10 (sse2)
Device OpenCL C Version OpenCL C 1.2
Device Type CPU
Device Profile FULL_PROFILE
Device Board Name (AMD)
Device Topology (AMD) (n / a)
Max compute units 2
Max clock frequency 1000MHz
Device Partition (core, cl_ext_device_fission)
Max number of sub-devices 2
Supported partition types equally, by counts, by affinity domain
Supported affinity domains L2 cache, L1 cache, next partitionable
Supported partition types (ext) equally, by counts, by affinity domain
Supported affinity domains (ext) L2 cache, L1 cache, next fissionable
Max work item dimensions 3
Max work item sizes 1024x1024x1024
Max work group size 1024
Preferred work group size multiple 1
Preferred/native vector sizes
char 16/16
short 8/8
int 4/4
long 2/2
half 2/2 (n / a)
float 4/4
double 2/2 (cl_khr_fp64)
Half-precision Floating-point support (n / a)
Single-precision Floating-point support (core)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Correctly-rounded divide and sqrt operations Yes
Double-precision Floating-point support (cl_khr_fp64)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Correctly-rounded divide and sqrt operations No
Address bits 64, Little-Endian
Global memory size 4011077632 (3.736GiB)
Error Correction support No
Max memory allocation 2147483648 (2GiB)
Unified memory for Host and Device Yes
Minimum alignment for any data type 128 bytes
Alignment of base address 1024 bits (128 bytes)
Global Memory cache type Read / Write
Global Memory cache size 65536
Global Memory cache line 64 bytes
Image support Yes
Max number of samplers per kernel 16
Max size for 1D images from buffer 65536 pixels
Max 1D or 2D image array size 2048 images
Max 2D image size 8192 × 8192 pixels
Max 3D image size 2048x2048x2048 pixels
Max number of read image args 128
Max number of write image args 64
Local memory type Global
Local memory size 32768 (32KiB)
Max constant buffer size 65536 (64KiB)
Max number of constant args 8
Max size of kernel argument 4096 (4KiB)
queue properties
Out-of-order execution No
Profiling Yes
Prefer user sync for interop Yes
Profiling timer resolution 1ns
Profiling timer offset since Epoch (AMD) 1612669084651338327ns (Sun Feb 7 04:38:04 2021)
Execution capabilities
Run OpenCL kernels Yes
Run native kernels Yes
SPIR versions 1.2
printf () buffer size 65536 (64KiB)
built-in kernels
Device Available Yes
Compiler Available Yes
Linker Available Yes
Device Extensions cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_spir cl_khr_gl_event
NULL platform behavior
clGetPlatformInfo (NULL, CL_PLATFORM_NAME,…) No platform
clGetDeviceIDs (NULL, CL_DEVICE_TYPE_ALL,…) No platform
clCreateContext (NULL,…) [default] No platform
clCreateContext (NULL,…) [other] Success [NV]
clCreateContextFromType (NULL, CL_DEVICE_TYPE_CPU) No platform
clCreateContextFromType (NULL, CL_DEVICE_TYPE_GPU) No platform
clCreateContextFromType (NULL, CL_DEVICE_TYPE_ACCELERATOR) No platform
clCreateContextFromType (NULL, CL_DEVICE_TYPE_CUSTOM) No platform
clCreateContextFromType (NULL, CL_DEVICE_TYPE_ALL) No platform
I leave you a manual that I have worked after suffering so much with both brands to be able to make NVIDIA + RADEON work in the same Ubuntu:
Steps to install Ubuntu 20 with Nvidia + AMD
1. Install Ubuntu 20.04.2.0 LTS (Focal Fossa) server
https://releases.ubuntu.com/20.04/ubuntu-20.04.2-live-server-amd64.iso
2. Once started
apt-get update && time apt-get dist-upgrade
3. Reboot and then install AMD drivers
wget --referer https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-20-45 https://drivers.amd.com/drivers/linux/amdgpu-pro-20.45-1188099-ubuntu-20.04.tar.xz
tar xJf amdgpu-pro-20.45-1188099-ubuntu-20.04.tar.xz
./amdgpu-pro-install --opencl=legacy,pal --headless --no-dkms
4. Restart and install Nvidia drivers
sudo ubuntu-drivers autoinstall
#Note: check with nvidia-smi
#If it has not been installed correctly then execute:
sudo apt install nvidia-driver-455
5. Restart and install clinfo
apt install clinfo
run
clinfo
to check that both graphs have been detectedI got:
in lspci:
Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] (rev c3)
and in | grep VGA:
VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] (rev c8)
which driver should i download?