To install the PPA third-party repository drivers execute the following commands:
sudo add-apt-repository ppa:oibaf/graphics-drivers
NOTE: Another alternative for drivers is https://launchpad.net/~paulo-miguel-dias/+archive/ubuntu/mesa
The above will add the PPA AMD Radeon driver repository to your system. The following command will upgrade your current AMD Radeon driver to the latest version:
sudo apt update && sudo apt -y upgrade
In case you need to revert back to your original Ubuntu AMD Radeon drivers you can remove the PPA driver installation using the below commands:
sudo apt install ppa-purge sudo ppa-purge ppa:oibaf/graphics-drivers
Reboot the computer.
sudo reboot
lshw -c video
returns:
*-display description: VGA compatible controller product: Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0 bus info: pci@0000:0b:00.0 version: c1 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi vga_controller bus_master cap_list rom configuration: driver=amdgpu latency=0 resources: irq:115 memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:e000(size=256) memory:fcb00000-fcb7ffff memory:fcb80000-fcb9ffff
NOTE: Look for the keyword driver= in the configuration line.
lspci -k | grep -EA3 'VGA|3D|Display'
displays:
NOTE: This shows two kernel modules available: radeon and amdgpu.
Edit /etc/modprobe.d/blacklist.conf:
sudo vi /etc/default/grub
…and add the following line at the end:
blacklist radeon
sudo update-initramfs -u
WARNING: If you reboot now, you might end up in a very low desktop resolution.
Edit the /etc/default/grub file:
sudo vi /etc/default/grub
…and add these lines:
GRUB_GFXMODE=1920x1080x32 GRUB_CMDLINE_LINUX_DEFAULT="radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.dc=1 amdgpu.dpm=1 amdgpu.modeset=1"
sudo update-grub2 && sudo update-initramfs -u -k all<br>
Reboot the computer.
sudo reboot