Chromium’s Accelerated Video Decoding Comes to Wayland

Chromium enhances Linux media playback by integrating VA-API on Wayland, promising smoother, faster media playback.

Video acceleration is a crucial feature for any modern web browser. It allows for smoother playback of high-definition videos while consuming less CPU power, leading to better laptop battery life and a more responsive system overall.

In a significant development, the pull request for Chromium to enable accelerated video decoding using VA-API (Video Acceleration API) on Wayland has been finally merged.

That was a long-anticipated addition to the Linux ecosystem. As we enter 2024, it may not be the year we finally see “Linux on the desktop” become a widespread reality, but it’s shaping up to be the year of “Wayland on Linux.”

In light of this, the VaapiWrapper, a crucial component in this system, has been revised to eliminate the need for libva-x11 and the legacy VaapiVideoDecodeAccelerator in Chromium, shifting the focus to libva-drm (Direct Rendering Manager) exclusively.

This means that Linux Ozone/Wayland can now share the same code path as Linux Ozone/X11, effectively unifying the experience across different Linux environments for everyday users. For those not in the know, Ozone is a platform abstraction layer beneath Chromium’s Aura window system used for low-level input and graphics.

The recent change list outlines the technical details of this advancement. It includes the removal of the remaining libva-x11 codes from Ozone and VaapiWrapper. But more importantly, it enables VA-API by default on Linux Ozone/Wayland.

Allowing VA-API on Linux Ozone/Wayland for a Chrome browser

This is a significant step towards improving the performance and capabilities of Linux systems running Wayland, particularly in handling video decoding tasks more efficiently.

It will bring Linux users betting on Chromium as their everyday browser on par with those on other platforms like Windows and macOS, where browser-based video acceleration has been a standard feature for some time.

Lastly, it’s worth noting that the other major player in the Linux browser field, Firefox, already offers hardware video acceleration on Wayland. But now Chromium has also joined the family, which is excellent news for all Linux enthusiasts.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 68%