Fusion360 under linux

At the beginning of the year I lost my battle and had to dual boot only because “of that one application”. You could previously get it running under linux but it was a huge PITA and included a lot of glitches.

A couple of days ago decided to get back on the horse when stumbled upon this general news post on phoronix:

“Besides that Autodesk is using Vulkan itself for Fusion 360, arguably most interesting is that they are also embracing MoltenVK for using Vulkan on macOS. Autodesk Fusion 360 using MoltenVK for using their same Vulkan code path as on other platforms, including when running on Apple Silicon.”

https://www.phoronix.com/scan.php?page=news_item&px=Vulkanised-Fall-2021-Materials

It’s a bittersweet sentence as Autodesk is motivated by Apple money instead of Linux community. But yeah… this where we live now.

Don’t ask why, I ended up trying Fedora Silverblue (might do a post about it if it survives couple of weeks). Again, this is done inside toolbox. I really love toolboxes especially for a case like wine libraries. There is a shi*tload of them so why polluting your OS image when you can keep them in a separate box? Of course.. I think it should work on any other distribution as there is nothing special about the process.

The struggle begins

At first I tried internal Lutris Fusion360 install script, but that one just kept spitting on me. Wouldn’t even run the installer. So I went with pure wine install which might be less convenient but usually works for me the best.

First step is to create a new toolbox. Silverblue toolbox is a bit different than MicroOS but I suppose it is the same podman underneath, right? If for some reason this does not work on MicroOS, maybe it will if you just pull Fedora image instead of Opensuse.

Create toolbox, enter and go root:

bash-5.1$ toolbox create fusion360
Creating container fusion360: | Created container: fusion360
Enter with: toolbox enter fusion360
bash-5.1$ toolbox enter fusion360
⬢[kolomansell@toolbox ~]$ sudo su

Add rpmfusion repo and install Nvidia drivers – or drivers for your graphic card.

root@toolbox kolomansell]# sudo dnf install \
  https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
⬢[root@toolbox kolomansell]# sudo dnf install akmod-nvidia

Install wine packages for both 64 and 32bit with winetricks

⬢[root@toolbox kolomansell]# dnf install wine.i686 wine.x86_64 winetricks

Now log in as normal user instead of root.

If you want to have installation inside separate wineprefix, create the directory and enter it. Afterwards install required libraries using WINEPREFIX and winetricks:

⬢[kolomansell@toolbox Fusion360]$ WINEPREFIX=$(pwd) winecfg

⬢[kolomansell@toolbox Fusion360]$ WINEPREFIX=$(pwd) winetricks atmlib gdiplus msxml3 msxml6 vcrun2017 ie8 corefonts fontsmooth=rgb winhttp

List of libraries was taken from Lutris install script (link at the bottom) along with urls for downloading Fusion installer:

wget https://dl.appstreaming.autodesk.com/production/installers/Fusion%20360%20Admin%20Install.exe

Now execute the installation:

⬢[kolomansell@toolbox Fusion360]$ WINEPREFIX=$(pwd) wine ./Fusion\ 360\ Admin\ Install.exe 

You will most probably see broken installer window with no content but you can follow installation log which will tell you when the installation completed:

⬢[kolomansell@toolbox Fusion360]$ cd drive_c/users/kolomansell/AppData/Local/Autodesk/
⬢[kolomansell@toolbox Autodesk]$ ls
autodesk.webdeploy.streamer.log
⬢[kolomansell@toolbox Autodesk]$ tail -f autodesk.webdeploy.streamer.log 

You should see something like this:

