This is an old revision of the document!
Table of Contents
Graphics hardware acceleration on the Raspberry Pi 2
In this article we will discover how to enable graphics hardware acceleration in the Chromium browser running on the Raspberry Pi 2, using RaspiOS based on Debian Bullseye 11.
How to check if KMS and V3D are active
V3D is an API provided by the Linux kernel to support 3D graphics on the VideoCore VI GPU (RPi 4). The software driver is actually provided in the form of a Device Tree Overlay which is loaded adding the following line into /boot/config.txt:
dtoverlay=vc4-kms-v3d
The older Raspberry Pi 3 has a VideoCore IV GPU and the legacy software driver was called VC4. The new Device Tree Overly is capable to detect the VideoCore available (IV or VI) and provide the same new V3D interface.
To check if V3D is enabled you can read the content of following pseudofile in the Raspberry Pi 3 (it can be ok or disabled):
cat /proc/device-tree/soc/v3d@7ec00000/status
for the Raspberry Pi 4 the exposed pseudofile is different:
/proc/device-tree/v3dbus/v3d@7ec04000/status
The KMS is instead generally disabled, you can check the following pseudofile:
cat /proc/device-tree/soc/firmwarekms@7e600000/status