Known Issues Comments

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
User avatar
thomas-neemann
Veteran
Posts: 11799
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Known Issues Comments

Post by thomas-neemann »

bambuko wrote: Sat Jan 01, 2022 11:00 am ...issues with nvidia drivers on Linux..
this is linus torvalds' opinion on nvidia


https://www.youtube.com/watch?v=f1CP4OwBdLo

phpBB [video]
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
bambuko
Veteran
Posts: 2160
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Known Issues Comments

Post by bambuko »

I don't speak Spanish so this video is un-watchable (for me at least).

Anyway... however amusing it is (I am guessing) it doesn't address my problem.
I am stuck with my graphic card and will not be buying another one for quite a while,
so I (and I guess few others in the same position) need a solution.
Happy New Year ;)
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
User avatar
thomas-neemann
Veteran
Posts: 11799
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Known Issues Comments

Post by thomas-neemann »

bambuko wrote: Sat Jan 01, 2022 11:46 am ...
so I (and I guess few others in the same position) need a solution.
Happy New Year ;)
Happy new year to you too. I would try a beta driver in your situation:


https://www.nvidia.de/Download/Find.aspx?lang=de

Bildschirmfoto_2022-01-01_12-52-45.png
Bildschirmfoto_2022-01-01_12-52-45.png (137.14 KiB) Viewed 1619 times
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
bambuko
Veteran
Posts: 2160
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Known Issues Comments

Post by bambuko »

This is probably drifting OT (sorry), but just to reply - good suggestion
Even though I was convinced I had the latest drivers there seem to be couple issued only few days ago so maybe this will make difference?
My drivers:
my_nvidia.png
my_nvidia.png (19.25 KiB) Viewed 1603 times

and what is available at the moment (latest dated onlt 13th Dec 2021):
You will see that Beta is older than the latest...
so no point using Beta?
nvidia.png
nvidia.png (76.41 KiB) Viewed 1603 times

Whether it will make any difference? is another story
Main thing (to me) is publicising Open GL trick
(although I still don't know how to do it if FreeCAD crashes before one can change the setting?)
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
User avatar
thomas-neemann
Veteran
Posts: 11799
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Known Issues Comments

Post by thomas-neemann »

bambuko wrote: Sat Jan 01, 2022 12:12 pm ... I still don't know how to do it if FreeCAD crashes before one can change the setting?)
for this it should be possible to install freecad in a virtual machine or on another pc (without nvidia). this could be used to create the desired settings (files) and copy them to the nvidia pc.


btw here the english version


https://www.youtube.com/watch?v=e8RKWpMwSk4

phpBB [video]
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: Known Issues Comments

Post by Syres »

bambuko wrote: Sat Jan 01, 2022 12:12 pm although I still don't know how to do it if FreeCAD crashes before one can change the setting?
The simple way is to execute from a terminal:

Code: Select all

export LIBGL_ALWAYS_SOFTWARE=1
then start FreeCAD

which is the equivalent to editing the user.cfg and add this section usually towards the end of the file:

Code: Select all

        <FCParamGroup Name="OpenGL">
          <FCBool Name="UseSoftwareOpenGL" Value="1"/>
        </FCParamGroup>
Edit: Proper solution found.
Last edited by Syres on Sat Jan 01, 2022 12:49 pm, edited 2 times in total.
User avatar
bambuko
Veteran
Posts: 2160
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Known Issues Comments

Post by bambuko »

thomas-neemann wrote: Sat Jan 01, 2022 12:21 pm btw here the english version
Jolly British of you :mrgreen: :lol:
made me chuckle ;)
PS thank you for advice about changing settings

Scary part about updating nvidia drivers on Linux machines is that interweb is full of the stories of black screens if/when you get it wrong... :twisted:
and to be honest I prefer not to touch word censored - in case it stinks even worse.
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: Known Issues Comments

Post by Syres »

This isn't purely a Nvidia driver only problem, as you can see from the log below, I'm running 470.86 with hardware acceleration using the same version of AppImage and my own compiled FC and never had any issue. So either it's the exact card you have interacting with the driver (mine's an old GTX 670) or the distro is a possibility.

Code: Select all

