Open VolkerEnderlein opened 3 years ago
Hello,
It seems that this patch https://forum.freecadweb.org/viewtopic.php?t=33359#p354412 makes users happy while running FreeCAD under Wayland : see https://github.com/void-linux/void-packages/issues/14626 for details.
Does coin dev have an opinion about this patch issue, and if this patch might help ?
Edit: reformulate
My knowledge about GLX and Wayland is very basic (only from a user perspective), so I do not know what issues may arise when applying this patch. I could make the removed check for GLX optional and enabled by default. Maybe some other devs can shed some light on this.
I've found why coin3d doesn't work correctly on the Wayland environment. The QGLWidget has a problem with a Wayland. I've re-implemented the QuarterWidget with QOpenGLWidget ( https://github.com/epuzanov/pivy/tree/QOpenGLWidget ).
This bug is going to get really noisy soon due FreeCAD wayland users preferring to operate in wayland env and not Xwindows
I updated an earlier branch to fix some issues I encountered while investigating EGL support on Wayland.
You can find this work at https://github.com/magic-lantern-studio/coin/tree/glue_egl. I did not create a merge request since it has not been tested for building on other platforms, other than Ubuntu.
Information on building this can be found at https://github.com/magic-lantern-studio/coin/wiki/OpenGL-ES-Investigation.
see this thread in coin3d-discuss