cryinkfly / Autodesk-Fusion-360-for-Linux

This is a project, where I give you a way to use Autodesk Fusion 360 on Linux!
https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-/wiki
MIT License
2.01k stars 123 forks source link

Crashes on splash screen *solved* #38

Closed vintagepc closed 3 years ago

vintagepc commented 3 years ago

OpenSuSE 15.3 on a new computer with a fresh install of WINE 6.12 from the Emulators repo.

Install completes without issue but on launch it sits on the initial splash screen for a few minutes and then crashes.

image

Also tried rsync ing the drive_c and .reg files from a working wineprefix on another machine. This one gets to the login screen, but then refuses to actually accept/draw any typed characters. This other code has a different ProgramData folder install so I am wondering if Autodesk published an update that no longer works. I'll see if I can locate the same installer used on the other machine and install from that instead.

theol0403 commented 3 years ago

Duplicate of #29

vintagepc commented 3 years ago

I'm not convinced it's the same issue. I was never even able to sign in on this install, and it takes a good 2-3 minutes to crash from when the splash screen is shown.

the "working" install I copied goes from splash to authentication page in about 15 seconds.

cryinkfly commented 3 years ago

@vintagepc Which graphics card and desktop environment did you have installed?

vintagepc commented 3 years ago

KDE, this is with an nVidia GTX-1050 and proprietary drivers.

I've tried both the dxvk and opengl installation options and it makes no difference in the issue.

cryinkfly commented 3 years ago

Okay, then I use XFCE on my system. Maybe it this the reason why it doesn’t work for you.

Have you also other repository’s configured?

theol0403 commented 3 years ago

I'm not convinced it's the same issue. I was never even able to sign in on this install, and it takes a good 2-3 minutes to crash from when the splash screen is shown.

My bad, the other issue indeed takes you to the login before crashing.

alice-cash commented 3 years ago

I am having the same issue. Launch, splash screen for 2 minutes then crash report. Just tried to install it today. Running Xubuntu 20.04 and Geforce 1080 with proprietary drivers

cryinkfly commented 3 years ago

@alice-cash Okay, can you check if my script have created the file NMachineSpecificOptions.xml correctly?

… and also if winetricks have installed corefonts vcrun2019 … ,please? 😊

vintagepc commented 3 years ago

Okay, then I use XFCE on my system. Maybe it this the reason why it doesn’t work for you.

Have you also other repository’s configured?

Just Emulators/Wine and packman.

If this was a system or package issue I'd expect the copied wineprefix version to fail the same way, yet it acts normal. Unfortunately I just can't get further than sign-in on that one because it won't accept keyboard input. This really smells like something they updated on their end.

This is one of the main reasons I despise SaaS and quasi-cloud stuff; it can break without any changes on your part and good luck figuring out why.

I haven't had time yet to dig up the installer from the previous machine I was using; I just went back to my VM and a different CAD program so the motivation to spend more time getting it working again has waned a bit. :roll_eyes:

Suggestion - maybe the scripts could maintain checksums of the known working installers so that one can more easily check to see if it's a "known" revision or if they've sneakily updated it and potentially broken something - and if it detects a new installer ask the user to report their success or failure here for others.

Nold360 commented 3 years ago

I'm struggeling with the same issue. I fixed it somehow a few days ago.. but forgot how and where... so I'm back here, trying to figure out what's wrong.. pretty sure it was some missing winetricks lib or something like that...

alice-cash commented 3 years ago

So I am not as familiar with wine and verifying packages are installed, I tried just reinstalling both and get vcrun2019 already installed, skipping and corefonts already installed, skipping. I also verified that NMachineSpecificOptions.xml is set up.

I also tried setting up with dxvk but get the exact same issue.

I have also tried reinstalling graphics drivers and updating from 460 to 465. I am clearing out $HOME/.fusion360 between attempts, if I should be doing something else let me know. Other programs like steam proton/games work.

cryinkfly commented 3 years ago

The whole thing is really strange. πŸ˜ͺ

