Qt 5 use EGL backend for XCB
I am having some tearing issues with embedded Qt 5 with the XCB backend. I have just realized that perhaps this causes it to default to GLX and I have heard that one has a far greater chance of eliminating tearing using EGL. I also know that Qt has an EGL backend for XCB but I have no idea how to switch between the two. What configuration or runtime flags can I use to force it to use the one instead of the other?
Re: Qt 5 use EGL backend for XCB
When you say "EGL backend for XCB", do you mean the EGL backend for Qt? I.e. the eglfs QPA (Qt Platform Adapter)?
If so, you can pass eglfs to the -platform command line switch (provided you have the eglfs backend compiled and installed) or set an environment variabl (forgot which one).
Cheers,
_
Re: Qt 5 use EGL backend for XCB
Quote:
Originally Posted by
anda_skoa
When you say "EGL backend for XCB", do you mean the EGL backend for Qt? I.e. the eglfs QPA (Qt Platform Adapter)?
If so, you can pass eglfs to the -platform command line switch (provided you have the eglfs backend compiled and installed) or set an environment variabl (forgot which one).
Cheers,
_
No I am not revering to eglfs as that is different from XCB. XCB has seperate GLX and EGL backends. I am also looking at using EGLFS but I have not managed to get that running with an X11 backend as it defaults to KMS.