Restarting FreeCAD over and over again
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Restarting FreeCAD over and over again
Hi Kunda1,
Where do I add --ignore-gpu-blacklist as a flag?
Can you lead me to the right direction ... thanks.
Also is this including the -- 2 dashes?
Dimaxum
Where do I add --ignore-gpu-blacklist as a flag?
Can you lead me to the right direction ... thanks.
Also is this including the -- 2 dashes?
Dimaxum
Art connects and inspires people
Re: Restarting FreeCAD over and over again
Sorry for asking you, but did you give it up on me? I still have the same problem.Kunda1 wrote: ↑Tue Mar 30, 2021 10:42 am I've not installed conda and not running macOS but it's weird to see all that conda output before the FC welcome message. The errors look opengl/graphic card related but I'm not sure what. Cursory web search advises to add --ignore-gpu-blacklist as a flag
What happens if you do that?
Please can you lead me to the direction where I have to put the command --ignore-gpu-blacklist
And can you tell me what happens when I do so?
Thank you for your effort and time.
Kind regards, Dimaxum
Art connects and inspires people
Re: Restarting FreeCAD over and over again
Sorry about that. I'm not on macOS
My superficial proposed solution may not apply to FreeCAD. So I'm not sure.
I forget if you mentioned but have you tried the weekly-build .dmg to reproduce the issue?
https://github.com/FreeCAD/FreeCAD-AppI ... kly-builds
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Restarting FreeCAD over and over again
Hi Kunda1,Kunda1 wrote: ↑Sun Apr 04, 2021 4:22 pmSorry about that. I'm not on macOS
My superficial proposed solution may not apply to FreeCAD. So I'm not sure.
I forget if you mentioned but have you tried the weekly-build .dmg to reproduce the issue?
https://github.com/FreeCAD/FreeCAD-AppI ... kly-builds
No I didn't ... I will download it later and try it. I will let you know.
By the way, is there a section on FC forum for Mac users where I can discuss this matter?
Dimaxum
Art connects and inspires people
Re: Restarting FreeCAD over and over again
Maybe this issue is related to the QT_MAC_WANTS_LAYER change we introduced to support bigsur. We recently pushed a change to not set this variable for systems not updated to bigsur. Maybe this already solves the issue. But it is only a guess.Dimaxum wrote: ↑Mon Apr 05, 2021 5:41 amHi Kunda1,Kunda1 wrote: ↑Sun Apr 04, 2021 4:22 pmSorry about that. I'm not on macOS
My superficial proposed solution may not apply to FreeCAD. So I'm not sure.
I forget if you mentioned but have you tried the weekly-build .dmg to reproduce the issue?
https://github.com/FreeCAD/FreeCAD-AppI ... kly-builds
No I didn't ... I will download it later and try it. I will let you know.
By the way, is there a section on FC forum for Mac users where I can discuss this matter?
Dimaxum
The latest weekly build definitely has the fix included. So please report back if it works.
Re: Restarting FreeCAD over and over again
Hi there Lorenz,looo wrote: ↑Mon Apr 05, 2021 7:17 amMaybe this issue is related to the QT_MAC_WANTS_LAYER change we introduced to support bigsur. We recently pushed a change to not set this variable for systems not updated to bigsur. Maybe this already solves the issue. But it is only a guess.Dimaxum wrote: ↑Mon Apr 05, 2021 5:41 amHi Kunda1,Kunda1 wrote: ↑Sun Apr 04, 2021 4:22 pmSorry about that. I'm not on macOS
My superficial proposed solution may not apply to FreeCAD. So I'm not sure.
I forget if you mentioned but have you tried the weekly-build .dmg to reproduce the issue?
https://github.com/FreeCAD/FreeCAD-AppI ... kly-builds
No I didn't ... I will download it later and try it. I will let you know.
By the way, is there a section on FC forum for Mac users where I can discuss this matter?
Dimaxum
The latest weekly build definitely has the fix included. So please report back if it works.
What must I download ...?
Is it the DMG file or the source code ...?
Please let me know, thank you.
Dimaxum
Art connects and inspires people
Re: Restarting FreeCAD over and over again
It should be sufficient to replace the contents of /path_to_FreeCAD/FreeCAD.app/Contents/MacOS/FreeCAD
with this:
Code: Select all
#!/usr/bin/env bash
HERE=$(dirname "$(dirname "$0")")
cat ${HERE}/packages.txt
export PREFIX=${HERE}/Resources
export LD_LIBRARY_PATH=${PREFIX}/lib
export PYTHONHOME=${PREFIX}
# export QT_QPA_PLATFORM_PLUGIN_PATH=${PREFIX}/plugins
# export QT_XKB_CONFIG_ROOT=${PREFIX}/lib
export FONTCONFIG_FILE=/etc/fonts/fonts.conf
export FONTCONFIG_PATH=/etc/fonts
export LANG="UTF-8" # https://forum.freecadweb.org/viewtopic.php?f=22&t=42644
export SSL_CERT_FILE=${PREFIX}/ssl/cacert.pem # https://forum.freecadweb.org/viewtopic.php?f=3&t=42825
export GIT_SSL_CAINFO=${PREFIX}/ssl/cacert.pem
if [[ `sw_vers -productVersion` > 10.99 ]] ; then
export QT_MAC_WANTS_LAYER=1
fi
"${PREFIX}/bin/freecad" $@
Code: Select all
export QT_MAC_WANTS_LAYER=1
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Restarting FreeCAD over and over again
Hi Chrisb,chrisb wrote: ↑Mon Apr 05, 2021 5:34 pmIt should be sufficient to replace the contents of /path_to_FreeCAD/FreeCAD.app/Contents/MacOS/FreeCAD
with this:or remove in your file the lineCode: Select all
#!/usr/bin/env bash HERE=$(dirname "$(dirname "$0")") cat ${HERE}/packages.txt export PREFIX=${HERE}/Resources export LD_LIBRARY_PATH=${PREFIX}/lib export PYTHONHOME=${PREFIX} # export QT_QPA_PLATFORM_PLUGIN_PATH=${PREFIX}/plugins # export QT_XKB_CONFIG_ROOT=${PREFIX}/lib export FONTCONFIG_FILE=/etc/fonts/fonts.conf export FONTCONFIG_PATH=/etc/fonts export LANG="UTF-8" # https://forum.freecadweb.org/viewtopic.php?f=22&t=42644 export SSL_CERT_FILE=${PREFIX}/ssl/cacert.pem # https://forum.freecadweb.org/viewtopic.php?f=3&t=42825 export GIT_SSL_CAINFO=${PREFIX}/ssl/cacert.pem if [[ `sw_vers -productVersion` > 10.99 ]] ; then export QT_MAC_WANTS_LAYER=1 fi "${PREFIX}/bin/freecad" $@
Code: Select all
export QT_MAC_WANTS_LAYER=1
I think it worked ... I will do a view test and let you know if it is and stays stable ...
Thank you in frond for your patience and effort.
Dimaxum
Art connects and inspires people
Re: Restarting FreeCAD over and over again
Hi chrisb,chrisb wrote: ↑Mon Apr 05, 2021 5:34 pmIt should be sufficient to replace the contents of /path_to_FreeCAD/FreeCAD.app/Contents/MacOS/FreeCAD
with this:or remove in your file the lineCode: Select all
#!/usr/bin/env bash HERE=$(dirname "$(dirname "$0")") cat ${HERE}/packages.txt export PREFIX=${HERE}/Resources export LD_LIBRARY_PATH=${PREFIX}/lib export PYTHONHOME=${PREFIX} # export QT_QPA_PLATFORM_PLUGIN_PATH=${PREFIX}/plugins # export QT_XKB_CONFIG_ROOT=${PREFIX}/lib export FONTCONFIG_FILE=/etc/fonts/fonts.conf export FONTCONFIG_PATH=/etc/fonts export LANG="UTF-8" # https://forum.freecadweb.org/viewtopic.php?f=22&t=42644 export SSL_CERT_FILE=${PREFIX}/ssl/cacert.pem # https://forum.freecadweb.org/viewtopic.php?f=3&t=42825 export GIT_SSL_CAINFO=${PREFIX}/ssl/cacert.pem if [[ `sw_vers -productVersion` > 10.99 ]] ; then export QT_MAC_WANTS_LAYER=1 fi "${PREFIX}/bin/freecad" $@
Code: Select all
export QT_MAC_WANTS_LAYER=1
I deleted this line "export QT_MAC_WANTS_LAYER=1" and it worked.
Everything is stable now as it supposed to be.
Thanks again.
Where do I select this tread as "SOLVED"?
Dimaxum
Art connects and inspires people
Re: Restarting FreeCAD over and over again
You can edit the first post and prepend "[Solved]" to the subject.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.