FreeBSD 11.x (both 11.1 and 11.2) amd64.
2 x Nvidia GT218.
Tested with luakit and epiphany.
Tested web pages:
When I access certain webpages the browser shows a blank page. In the terminal where I started the browser I see:
Cannot create EGL window surface: EGL_BAD_MATCH
With epiphany the default home page which show icons of recently visited web pages I there was actually a screenshot of the webpage so epiphany gets the content but is unable to show it. This corresponds with the fact that tcpdump shows the web traffic. I noticed that that both google.com and dr.dk displays a in window popup. User consent stuff.
Other web pages works well in epiphany and luakit.
When using firefox or chrome there are no issues.
I am guessing it has something to do with GL and the nvidia driver.
The Khronos documentation states something about version mismatch.
Finally found a workaround.
If I start the browser like this
$ WEBKIT_DISABLE_COMPOSITING_MODE=1 luakit|epiphany
Webkit will have GL/hardware acceleration disabled.
This could be in the messages for the different browsers.
(In reply to c0141 from comment #1)
I confirm the error using the nvidia-driver-340-340.107 and webkit2-gtk3-2.20.3_1 using luakit as well as the workaround.
I can also confirm this on FreeBSD 12.0 amd64 with
I spotted the error with liferea-1.12.6_1 looking at heise.de.
Running liferea with
does indeed help.
Remove ENABLE_GLES2 from Makefile. This part wayland support and cause this error.
I send this to @gnome long ago, but no response.
Created attachment 202512 [details]
I make a patch.