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
1.8k stars 115 forks source link

"ShellExecuteEx failed: File not found." when running fusion360-launcher.sh in Manjaro #156

Closed number-g closed 2 years ago

number-g commented 2 years ago

It seems like the installer script works in every way except actually installing Fusion 360, as when I run fusion360-launcher.sh it doesn't find Fusion360.exe (and nor can I, anywhere on my drive)

I've attached a log of the installation process.

f360.log

EDIT: Here's what happens whey I try to run Fusion360Installer.exe manually:

[g@moon INSTALLDIR]$ WINEPREFIX=/home/g/.wineprefixes/fusion360 wine data/fusion360/Fusion360installer.exe -p deploy -g -f log.txt MESA-INTEL: warning: Haswell Vulkan support is incomplete 002c:fixme:ver:GetCurrentPackageId (000000000021FD70 0000000000000000): stub 0034:fixme:ver:GetCurrentPackageId (000000000021FD70 0000000000000000): stub 0024:fixme:imm:ImeSetActiveContext (0x49f700, 1): stub 0024:fixme:imm:ImmReleaseContext (00010054, 0049F700): stub 0070:fixme:imm:ImeSetActiveContext (0x269d00, 0): stub 0070:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000269D00): stub 00fc:fixme:ver:GetCurrentPackageId (000000000021FD70 0000000000000000): stub [g@moon INSTALLDIR]$ 003c:fixme:ver:GetCurrentPackageId (000000000021FD70 0000000000000000): stub

cryinkfly commented 2 years ago

Your graphics card driver is incomplete?

[g@moon INSTALLDIR]$ WINEPREFIX=/home/g/.wineprefixes/fusion360 wine data/fusion360/Fusion360installer.exe -p deploy -g -f log.txt MESA-INTEL: warning: Haswell Vulkan support is incomplete

And can you check here:

/home/g/.wineprefixes/fusion360/drive_c/Program Files/Autodesk/webdeploy/production

... if you have two folders and in one these you can find the Fusion360.exe.

number-g commented 2 years ago

Hi,

I selected OpenGL on install as I have an AMD GPU, so I'm not sure why the warning (not error) about incomplete Vulkan support for Intel. Maybe someone can clarify this ...

As for the folders, they don't exist:

[g@moon ~]$ ls -l "/home/g/.wineprefixes/fusion360/drive_c/Program Files/Autodesk/webdeploy/production" ls: cannot access '/home/g/.wineprefixes/fusion360/drive_c/Program Files/Autodesk/webdeploy/production': No such file or directory

cryinkfly commented 2 years ago

Okay, then it's so that the installation of Autodesk Fusion 360 failed! :-1:

Please do this:

cd $HOME/.wineprefixes/fusion360/INSTALLDIR/data/fusion360

WINEPREFIX=$HOME/.wineprefixes/fusion360 wine Fusion360installer.exe -p deploy -g -f log.txt --quiet

And then check again:

$HOME/.wineprefixes/fusion360/drive_c/Program Files/Autodesk/webdeploy/production

number-g commented 2 years ago

Hi, thanks for your reply,

Here's what happens when I do that:

`[g@moon fusion360]$ WINEPREFIX=$HOME/.wineprefixes/fusion360 wine Fusion360installer.exe -p deploy -g -f log.txt --quiet MESA-INTEL: warning: Haswell Vulkan support is incomplete MESA-INTEL: warning: Haswell Vulkan support is incomplete 002c:fixme:ver:GetCurrentPackageId (000000000021FD70 0000000000000000): stub 0034:fixme:ver:GetCurrentPackageId (000000000021FD70 0000000000000000): stub 0024:fixme:imm:ImeSetActiveContext (0x49f5c0, 1): stub 0024:fixme:imm:ImmReleaseContext (00010054, 0049F5C0): stub 0068:fixme:imm:ImeSetActiveContext (0x269cc0, 0): stub 0068:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000269CC0): stub 00fc:fixme:ver:GetCurrentPackageId (000000000021FD70 0000000000000000): stub [g@moon fusion360]$ 003c:fixme:ver:GetCurrentPackageId (000000000021FD70 0000000000000000): stub

[g@moon fusion360]$ ls -l $HOME/.wineprefixes/fusion360/drive_c/Program Files/Autodesk/webdeploy/production ls: cannot access '/home/g/.wineprefixes/fusion360/drive_c/Program': No such file or directory ls: cannot access 'Files/Autodesk/webdeploy/production': No such file or directory [g@moon fusion360]$ `

