Cannot get FreeCAD 0.21.1 to Run on Windows 11

Having trouble installing or compiling FreeCAD? Get help here.
Post Reply
scrunge13
Posts: 2
Joined: Mon Sep 11, 2023 1:27 am

Cannot get FreeCAD 0.21.1 to Run on Windows 11

Post by scrunge13 »

I have been trying to get Freecad to work on my new machine (the reason I upgraded to a new machine was to do freecad modeling)

Machine: AMD Ryzen 7 5800H with Radeon Graphics 3.20 GHz
OS: Windows 11 Home Ver: 22H2

Graphics Driver: NVIDIA
Driver Date: 3/9/2023
Driver Version: 31.0.15.2879

Running out of options on what to try. I have tried deleting the from one install source and tried another in case of a corrupted file. I have tried deleting the FreeCAD folder in AppData/Roaming.

The program starts to load and the disappears. There is a crash file in the Roaming folder with this info in it:

Code: Select all

Log: Id: 8908: ERROR: SymGetSearchPath, GetLastError: 8 (Address: 0000000000000000)
Log: Id: 8908: SymInit: Symbol-SearchPath: '', symOptions: 530, UserName: 'scrun'
Log: Id: 8908: OS-Version: 6.2.9200 () 0x300-0x1
Log: Id: 8908: C:\Program Files\FreeCAD 0.21\bin\FreeCAD.exe:FreeCAD.exe (00007FF71EED0000), size: 229376 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Program Files\FreeCAD 0.21\bin\FreeCAD.exe', fileVersion: 0.21.1.0
Log: Id: 8908: C:\WINDOWS\SYSTEM32\ntdll.dll:ntdll.dll (00007FFD1FB10000), size: 2179072 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\ntdll.dll', fileVersion: 6.2.22621.2134
Log: Id: 8908: C:\WINDOWS\System32\KERNEL32.DLL:KERNEL32.DLL (00007FFD1DF30000), size: 802816 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\KERNEL32.DLL', fileVersion: 6.2.22621.2070
Log: Id: 8908: C:\WINDOWS\System32\KERNELBASE.dll:KERNELBASE.dll (00007FFD1D3B0000), size: 3817472 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\KERNELBASE.dll', fileVersion: 6.2.22621.2134
Log: Id: 8908: C:\WINDOWS\SYSTEM32\apphelp.dll:apphelp.dll (00007FFD1A2C0000), size: 618496 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\apphelp.dll', fileVersion: 6.2.22621.2070
Log: Id: 8908: C:\WINDOWS\System32\ucrtbase.dll:ucrtbase.dll (00007FFD1CEF0000), size: 1118208 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\ucrtbase.dll', fileVersion: 6.2.22621.608
Log: Id: 8908: C:\WINDOWS\System32\SHELL32.dll:SHELL32.dll (00007FFD1EDA0000), size: 8478720 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\SHELL32.dll', fileVersion: 6.2.22621.2070
Log: Id: 8908: C:\WINDOWS\System32\msvcp_win.dll:msvcp_win.dll (00007FFD1D2A0000), size: 630784 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\msvcp_win.dll', fileVersion: 6.2.22621.608
Log: Id: 8908: C:\WINDOWS\System32\USER32.dll:USER32.dll (00007FFD1E690000), size: 1744896 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\USER32.dll', fileVersion: 6.2.22621.1928
Log: Id: 8908: C:\Program Files\FreeCAD 0.21\bin\FreeCADBase.dll:FreeCADBase.dll (00007FFD0A8F0000), size: 2846720 (result: 0), SymType: '-exported-', PDB: 'C:\Program Files\FreeCAD 0.21\bin\FreeCADBase.dll'
Log: Id: 8908: C:\WINDOWS\System32\win32u.dll:win32u.dll (00007FFD1D150000), size: 155648 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\win32u.dll', fileVersion: 6.2.22621.2070
Log: Id: 8908: C:\WINDOWS\System32\GDI32.dll:GDI32.dll (00007FFD1D910000), size: 167936 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\GDI32.dll', fileVersion: 6.2.22621.1778
Log: Id: 8908: C:\WINDOWS\System32\gdi32full.dll:gdi32full.dll (00007FFD1D180000), size: 1150976 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\gdi32full.dll', fileVersion: 6.2.22621.2070
Log: Id: 8908: C:\WINDOWS\SYSTEM32\MSVCP140.dll:MSVCP140.dll (00007FFCFF4B0000), size: 581632 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\MSVCP140.dll', fileVersion: 14.32.31332.0
Log: Id: 8908: C:\Program Files\FreeCAD 0.21\bin\FreeCADApp.dll:FreeCADApp.dll (00007FFCCE070000), size: 7667712 (result: 0), SymType: '-exported-', PDB: 'C:\Program Files\FreeCAD 0.21\bin\FreeCADApp.dll'
Log: Id: 8908: C:\WINDOWS\SYSTEM32\VCRUNTIME140.dll:VCRUNTIME140.dll (00007FFD04960000), size: 110592 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\VCRUNTIME140.dll', fileVersion: 14.32.31332.0
Log: Init: Showing main window
Log: Main window restored
Err: Unhandled Base::Exception caught in GUIApplication::notify.
The error message is: Access violation
Log: The event type 14 was sent to QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget
Object tree:
	QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget is child of
	WebGui::WebView is child of
	WebGui::BrowserView is child of
	QMdiSubWindow is child of
	QWidget is child of
	QMdiArea is child of
	Gui::MainWindowErr: Unhandled Base::Exception caught in GUIApplication::notify.
The error message is: Access violation
...
chrisb
Veteran
Posts: 51068
Joined: Tue Mar 17, 2015 9:14 am

Re: Cannot get FreeCAD 0.21.1 to Run on Windows 11

Post by chrisb »

Hi and welcome to the forum!

Have a look at the Known OS specific issues, especially those with graphics card or drivers.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
ronalda2
Posts: 1
Joined: Wed Sep 13, 2023 10:03 am

Re: Cannot get FreeCAD 0.21.1 to Run on Windows 11

Post by ronalda2 »

If you're having trouble getting FreeCAD 0.21.1 to run on Windows 11, there are a few troubleshooting steps you can try right-click on the FreeCAD executable file (e.g., FreeCAD.exe), select "Properties," and navigate to the "Compatibility" tab. Check the box for "Run this program in compatibility mode" and choose a compatible operating system like Windows 10. Click "Apply" and then try running FreeCAD again.
scrunge13
Posts: 2
Joined: Mon Sep 11, 2023 1:27 am

Re: Cannot get FreeCAD 0.21.1 to Run on Windows 11

Post by scrunge13 »

I have tried the compatibility settings (It only has for 8 or lower) but that still crashed it with the same error. Even set it to run as administrator and got the same thing.

I am wondering if there would be any difference with Windows Pro vs Windows Home.
GeneFC
Veteran
Posts: 5205
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Cannot get FreeCAD 0.21.1 to Run on Windows 11

Post by GeneFC »

scrunge13 wrote: Mon Sep 18, 2023 10:52 pm I have tried the compatibility settings
Absolutely will not be a problem with compatibility setttings. FreeCAD works fine with Windows 11, out of the box.

This appears to be related to graphics, since the last log entry before the error message starts is related to Qt rendering.

Follow the instructions in the known OS specific issues referenced by chrisb above and switch to software OpenGL

This is probably not a good long term solution, but it should indicate whether the nVidia driver is the problem.

Gene
Post Reply