12:56:38  OpenGL version is: 4.6 (4.6.0 NVIDIA 470.86)
12:56:38  Run Gui init script
12:56:38  Init: Running FreeCADGuiInit.py start script...
12:56:38  Init:   Searching modules...
12:56:39  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/AddonManager... done
12:56:39  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Arch... done
12:56:39  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Draft... done
12:56:39  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Drawing... done
12:56:39  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Fem... done
12:56:39  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Idf(InitGui.py not found)... ignore
12:56:39  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Image... done
12:56:39  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Import... done
12:56:39  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Inspection... done
12:56:39  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Material... done
12:56:39  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Measure(InitGui.py not found)... ignore
12:56:39  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Mesh... done
12:56:40  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/MeshPart... done
12:56:40  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/OpenSCAD... done
12:56:40  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Part... done
12:56:40  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/PartDesign... done
12:56:40  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Path... done
12:56:40  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Points... done
12:56:40  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Raytracing... done
12:56:40  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/ReverseEngineering... done
12:56:40  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Robot... done
12:56:40  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Show(InitGui.py not found)... ignore
12:56:40  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Sketcher... done
12:56:40  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Spreadsheet... done
12:56:40  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Start... done
12:56:40  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Surface... done
12:56:40  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/TechDraw... done
12:56:40  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Test... done
12:56:40  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Tux... done
12:56:40  Init:      Initializing /tmp/.mount_FreeCAdWLgl0/usr/Mod/Web... done
12:56:41  Init:      Initializing /home/john/.local/share/FreeCAD/Mod/fasteners... done
12:56:41  Init:      Initializing /home/john/.local/share/FreeCAD/Mod/Silk... done
12:56:41  Init:      Initializing /home/john/.local/share/FreeCAD/Mod/Plot(InitGui.py not found)... ignore
12:56:41  Module: Part
12:56:41  Loading Part module... done
12:56:41  Init:      Initializing /home/john/.local/share/FreeCAD/Mod/CfdOF/./... done
12:56:41  Packaged workbench  specified icon in class CfdOFWorkbench:
12:56:41   ... Overwriting that specification with package.xml dataInit:      Initializing /home/john/.local/share/FreeCAD/Mod/Curves/./(InitGui.py not found)... ignore
12:56:41  Failed to get handle to CurvesWorkbench -- no icon can be generated, check classname in package.xml
12:56:41  Init:      Initializing /home/john/.local/share/FreeCAD/Mod/fcgear(InitGui.py not found)... ignore
12:56:41  Init:      Initializing /home/john/.local/share/FreeCAD/Mod/ThreadProfile/./... done
12:56:42  Packaged workbench ThreadProfile specified icon in class ThreadProfileWorkbench:
12:56:42   ... Overwriting that specification with package.xml dataInit:      Initializing /home/john/.local/share/FreeCAD/Mod/A2plus... done
12:56:42  Init:      Initializing /home/john/.local/share/FreeCAD/Mod/sheetmetal... done
12:56:42  All modules with GUIs using InitGui.py are now initialized
12:56:42  Init: Initializing freecad.appimage
12:56:42  Init: Initializing freecad.appimage... done
12:56:42  Init: Initializing freecad.asm3
12:56:45  Init: Initializing freecad.asm3... done
12:56:45  Init: Initializing freecad.freecad_glider
12:56:45  Init: Initializing freecad.freecad_glider... done
12:56:46  Init: Initializing freecad.gears
12:56:46  Init: Initializing freecad.gears... done
12:56:46  Init: Initializing freecad.Curves
12:56:46  Init: Initializing freecad.Curves... done
12:56:46  Init: Initializing freecad.plot
12:56:47  Init: Initializing freecad.plot... done
12:56:47  All modules with GUIs initialized using pkgutil are now initialized
12:56:47  Init: Loading FreeCAD GUI
12:56:47  Init: Running FreeCADGuiInit.py start script... done
12:56:52  Init: Activating default workbench StartWorkbench
12:56:52  Loading GUI of Web module... done
12:56:52  Loading GUI of Start module... done
12:56:52  Loading Start module... done
12:56:52  Loading GUI of Part module... done
12:56:52  Init: Showing main window
12:56:52  Main window restored
12:56:52  Show main window
12:56:52  Toolbars restored
12:56:52  Couldn't connect to spacenav daemon. Please ignore if you don't have a spacemouse.
12:56:52  Loading Draft workbench, done.
12:56:52  Draft workbench activated.
12:56:52  Draft workbench deactivated.
12:56:52  Init: Entering event loop
12:56:52  Init: Executing event loop...
12:56:52  Init: Processing command line files
My display settings:
DisplaySettings.jpeg
DisplaySettings.jpeg (15.59 KiB) Viewed 1520 times

OS: Linux Mint 19.3 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.20.26720 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 7bca26e)
Hash: 7bca26e7c14d4d43374ff7e0c8582735b249cbfd
Python version: 3.9.9
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: English/United Kingdom (en_GB)
User avatar
bambuko
Veteran
Posts: 2160
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Known Issues Comments

Post by bambuko »

Syres wrote: Sat Jan 01, 2022 1:00 pm ...So either it's the exact card you have interacting with the driver (mine's an old GTX 670) ...
Mine is not much younger NVIDIA® GeForce® GTX® 1650 SUPER


Syres wrote: Sat Jan 01, 2022 1:00 pm...or the distro is a possibility...
that is a possibility? I am using elementary OS 6.1 Jalnir (Pantheon) which is not exactly renowned for ability to customise it,
but if you look at the thread that solved my issue (https://forum.freecadweb.org/viewtopic.php?t=63680)
the guy was using Ubuntu 20.04.3 LTS (Budgie:GNOME/budgie-desktop)
so I don't know what the problem really is...

My suspicion is that it might be something Ubuntu related? (common denominator...)

Code: Select all

OS: elementary OS 6.1 Jalnir (Pantheon/pantheon)
Word size of FreeCAD: 64-bit
Version: 0.20.26720 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 7bca26e)
Hash: 7bca26e7c14d4d43374ff7e0c8582735b249cbfd
Python version: 3.9.9
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: Known Issues Comments

Post by chrisb »

bambuko wrote: Sat Jan 01, 2022 11:00 am Should the info about solution to issues with nvidia drivers on Linux(ubuntu based) be added to known issues?
Yes, of course. I didn't follow all of the nvidia posts and I don't own one to reproduce. Can you make a proposal what to include in the known issues, please?
thomas-neemann wrote: Sat Jan 01, 2022 12:21 pm
Syres wrote: Sat Jan 01, 2022 12:39 pm
Please don't hijack this topic, otherwise important information may get lost.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply