Note that on Raspberry Pi 4 it is still necessary to force OpenGL ES in servo.
Otherwise Qt (which auto-picks GLES) will use GLES, while servo uses GL, which will then later crash.
Additionally, for OpenGL ES to work on Raspbian Bookworm, the following host packages need to be manually installed:
libgles2-mesa-dev
libdrm-dev
The driver is passed through to the Nix environment with nixGL.
Note that on Raspberry Pi 4 it is still necessary to force OpenGL ES in servo. Otherwise Qt (which auto-picks GLES) will use GLES, while servo uses GL, which will then later crash.
Additionally, for OpenGL ES to work on Raspbian Bookworm, the following host packages need to be manually installed:
The driver is passed through to the Nix environment with nixGL.