Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeCAD cannot execute in Surface Pro X ARM based 64-bit system #6225

Closed
FreeCAD-Bug-Importer opened this issue Feb 7, 2022 · 4 comments
Closed
Labels
Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD Feature FR for improvements or new features

Comments

@FreeCAD-Bug-Importer
Copy link
Collaborator

FreeCAD-Bug-Importer commented Feb 7, 2022

Issue imported from https://tracker.freecad.org/view.php?id=4674

  • Reporter: jose-giraldez
  • Date submitted: 6/1/2021
  • FreeCAD version: 0.19
  • Category: Feature
  • Status: new
  • Tags:

Original report text

forum thread

Even though Microsoft's Surface Pro X, which is ARM based architecture, Windows 10 ARM, still can execute all x86 software by using internal x86 emulator.
It works for most software so far, with minor exceptions... I guess FreeCAD 0.19 is an exception can cannot execute in Windows 10 ARM

After Apple annoucement in 2020 and other major OEM (DELL, HP, ETC) laptops are migrating to ARM architecture.
It is time FreeCAD fixes compatibility issues with Windows ARM.

Steps to reproduce

Install FreeCAD 0.19.x
Execute FreeCAD
Windows gives error "Cannot execute program"

Other bug information

  • Priority: high
  • Severity: crash
  • Category: Feature
  • Updated: 6/1/2021
@FreeCAD-Bug-Importer FreeCAD-Bug-Importer added Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD Feature FR for improvements or new features labels Feb 7, 2022
@luzpaz
Copy link
Contributor

luzpaz commented Apr 3, 2022

'jmaustpc' writes:

According to wikipedia https://en.wikipedia.org/wiki/Surface_Pro_X
you have bought a computer with an ARM cpu not x86. Very bad idea if you want easy access to compatible software. Although their performance is improving all the time, ARM is still a primarily low power energy efficient risk architecture cpu. For power applications like CAD, x86 makes more sense at this point in history.

Also not that (I only just found out) some new computers are now being sold with a cut down/restricted Windows that will only allow you to install applications from the MS application store! So make sure you have a "real" non-restricted Windows on any new machine, or at least understand what you are buying.

I know some here have succeeded in getting FreeCAD up and running on a Raspberry PI 4, which has an ARM CPU, but that is on Linux with a full open source stack, so less issues compiling. I have no idea if anybody has yet or ever will compile for Windows ARM.

At this point in history, the best energy efficiency yet powerful new CPU is the AMD Ryzen series, the latest just release is leaving Intel in the dust for energy efficiency but also outright performance.

@luzpaz luzpaz changed the title FreeCAD cannot execute in Surface Pro X ARM based 64-bit syste FreeCAD cannot execute in Surface Pro X ARM based 64-bit system Apr 3, 2022
@luzpaz
Copy link
Contributor

luzpaz commented May 10, 2022

Per a user 'Mallen' on the forum thread:

The surface pro x at that time only ran 32 bit programs. With windows 11 it can run 64 bit Intel code but freecad still won't run. However, it can run Linux programs with a gui now. The arm64 linux version can be installed with apt-get install freecad. The graphics won't have full hardware acceleration until they releases wddm 3.0 compliant driver though.

@rozmansi
Copy link

I have just confirmed FreeCAD x64 works on Windows 11 ARM (Microsoft Surface Pro X) provided OpenCL™ and OpenGL® Compatibility Pack from the Microsoft Store is installed first.

@adrianinsaval
Copy link
Member

Emulation is not a supported usecase. If it doesn't work then it's a problem in the emulation not in FreeCAD. Later on we might be able to produce arm native binaries for windows.

If WSL is available on arm too you could try running the linux arm native version.

@adrianinsaval adrianinsaval closed this as not planned Won't fix, can't repro, duplicate, stale Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD Feature FR for improvements or new features
Projects
None yet
Development

No branches or pull requests

4 participants