Sorry that Autodesk Fusion 360 doesn't work for one or the other one. πŸ˜”

cryinkfly commented 3 years ago

Hello everyone,

I have closed some issues now and referred to this issue here, which are basically similar to this one. ⚠️

So I hope that we can find faster a solution for this problem in the next time. πŸ§”πŸΌβ€β™‚οΈπŸ‘©πŸ½β€πŸ¦±πŸ‘±πŸΎβ€β™€οΈπŸ‘¨πŸ»β€πŸ¦±πŸ§‘πŸΌβ€πŸ¦±πŸ‘©πŸ»πŸ‘¨πŸΏβ€πŸ¦²πŸŒŽ

vintagepc commented 3 years ago

Additional data point: Moving the "crashing" install to the "working" prefix results in it starting and moving to the still-unusable sign-in page.

So we are back to it being a prefix config issue as part of the problem.

Edit: It's worth noting login is also busted on the old machine now, same way. So the inability to type in an email address may be something they bricked on their end...

cryinkfly commented 3 years ago

@vintagepc I just find it frightening that it works with one of them and with the other, who even has the same hardware, etc., it doesn't work.

I don’t know, why it’s so at the moment.

suryanisaac commented 3 years ago

Good to know that it's not a Manjaro-only problem, so that can probably eliminate KDE and Manjaro playing a part in the error.

Does installation work properly for you all too? The install script successfully works for me.

justkowal commented 3 years ago

@suryanisaac Installer after some additional lib installs is fine but these wine-3d errors when I started from the console. It even popped up some dll name before crash... I think it might be a missing lib of some kind that is not letting some 3d rendering data to pass through. From some basic analisis of GPU Usage and programs that are using it I think that Fusion is loading default 3d view even before login for optimized loading. Thats why there are wine-3d errors I think. I don't know wine that well but maybe some 3d packets are not installed or something.

justkowal commented 3 years ago

wine: Call from 0x7b02dae6 to unimplemented function ucrtbase.dll.feclearexcept, aborting

It even popped up some dll name before crash...

This message showed up right before crash in console.

Edit: Someone was here before. Nov 2015: https://www.winehq.org/pipermail/wine-bugs/2015-November/428425.html

justkowal commented 3 years ago

I have something that might help. My workshop PC running Win7 was dealing with Fusion just fine about a week ago. Today I tried to start it and all 3d is gone. No 3d interface at all. I think that it may be a sneaky update changing some way that autodesk handles 3D

suryanisaac commented 3 years ago

Hmm, It's worked for me on the same system configuration a few weeks ago but not now. Does anyone here know of an archive of Fusion360 .exe files?

So it's probably Autodesk that broke something?

Anyway through this whole ordeal, I'm learning more and more FreeCAD which is good I guess.

justkowal commented 3 years ago

FreeCad has some CNC module? That's a deal breaker for me. If it has - I am switching right now.

suryanisaac commented 3 years ago

Yes! https://wiki.freecadweb.org/Path_Workbench

suryanisaac commented 3 years ago

Also something interesting @cryinkfly and @vintagepc I've found this script to work: https://gist.github.com/probonopd/0fab254aa0b6fc371d8db641822bd530#gistcomment-2799597

I followed the instructions and Fusion360 launched without a problem, on the same machine without any changes. Maybe it's something with the winetricks installed? I've also tried this after attempting your install on my system so that might play a part.

cryinkfly commented 3 years ago

So I have found out, that it sometimes happens that not all packages are available, as you can see in the picture for example:

Bildschirmfoto_2021-07-06_12-26-26

... and this package is needed for the TLS and HTTPS story, for example!

Here you can see it on my system:

Bildschirmfoto_2021-07-06_12-40-46


Then I have searched and found this site here: https://github.com/lutris/docs/blob/master/WineDependencies.md

... where I get a information that we need sometimes more packages and so I think that some users must install these things here for using Autodesk Fusion 360 correctly on there system!

Also I think when I install more of these packages then maybe it could be that other things will also work for us. As an example, there is the documentation workspace.

cryinkfly commented 3 years ago

