-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FreeCAD 0.18.3 crashing on wayland #14626
Comments
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: |
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 |
Any updates on this? Has anyone tried the patch? |
I've tested the patch from that website on coin3 package and it seems to work so far. I'll be using FreeCAD the next few days and if something seemingly relevant breaks, I'll update. @yopito how do you recon this should be handled? I don't know what this functionality that's being removed does, but if it's important in general, we can patch it only when a |
sorry for late reply and thanks for your tests. |
v0.18.x is obsolete. |
Don't close the issue, the behaviour still continues with the latest versions. As I understand it, the issue is with Wayland support in the Coin library used for 3d rendering. Coin can be hacked to just not link with GLX, but that's not a plan that works for most users of Coin so it hasn't been implemented. reference: https://forum.freecadweb.org/viewtopic.php?t=33359 |
- fix FreeCAD for wayland (void-linux#14626). patch from: https://forum.freecadweb.org/viewtopic.php?p=354412&sid=85ff490ba28d18686795d961cf062754#p354412 - previously @paper42 using Gnome Wayland also had the same error. void-linux#30515 (comment)
Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it. |
Still reproducible. Edit: oops, sorry for the noise, I didn't use void-packages for that, so wrong repo to post. |
System
Void 5.2.16_1 x86_64 GenuineIntel uptodate rrrmFFF
FreeCAD 0.18.3
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
Expected behavior
Start FreeCAD -> Create new document (File->New) ->start sketching as it works on X server
Actual behavior
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.
Steps to reproduce the behavior
Run FreeCAD 0.18 on wayland
The text was updated successfully, but these errors were encountered: