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

Can't run Fusion 360 *solved* #162

Closed spaustas closed 2 years ago

spaustas commented 2 years ago

Hello,

I'm having some issues trying to install Fusion 360 with on my system:

System:    Kernel: 5.4.0-74-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.0.7 
           wm: muffin dm: LightDM Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal 
Machine:   Type: Desktop Mobo: ASRock model: X99 Extreme6/3.1 serial: <filter> 
           UEFI [Legacy]: American Megatrends v: P3.50 date: 04/06/2018 
CPU:       Topology: 6-Core model: Intel Core i7-6800K bits: 64 type: MT MCP arch: Broadwell 
           rev: 1 L2 cache: 15.0 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 81580 
           Speed: 1203 MHz min/max: 1200/3800 MHz Core speeds (MHz): 1: 1201 2: 1200 3: 1200 
           4: 1249 5: 1205 6: 1200 7: 1200 8: 1219 9: 1200 10: 1201 11: 1200 12: 1201 
Graphics:  Device-1: AMD Cayman PRO [Radeon HD 6950] vendor: Hightech Information System 
           driver: radeon v: kernel bus ID: 01:00.0 chip ID: 1002:6719 
           Display: x11 server: X.Org 1.20.9 driver: ati,radeon unloaded: fbdev,modesetting,vesa 
           resolution: 1680x1050~60Hz 
           OpenGL: renderer: AMD CAYMAN (DRM 2.50.0 / 5.4.0-74-generic LLVM 12.0.0) 
           v: 4.3 Mesa 21.0.3 compat-v: 3.1 direct render: Yes 

After installation I try to execute the Fusion desktop icon, but nothing happens, so I try it on terminal and get this output:

faustas@CH99:~$ env WINEPREFIX="/home/faustas/.wineprefixes/fusion360" wine C:\\users\\Public\\Desktop\\Autodesk\ Fusion\ 360.lnk\
> 
002c:fixme:winediag:LdrInitializeThunk wine-staging 7.0-rc3 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0024:fixme:exec:SHELL_execute flags ignored: 0x00004000
faustas@CH99:~$ 0100:fixme:shcore:SetCurrentProcessExplicitAppUserModelID L"AutodeskInc.Fusion360": stub
0108:fixme:vcruntime:__telemetry_main_invoke_trigger (0000000003690000)
0108:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011F080 63 ) semi-stub
0108:fixme:msvcp:locale__Locimp__Makexloc (000000000011F080 63 000000001E4567B0 0000000000000000) semi-stub
0108:fixme:msvcp:locale__Locimp__Makewloc (000000000011F080 63 000000001E4567B0 0000000000000000) semi-stub
0108:fixme:msvcp:locale__Locimp__Makeushloc (000000000011F080 63 000000001E4567B0 0000000000000000) semi-stub
0108:fixme:vcruntime:__telemetry_main_invoke_trigger (000000000CB30000)
0108:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011EB08 1 C) semi-stub
0108:fixme:vcruntime:__telemetry_main_invoke_trigger (0000000011430000)
0108:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011EC50 1 C) semi-stub
0108:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011EC80 1 C) semi-stub
0108:fixme:vcruntime:__telemetry_main_invoke_trigger (0000000013530000)
0108:fixme:vcruntime:__telemetry_main_invoke_trigger (0000000013680000)
0108:fixme:vcruntime:__telemetry_main_invoke_trigger (0000000012E80000)
0108:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011EC00 1 C) semi-stub
0108:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011EB10 1 C) semi-stub
0108:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011EE30 1 C) semi-stub
0108:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011EE30 1 C) semi-stub
0108:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0108:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 000000000011EC04, 000000000011EC20 000000000011EC00
0108:fixme:nls:get_dummy_preferred_ui_language (0x38 000000000011EC04 000000000011EC20 000000000011EC00) returning a dummy value (current locale)
0108:fixme:nls:get_dummy_preferred_ui_language (0x8 000000000011DF70 0000000000000000 000000000011DF74) returning a dummy value (current locale)
0108:fixme:nls:get_dummy_preferred_ui_language (0x8 000000000011DF70 000000001EE14000 000000000011DF74) returning a dummy value (current locale)
0108:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011DCF0 1 C) semi-stub
0108:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011DED0 1 C) semi-stub
0108:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011DB60 1 C) semi-stub
0108:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011DB30 1 C) semi-stub
0108:fixme:file:NtLockFile I/O completion on lock not implemented yet
0108:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011EC40 1 C) semi-stub
0108:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011EF80 63 C) semi-stub
0108:fixme:msvcp:locale__Locimp__Makexloc (000000000011EF80 63 000000001F22B370 0000000000000000) semi-stub
0108:fixme:msvcp:locale__Locimp__Makewloc (000000000011EF80 63 000000001F22B370 0000000000000000) semi-stub
0108:fixme:msvcp:locale__Locimp__Makeushloc (000000000011EF80 63 000000001F22B370 0000000000000000) semi-stub
0108:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011EF60 1 C) semi-stub
0108:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 000000001DCD5CF0, 43) stub
0108:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 000000001DDE9520, 43) stub
0108:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 000000001DD9A532, 43) stub
0058:fixme:nsi:ipv6_forward_enumerate_all not implemented
0058:fixme:nsi:ipv6_forward_enumerate_all not implemented
0058:fixme:nsi:ipv6_forward_enumerate_all not implemented
0058:fixme:nsi:ipv6_forward_enumerate_all not implemented
0108:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011ED70 1 C) semi-stub
0108:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011EF40 1 C) semi-stub
0108:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011EB10 1 C) semi-stub
0110:fixme:sync:SetWaitableTimerEx (0000000000000124, 00000000205CFA70, 0, 0000000000000000, 0000000000000000, 0000000000000000, 149) semi-stub
0058:fixme:nsi:ipv6_forward_enumerate_all not implemented
0058:fixme:nsi:ipv6_forward_enumerate_all not implemented
0108:fixme:win:RegisterPowerSettingNotification (000000000002006A,{02731015-4510-4526-99e6-e5a17ebd1aea},0): stub
0058:fixme:nsi:ipv6_forward_enumerate_all not implemented
0058:fixme:nsi:ipv6_forward_enumerate_all not implemented
010c:fixme:netprofm:connection_point_Advise 000000000020C9F0, 000000001F0D0D30, 000000001F0D0D40 - semi-stub
X Error of failed request:  GLXBadFBConfig
  Major opcode of failed request:  153 (GLX)
  Minor opcode of failed request:  0 ()
  Serial number of failed request:  286
  Current serial number in output stream:  286

Where did I go wrong? Thank you, I appreciate your work.

cryinkfly commented 2 years ago

You running the wrong launcher! :-1:

Please check this file: https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/blob/main/files/extras/desktop-starter/fusion360-launcher.sh

spaustas commented 2 years ago

No, it was completely unrelated to the launcher. I managed to get it working with these commands:

export MESA_GL_VERSION_OVERRIDE=4.6
export MESA_GLSL_VERSION_OVERRIDE=460

However using this workaround, Fusion becomes unresponsive when a 3D object is created. Sketcher does work tho. This is the error output:

