XWayland, i915, kwin: Failed to initialize glamor, falling back to sw
Hi dear devs,
I found issue related to Xwayland at my Asus Eee PC 1000HE laptop. I'm trying to use compositing with GLES2.0 since don't have OGL 2.1 with GME945 graphics. I see 2 problems but they may be relative and have the same source.
- Running wayland session with my kde plasma I see failing of initialization of glamor on starting xwayland with "kwin_wayland -xwayland"wayland-session.log Quote from attached log:
Require OpenGL version 2.1 or later.
Failed to initialize glamor
Failed to initialize glamor, falling back to sw
I suppose that glamor should be initialized file because GME945 has GLES 2.0 support. So it tries to determine OGL doesn't try GLES. it comes from next function:
gl_version = epoxy_gl_version();
So is it the way how to force xwayland to use gles instead of ogl with both installed on board?
- I'm struggling with low performance on wayland session(firefox.. etc). I found that llvmpipe mesa driver is used instead of i915. However with X session GL driver is correct(i915). check next info from different sessions:
Is it a bug? if is - is it problem of xserver or maybe something else(mesa, kwin ... etc)?
Also: with wayland session kwin debug console shows GLES 2.0 compositing and desktop effects work. So it can be used for other applications as well.
Soft: gentoo x86
xorg-server-1.20.8
mesa-20.0.2
linux 5.4.28