Firefox 75 released Flatpak support; Firefox now has H.264 VA-API and full WebGL support on Wayland

Firefox browser 75 has been released today with some important improvements to Linux: the application now supports Flatpak and can be used on Flathub, while Firefox on Wayland now has H.264 VA-API and full WebGL support. The address bar on all supported desktop platforms has also been improved.

The Firefox 75 version has an improved address bar (as shown in the screenshot above) and a clean search experience, which is optimized for small laptop screens. The top site will appear when you select an address. The focus is on new search terms, and the readability of search suggestions is also improved.
In addition, when clicking on the address bar and search bar, the behavior is now the same on Linux, macOS and Windows desktops: one click to select all, without the main choice, double click to select a word, and three clicks to select All main options (previously this was different on Linux). Now that we have resolved this issue, let us continue to understand the major news of Firefox 75 for Linux users.

Firefox Flatpak
Install Firefox with Flathub flatpak package

This is the first stable version of Firefox to support Flatpak, which is a framework for distributing sandboxed desktop applications on Linux. Therefore, Firefox can now Flathub, An application repository powered by Flatpak. This means that you can now easily install the latest Firefox version in many Linux distributions. For Linux users, another important news is that Firefox 75 on Wayland now fully supports WebGL (some information and links are from Phoenix), as well as H.264 VA-API decoding (Supported by FFmpeg). Mozilla also completed the use of FFmpeg for Firefox on Wayland to implement VP9 VA-API hardware decoding, but this did not make it good news for Firefox 75. The upcoming Firefox 76 Release. The Firefox accelerated video playback function based on Wayland VA-API should be compatible with Intel and AMDGPU, and Comment on this bug report Contains instructions on how to enable it. Essentially, you need:

  • Libva installed
  • Enable GL compositor or WebRender, both should work (to enable WebRender, please set gfx.webrender.all truly about:config -Although you will find relevant content on the Internet, it can run in the stable version of Firefox 75, not just in Firefox at night; after restarting Firefox, please go to about:support, Scroll to Graphics And make sure Compositing Showing WebRender, like this); also set layers.acceleration.force-enabled to true In about:configAnd make sure layers.omtp.enabled with layout.display-list.retain Is also enabled (From RedditFrom Martin Stransky’s blog)
  • Group widget.wayland-dmabuf-vaapi.enabled to true In about:config
  • After completing all the above steps, run Firefox 75 like this under Wayland (MOZ_LOG This is to enable logging-when running a video supported by VA-API in Firefox, you should see some VA-API related messages): MOZ_ENABLE_WAYLAND=1 MOZ_LOG="PlatformDecoderModule:5" ./firefox (Assuming you have downloaded the Firefox binary archive file and are running the binary file from the extracted folder-adjust firefox The path where you installed/extracted Firefox 75)

Since VA-API accelerated video playback only supports h.264 videos, and YouTube defaults to VP9, ​​please use the following methods to force YouTube videos to use h.264: h264ify Firefox extensionTo enable full WebGL support in Wayland’s Firefox 75 (Martin Stransky in This blog post), you need to perform the same steps as above for VA-API (minus the dmabuf-vaapi flag), and then set widget.wayland-dmabuf-webgl.enabled to true In about:configOther changes in Firefox 75:

  • Firefox will locally cache all trusted Web PKI certificate authority certificates known to Mozilla. This will improve HTTPS compatibility with misconfigured web servers and increase security
  • Direct Composition is integrated for our users on Windows to help improve performance and enable our ongoing work to release WebRender on Windows 10 laptops with Intel graphics cards.
  • For business users:
    • Experimental support for using client certificates from the OS certificate store can be enabled on macOS by setting preferences security.osclientcerts.autoload to true
    • Enterprise policies can be used to exclude the possibility of resolving domain names via TRR (Trusted Recursive Resolver) via DNS over HTTPS

Since I have a desktop computer with only Nvidia graphics (I cannot use my Intel graphics laptop during these isolation periods), I cannot try, so in this case, I cannot help you debug the content to work for you . This is also the reason why this article is a bit confusing-because it is basically a problem that I cannot find in bug reports and other sources (you can also find all sources in this article), and I cannot try it myself. Please let me know if I need to add or fix any issues.
Hope all of these will be enabled by default in Firefox. See also: How to enable hardware acceleration in Chromium on Ubuntu or Linux Mint (VA-API patched PPA build)

Download Firefox

Firefox can also be installed on the following versions of Linux distributions Flathub with Snapshot storage (Packed by Mozilla through multiple channels: stable version, candidate version, beta version and esr version). You may also receive updates to the latest Firefox version from the Linux distribution repository.