2021-10-28 21:00:02,885 - MainProcess(272) - InstallDriver - adsk.dls.streamer.process.process - INFO :: Process Complete in 195.00197 seconds
2021-10-28 21:00:03,625 - MainProcess(272) - InstallDriver - adsk.dls.streamer.registry - INFO :: Shutting down database connection
2021-10-28 21:00:03,629 - MainProcess(272) - InstallDriver - adsk.dls.streamer.configuration - INFO :: Shutting down configurator object
2021-10-28 21:00:03,630 - MainProcess(272) - InstallDriver - adsk.dls.streamer.configuration - INFO :: ##################################### End #####################################
2021-10-28 21:00:03,630 - MainProcess(272) - InstallDriver - adsk.dls.streamer.configuration - INFO :: #                                                                             #
2021-10-28 21:00:03,630 - MainProcess(272) - InstallDriver - adsk.dls.streamer.configuration - INFO :: # <adsk.dls.streamer.configuration.Configurator object at 0x0000000005832CC8> #
2021-10-28 21:00:03,630 - MainProcess(272) - InstallDriver - adsk.dls.streamer.configuration - INFO :: #                                                                             #
2021-10-28 21:00:03,630 - MainProcess(272) - InstallDriver - adsk.dls.streamer.configuration - INFO :: ###############################################################################

Kill the window and all processes. Now for easier use enter following path inside WINEPREFIX and run the launcher. Do not forget to add absolute path to your WINEPREFIX dir. You can do it multiple ways, I just wanted to avoid escaping those annoying windows file and directory names.

[kolomansell@toolbox Fusion360]$ pwd
/var/home/kolomansell/Applications/Fusion360
⬢[kolomansell@toolbox Fusion360]$ cd drive_c/Program\ Files/Autodesk/webdeploy/production/6a0c9611291d45bb9226980209917c3d/
⬢[kolomansell@toolbox 6a0c9611291d45bb9226980209917c3d]$ WINEPREFIX="/var/home/kolomansell/Applications/Fusion360" wine FusionLauncher.exe 

Wait a bit and a login screen for Fusion will appear, so log in:

After logging in… wait a while. It might look that window froze,even gnome sometimes tells you that application is unresponsive.

Just wait and A fusion app will open. It has only one small issue. You will see the tool windows but in the window where model should be, there is only autodesk logo:

Open preferences by clicking on top right icon with your account credentials and a window will appear. In “General” section change ‘Graphic driver’ to “OpenGL Core Profile”

Apply and restart fusion and viola!

Change windows version

First run winecfg with your wineprefix path and change windows version to win8 or 10. Both worked for me and you will get rid of the yellow top banner telling you you are using old windows.

How does it work?

Create a launcher for gnome

I created as well a launcher for Gnome desktop. I guess there is a better way…

I reated shell script that will run the wine part (wanted to avoid all the weird escaping)

#!/bin/bash
WINEPREFIX="/var/home/kolomansell/Applications/Fusion360/" 
EXE_PATH="$WINEPREFIX/drive_c/Program Files/Autodesk/webdeploy/production/6a0c9611291d45bb9226980209917c3d"
EXE="FusionLauncher.exe"
FUSION_ICON="E76B_Fusion360.0"

if [ -z "$(which wine)" ]; then
  notify-send -t 10000 -i $FUSION_ICON "Fusion 360 launch error." "Running outside of toolbox."
fi

WINEPREFIX=$WINEPREFIX wine "$EXE_PATH/$EXE"

And a gnome *.desktop file inside ~/.local/share/applications

[Desktop Entry]
Type=Application
Name=Autodesk Fusion 360
Exec=toolbox run -c fusion360 sh /home/kolomansell/Applications/Fusion_launch.sh
Keywords=Fusion;
Icon=E76B_Fusion360.0

Issues observed so far

Selecting line or dot is sometime laggy

Especially if I want to do coincident and the sketch goes through existing body. I had this issue on windows as well but it was less annoying.

Conclusion

So… what to say at the end? It works better than last time I tried it on Linux. DX9 was laggy, introducesd a lot of glitches and many times Fusion just crashed in the middle of your work.

I hope this is my final parting with Bimbows.

Sources used:

https://docs.fedoraproject.org/en-US/quick-docs/setup_rpmfusion/

https://rpmfusion.org/Howto/NVIDIA

https://lutris.net/games/autodesk-fusion-360/

Published by kolomansell

I am just a dude that does stuff when life gets boring....

Leave a comment

Design a site like this with WordPress.com
Get started