@suryanisaac

Winetricks definitely plays a very big role in this whole thing! (My script is not to blame for this!)

The problem is that sometimes the servers are not reachable or the sha256sum are mismatched and that takes care of it ensures that not everything is installed correctly!!!

And this can be also the reason why some users can't use the program Autodesk Fusion 360 on there system.

But at the moment I can't do anything, because it always depends on the availability of this server!

vintagepc commented 3 years ago

It also doesn't help if a distro has system packages for certain things that might interfere or conflict with things that winetricks might add.

In any case I've also had enough of this Autodesk BS and have been using SolidEdge Community more and more as I get to know it. (Only reason I still hang on to F360 is for things I haven't figured out how to do yet. I guess this will be more motivation than any as the time spent messing around with F360 in wine is outweighing the time it takes to start up and shutdown a VM now - Fusion has lost the "convenience" factor.)

No "cloud", once it's installed, it's installed, end of story. Also doesn't phone home to the mother-ship. Graphics don't seem as intensive as Fusion so it runs fine in a Win7 VM in Virtualbox Free for hobbyists/makers/tinkerers

https://www.plm.automation.siemens.com/plmapp/education/solid-edge/en_us/free-software/community

the 2020 version will happily install in wine with the correct prerequisites (Dot Net and some IE related requirements) but unfortunately crashes when trying to create a new document or open one. (But even that's a huge step forward, in Wine 5.x it would not even get past the splash screen. It installs and launches in Wine but there is a showstopper where it crashes if you try to open or create a document. Alas I'm not well versed enough in wine debugging to understand what it needs.

I've tried FreeCAD a few times but always found the interface a horrible mess and it's a challenge to find out how to do anything when all the search results are out of date because things have been rearranged and not where it says they should be. I genuinely hope it improves and gets better as more people jump ship out of annoyance, but from my perspective it's been a complete non-starter any time I've tried. The OSS/maker community deserves a good pro-tier cad package that is not proprietary.

I have not yet had a go with the 2021 version.

suryanisaac commented 3 years ago

Well, FreeCAD is something i'm fine with for simple parts but anything slightly complex is hard. But it's improving a lot lately and i'm hoping that it becomes better over time.

On Jul 6 2021, at 4:48 pm, vintagepc @.***> wrote:

It also doesn't help if a distro has system packages for certain things that might interfere or conflict with things that winetricks might add. In any case I've also had enough of this Autodesk BS and have been using SolidEdge Community more and more as I get to know it. (Only reason I still hang on to F360 is for things I haven't figured out how to do yet. I guess this will be more motivation than any as the time spent messing around with F360 in wine is outweighing the time it takes to start up and shutdown a VM now - Fusion has lost the "convenience" factor. No "cloud", once it's installed, it's installed, end of story. Also doesn't phone home to the mother-ship. Graphics don't seem as intensive as Fusion so it runs fine in a Win7 VM in Virtualbox Free for hobbyists/makers/tinkerers

https://www.plm.automation.siemens.com/plmapp/education/solid-edge/en_us/free-software/community @.***/0?redirect=https%3A%2F%2Fwww.plm.automation.siemens.com%2Fplmapp%2Feducation%2Fsolid-edge%2Fen_us%2Ffree-software%2Fcommunity&recipient=cmVwbHkrQUUySlNSV09FREZCWFFTSU1ETDY0QjU2NkFPT1JFVkJOSEhEUFQ0M1FFQHJlcGx5LmdpdGh1Yi5jb20%3D) the 2020 version will happily install with the correct prerequisites (Dot Net and some IE related requirements) but unfortunately crashes when trying to create a new document or open one. (But even that's a huge step forward, in Wine 5.x it would not even get past the splash screen. It installs and launches in Wine but there is a showstopper where it crashes if you try to open or create a document. Alas I'm not well versed enough in wine debugging to understand what it needs.

I've tried FreeCAD a few times but always found the interface a horrible mess and it's a challenge to find out how to do anything when all the search results are out of date because things have been rearranged and not where it says they should be. I genuinely hope it improves and gets better but from my perspective it's been a complete non-starter any time I've tried. β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub @./1?redirect=https%3A%2F%2Fgithub.com%2Fcryinkfly%2FFusion-360---Linux-Wine-Version-%2Fissues%2F38%23issuecomment-874675095&recipient=cmVwbHkrQUUySlNSV09FREZCWFFTSU1ETDY0QjU2NkFPT1JFVkJOSEhEUFQ0M1FFQHJlcGx5LmdpdGh1Yi5jb20%3D), or unsubscribe @./2?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAE2JSRWQ2BDQOF57LB5OUW3TWLQ6RANCNFSM47YUYPZQ&recipient=cmVwbHkrQUUySlNSV09FREZCWFFTSU1ETDY0QjU2NkFPT1JFVkJOSEhEUFQ0M1FFQHJlcGx5LmdpdGh1Yi5jb20%3D).