I'm running wine-6.23 if this helps.

Cheers

number-g commented 2 years ago

I tried disabling the Intel integrated graphics (which I am not using, the monitors are all plugged into my AMD card) in the BIOS, but when I do that, X fails to start, so maybe I have some messed up GPU configuration somehow, I will look into this.

number-g commented 2 years ago

Ok I've completely disabled the integrated graphics so I no longer have the Vulkan warning, but otherwise it's exactly the same:

`[g@moon fusion360]$ WINEPREFIX=$HOME/.wineprefixes/fusion360 wine Fusion360installer.exe -p deploy -g -f log.txt 002c:fixme:ver:GetCurrentPackageId (000000000021FD70 0000000000000000): stub 0034:fixme:ver:GetCurrentPackageId (000000000021FD70 0000000000000000): stub 0024:fixme:imm:ImeSetActiveContext (0x49f668, 1): stub 0024:fixme:imm:ImmReleaseContext (00010054, 0049F668): stub 0074:fixme:imm:ImeSetActiveContext (0x269e10, 0): stub 0074:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000269E10): stub 00fc:fixme:ver:GetCurrentPackageId (000000000021FD70 0000000000000000): stub [g@moon fusion360]$ 003c:fixme:ver:GetCurrentPackageId (000000000021FD70 0000000000000000): stub

[g@moon fusion360]$ ls -l "$HOME/.wineprefixes/fusion360/drive_c/Program Files/Autodesk/webdeploy/production" ls: cannot access '/home/g/.wineprefixes/fusion360/drive_c/Program Files/Autodesk/webdeploy/production': No such file or directory [g@moon fusion360]$`

It does seem to successfully extract though, as the little window comes up showing this

cryinkfly commented 2 years ago

Can you check your /etc/hosts and /etc/hostname

For exemable (hosts):

127.0.0.1 localhost 127.0.1.1 YOUR-PC-NAME

For examble (hostname):

YOUR-PC-NAME


Then sometimes it's so that wine get a X error when this is not set correctly.

number-g commented 2 years ago

[g@moon ~]$ cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 moon ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters redacted.for.privacy mothership [g@moon ~]$ cat /etc/hostname moon

cryinkfly commented 2 years ago

Looks fine. :+1:

cryinkfly commented 2 years ago

It just occurred to me, if you should have Flatpak on your system, then you could use my development branch.

number-g commented 2 years ago

Thanks!

I'll try that now

number-g commented 2 years ago

Hi,

I can't figure out where (if anywhere) it installs to ...

Here's what happens when I run the script:

https://pastebin.com/sLSP8YKD

cryinkfly commented 2 years ago

Sorry, there was a bug: https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/pull/157

number-g commented 2 years ago

I tried with the updated script but still no installer appears ...

https://pastebin.com/TRR7qUQu

cryinkfly commented 2 years ago

Run this command:

1.)

flatpak run org.winehq.flatpak-wine619 bash

2.)

mkdir -p "$HOME/.wineprefixes/fusion360/INSTALLDIR/data/fusion360"

3.)

cd "$HOME/.wineprefixes/fusion360/INSTALLDIR/data/fusion360"

4.)

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

5.)

wine Fusion360installer.exe -p deploy -g -f log.txt --quiet

6.)

wine Fusion360installer.exe -p deploy -g -f log.txt --quiet

7.)

mkdir -p "$HOME/.local/share/flatpak-wine619/default/drive_c/users/steamuser/Application Data/Autodesk/Neutron Platform/"

8.)

wget -N -P $HOME/.local/share/flatpak-wine619/default/drive_c/users/steamuser/Application Data/Autodesk/Neutron Platform/Options https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/extras/opengl_dxvk/OpenGL.xml -O NMachineSpecificOptions.xml

And when you will run Autodesk Fusion 360:

Open a new terminal:

flatpak run org.winehq.flatpak-wine619 bash

Change into the path of Autodesk Fusion 360.

For examble:

cd $HOME/.local/share/flatpak-wine619/default/drive_c/Program Files/Autodesk/webdeploy/production/YOURID

And then:

wine Fusion360.exe
number-g commented 2 years ago

Hi,

Thanks again for all your help. I can get it to install now but it just hangs for a while on the splash screen, then crashes:

https://pastebin.com/3SBZpWQ5

number-g commented 2 years ago

My distribution updated to wine 7.0-rc2 so I am using the non flatpak version now and it works! Thanks again!