Skip to content

Instantly share code, notes, and snippets.

@probonopd
Last active September 26, 2024 11:03
Show Gist options
  • Save probonopd/0fab254aa0b6fc371d8db641822bd530 to your computer and use it in GitHub Desktop.
Save probonopd/0fab254aa0b6fc371d8db641822bd530 to your computer and use it in GitHub Desktop.
Autodesk Fusion 360 on Linux

Autodesk Fusion 360 on Linux

In the Web Browser

Ubuntu, Fedora, openSUSE, CentOS, SUSE Linux Enterprise, Debian,... users can finally use Autodesk Fusion 360 in the Linux Browser now.

https://myhub.autodesk360.com

On Chromium 55.0.2843.0 I get NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED.

Windows version

Crashes before it even launches with https://knowledge.autodesk.com/support/fusion-360/troubleshooting/caas/sfdcarticles/sfdcarticles/Fusion-360-sign-in-failure-due-to-service-outage-unexpected-authentication.html

WINE on Linux

It seems like it is now possible to get it running in WINE, see https://appdb.winehq.org/objectManager.php?sClass=version&iId=36468 (not tested yet) - also see the comments below and freel free to add your hints

What is missing is to make a Fusion 360 installation immutable (so that it gets frozen and locked in time) and able to be used without an Internet connection. I would like to burn it to CD-ROM and be able to always have the same version without any changes and without having to go online. Unless Autodesk gives me that ability, I won't be using their software. (Autodesk could introduce an update with features that I don't like any time, or shut down their server stuff.) I need to be able to archive my work and the software that goes along with it, and be able to use it 30 years from now. Everything else is not long-term reliable for me. Who knows whether Autodesk is still around 30 years from now. Or say 300 years. (We can still read paper drawings from 300 years ago no problem.)

Alternatives

Since Autodesk is known for removing Linux support, forcing users to activate software online, renting rather than selling software, and for reducing capabilities in free plans, you may want to consider alternatives to Autodesk software.

  • Open Source: FreeCAD
  • Browser based and free for personal use: Onshape
@kpatel122
Copy link

kpatel122 commented Apr 10, 2021

@g0r3

The slowness for me ended switching Fusion 360 renderer from DirectX to OpenGL so that might be a place to start:

Here is a complete list of what I did to get it to work on Lutris:

Fusion 360 on Kubuntu 20.0.4 with AMD R9 M375 (Lenovo Lptop)

  1. Install Lutris
  2. Install fusion from Lutris
  3. Switch Wine to to Lutris 4.20- lutris-lol-4.20-x86_64 (other versions may also work, best to experiment)
  4. Enable ACO shader compiler in Lutris
  5. Install vulkan (the site below has instructions for various OS and graphics cards)

https://linuxconfig.org/install-and-test-vulkan-on-linux#h4-1-debian
from the site above for ubuntu & AMD

$ sudo add-apt-repository ppa:oibaf/graphics-drivers
$ sudo apt update
$ sudo apt upgrade
$ sudi apt install libvulkan1 mesa-vulkan-drivers vulkan-utils

Check vulkan install

6 ) vulkaninfo | less
  1. blacklist default radeon driver (R9 200/300 series )
    https://github.com/ValveSoftware/Proton/wiki/Requirements#enable-vulkan-on-radeon-r9-200300-series

From the site above

echo "blacklist radeon" | sudo tee --append /etc/modprobe.d/blacklist.conf
echo "options amdgpu si_support=1 cik_support=1" | sudo tee --append /etc/modprobe.d/amdgpu.conf
sudo update-initramfs -u
  1. run Fusion 360 and switch graphics renderer to OpenGL

  2. Remove DirectX libs from Wine

  3. Install winetricks packages

corefonts
vcrun2017
msxml4
dxvk

env WINE=/home/$USER/.local/share/lutris/runners/wine/lutris-lol-4.20-x86_64/bin/wine winetricks corefonts
env WINE=/home/$USER/.local/share/lutris/runners/wine/lutris-lol-4.20-x86_64/bin/wine winetricks vcrun2017
env WINE=/home/$USER/.local/share/lutris/runners/wine/lutris-lol-4.20-x86_64/bin/wine winetricks msxml4
env WINE=/home/$USER/.local/share/lutris/runners/wine/lutris-lol-4.20-x86_64/bin/wine dxvk
  1. make sure you have DRI_PRIME set to use dedicated graphics & Run Fusion 360

https://www.youtube.com/watch?v=7-ckiKQotNw

