{"id":988,"date":"2024-07-29T23:02:21","date_gmt":"2024-07-29T23:02:21","guid":{"rendered":"https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/"},"modified":"2024-12-10T05:02:38","modified_gmt":"2024-12-10T05:02:38","slug":"how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide","status":"publish","type":"post","link":"https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/","title":{"rendered":"How to Enable Hardware Acceleration in Chromium Snap: A Step-by-Step Guide"},"content":{"rendered":"<p><p><strong>Last May, Canonical announced that a hardware-accelerated version of the Chromium snap was available for testing on Intel (7th-gen and later) hardware.<\/strong><\/p>\n<\/p>\n<p><p>Hardware acceleration on the modern web is a real boon.<\/p>\n<\/p>\n<p><p>VP8, VP9, H.264, and AV1 codecs are in wide use, and modern GPUs (integrated and discrete) have dedicated decoders on them in order to deliver smooth video streaming (<em>Netflix<\/em>, <em>YouTube<\/em>, etc), video calls, and cloud gaming (<em>Moonlight<\/em>, <em>Xbox Cloud Gaming<\/em>, etc).<\/p>\n<\/p>\n<p><p>Obviously, the less your CPU is tasked with, the better your system runs as the GPU stays cooler, you avoid thermal throttling, and battery life increases as more power isn\u2019t needed. It\u2019s win-win.<\/p>\n<\/p>\n<p><p>However, a year on from that test build announcement, a hardware accelerated Chromium snap package is yet to hit the stable channel (though beta and candidate channels on the snap store now have these enablements, if you\u2019re happy to use those).<\/p>\n<p>What\u2019s the hold up?<\/p>\n<p>Canonical\u2019s <em>Nathan Teodosio<\/em> has been working on this, but <a href=\"https:\/\/discourse.ubuntu.com\/t\/chromium-hardware-accelerated-build-for-intel-based-platforms-available-for-beta-testing\/35625\/46?u=d0od\" target=\"_blank\" rel=\"nofollow noopener\">says<\/a> the delay in it arriving in stable channels is due to losing access to the testing server, his computer being older (i965 Intel driver), and a few things going stale requiring automated tests to be re-enabled to ensure everything is hunky-dory.<\/p>\n<p>But you do not need to wait, my friend!<\/p>\n<\/p>\n<p><p>You can use a stable release of the Chromium snap <em>and<\/em> still benefit from hardware accelerated awesomeness \u2014 if you\u2019re willing to manually enable them.<\/p>\n<\/p>\n<p><p>The quickest way to do this is to run this command (it may appear wrapped in the preview below but it will copy and paste as a single line):<\/p>\n<\/p>\n<p><pre>chromium --enable-features=VaapiVideoDecoder,VaapiVideoEncoder,VaapiVideoDecodeLinuxGL,UseChromeOSDirectVideoDecoder --enable-native-gpu-memory-buffers --ozone-platform-hint=auto<\/pre>\n<\/p>\n<p><p>That\u2019s it.<\/p>\n<\/p>\n<p><p>Once enabled, have a play around, see what works, and perhaps install the Intel GPU Top CLI utility to verify GPU is being used for codec decoding (keep in mind Chromium uses the GPU for its UI tool, so you will see GPU usage when not streaming video, etc).<\/p>\n<\/p>\n<p><p>While that command is handy, you\u2019ll need to run that command each time you want to use Chromium with hardware acceleration on Intel \u2013 but there is an easy way around that besides creating a custom application launcher.<\/p>\n<\/p>\n<p><p>Open <code>chrome:flags<\/code> in a new tab and go through and enable the following ones.<\/p>\n<\/p>\n<ol>\n<li>You will need an 11th-gen or newer iGPU for AV1 accelerated decoding, the rest of those mentions are supported in 7th-gen and later. <a href=\"#58011310-b37c-49df-b7fe-b1926c0733b9-link\" aria-label=\"Jump to footnote reference 1\" rel=\"nofollow noopener\" target=\"_blank\">\u21a9\ufe0e<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Last May, Canonical announced that a hardware-accelerated version of the Chromium snap was available for testing on Intel (7th-gen and later) hardware. Hardware acceleration on the modern web is a real boon. VP8, VP9, H.264, and AV1 codecs are in wide use, and modern GPUs (integrated and discrete) have dedicated decoders on them in order [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":989,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-988","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Enable Hardware Acceleration in Chromium Snap | ServerHost<\/title>\n<meta name=\"description\" content=\"Improve Chromium performance on Linux by enabling hardware acceleration in the Snap version, providing faster browsing and smoother video playback experience.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Enable Hardware Acceleration in Chromium Snap | ServerHost\" \/>\n<meta property=\"og:description\" content=\"Improve Chromium performance on Linux by enabling hardware acceleration in the Snap version, providing faster browsing and smoother video playback experience.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"ServerHost Hosting Solutions Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-29T23:02:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-10T05:02:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/serverhost.com\/blog\/wp-content\/uploads\/2024\/07\/381b9be0687355e7991d1ffe909f459f.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1600\" \/>\n\t<meta property=\"og:image:height\" content=\"917\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/\",\"url\":\"https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/\",\"name\":\"Enable Hardware Acceleration in Chromium Snap | ServerHost\",\"isPartOf\":{\"@id\":\"https:\/\/serverhost.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/serverhost.com\/blog\/wp-content\/uploads\/2024\/07\/381b9be0687355e7991d1ffe909f459f.webp\",\"datePublished\":\"2024-07-29T23:02:21+00:00\",\"dateModified\":\"2024-12-10T05:02:38+00:00\",\"author\":{\"@id\":\"https:\/\/serverhost.com\/blog\/#\/schema\/person\/535ebc9c42672d8f79ad3ee8ea563d66\"},\"description\":\"Improve Chromium performance on Linux by enabling hardware acceleration in the Snap version, providing faster browsing and smoother video playback experience.\",\"breadcrumb\":{\"@id\":\"https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/#primaryimage\",\"url\":\"https:\/\/serverhost.com\/blog\/wp-content\/uploads\/2024\/07\/381b9be0687355e7991d1ffe909f459f.webp\",\"contentUrl\":\"https:\/\/serverhost.com\/blog\/wp-content\/uploads\/2024\/07\/381b9be0687355e7991d1ffe909f459f.webp\",\"width\":1600,\"height\":917},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/serverhost.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Enable Hardware Acceleration in Chromium Snap: A Step-by-Step Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/serverhost.com\/blog\/#website\",\"url\":\"https:\/\/serverhost.com\/blog\/\",\"name\":\"ServerHost Hosting Solutions Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/serverhost.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/serverhost.com\/blog\/#\/schema\/person\/535ebc9c42672d8f79ad3ee8ea563d66\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/serverhost.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b8e5973018461f98bcdda40e69a0a7ae6548c079e5e7a1a0c8b40c0738e0fb52?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b8e5973018461f98bcdda40e69a0a7ae6548c079e5e7a1a0c8b40c0738e0fb52?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/serverhost.com\/blog\"],\"url\":\"https:\/\/serverhost.com\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Enable Hardware Acceleration in Chromium Snap | ServerHost","description":"Improve Chromium performance on Linux by enabling hardware acceleration in the Snap version, providing faster browsing and smoother video playback experience.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/","og_locale":"en_US","og_type":"article","og_title":"Enable Hardware Acceleration in Chromium Snap | ServerHost","og_description":"Improve Chromium performance on Linux by enabling hardware acceleration in the Snap version, providing faster browsing and smoother video playback experience.","og_url":"https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/","og_site_name":"ServerHost Hosting Solutions Blog","article_published_time":"2024-07-29T23:02:21+00:00","article_modified_time":"2024-12-10T05:02:38+00:00","og_image":[{"width":1600,"height":917,"url":"https:\/\/serverhost.com\/blog\/wp-content\/uploads\/2024\/07\/381b9be0687355e7991d1ffe909f459f.webp","type":"image\/webp"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/","url":"https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/","name":"Enable Hardware Acceleration in Chromium Snap | ServerHost","isPartOf":{"@id":"https:\/\/serverhost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/#primaryimage"},"image":{"@id":"https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/serverhost.com\/blog\/wp-content\/uploads\/2024\/07\/381b9be0687355e7991d1ffe909f459f.webp","datePublished":"2024-07-29T23:02:21+00:00","dateModified":"2024-12-10T05:02:38+00:00","author":{"@id":"https:\/\/serverhost.com\/blog\/#\/schema\/person\/535ebc9c42672d8f79ad3ee8ea563d66"},"description":"Improve Chromium performance on Linux by enabling hardware acceleration in the Snap version, providing faster browsing and smoother video playback experience.","breadcrumb":{"@id":"https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/#primaryimage","url":"https:\/\/serverhost.com\/blog\/wp-content\/uploads\/2024\/07\/381b9be0687355e7991d1ffe909f459f.webp","contentUrl":"https:\/\/serverhost.com\/blog\/wp-content\/uploads\/2024\/07\/381b9be0687355e7991d1ffe909f459f.webp","width":1600,"height":917},{"@type":"BreadcrumbList","@id":"https:\/\/serverhost.com\/blog\/how-to-enable-hardware-acceleration-in-chromium-snap-a-step-by-step-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/serverhost.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Enable Hardware Acceleration in Chromium Snap: A Step-by-Step Guide"}]},{"@type":"WebSite","@id":"https:\/\/serverhost.com\/blog\/#website","url":"https:\/\/serverhost.com\/blog\/","name":"ServerHost Hosting Solutions Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/serverhost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/serverhost.com\/blog\/#\/schema\/person\/535ebc9c42672d8f79ad3ee8ea563d66","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/serverhost.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b8e5973018461f98bcdda40e69a0a7ae6548c079e5e7a1a0c8b40c0738e0fb52?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b8e5973018461f98bcdda40e69a0a7ae6548c079e5e7a1a0c8b40c0738e0fb52?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/serverhost.com\/blog"],"url":"https:\/\/serverhost.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/posts\/988","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/comments?post=988"}],"version-history":[{"count":1,"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/posts\/988\/revisions"}],"predecessor-version":[{"id":1670,"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/posts\/988\/revisions\/1670"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/media\/989"}],"wp:attachment":[{"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/media?parent=988"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/categories?post=988"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/tags?post=988"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}