This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Questions (especially for developers) about EGL, KWIN and QT

Tags: None
(comma "," separated)
guiodic
Registered Member
Posts
35
Karma
0
OS
Hi dears, I have read the documentation of the kwin environment variables and have some questions about kwin and QT in relation to EGL.

Premise: I have an Intel Tigerlake iGPU, my main pc is a laptop, I use the X11 session with the Intel driver (configured to use the Mesa Iris driver correctly otherwise it breaks 3D acceleration). I prefer this driver to modesetting because it takes advantage of SNA acceleration.

My questions are related to some environment variables:

Code: Select all
QT_XCB_GL_INTEGRATION=xcb_egl
KWIN_OPENGL_INTERFACE=egl


Is there a real advantage for kwin and/or QT in using EGL instead of GLX in terms of performance or battery saving? (for example, I noticed that haruna consumes less CPU, but I think this is related to mpv with vaapi more than to the program. In fact using smplayer I don't notice any difference).
On the other hand, I noticed from eglinfo that EGL does not support several OpenGL extensions (including some Intel-specific ones).

Code: Select all
KWIN_COMPOSE=O2ES


As I understand it, setting OpenGL ES makes sense on older hardware, does it? Can it result in battery savings on modern hardware?

Code: Select all
KWIN_USE_INTEL_SWAP_EVENT=1


I read that the use of INTEL SWAP EVENT was disabled by default, in fact I too noticed little jerky animations, is it my impression or is it a known fact?

Many thanks for the replies.
Best.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]