$: DRI_PRIME=1 lutris %U

https://github.com/kpatel122/Fusion360-Kubuntu-Lutris

@cryinkfly
Copy link

@kpatel122 Thank you for your report. 👌🏻

I have published a video for Ubuntu user’s they have some problems to run Fusion 360 on there systems. 😊

Here can you see this video: https://youtu.be/NJTV_enR6io

@dreamcat4
Copy link

I have published a video for Ubuntu user’s they have some problems to run Fusion 360 on there systems. blush

thank you for taking the time to do this. and see a lot of your settings etc. In fact I have spend most of today trying to follow your instrucitons. Not perfectly or anything. however good enough to see that there is indeed a performance improvement for using OpenGL

unfortunately the installation is still not usable. the issue that occurs for me after switching to openGL system is that now the "Fusion 360" splash screen keeps blinking / replacing the main workspace. every time that you click on an object or perform some actions

i am not sure why this is happening. so if you have seen the same behaviour please say so. i have here a couple of issues, thinks that might be different. so i would like to ask about them:

  • my graphics driver are nvidia proprietary (460.67). are you using the noveau drivers instead?

    • because on my system, i cannot use wayland. only xorg is possible. due to the above drivers
    • so they put some special program to disable wayland from the login screen
    • so maybe if you are using wayland, it might explain this issue?
  • i cannot select dxvk version 1.8L, it does not appear in my lutris menus

    • fully updated on my system with software update
    • so how did you install lutris there? i am on lutris/focal,focal,now 0.5.8.3~ubuntu20.04.1 all [installed]
    • maybe would changing my installation PPA source for lutris solve this problem?
      • but does it also fix the splash screen glitching?

overall very good effort. but the steps are still rather difficult to follow correctly. i discovered (for myself) that the biggest important difference was made when i did the following combination of things:

  • change wine version to lutris 5.0 x64
  • uncheck use system drivers in the game configuration in lutris
  • maybe also uncheck E-sync or whatever others, or maybe those didn't matter

mostly it seems to be the wine version lutris 5.0 x64. As being the most important change from my existing setup. of course i also reinstalled fusion 360 from scratch (twice) today. but not initially on that wine version

another point was interesting to me: why select windows 8 in the winecfg, rather than win10 maybe? it's not necessarily bad or wrong. just an interesting choice, maybe to permit the choice of openGL maybe?

very grateful for your help. perhaps you can feel like to explain more about other decisions too. which were not fully explained in the guide. just only the instruction given. but it's less important to know. just nice to know :)

@cryinkfly
Copy link

cryinkfly commented Apr 12, 2021

@dreamcat4

my graphics driver are nvidia proprietary (460.67). are you using the noveau drivers instead?

No, I use the nvidia driver (460.39) and X11 as my window manager... look here:

Bildschirmfoto vom 2021-04-12 11-53-00
Bildschirmfoto vom 2021-04-12 13-29-11

i cannot select dxvk version 1.8L, it does not appear in my lutris menus

fully updated on my system with software update
so how did you install lutris there? i am on lutris/focal,focal,now 0.5.8.3~ubuntu20.04.1 all [installed]

I have installed Lutris with the official manual from here: https://lutris.net/downloads/

Bildschirmfoto vom 2021-04-12 13-41-48
Bildschirmfoto vom 2021-04-12 13-38-18
Bildschirmfoto vom 2021-04-12 13-43-27

another point was interesting to me: why select windows 8 in the winecfg, rather than win10 maybe? it's not necessarily bad or wrong. just an interesting choice, maybe to permit the choice of openGL maybe?

The reason why I have selected windows 8 in the winecfg is, because with this version I don't have so much problems in the past. :-)

ery grateful for your help. perhaps you can feel like to explain more about other decisions too. which were not fully explained in the guide. just only the instruction given. but it's less important to know. just nice to know :)

I thank you for your message :-)


Here can you see my current progress with Fusion 360 on Ubuntu: https://youtu.be/R-ev3dhNM98 :)

@cryinkfly
Copy link

cryinkfly commented Apr 13, 2021

Hello everyone :-)

I'm currently looking for good instructions for creating a Flatpak App of Fusion 360 for Linux!
When anybody has an idea, then wheres good, when you can write me here: cryinkfly/Autodesk-Fusion-360-for-Linux#5 a comment, please. ;-)

Thank you in advance for your help! :-)

@cryinkfly
Copy link

cryinkfly commented Apr 14, 2021

