Ensure hardware acceleration works
To make Web perform well, especialy regarding videos, we need to ensure the hardware accelertation is enabled.
This can be tested via the env variables WEBKIT_FORCE_COMPOSITING_MODE=1
or WEBKIT_DISABLE_COMPOSITING_MODE=0
.
Hardware acceleration has been disabled by default in 3.32 (which we currently ship with patches) because of an issue with AMD GPUs. The following MR enables it back: Librem5/librem5-base!52 (closed). It has been enabled by default back on what will become 3.34, but we better ensure it's enabled anyway.
If the results are worse, we should instead ensure it's disabled by default as we try to fix the GPU…
I have been told YouTube runs at 1080p 60fps on iMX.6 with hardware acceleration on, so we should have results just as good on an iMX.8.