Video
Modern graphic cards perform a variety of tasks. They aren’t just designed for gaming. Many cards help offload video encoding and decoding from the CPU. This helps to lower power consumption and free up resources for the rest of the system.
Like the majority of Mini PCs, the FIREBAT doesn’t offer an internal dedicated graphics card. Instead the FIREBAT relies on hardware decoding from its GPU.
Linux offers 3 main APIs that enable hardware video acceleration. They are VA-API, VDPAU, and NVENC/NVDEC. VA-API (Video Acceleration API) user mode driver is supported on Intel, AMD and NVIDIA. It’s widely supported by software. The FIREBAT has an Intel onboard GPU and uses this API.
What’s a good way to tell if hardware acceleration is working? First let’s install a couple of packages, intel-gpu-tools and vainfo. In EndeavourOS, they can be installed with the command:
$ yay -S intel-gpu-tools libva-utils
Playing 4K encoded video with the default installed video players (Haruna and mpv) showed that hardware acceleration isn’t working out of the box. Without hardware acceleration, playback of 4K videos is unwatchable. The vainfo
utility wouldn’t run either.
EndeavourOS makes ‘safe’ choices when installing the operating system in particular to the graphics drivers used. If you want hardware accelerated decoding, we strongly recommend you install the Intel iHD graphics driver. First uninstall the xf86-video-intel package with the command:
$ yay -R xf86-video-intel
Now we can install drivers that fully use hardware acceleration with the command:
$ yay -S intel-media-driver intel-media-sdk
Now, when playing video with mpv, intel-gpu-top reports that the Video Engine is being used. This means that we’re playing the video with hardware acceleration, offloading playback to the onboard GPU.
The FIREBAT’s onboard GPU is pretty lame which limits the performance of high quality video even with hardware acceleration enabled.
Here’s the output from vainfo using the Intel iHD graphics driver.
VAEntrypointVLD means that the machine is capable to decode this format, VAEntrypointEncSlice means that the machine can encode to this format.
Pages in this article:
Page 1 – Installing EndeavourOS
Page 2 – Post Installation
Page 3 – Video
Complete list of articles in this series:
FIREBAT T8 Plus Mini PC | |
---|---|
Part 1 | Introduction to the series with an interrogation of the system |
Part 2 | Benchmarking the FIREBAT T8 Plus Mini PC |
Part 3 | Testing the power consumption |
Part 4 | Multimedia: Watching videos and listening to music |
Part 5 | How does the FIREBAT fare as a gaming PC? |
Part 6 | Windows Subsystem for Linux 2 |
Part 7 | Installing and Configuring EndeavourOS, an Arch-based distro |
Part 8 | Installing and Configuring Rhino Linux, a rolling release Ubuntu-based distro |
Part 9 | VirtualBox performance on the FIREBAT |
I like EndeavourOS doesn’t force its branding on users like Manjaro does.
Agreed, when Manjaro decided to put its branding on the terminal, I simply dumped Manjaro and moved over to a different Linux distro. That’s the beauty of Linux.