044c:err:d3d:wined3d_context_gl_set_pixel_format wglSetPixelFormatWINE failed to set pixel format 5 on device context 0x3010058.
MAG.Default: [Idle Status] Report Idle(Idle or Not):  true
0108:fixme:win:GetPointerDevices (000000000011AF70 0000000000000000): partial stub
0108:fixme:system:DisplayConfigGetDeviceInfo Unimplemented packet type: 11
0108:fixme:system:EnableNonClientDpiScaling (00000000000101E2): stub
EnableNonClientDpiScaling() failed for HWND 0x101e2 (120) (Call not implemented.)
0108:fixme:system:EnableNonClientDpiScaling (00000000000201E2): stub
EnableNonClientDpiScaling() failed for HWND 0x201e2 (120) (Call not implemented.)
MAG.Default: [Idle Status] Report Idle(Idle or Not):  false
0108:fixme:system:EnableNonClientDpiScaling (00000000000301E2): stub
EnableNonClientDpiScaling() failed for HWND 0x301e2 (120) (Call not implemented.)
0108:fixme:system:EnableNonClientDpiScaling (00000000000101E4): stub
EnableNonClientDpiScaling() failed for HWND 0x101e4 (120) (Call not implemented.)
MAG.Default: [Idle Status] Report Idle(Idle or Not):  true
0108:fixme:system:EnableNonClientDpiScaling (00000000000401E2): stub
EnableNonClientDpiScaling() failed for HWND 0x401e2 (120) (Call not implemented.)
MAG.Default: [Idle Status] Report Idle(Idle or Not):  false
0108:fixme:system:EnableNonClientDpiScaling (00000000000101E8): stub
EnableNonClientDpiScaling() failed for HWND 0x101e8 (120) (Call not implemented.)
0108:fixme:win:GetPointerDevices (000000000011B2A0 0000000000000000): partial stub
0108:fixme:system:DisplayConfigGetDeviceInfo Unimplemented packet type: 11
0108:fixme:system:EnableNonClientDpiScaling (00000000000101EA): stub
EnableNonClientDpiScaling() failed for HWND 0x101ea (120) (Call not implemented.)
MAG.Default: [Idle Status] Report Idle(Idle or Not):  true
0108:fixme:system:EnableNonClientDpiScaling (00000000000201E8): stub
EnableNonClientDpiScaling() failed for HWND 0x201e8 (120) (Call not implemented.)
MAG.Default: [Idle Status] Report Idle(Idle or Not):  false
MAG.Default: [Idle Status] Report Idle(Idle or Not):  true
0108:fixme:unwind:virtual_unwind calling personality routine in system library not supported yet
0108:fixme:dbghelp_dwarf:dwarf2_read_range no entry found
0108:fixme:dbghelp_dwarf:dwarf2_get_cie wrong CIE pointer at 0 from FDE 1dc
0108:fixme:dbghelp_dwarf:dwarf2_get_cie wrong CIE pointer at 0 from FDE 1dc
0108:fixme:dbghelp_dwarf:dwarf2_get_cie wrong CIE pointer at 0 from FDE 634
0108:fixme:dbghelp_dwarf:dwarf2_get_cie wrong CIE pointer at 0 from FDE 634
0108:fixme:dbghelp_dwarf:dwarf2_read_range no entry found
0108:fixme:dbghelp:fetch_thread_info Couldn't open thread 824 (87)

I will try to play around with mesa drivers and Fusion 360 graphics settings, maybe something will work.

Edit: I finally got it working! I used these commands to install the newest available Mesa driver:

sudo add-apt-repository ppa:kisak/kisak-mesa
sudo apt update
sudo apt upgrade

After that use :

export MESA_GL_VERSION_OVERRIDE=4.5
export MESA_GLSL_VERSION_OVERRIDE=450

And finally I changed all the graphics settings to the simplest available form. image

Radeon HD 6950 users could try this procedure and see if it does the trick.

cryinkfly commented 2 years ago

@spaustas Thank you very much for this workaround! :+1:

cryinkfly commented 2 years ago

@spaustas I have added your workaround to my site "Supported Graphics Cards".

lorn10 commented 1 year ago

For the sake of completeness. The mentioned OpenGL override through export MESA_GL_VERSION_OVERRIDE=4.5 and export MESA_GLSL_VERSION_OVERRIDE=450 is no longer needed since the r600 Mesa driver was refactored with the new NIR path. So because of this, OpenGL 4.5 is exposed on Radeon TeraScale2 and 3 based hardware right out of the box!

Note, the new NIR backend is default since in Mesa 22.3 while the old TGSI path will be removed in Mesa 23.2. This will open the door for even more r600 driver optimizations. :+1: