nwah wrote:Even if QT5 isn't preferred, it works just fine on X11. I used OpenGL-ES in order to try to leverage EGL, which is what Wayland likes. Not building with OpenGL-ES gives the same error.
My understanding is that GLX and Wayland don't play nicely, which is why KWin uses EGL on Wayland. I'm using KWin.
Qt5 bug only manifests itself in openmw-cs, as it isn't used on openmw. Up to you, I'm just warning you of the result until it is fixed.
Please report back if after your work that openmw itself runs correctly with EGL or GLESv1.
When I tried with OSG, it went all horribly wrong... it was able to open a gl context, and it could draw a few boxes (mygui), display the loading images but rendering of anything 3D related was just black.
According to my research (read: not tested) however, Kwin and Gnome need to play nicely with Wayland to be able to render on Wayland. However once you ask SDL2 (that is compiled with Wayland support) for a GL context, it doesn't matter if it is EGL, GLESv1 or just GL, thus bypassing Wayland's compositor anyway.