coin3d / coin

Coin3D core library
BSD 3-Clause "New" or "Revised" License
266 stars 105 forks source link

Missing EGL support for Wayland #451

Open VolkerEnderlein opened 3 years ago

VolkerEnderlein commented 3 years ago

see this thread in coin3d-discuss

yopito commented 2 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

VolkerEnderlein commented 2 years ago

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.

epuzanov commented 2 years ago

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 ).

luzpaz commented 9 months ago

This bug is going to get really noisy soon due FreeCAD wayland users preferring to operate in wayland env and not Xwindows

WizzerWorks commented 9 months ago

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.