{"id":52027,"date":"2026-09-11T12:42:26","date_gmt":"2026-09-11T12:42:26","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=52027"},"modified":"2026-09-11T12:42:26","modified_gmt":"2026-09-11T12:42:26","slug":"enable-video-acceleration-chromium-nvidia","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2026\/09\/enable-video-acceleration-chromium-nvidia\/","title":{"rendered":"Enable Video Acceleration for Chrome \/ Chromium in Ubuntu with NVIDIA"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-38385\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/nvidia-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/nvidia-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/nvidia-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/nvidia-logo-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/nvidia-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/nvidia-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p>This is a step by step guide shows how to enable NVIDIA GPU accelerated video decoding for Google Chrome, Chromium, Brave, Edge, etc web browsers in Ubuntu.<\/p>\n<p>As you may know, Chromium based web browsers do not support NVDEC (NVIDIA Decoder) for video acceleration in Linux by default. The open-source NVIDIA VA-API driver workaround the issue by translating VA-API calls (that most browsers supported) into NVIDIA&#8217;s NVDEC video decoding functionality.<\/p>\n<p><!--more--><\/p>\n<p>In this tutorial, I\u2019m going to show you how to install the workaround and set it up for Chrome\/Chromium based browsers on Ubuntu.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/chromium-nvidiaacc.webp\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-52030\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/chromium-nvidiaacc-700x469.webp\" alt=\"\" width=\"610\" height=\"409\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/chromium-nvidiaacc-700x469.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/chromium-nvidiaacc-300x201.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/chromium-nvidiaacc-768x514.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/chromium-nvidiaacc.webp 1383w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>NOTE: This tutorial does NOT work on Optimus laptop. See this <a href=\"https:\/\/github.com\/elFarto\/nvidia-vaapi-driver\/issues\/11\" target=\"_blank\" rel=\"noopener\">bug report<\/a>. It does NOT for Snap apps as well!<\/b><\/p>\n<p><b>This tutorial was tested and works in Ubuntu 26.04 with Google Chrome, Chromium, Edge, Brave browsers. It should also work in Ubuntu 24.04, Ubuntu 22.04 and with other Chromium based browsers.<\/b><\/p>\n<h3>Step 1: Install NVIDIA VA-API Driver<\/h3>\n<p>The open-source driver was initially designed for Firefox web browser, while, Chromium browser support was added since version 0.0.18.<\/p>\n<p><b>1.<\/b> To install the driver, press <code>Ctrl+Alt+T<\/code> on keyboard to launch terminal, and run command to add this <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/nvidia-vaapi\" target=\"_blank\" rel=\"noopener\">unofficial PPA<\/a>:<\/p>\n<pre>sudo add-apt-repository ppa:ubuntuhandbook1\/nvidia-vaapi<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-52032\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/nv-vaapi-ppa2604-700x491.webp\" alt=\"\" width=\"610\" height=\"428\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/nv-vaapi-ppa2604-700x491.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/nv-vaapi-ppa2604-300x210.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/nv-vaapi-ppa2604.webp 729w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p><b>2.<\/b> Then refresh cache by running command:<\/p>\n<pre>sudo apt update<\/pre>\n<p>Ubuntu now updates the cache automatically while adding PPA, though Linux Mint user needs to run it manually unless adding PPA through the built-in &#8220;Software Sources&#8221; utility.<\/p>\n<p><b>3.<\/b> Finally, the driver package:<\/p>\n<pre>sudo apt install nvidia-vaapi-driver<\/pre>\n<p>During the installing process, you may keep an eye on the terminal output to see if the package from PPA (<strong>version &gt;= 0.0.18<\/strong>) is being installed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-52031\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/apt-nv-vaapidriver2604-700x537.webp\" alt=\"\" width=\"610\" height=\"468\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/apt-nv-vaapidriver2604-700x537.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/apt-nv-vaapidriver2604-300x230.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/apt-nv-vaapidriver2604.webp 702w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p><b>For those who don&#8217;t trust 3rd-party PPAs<\/b>, download the source tarball from <a href=\"https:\/\/github.com\/elFarto\/nvidia-vaapi-driver\/releases\" target=\"_blank\" rel=\"noopener\">Github releases<\/a> page, then extract and open the source folder in terminal.<\/p>\n<p>Finally run the commands below one by one to build from source:<\/p>\n<ul>\n<li>Install the build dependencies:\n<pre>sudo apt install build-essential meson gstreamer1.0-plugins-bad libffmpeg-nvenc-dev libva-dev libegl1-mesa-dev libgstreamer-plugins-bad1.0-dev libgles2-mesa-dev<\/pre>\n<\/li>\n<li>Next, run the commands below to test, build and install (make sure running the commands inside the source folder):\n<pre>.\/test.sh<\/pre>\n<pre>meson setup build<\/pre>\n<pre>meson install -C build<\/pre>\n<\/li>\n<\/ul>\n<h3>Step 2: Test If the Driver Works for You<\/h3>\n<p>To make it work, you need to launch your Chromium based browser with certain parameters. It&#8217;s better to try it out in command line before making it permanent.<\/p>\n<p><b>1.<\/b> First, launch terminal (Ctrl+Alt+T) and run commands to set environment variable and display VA-API driver information:<\/p>\n<pre>export LIBVA_DRIVER_NAME=nvidia<\/pre>\n<pre>vainfo<\/pre>\n<p>Run <code>sudo apt install vainfo<\/code> to install the tool if command not found. If everything goes well, it should output driver version: &#8220;VA-API NVDEC drver [direct backend]&#8221; as the screenshot below shows you.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-52028\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/vainfo-nvidia-700x555.webp\" alt=\"\" width=\"610\" height=\"484\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/vainfo-nvidia-700x555.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/vainfo-nvidia-300x238.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/vainfo-nvidia.webp 746w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p><b>2.<\/b> For beginners who are new to Linux and don&#8217;t even know how to launch an app from command line, do this step to find out the command to launch your browser.<\/p>\n<p>If you installed the web browser through the <b>native <code>.deb<\/code> package<\/b>, then the executable file was mostly installed in <code>\/usr\/bin<\/code> directory.<\/p>\n<p>In the case, run the similar command line to tell the executable name:<\/p>\n<pre>ls \/usr\/bin\/ |grep -i \"chromium\"<\/pre>\n<p>Here replace <code>chromium<\/code> with <code>chrome<\/code>, <code>edge<\/code>, <code>brave<\/code>, <code>opera<\/code> etc according what browser you use.<\/p>\n<p>In my case as the screenshot below shows, I can run <code>google-chrome<\/code> or <code>google-chrome-stable<\/code> to launch the Chrome browser from command line, and run <code>chromium-browser<\/code> to launch chromium from terminal.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-52029\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/deb-findexe-700x456.webp\" alt=\"\" width=\"610\" height=\"397\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/deb-findexe-700x456.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/deb-findexe-300x195.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/deb-findexe.webp 756w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>If your browser was installed as <b>Flatpak package<\/b>, then run the command below to find out the App ID:<\/p>\n<pre>flatpak list --app --columns=name,application<\/pre>\n<p>According to the app ID, you can launch the browser with a command similar to the one below:<\/p>\n<p><code>flatpak run org.chromium.Chromium<\/code><\/p>\n<p>Here replace <code>org.chromium.Chromium<\/code> with your browser&#8217;s app ID, e.g., <code>com.brave.Browser<\/code>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-52033\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/flatpak-findappid-700x456.webp\" alt=\"\" width=\"610\" height=\"397\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/flatpak-findappid-700x456.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/flatpak-findappid-300x195.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/flatpak-findappid.webp 756w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p><b>3.<\/b> Once you find out how to launch your web browser from command line, run a command similar to the one below to launch it with the parameters that use NVIDIA VA-API driver:<\/p>\n<pre>LIBVA_DRIVER_NAME=nvidia <b>google-chrome<\/b> --enable-features=AcceleratedVideoDecodeLinuxGL,VaapiOnNvidiaGPUs --ignore-gpu-blocklist --use-gl=angle --use-angle=gl --ozone-platform=wayland<\/pre>\n<p>Here replace <code>google-chrome<\/code> in command with <code>chromium-browser<\/code>, <code>microsoft-edge<\/code>, or <code>flatpak run org.chromium.Chromium<\/code> etc according the last step. And, <code>skip ozone-platform=wayland<\/code> if you&#8217;re NOT on Wayland that&#8217;s default in GNOME and KDE Plasma desktops.<\/p>\n<p>When the browser opens, play a video from either your local folder or websites, such as Youtube. (You probably need to install <a href=\"https:\/\/chromewebstore.google.com\/detail\/enhanced-h264ify\/omkfmpieigblcllmkgbflkikinpkodlk?hl=en&amp;pli=1\" target=\"_blank\" rel=\"noopener\"><b>enhanced-h264ify<\/b> extension<\/a> for Youtube video). And, use <b>Resources<\/b> app to monitor if your GPU is decoding.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/chromium-nvidiaacc.webp\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-52030\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/chromium-nvidiaacc-700x469.webp\" alt=\"\" width=\"610\" height=\"409\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/chromium-nvidiaacc-700x469.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/chromium-nvidiaacc-300x201.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/chromium-nvidiaacc-768x514.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/chromium-nvidiaacc.webp 1383w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>For Ubuntu 24.04 and 22.04 without Resources app, install <code>nvtop<\/code> via command below:<\/p>\n<pre>sudo apt install nvtop<\/pre>\n<p>Then run <b>nvtop<\/b> in another terminal window. It will show you a <b>DEC<\/b> section in the GPU row if your NVIDIA GPU is decoding video.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-52034\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/nvtop-decoding-700x486.webp\" alt=\"\" width=\"610\" height=\"424\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/nvtop-decoding-700x486.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/nvtop-decoding-300x208.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/nvtop-decoding-768x533.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/nvtop-decoding.webp 854w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<h3>Step 3: Make it work when your launch the browser via app shortcut icon<\/h3>\n<p>If everything goes well, you can then edit the configuration file for your browser app shortcut icon, to make the video acceleration work when launching the browser from application launcher.<\/p>\n<h4>For Flatpak App<\/h4>\n<p>The app shortcut icons are handled by <code>.desktop<\/code> files. For the browser installed as <b>Flatpak package<\/b>, run the command below to navigate to the destination folder:<\/p>\n<pre>cd \/var\/lib\/flatpak\/exports\/share\/applications\/<\/pre>\n<p>If you installed Flatpak package via <code>--user<\/code> flag, then run <code>cd ~\/.local\/share\/flatpak\/exports\/share\/applications<\/code> instead.<\/p>\n<p>Then run <b>ls<\/b> command to list the <b>.desktop<\/b> files. It&#8217;ll be something look like <code>org.chromium.Chromium.desktop<\/code> or others depend on your browser&#8217;s app ID.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-52036\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/cp-chromiumlocal-700x484.webp\" alt=\"\" width=\"610\" height=\"422\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/cp-chromiumlocal-700x484.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/cp-chromiumlocal-300x208.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/cp-chromiumlocal-768x531.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/cp-chromiumlocal.webp 802w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>It&#8217;s OK to edit the file directly, but the changes will be overwritten after a flatpak package update.<\/p>\n<p>So, it&#8217;s better to copy that file to user&#8217;s local folder by running the commands below one by one (see the last screenshot):<\/p>\n<ul>\n<li>Create the user&#8217;s local folder for storing <code>.desktop<\/code> file:\n<pre>mkdir -p ~\/.local\/share\/applications<\/pre>\n<\/li>\n<li>Copy the chromium-based browser&#8217;s <code>.desktop<\/code> file into that folder:\n<pre>sudo cp \/var\/lib\/flatpak\/exports\/share\/applications\/org.chromium.Chromium.desktop ~\/.local\/share\/applications\/<\/pre>\n<\/li>\n<li>Finally, change the owner ship to your user:\n<pre>sudo chown $USER:$USER ~\/.local\/share\/applications\/org.chromium.Chromium.desktop<\/pre>\n<\/li>\n<\/ul>\n<p>Here you need to replace <code>org.chromium.Chromium<\/code> in the last 2 commands with your browser&#8217;s app ID.<\/p>\n<p>Finally, edit the file with your favorite text editor. For default GNOME desktop, use <code>gnome-text-editor<\/code> for 24.04+ or <code>gedit<\/code> for 22.04.<\/p>\n<p>Here I use <code>nano<\/code> that works in most desktop environments (Also, replace App-ID with yours).<\/p>\n<pre>nano ~\/.local\/share\/applications\/org.chromium.Chromium.desktop<\/pre>\n<p>When file opens, edit the values for all the <b>Exec=<\/b> lines. And, add:<\/p>\n<ul>\n<li><code>env LIBVA_DRIVER_NAME=nvidia<\/code> at the beginning.<\/li>\n<li><code>--enable-features=AcceleratedVideoDecodeLinuxGL,VaapiOnNvidiaGPUs --ignore-gpu-blocklist --use-gl=angle --use-angle=gl --ozone-platform=wayland<\/code> before the <code>@@u %U @@<\/code>.<\/li>\n<\/ul>\n<p>Also skip <code>--ozone-platform=wayland<\/code> for non-Wayland desktop session.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/edit-chromiumflatpak-desktop.webp\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-52037\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/edit-chromiumflatpak-desktop-700x505.webp\" alt=\"\" width=\"610\" height=\"440\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/edit-chromiumflatpak-desktop-700x505.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/edit-chromiumflatpak-desktop-300x216.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/edit-chromiumflatpak-desktop-768x554.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/edit-chromiumflatpak-desktop.webp 1198w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>After saved the .desktop file (for nano, press Ctrl+S to save, then Ctrl+X to exit), launch the browser from Gnome overview or application launcher, play a video and see if hardware acceleration works.<\/p>\n<p><b>NOTE:<\/b> for missing app icon issue, try copying the icon file from <code>\/var\/lib\/flatpak<\/code> to user&#8217;s local icon folder. See the screenshot below, but replace browser name <code>chromium<\/code> accordingly.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-52035\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/chromium-flatpak-localicon-700x486.webp\" alt=\"\" width=\"610\" height=\"424\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/chromium-flatpak-localicon-700x486.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/chromium-flatpak-localicon-300x208.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/chromium-flatpak-localicon-768x533.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/chromium-flatpak-localicon.webp 854w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<h4>For Native .DEB App<\/h4>\n<p>If you installed the browser via native .deb package, then run a command similar to the one below to find the <code>.desktop<\/code> file:<\/p>\n<pre>ls \/usr\/share\/applications\/ |grep -i \"chrome\"<\/pre>\n<p>Also replace <code>chrome<\/code> with your browser&#8217;s key name.<\/p>\n<p>Once you found out the <code>.desktop<\/code> file, copy it to user&#8217;s local folder (replace <b>google-chrome.desktop<\/b> below with yours):<\/p>\n<pre>sudo cp \/usr\/share\/applications\/google-chrome.desktop ~\/.local\/share\/applications<\/pre>\n<p>And, change the owner ship to your user:<\/p>\n<pre>sudo chown $USER:$USER ~\/.local\/share\/applications\/*<\/pre>\n<p>Finally, edit it with your favorite text editor (here use universal <code>nano<\/code> CLI text editor).<\/p>\n<pre>nano ~\/.local\/share\/applications\/google-chrome.desktop<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-52038\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/cp-chrome-desktoplocal-700x512.webp\" alt=\"\" width=\"610\" height=\"446\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/cp-chrome-desktoplocal-700x512.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/cp-chrome-desktoplocal-300x219.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/cp-chrome-desktoplocal-768x562.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/cp-chrome-desktoplocal.webp 857w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>When file opens, also change the <b>Exec<\/b> values with:<\/p>\n<ul>\n<li><code>env LIBVA_DRIVER_NAME=nvidia<\/code> at the beginning.<\/li>\n<li><code>--enable-features=AcceleratedVideoDecodeLinuxGL,VaapiOnNvidiaGPUs --ignore-gpu-blocklist --use-gl=angle --use-angle=gl --ozone-platform=wayland<\/code> before the <code>%U<\/code>.<\/li>\n<\/ul>\n<p>As well, skip <code>--ozone-platform=wayland<\/code> for non-Wayland desktop session.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-52039\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/edit-chromelocalentry-700x439.webp\" alt=\"\" width=\"610\" height=\"383\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/edit-chromelocalentry-700x439.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/edit-chromelocalentry-300x188.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/edit-chromelocalentry-768x482.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/edit-chromelocalentry.webp 1155w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>Finally save file. For nano text editor, press Ctrl+S to save file and Ctrl+X to exit.<\/p>\n<h3>How to Restore<\/h3>\n<p>If the driver does not work for you, or you just don&#8217;t want to use it anymore, then launch terminal (Ctrl+Alt+T) and run command to remove it:<\/p>\n<pre>sudo apt remove nvidia-vaapi-driver<\/pre>\n<p>Also remove the PPA by running command:<\/p>\n<pre>sudo add-apt-repository --remove ppa:ubuntuhandbook1\/nvidia-vaapi<\/pre>\n<p>For the <code>.desktop<\/code> file changes, launch <b>Files<\/b>, press Ctrl+H to view hidden file\/folder, and navigate to <code>.local\/share\/applications<\/code>. Finally, remove the corresponding files you created.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-52040\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/delete-localchromeicon-700x447.webp\" alt=\"\" width=\"610\" height=\"390\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/delete-localchromeicon-700x447.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/delete-localchromeicon-300x192.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/delete-localchromeicon-768x491.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/09\/delete-localchromeicon.webp 1030w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>This is a step by step guide shows how to enable NVIDIA GPU accelerated video decoding for Google Chrome, Chromium, Brave, Edge, etc web browsers in Ubuntu. As you may know, Chromium based web browsers do not support NVDEC (NVIDIA Decoder) for video acceleration in Linux by default. The open-source NVIDIA VA-API driver workaround the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":38385,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[654,656],"class_list":["post-52027","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-hardware-acceleration","tag-nvidia"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/52027","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=52027"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/52027\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/38385"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=52027"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=52027"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=52027"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}