kwayland-5.62.0_1
kwayland-integration-5.16.5_1
qt5-wayland-5.13.0_4
wayland-1.17.0_1
xorg-server-xwayland-1.20.5_2
Start FreeCAD -> Create new document (File->New) ->start sketching as it works on X server
Start FreeCAD -> Create new document (File->New) -> app crashes with the following error:
FreeCAD 0.18.3, Libs: 0.18.3R1_voidlinux
FreeCAD: gl.cpp:2344: const cc_glglue* cc_glglue_instance(int): Assertion `current_ctx && "Must have a current GL context when instantiating cc_glglue!! (Note: if you are using an old Mesa GL version, set the environment variable COIN_GL_NO_CURRENT_CONTEXT_CHECK to get around what may be a Mesa bug.)"' failed.
Run FreeCAD 0.18 on wayland
As a workaround, does forcing Qt5 to use X11 backend works within the wayland context ?
$ QT_QPA_PLATFORM=xcb /usr/bin/FreeCAD
Others indicate that Coin3D might be the problem. I need a deeper look:
https://forum.freecadweb.org/viewtopic.php?t=33359
Seeing the same thing on Fedora... still searching for a fix.
One helpful data point is that running as FreeCAD as root seems to make the symptoms disappear. Dunno if there is a permissions issue.
Looks like a patch for the issue: https://forum.freecadweb.org/viewtopic.php?t=33359#p354412
Most helpful comment
As a workaround, does forcing Qt5 to use X11 backend works within the wayland context ?
Others indicate that Coin3D might be the problem. I need a deeper look:
https://forum.freecadweb.org/viewtopic.php?t=33359