If you’re noticing screen tearing, stuttering, and generally unpleasant performance in Chromium on Raspberry Pi, here’s a fix I found for it.
You’re going to want to launch Chromium with the use-gl
flag set to egl
.
This lets us use OpenGL ES, which will strongly improve Chromium’s rendering performance on the Pi.
# Launch Chromium with the use-gl flag which enables hardware acceleration
/usr/bin/chromium-browser --use-gl=egl
Once you’ve launched Chromium with the above flag, navigate to about:gpu
to check your results.
Next, we’re going to disable the xcompmgr composition manager.
# Open configuration prompt
sudo raspi-config
Navigate to Advanced Options -> Compositor -> xcompmgr composition manager -> Choose “No”
That should resolve most issues! I still noticed a tiny bit of screen tear on certain translate3d
CSS animations, but the difference is night and day after applying these tweaks!