HP EliteDesk 800 G2

HP EliteDesk 800 G2 Mini Desktop PC – Hardware Acceleration in Firefox – Week 4

H.264 Video with BBC iPlayer

This section applies to any video service that delivers H.264 video by default. BBC iPlayer and other services use this video codec.

We need to set some flags in Firefox. They are accessed by pointing Firefox to about:config. Firefox offers the warning “Proceed with Caution. Changing advanced configuration preferences can impact Firefox performance or security.”

Click the “Accept the Risk and Continue” box to proceed.

Set these flags

media.ffmpeg.vaapi.enabled to true
media.ffvpx.enabled to false
media.rdd-vpx.enabled to false
media.navigator.mediadatadecoder_vpx_enabled to true

We need to start Firefox with an environment variable, MOZ_ENABLE_WAYLAND=1. The quickest way to test things are working is to include this environment variable at the command line. Start Firefox with the command:

$ MOZ_ENABLE_WAYLAND=1 firefox 1

Our system should now be configured to use hardware video acceleration in Firefox. We can verify the system and Firefox are correctly configured by monitoring the output of intel_gpu_top.

$ sudo intel_gpu_top

HP EliteDesk 800 G2 - Firefox - iPlayer

We’re watching an H.264 encoded video in Firefox. The important engine is Video/0. As Video/0 is greater than 0%, hardware video acceleration is working while we are watching the H.264 video.

1 We can start Firefox with the MOZ_ENABLE_WAYLAND=1 environment variable automatically, but that’s left as an exercise for the reader.

Next page: Page 3 – YouTube

Pages in this article:
Page 1 – Configuration
Page 2 – iPlayer
Page 3 – YouTube


Complete list of articles in this series:

HP EliteDesk 800 G2 Mini Desktop PC
Week 6Lightweight gaming on the HP EliteDesk
Week 5Multiple operating systems running on the HP EliteDesk
Week 4Hardware graphics acceleration when watching videos in Firefox
Week 3Multimedia on the HP EliteDesk 800 G2 USFF PC
Week 2Benchmarking the HP EliteDesk 800 G2 USFF PC with other machines
Week 1Introduction to the series including wiping Windows and installing Manjaro

This blog is written on the HP EliteDesk 800 G2 Mini Desktop PC.

Best Free and Open Source SoftwareRead our complete collection of recommended free and open source software. Our curated compilation covers all categories of software.

The software collection forms part of our series of informative articles for Linux enthusiasts. There are hundreds of in-depth reviews, open source alternatives to proprietary software from large corporations like Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

There are also fun things to try, hardware, free programming books and tutorials, and much more.
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments