Hardware Acceleration

I’m running Ubuntu Mate 20.10, 64 bit Groovy Gorilla, for my Pi 4, 8GB. Is it possible to do hardware acceleration for better Firefox and VLC media player performance? If so, how would I be able to do it? Are there any tutorials that I could follow?

Here is a tutorial for you:

https://www.dedoimedo.com/computers/rpi4-ubuntu-mate-hw-video-acceleration.html

2 Likes

Thank you, however, I cannot find the usercfg.txt file under /boot/firmware/usercfg.txt. The instructions are:

On Raspberry Pi, /boot/firmware/config.txt also exists, but this file tells you not to write changes to it directly, and to use usercfg.txt. At the bottom of the config.txt file, there's an include statement, which will pull all your manual overrides from the usercfg.txt file. So this is where we want to make the change. Open the file in a text editor as root or sudo:

sudo nano /boot/firmware/usercfg.txt

Then add the following lines in there:

dtoverlay=vc4-fkms-v3d
max_framebuffers=2
gpu_mem=128
hdmi_enable_4kp60=1

Do I add the above four lines in /boot/config.txt instead?

yes, i'm pretty sure the usercfg.txt file was deprecated in favor of config.txt going from 20.04 to 20.10

Hello! Ok.. understood. But what is the alternative in this case?

Regards
Vore

1 Like