gtk4-demo shows an empty window on old GPU
Steps to reproduce
- Check OpenGL version with
glxinfo
. It is2.1 Mesa 18.3.2
here. - Run
gtk4-demo
.
Current behavior
It shows a black window. Print Screen can capture it, but Alt+Print Screen produces an empty and transparent picture.
After clicking on the black window, widgets appear. But it is still completely unusable because there is no text.
Expected outcome
gtk4-demo
should just work.
Version information
GTK 3.96.0-1647-gacb7f437 on FreeBSD 12.1-RC1.
Additional information
Using GSK_RENDERER=cairo
to switch the GSK renderer fixes the problem. Using LIBGL_ALWAYS_SOFTWARE=true
to switch to llvmpipe also fixes the problem, but gtk4-demo
makes it slower than gtk3-demo
.