Clean up
sudo apt-add-repository -r ppa:graphics-drivers/ppa &&
sudo apt update &&
sudo apt upgrade &&
sudo apt autoremove &&
sudo apt autoclean
Add PPA
sudo add-apt-repository ppa:oibaf/graphics-drivers sudo apt-get update sudo apt upgrade
Reconfigure
sudo apt install --reinstall xserver-xorg-video-amdgpu sudo dpkg --configure -a sudo dpkg-reconfigure gdm3 ubuntu-session xserver-xorg-video-amdgpu
Enable Accelerated Video
sudo apt-get install mesa-vdpau-drivers
Test VDPAU
mpv --hwdec=vdpau yourvideofile