vdpau

Upload: ionut-mihailescu

Post on 11-Oct-2015

18 views

Category:

Documents


0 download

DESCRIPTION

video driver

TRANSCRIPT

How to enable VDPAU acceleration for accelerated Flash video. (x-post from comment 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 HD video, this will fix it.Nvidia using the official Nvidia binary driversudo apt-get install libvdpau1 vdpau-va-driversudo mkdir /etc/adobesudo echo -e "EnableLinuxHWVideoDecode = 1\nOverrideGPUValidation = 1" | sudo tee /etc/adobe/mms.cfgIntel using the normal Intel driverssudo apt-get install i965-va-driversudo add-apt-repository ppa:nilarimogard/webupd8sudo apt-get updatesudo apt-get install libvdpau-va-gl1sudo sh -c "echo 'export VDPAU_DRIVER=va_gl' >> /etc/profile"sudo mkdir /etc/adobesudo echo -e "EnableLinuxHWVideoDecode = 1\nOverrideGPUValidation = 1" | sudo tee /etc/adobe/mms.cfgAMD with fglrx driversudo apt-get install xvba-va-driversudo add-apt-repository ppa:nilarimogard/webupd8sudo apt-get updatesudo apt-get install libvdpau-va-gl1sudo sh -c "echo 'export VDPAU_DRIVER=va_gl' >> /etc/profile"sudo mkdir /etc/adobesudo echo -e "EnableLinuxHWVideoDecode = 1\nOverrideGPUValidation = 1" | sudo tee /etc/adobe/mms.cfgAMD with open-source radeon (built-in) driverYou 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/adobesudo echo -e "EnableLinuxHWVideoDecode = 1\nOverrideGPUValidation = 1" | sudo tee /etc/adobe/mms.cfgAfter all of the aboveAfter 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 that simply appends "export VDPAU_DRIVER=va_gl" to /etc/profile. Also added proper instructions for radeon driver.