cryinkfly commented 3 years ago

All users who have the problem with Autodesk Fusion 360 on Linux with Wine🍷, I can say that this problem is also presented on Windows and macOS!

Here is the link: https://knowledge.autodesk.com/support/fusion-360/learn-explore/caas/sfdcarticles/sfdcarticles/Fusion-360-has-installed-but-will-not-launch.html

β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”

  1. Close Fusion 360
  2. Open your File Browser
  3. Browse to C:\Users\%username%\AppData\Roaming\Autodesk\Neutron Platform\Options. (If the folder is not visible, see how to access hidden files and folders for help).
  4. Right click on NMachineSpecificOptions.xml and select Delete.
  5. Browse to C:\Users\%username%\AppData\Local\Autodesk\Web Services in the file browser.
  6. Right click on LoginState.xml and select Delete.
  7. Restart Fusion 360.

*Notice: I don’t know if it works for you!

β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”

For some users working Autodesk Fusion 360 with Lutris (https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-/issues/42#issuecomment-881908378) and https://youtu.be/NJTV_enR6io

oschwartz10612 commented 3 years ago

I have the following errors in .fusion360/drive_c/users/owen/Local Settings/Application Data/Autodesk/Web Services/Log/WebServices.log

2021-07-26T02:51:56.762Z [Fusion360:232, 596] [AdWebServices ERROR] Application not installed properly. File libcrypto-Ad-1_1-x64.dll could not be located in application dir or current dir.
2021-07-26T02:51:56.764Z [Fusion360:232, 596] [AdWebServices ERROR] Application not installed properly. File libssl-Ad-1_1-x64.dll could not be located in application dir or current dir.

Is this what we are looking for?

Edit: wine-6.0.1 on Pop 21.04

PEERCRED commented 3 years ago

https://gist.github.com/probonopd/0fab254aa0b6fc371d8db641822bd530#gistcomment-2799597 also worked for me. Welp, actually one will only need

winetricks atmlib gdiplus msxml3 msxml6 vcrun2017 ie8 corefonts fontsmooth=rgb winhttp win10

from that comment. Fusion 360 won't start with winetricks d3d11=disabled and you don't need to patch the installer.

PEERCRED commented 3 years ago

Actually, didn't notice that

winetricks atmlib gdiplus msxml3 msxml6 vcrun2017 ie8 corefonts fontsmooth=rgb winhttp win10

fails at installing ie8 (needs 32-bit prefix). Removed ie8 and added dxvk + sh winetricks d3d10core=disabled d3d11=builtin d3d9=builtin dxgi=builtin. (Now wineserver doesn't consume 100% CPU.)

cryinkfly commented 3 years ago

@ Can you testing my new version of the installation-script, please. πŸ•›

alice-cash commented 3 years ago

I can confirm the latest install script works and Fusion launches now without issue. Though the object browser items seem to be stuck in the foreground and are currently on top of my chrome window.

cryinkfly commented 3 years ago

@alice-cash Thank you for your report. πŸ‘Œ

Though the object browser items seem to be stuck in the foreground and are currently on top of my chrome window.

This is normally at the moment.