How to enable VDPAU acceleration for accelerated Flash video.
(x-post from comme
nt on /r/pcmasterrace) (self.Ubuntu) Here are instructions for enabling hardware video acceleration for Flash on the most popular video drivers, compiled into one post. Basically, if your Youtube uses a lot of your CPU or is very slow when playing H D video, this will fix it. Nvidia using the official Nvidia binary driver sudo apt-get install libvdpau1 vdpau-va-driver sudo mkdir /etc/adobe sudo echo -e "EnableLinuxHWVideoDecode = 1\nOverrideGPUValidation = 1" | sudo te e /etc/adobe/mms.cfg Intel using the normal Intel drivers sudo apt-get install i965-va-driver sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install libvdpau-va-gl1 sudo sh -c "echo 'export VDPAU_DRIVER=va_gl' >> /etc/profile" sudo mkdir /etc/adobe sudo echo -e "EnableLinuxHWVideoDecode = 1\nOverrideGPUValidation = 1" | sudo te e /etc/adobe/mms.cfg AMD with fglrx driver sudo apt-get install xvba-va-driver sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install libvdpau-va-gl1 sudo sh -c "echo 'export VDPAU_DRIVER=va_gl' >> /etc/profile" sudo mkdir /etc/adobe sudo echo -e "EnableLinuxHWVideoDecode = 1\nOverrideGPUValidation = 1" | sudo te e /etc/adobe/mms.cfg AMD with open-source radeon (built-in) driver You must have Ubuntu 13.10 or later. sudo add-apt-repository ppa:oibaf/graphics-drivers (if on Ubuntu 13.10) sudo apt-get install libg3dvl-mesa (if on Ubuntu 13.10) sudo apt-get install mesa-vdpau-drivers (if on Ubuntu 14.04) sudo mkdir /etc/adobe sudo echo -e "EnableLinuxHWVideoDecode = 1\nOverrideGPUValidation = 1" | sudo te e /etc/adobe/mms.cfg After all of the above After completing the section relevant to your graphics card, make sure Chrome is using the system flash plugin, right click on a Youtube video, click Settings, and check the Hardware Acceleration box. Finally, reboot your computer. Check if everything worked by right-clicking a Youtube video, and clicking Stats For Nerds. It should say Accelerated Decoding and Accelerated Rendering. Feel free to correct me if I messed up anywhere here. EDIT 4/17/14 Fixed the non-working system-wide command by including a command th at simply appends "export VDPAU_DRIVER=va_gl" to /etc/profile. Also added proper instructions for radeon driver.