Ubuntu's Chromium Snap Now Allows Enabling Native Wayland Support

Written by Michael Larabel in Ubuntu on 13 May 2022 at 08:41 AM EDT. 19 Comments
UBUNTU
Those using the Chromium web browser on Ubuntu by way of the Snap package, the latest build has now enabled (optional) Wayland support.

There has long been X11 and Wayland Ozone support available in various testing forms. However, enabling the experimental native Wayland support with Ubuntu's Chromium Snap hasn't been possible since that build force-disables the Wayland support.

Going back to 2020 there has been this Ubuntu chromium-browser bug report over Chromium's Wayland support being disabled with the "DISABLE_WAYLAND" option.

That bug report discussion was restarted in March and now with the latest Chromium snap builds, the one line change has landed so the DISABLE_WAYLAND support isn't set and therefore forcing the Wayland support code in Ozone to not be built.

By default the Chromium browser Snap on Ubuntu will still default to X11/XWayland, but at least it now allows for run-time opting over to using the native Wayland code path if so desired.


Those running the Chromium Snap builds within the past week can adjust your default preference via chrome://flags/#ozone-platform-hint if wanting to use the web browser's native Wayland code.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week