After installing the Nvidia driver add the following to
/usr/share/applications/org.freecadweb.FreeCAD.desktop
Exec=env __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia QT_QPA_PLATFORM=xcb /usr/bin/freecad - --single-instance %F

This does get overwritten on every update, i would be happy to hear suggestions on how to do that more cleanly.