As suggested i modified the Desktop file to automatically set this variable in the Exec https://github.com/FreeCAD/FreeCAD/issues/9273#issuecomment-2833296625 So change the rule Exec=env COIN_GL_NO_CURRENT_CONTEXT_CHECK=1 /usr/bin/freecad - --single-instance %F in the desktop file /usr/share/applications/org.freecad.FreeCAD.desktop as well to have it fixed there. Or add it to the environment variables in /etc/profile.