{"id":1794,"date":"2013-10-01T11:21:12","date_gmt":"2013-10-01T11:21:12","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=1794"},"modified":"2014-02-11T03:12:31","modified_gmt":"2014-02-11T03:12:31","slug":"enable-hardware-acceleration-on-intel-graphics-cards-in-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2013\/10\/enable-hardware-acceleration-on-intel-graphics-cards-in-ubuntu\/","title":{"rendered":"Enable Hardware Acceleration on Intel Graphics Cards in Ubuntu"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/10\/intel-graphics.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/10\/intel-graphics.jpg\" alt=\"intel graphics\" width=\"250\" height=\"232\" class=\"aligncenter size-full wp-image-1795\" \/><\/a><\/p>\n<p>This tutorial is going to show you how to enable hardware acceleration on Intel graphics cards using VDPAU driver. <\/p>\n<p>VDPAU is an open-source library and API allows to video programs to offload portions of the video decoding process and video post-processing to the GPU video-hardware. If VDPAU available, CPU usage can be significantly lower.<\/p>\n<p>Applications that uses VDPAU:<\/p>\n<ul>\n<li>Avidemux as of version 2.6<\/li>\n<li>Boxee<\/li>\n<li>GStreamer<\/li>\n<li>MPlayer<\/li>\n<li>MythTV<\/li>\n<li>XBMC Media Center<\/li>\n<li>XBMC Live<\/li>\n<li>Xine<\/li>\n<li>MLT<\/li>\n<li>Adobe Flash 10.2 Stage Video and later versions (32-bit only presently)<\/li>\n<li>VLC media player 2.1<\/li>\n<\/ul>\n<p>VDPAU is not available on Intel graphics cards. Fortunately, there&#8217;s an open-source project called <code>libvdpau-va-gl<\/code>, which is a VDPAU driver that uses OpenGL under the hood to accelerate drawing and scaling, and VA-API (if available) to accelerate video decoding. You can use it on some Intel chips.<\/p>\n<h3>Install libvdpau-va-gl via PPA on Ubuntu<\/h3>\n<p>Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below commands one by one (Supports Ubuntu 13.10, 13.04, 12.10, 12.04).<\/p>\n<p><code>sudo add-apt-repository ppa:nilarimogard\/webupd8<\/code><br \/>\n<code>sudo apt-get update<\/code><br \/>\n<code>sudo apt-get install libvdpau-va-gl1<\/code> <\/p>\n<p>To install the VAAPI drivers for Intel HD Graphics:<\/p>\n<p><code>sudo apt-get install i965-va-driver<\/code><\/p>\n<p>To launch an application with the driver, for example, launch firefox:<\/p>\n<p><code>VDPAU_DRIVER=va_gl firefox<\/code><\/p>\n<p>To force Adobe Flash to use the hardware acceleration:<\/p>\n<p><code>sudo mkdir -p \/etc\/adobe<\/code><br \/>\n<code>echo \"EnableLinuxHWVideoDecode=1\" | sudo tee \/etc\/adobe\/mms.cfg<\/code><br \/>\n<code>echo \"OverrideGPUValidation=1\" | sudo tee -a \/etc\/adobe\/mms.cfg<\/code><\/p>\n<p>To enable the driver for system-wide (not recommended):<\/p>\n<p><code>sudo sed -i \"s\/^# \\[\/\\[\/g\" \/etc\/X11\/Xsession.d\/20vdpau-va-gl<\/code><br \/>\n<code>sudo sed -i \"s\/^#   export\/  export\/g\" \/etc\/X11\/Xsession.d\/20vdpau-va-gl<\/code><\/p>\n<p>via: <a href=\"https:\/\/github.com\/i-rinat\/libvdpau-va-gl\" title=\"the VDPAU driver with VA-API\/OpenGL backend\">libvdpau-va-gl on Github<\/a> | <a href=\"http:\/\/www.webupd8.org\/2013\/09\/adobe-flash-player-hardware.html\" target=\"_blank\">webupd8<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial is going to show you how to enable hardware acceleration on Intel graphics cards using VDPAU driver. VDPAU is an open-source library and API allows to video programs to offload portions of the video decoding process and video post-processing to the GPU video-hardware. If VDPAU available, CPU usage can be significantly lower. Applications [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[654,655],"class_list":["post-1794","post","type-post","status-publish","format-standard","hentry","category-modify-ubuntu","tag-hardware-acceleration","tag-intel-graphics-cards"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/1794","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=1794"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/1794\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=1794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=1794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=1794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}