So ... I have tested Fusion 360 on Fedora & Manjaro ... and it works! :-)

But the installation and configuration on Fedora is harder as like the installation on Ubuntu. ;-)

Here can you see that Fusion 360 works on Fedora: https://youtu.be/JRu-OaGsv3A
... and the manual can you find here: https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-#installation-on-fedora

Bildschirmfoto vom 2021-04-14 13-37-41
Bildschirmfoto vom 2021-04-14 13-38-06
Bildschirmfoto vom 2021-04-14 13-38-37


... and the manual for Manjaro can you find here: https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-#installation-on-manjaro-based-on-arch-linux

Bildschirmfoto_2021-04-14_15-44-33
Bildschirmfoto_2021-04-14_15-45-25

@cryinkfly
Copy link

cryinkfly commented Apr 28, 2021

Hello everyone 😊👋

I have changed my instructions for openSUSE, Ubuntu, ... and so it’s a good idea for you to check this out: https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-

... also you can find some information about my test results on WineHQ, now:
https://appdb.winehq.org/objectManager.php?sClass=version&iId=36468

... then I’m now a maintainer of Autodesk Fusion 360 there. 😊

—-

Special Thanks to @dreamcat4 for his help!!! 👌🏻

@dreamcat4
Copy link

my pleasure,

also very happy to see you have become a wine maintainer for the wider community. is good that the information gets updated over there too, on wineHQ pages. so people can see it works now

@cryinkfly
Copy link

cryinkfly commented May 14, 2021

So it’s time for the next level. 🎉

You have also a way to use Autodesk Fusion 360 into a Flatpak-Runtime now!!!

You will get more information?

Then visit my project: https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-#installation-with-flatpak---experimental

@madurani
Copy link

Unknown issue with Integrity data

Till yesterday Fusion360 work very well and as expected, but today morning isn't possible load data/projects from cloud(left window with list of projects) and on screen appeared red baner with warning. I tried to install more wine containers with fusion and different wine versions but issue is same on all. With Fusion is possible work but all projects are unreachable. On side of Linux OS weren't done any change/patches.
Did you see or have somebody similar issue?
Version of Fusion 2.0.10148

image

@kpatel122
Copy link

@madurani
Yup same problem this morning too. According to the support article they are investigating the problem. I logged into a windows and performed the steps suggested in the article i.e. increase offline cache to 360 days, logged back into linux and the error was still there, I clicked the little 'x' to close the message and the browser was fine. I don't see how logging from windows had any effect though. Sorry for the really obvious suggestion but are you waiting for fusion to fully load before trying to close the message ?

@madurani
Copy link

madurani commented May 21, 2021

Projects are back, it look like issue on cloud side.

@cryinkfly
Copy link

Okay, I'll also add the version number of Autodesk Fusion 360, that runs on Linux in the future.
In this way, we can find the problem, why one or the other may no longer work more quickly. :-)

@cryinkfly
Copy link

@kpatel122 and @madurani Here can you read more about this problem: cryinkfly/Autodesk-Fusion-360-for-Linux#23

@rohan-bansal
Copy link

rohan-bansal commented May 31, 2021

Hi there! I've got everything installed correctly, but Fusion is giving me a "There was an error logging in to Fusion 360" error as soon as I start the application. After doing some googling it seems my system time is off, although I made sure to have Ubuntu set it automatically. The problem is persisting, any ideas @cryinkfly?

image

@probonopd
Copy link
Author

probonopd commented Jun 1, 2021

So, in summary:

Never trust software

  • That requires you to log in somewhere
  • That cannot run fully offline
  • That requires constant updating and cannot be frozen in time (= is a "moving target")

Especially for professional work.

@dreamcat4
Copy link

well to fulfil those requirements exists only 2 reasonable and semi affordable options

  • rhino3d - about $1000 usd
  • alibres products (various) from about $200 to $2000

sometimes you also want to buy CAM software or plugins too. which is another commercial SW from other 3rd party company. but compatible with these above ones ^^

sorry cad software can be such the price that it is. but i dont make those pricings so dont blame the messenger... that is just what else is out there if you want something comparable that is not fusion (or inventor, or solidworks, or onshape, or freecad, etc etc)

@Matipolit
Copy link

Hi there! I've got everything installed correctly, but Fusion is giving me a "There was an error logging in to Fusion 360" error as soon as I start the application. After doing some googling it seems my system time is off, although I made sure to have Ubuntu set it automatically. The problem is persisting, any ideas @cryinkfly?

image

Same issue here. Installed with Lutris.

@cryinkfly
Copy link

cryinkfly commented Jun 4, 2021

Here is a solution for the problem with no connection to the cloud: https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-/releases/tag/v2.6

@rohan-bansal
Copy link

@cryinkfly the issue is different from that, and I followed all the steps already. I am getting the same error. It seems to have something to do with my timezone not being synced to the server, but I made sure everything was synced before starting the program up.

@cryinkfly
Copy link

cryinkfly commented Jun 4, 2021

@rohan-bansal and @Matipolit Okay, here can you find a solution for this problem: cryinkfly/Autodesk-Fusion-360-for-Linux#21 (comment)

@Maxyshorty
Copy link

Maxyshorty commented Jun 28, 2021

Hello

I really need some help here i dont know what to do i instal fusion 360 and i get stuck at the loading screen.
I ussed the main installer from https://gist.github.com/probonopd/0fab254aa0b6fc371d8db641822bd530#gistcomment-3631646 i also reinstalled Ubuntu and tried with Lutris still wont work.
I do have to tell you i am a noob at Linux well i do understand the basics but i have a long way to go.

This is the only program that keeps me from ditching windows for good.

Please help me

My rig
CPU : AMD Ryzen 5 3600
GPU Sapphire Pulse Radeon 5700xt
Ram 16 GB
Nvme SSD 500+500
Screenshot from 2021-06-28 14-55-36

@dreamcat4
Copy link

@cryinkfly
Copy link

Hello everyone 🤝,

I need your help by this issue (cryinkfly/Autodesk-Fusion-360-for-Linux#30), where I create a list of supported graphics cards! 💡

And here is the link for the site: https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-/wiki/Supported-Graphics-Cards

Thank you for your help! 😊

@cryinkfly
Copy link

cryinkfly commented Aug 5, 2021

Hey 👋🏻,

i have changed my installation-script! ⚠️

https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-

... and also I have created a manual for the OctoPrint for Autodesk® Fusion 360™ plug-in what you can use it on Linux!

octoprint_fusion360_configure_1

@andyholst
Copy link

Same error I got when d3d9, that was installed from d9vk, stayed in native mode. d3d9 needs to be switched to builtin mode. d3d11 can stay in native mode. Both d3d9 and d3d11 are necessary.
After first start of Fusion it is needed to set up Graphics driver to DirectX 9 in preferences (because Autoselect mode nor DirectX 11 mode doesn't know to render the model screen)
Version of kernel, nvidia-drivers, wine or fusion does not play role, because I have Fusion for a long time and it is working well (event though mentioned things changed many times).

@madurani The graphic rendering setting changed from auto to DirectX 9 in Fusion360 and d3d9 (builtin) & d3d11 (native) WINE configuration setup did it for me so the rendering of the grid was shown correctly, however, setting it to OpenGL gives me the best performance. Thank you! Here is my setup of WINE version 5.7 executing in a Docker container environment with Ubuntu 20.04. Be sure you have the vulkan dependencies installed (NVIDIA driver support included) and those with AMD graphic cards needs mesa vulkan drivers installed as well to get the graphic rendering with DirectX working in WINE and for Fusion360.

@andyholst
Copy link

I have improved the wine configuration setup so the first start of Fusion 360 works without needed to change anything. This is done by using DirectX 9 driver as default chosen by the Fusion 360 auto general graphic setting by installing d9vk (DirectX 9) instead of dxvk (DirectX 11) and with no need to override the d3d9 and d3d11 ddl drivers.

@andyholst
Copy link

andyholst commented Aug 10, 2021

I did another WINE configuration update. I updated WINE version from 5.7 to 6.14 and removed unnecessary old library dependencies not needed by Fusion 360. Got a lot better performance with the newer WINE version 6.14 running with DirectX 9.

@Thermionix
Copy link

Thermionix commented Aug 12, 2021

Thanks for the hard work from all!

I've released a snap of this

fusion360

github repo

sudo snap install --beta fusion360 --devmode

Still has the known issues:

  • Floating toolbars
  • Hangs on exit

@Caraffa-git
Copy link

Thanks for the hard work from all!

I've released a snap of this

fusion360

github repo

snap install fusion360

Still has the known issues:

* Floating toolbars

* Hangs on exit

@Thermionix
What is it doing? On manjaro (kernel 5.12) it's only downloading something (installator i guess) and poof, window closes and nothing happens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment