cryinkfly / Autodesk-Fusion-360-for-Linux

This is a project, where I give you a way to use Autodesk Fusion 360 on Linux!

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to Login Even With New Update

DragonflyRobotics opened this issue · comments

Describe the bug
As far as I am aware, the new desktop entry should fix the login prompt issue with Fusion. However, here is what happens when I attempt to log in:
image

It gets stuck on this "Check the Browser" page and there is no login page that opens. Not sure if I am missing a step or a workaround to this issue. I am running on an Arch distrobox container with GPU passthrough. I ensured that a browser is correctly installed (Firefox) and it was open before I ran my application. Here is the full console output.

--2024-02-20 10:41:53--  https://raw.githubusercontent.com/cryinkfly/Autodesk-Fusion-360-for-Linux/main/files/builds/stable-branch/bin/build-version.txt
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20 [text/plain]
Saving to: ‘/tmp/fusion360/build-version.txt’

build-version.txt                                     100%[======================================================================================================================>]      20  --.-KB/s    in 0s      

Last-modified header missing -- time-stamps turned off.
2024-02-20 10:41:53 (5.04 MB/s) - ‘/tmp/fusion360/build-version.txt’ saved [20/20]

Online Build-Version: 2.0.17228
Online Insider-Build-Version: 2.0.17228
The version.txt file not exist!
EN
Gtk-Message: 10:41:54.001: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:41:57.257: Failed to load module "canberra-gtk-module"
wine: could not open working directory L"unix\\home\\krishna\\Documents\\Distrobox\\Fusion360\\.fusion360\\wineprefixes\\default\\", starting in the Windows directory.
wine: could not open working directory L"unix\\home\\krishna\\Documents\\Distrobox\\Fusion360\\.fusion360\\wineprefixes\\default\\", starting in the Windows directory.
setProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2) failed: COM error 0x57  (Unknown error 0x057)
"C:/Program Files/Autodesk/webdeploy/production/57cd45aa09be2d79663784069561ec17eda99ca8/plugins"
EnableNonClientDpiScaling() failed for HWND 0x5012c (120) (Call not implemented.)
qt.webenginecontext:

GLImplementation: desktop
Surface Type: OpenGL
Surface Profile: CompatibilityProfile
Surface Version: 4.6
Using Default SG Backend: yes
Using Software Dynamic GL: no
Using Angle: no

Init Parameters:
  *  application-name Fusion360
  *  browser-subprocess-path C:\Program Files\Autodesk\webdeploy\production\57cd45aa09be2d79663784069561ec17eda99ca8\QtWebEngineProcess.exe
  *  create-default-gl-context
  *  disable-d3d11
  *  disable-es3-gl-context
  *  disable-features DnsOverHttpsUpgrade,ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
  *  disable-gpu-rasterization
  *  disable-speech-api
  *  enable-features NetworkServiceInProcess,TracingServiceInProcess
  *  enable-threaded-compositing
  *  ignore-gpu-blocklist
  *  in-process-gpu
  *  log-severity disabled
  *  no-proxy-server
  *  use-gl desktop

[2656:2660:0220/104203.701:ERROR:dxva_video_decode_accelerator_win.cc(1449)] DXVAVDA fatal error: could not LoadLibrary: msvproc.dll: Module not found. (0x7E)
[2656:2660:0220/104203.810:ERROR:network_change_notifier_win.cc(228)] WSALookupServiceBegin failed with: 8
info:  Game: Fusion360.exe
info:  DXVK: v2.3
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fffddd33f90
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_EXT_surface_maintenance1
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  NVIDIA GeForce RTX 2080 Ti:
info:    Driver : NVIDIA 545.29.6
info:    Memory Heap[0]: 
info:      Size: 11264 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:    Memory Heap[1]: 
info:      Size: 48167 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
info:    Memory Heap[2]: 
info:      Size: 246 MiB
info:      Flags: 0x1
info:      Memory Type[4]: Property Flags = 0x7

DevTools listening on ws://127.0.0.1:9766/devtools/browser/33d89ffc-942c-45fd-b14e-19ad50f6e14e
info:  DXGI: Hiding actual GPU, reporting vendor ID 0x1002, device ID 73df
info:  Game: Fusion360.exe
info:  DXVK: v2.3
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fffddd33f90
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_EXT_surface_maintenance1
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  NVIDIA GeForce RTX 2080 Ti:
info:    Driver : NVIDIA 545.29.6
info:    Memory Heap[0]: 
info:      Size: 11264 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:    Memory Heap[1]: 
info:      Size: 48167 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
info:    Memory Heap[2]: 
info:      Size: 246 MiB
info:      Flags: 0x1
info:      Memory Type[4]: Property Flags = 0x7
info:  DXGI: Hiding actual GPU, reporting vendor ID 0x1002, device ID 73df
BUG OptionAdapter UseEagleRc called before setting callbacks.EagleAPI.Version = 0.1.2
BUG OptionAdapter UseEagleRc called before setting callbacks.BUG OptionAdapter UseEagleRc called before setting callbacks.QString::arg: 1 argument(s) missing in %1/scripts
QString::arg: 1 argument(s) missing in %1/scripts
BUG OptionAdapter UseEagleRc called before setting callbacks.QString::arg: 1 argument(s) missing in %1/ulps
QString::arg: 1 argument(s) missing in %1/ulps
BUG OptionAdapter UseEagleRc called before setting callbacks.QString::arg: 1 argument(s) missing in %1/design rules
QString::arg: 1 argument(s) missing in %1/design rules
BUG OptionAdapter UseEagleRc called before setting callbacks.QString::arg: 1 argument(s) missing in %1/spice
QString::arg: 1 argument(s) missing in %1/spice
Registering module:  "uiHelper"
EnableNonClientDpiScaling() failed for HWND 0x20216 (120) (Call not implemented.)
0bc8:fixme:qmgr:BackgroundCopyJob_AddFileSet Check for valid filenames and supported protocols
0bc8:fixme:qmgr:BackgroundCopyJob_SetPriority 00007FFFFE8E1A50, 2: stub
0bc8:fixme:qmgr:BackgroundCopyJob_SetMinimumRetryDelay 00007FFFFE8E1A50, 60.
0bc8:fixme:qmgr:BackgroundCopyJob_SetNoProgressTimeout 00007FFFFE8E1A50, 86400.: stub
"10:42::08.993" MAGWorkControllerClientConnection  cmd sent  "auth"
"10:42::08.994" MAGWorkClientControllerConnection  cmd sent  "auth"
MAGWorkControllerClientConnection  cmd received  "auth"
"10:42::08.994" MAGWorkControllerClientConnection  cmd sent  "authok"
MAGWorkClientControllerConnection  cmd received  "auth"
"10:42::08.994" MAGWorkClientControllerConnection  cmd sent  "authok"
MAGWorkClientControllerConnection  cmd received  "authok"
MAGWorkControllerClientConnection  cmd received  "authok"
Connecting to controller server
Controller server info:  QHostAddress("127.0.0.1") : 40419
host connected QHostAddress("127.0.0.1") : 50040
"10:42::08.998" MAGWorkControllerHostConnection  cmd sent  "auth"
"10:42::08.998" MAGWorkHostControllerConnection  cmd sent  "auth"
MAGWorkControllerHostConnection  cmd received  "auth"
"10:42::08.999" MAGWorkControllerHostConnection  cmd sent  "authok"
MAGWorkHostControllerConnection  cmd received  "auth"
"10:42::08.999" MAGWorkHostControllerConnection  cmd sent  "authok"
MAGWorkHostControllerConnection  cmd received  "authok"
Controller connected
Sending max processes:  16
"10:42::08.999" MAGWorkHostControllerConnection  cmd sent  "ready"
MAGWorkControllerHostConnection  cmd received  "authok"
Remote debugging server started successfully. Try pointing a Chromium-based browser to http://127.0.0.1:9766
MAGWorkControllerHostConnection  cmd received  "ready"
006c:fixme:mountmgr:query_property Unsupported property 0x7
006c:fixme:mountmgr:query_property Unsupported property 0x8
info:  Game: msedgewebview2.exe
info:  DXVK: v2.3
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fffddd33f90
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_EXT_surface_maintenance1
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  NVIDIA GeForce RTX 2080 Ti:
info:    Driver : NVIDIA 545.29.6
info:    Memory Heap[0]: 
info:      Size: 11264 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:    Memory Heap[1]: 
info:      Size: 48167 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
info:    Memory Heap[2]: 
info:      Size: 246 MiB
info:      Flags: 0x1
info:      Memory Type[4]: Property Flags = 0x7
info:  DXGI: Hiding actual GPU, reporting vendor ID 0x1002, device ID 73df
info:  Game: msedgewebview2.exe
info:  DXVK: v2.3
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fffddd33f90
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_EXT_surface_maintenance1
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  NVIDIA GeForce RTX 2080 Ti:
info:    Driver : NVIDIA 545.29.6
info:    Memory Heap[0]: 
info:      Size: 11264 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:    Memory Heap[1]: 
info:      Size: 48167 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
info:    Memory Heap[2]: 
info:      Size: 246 MiB
info:      Flags: 0x1
info:      Memory Type[4]: Property Flags = 0x7
info:  DXGI: Hiding actual GPU, reporting vendor ID 0x1002, device ID 73df
warn:  D3D11DeviceFeatures: External memory features not supported
info:  D3D11InternalCreateDevice: Maximum supported feature level: D3D_FEATURE_LEVEL_12_1
info:  D3D11InternalCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_1
info:  Device properties:
info:    Device : NVIDIA GeForce RTX 2080 Ti
info:    Driver : NVIDIA 545.29.6
info:  Enabled device extensions:
info:    VK_EXT_attachment_feedback_loop_layout
info:    VK_EXT_conservative_rasterization
info:    VK_EXT_custom_border_color
info:    VK_EXT_depth_bias_control
info:    VK_EXT_depth_clip_enable
info:    VK_EXT_extended_dynamic_state3
info:    VK_EXT_fragment_shader_interlock
info:    VK_EXT_graphics_pipeline_library
info:    VK_EXT_memory_priority
info:    VK_EXT_non_seamless_cube_map
info:    VK_EXT_robustness2
info:    VK_EXT_shader_module_identifier
info:    VK_EXT_swapchain_maintenance1
info:    VK_EXT_transform_feedback
info:    VK_EXT_vertex_attribute_divisor
info:    VK_KHR_maintenance5
info:    VK_KHR_pipeline_library
info:    VK_KHR_present_id
info:    VK_KHR_present_wait
info:    VK_KHR_swapchain
info:    VK_NVX_binary_import
info:    VK_NVX_image_view_handle
info:  Device features:
info:    robustBufferAccess                     : 1
info:    fullDrawIndexUint32                    : 1
info:    imageCubeArray                         : 1
info:    independentBlend                       : 1
info:    geometryShader                         : 1
info:    tessellationShader                     : 1
info:    sampleRateShading                      : 1
info:    dualSrcBlend                           : 1
info:    logicOp                                : 1
info:    multiDrawIndirect                      : 1
info:    drawIndirectFirstInstance              : 1
info:    depthClamp                             : 1
info:    depthBiasClamp                         : 1
info:    fillModeNonSolid                       : 1
info:    depthBounds                            : 1
info:    wideLines                              : 1
info:    multiViewport                          : 1
info:    samplerAnisotropy                      : 1
info:    textureCompressionBC                   : 1
info:    occlusionQueryPrecise                  : 1
info:    pipelineStatisticsQuery                : 1
info:    vertexPipelineStoresAndAtomics         : 1
info:    fragmentStoresAndAtomics               : 1
info:    shaderImageGatherExtended              : 1
info:    shaderClipDistance                     : 1
info:    shaderCullDistance                     : 1
info:    shaderFloat64                          : 1
info:    shaderInt64                            : 1
info:    variableMultisampleRate                : 1
info:    shaderResourceResidency                : 1
info:    shaderResourceMinLod                   : 1
info:    sparseBinding                          : 1
info:    sparseResidencyBuffer                  : 1
info:    sparseResidencyImage2D                 : 1
info:    sparseResidencyImage3D                 : 1
info:    sparseResidency2Samples                : 1
info:    sparseResidency4Samples                : 1
info:    sparseResidency8Samples                : 1
info:    sparseResidency16Samples               : 1
info:    sparseResidencyAliased                 : 1
info:  Vulkan 1.1
info:    shaderDrawParameters                   : 1
info:  Vulkan 1.2
info:    samplerMirrorClampToEdge               : 1
info:    drawIndirectCount                      : 1
info:    samplerFilterMinmax                    : 1
info:    hostQueryReset                         : 1
info:    timelineSemaphore                      : 1
info:    bufferDeviceAddress                    : 1
info:    shaderOutputViewportIndex              : 1
info:    shaderOutputLayer                      : 1
info:    vulkanMemoryModel                      : 1
info:  Vulkan 1.3
info:    robustImageAccess                      : 0
info:    pipelineCreationCacheControl           : 1
info:    shaderDemoteToHelperInvocation         : 1
info:    shaderZeroInitializeWorkgroupMemory    : 0
info:    synchronization2                       : 1
info:    dynamicRendering                       : 1
info:  VK_AMD_shader_fragment_mask
info:    extension supported                    : 0
info:  VK_EXT_attachment_feedback_loop_layout
info:    attachmentFeedbackLoopLayout           : 0
info:  VK_EXT_conservative_rasterization
info:    extension supported                    : 1
info:  VK_EXT_custom_border_color
info:    customBorderColors                     : 1
info:    customBorderColorWithoutFormat         : 1
info:  VK_EXT_depth_clip_enable
info:    depthClipEnable                        : 1
info:  VK_EXT_depth_bias_control
info:    depthBiasControl                       : 1
info:    leastRepresentableValueForceUnormRepresentation : 1
info:    floatRepresentation                    : 0
info:    depthBiasExact                         : 1
info:  VK_EXT_extended_dynamic_state3
info:    extDynamicState3AlphaToCoverageEnable  : 1
info:    extDynamicState3DepthClipEnable        : 1
info:    extDynamicState3RasterizationSamples   : 1
info:    extDynamicState3SampleMask             : 1
info:    extDynamicState3LineRasterizationMode  : 1
info:  VK_EXT_fragment_shader_interlock
info:    fragmentShaderSampleInterlock          : 1
info:    fragmentShaderPixelInterlock           : 1
info:  VK_EXT_full_screen_exclusive
info:    extension supported                    : 0
info:  VK_EXT_graphics_pipeline_library
info:    graphicsPipelineLibrary                : 1
info:  VK_EXT_line_rasterization
info:    rectangularLines                       : 1
info:    smoothLines                            : 1
info:  VK_EXT_memory_budget
info:    extension supported                    : 1
info:  VK_EXT_memory_priority
info:    memoryPriority                         : 1
info:  VK_EXT_non_seamless_cube_map
info:    nonSeamlessCubeMap                     : 0
info:  VK_EXT_robustness2
info:    robustBufferAccess2                    : 1
info:    robustImageAccess2                     : 1
info:    nullDescriptor                         : 1
info:  VK_EXT_shader_module_identifier
info:    shaderModuleIdentifier                 : 1
info:  VK_EXT_shader_stencil_export
info:    extension supported                    : 0
info:  VK_EXT_swapchain_colorspace
info:    extension supported                    : 0
info:  VK_EXT_swapchain_maintenance1
info:    swapchainMaintenance1                  : 1
info:  VK_EXT_hdr_metadata
info:    extension supported                    : 0
info:  VK_EXT_transform_feedback
info:    transformFeedback                      : 1
info:    geometryStreams                        : 1
info:  VK_EXT_vertex_attribute_divisor
info:    vertexAttributeInstanceRateDivisor     : 1
info:    vertexAttributeInstanceRateZeroDivisor : 1
info:  VK_KHR_external_memory_win32
info:    extension supported                    : 0
info:  VK_KHR_external_semaphore_win32
info:    extension supported                    : 0
info:  VK_KHR_maintenance5
info:    maintenance5                           : 1
info:  VK_KHR_present_id
info:    presentId                              : 1
info:  VK_KHR_present_wait
info:    presentWait                            : 1
info:  VK_NVX_binary_import
info:    extension supported                    : 1
info:  VK_NVX_image_view_handle
info:    extension supported                    : 1
info:  VK_KHR_win32_keyed_mutex
info:    extension supported                    : 0
info:  Queue families:
info:    Graphics : 0
info:    Transfer : 1
info:    Sparse   : 0
sudo: The "no new privileges" flag is set, which prevents sudo from running as root.
sudo: If sudo is running in a container, you may need to adjust the container configuration to disable the flag.
info:  Memory type mask for sparse resources: 0x2
warn:  DXVK: No state cache file found
info:  DXVK: Graphics pipeline libraries supported
info:  DXGI: Hiding actual GPU, reporting vendor ID 0x1002, device ID 73df
info:  DXGI: Hiding actual GPU, reporting vendor ID 0x1002, device ID 73df
err:   D3D11VideoDevice::GetVideoDecoderProfileCount: Stub
info:  NVIDIA GeForce RTX 2080 Ti:
info:    Driver : NVIDIA 545.29.6
info:    Memory Heap[0]: 
info:      Size: 11264 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:    Memory Heap[1]: 
info:      Size: 48167 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
info:    Memory Heap[2]: 
info:      Size: 246 MiB
info:      Flags: 0x1
info:      Memory Type[4]: Property Flags = 0x7
info:  DXGI: Hiding actual GPU, reporting vendor ID 0x1002, device ID 73df
006c:fixme:mountmgr:query_property Faking StorageDeviceProperty data
[2656:2852:0220/104246.158:ERROR:devtools_http_handler.cc(419)] GetMimeType doesn't know mime type for: browser/33d89ffc-942c-45fd-b14e-19ad50f6e14e text/plain will be returned
[2656:2660:0220/104246.159:ERROR:devtools_http_handler.cc(419)] GetMimeType doesn't know mime type for: browser/33d89ffc-942c-45fd-b14e-19ad50f6e14e text/plain will be returned

Desktop (please complete the following information):

  • Version number of Autodesk Fusion 360: Latest
  • Graphics card model + Graphics card driver (Version number) - Nvidia 2080Ti with Driver (545.29.06) and CUDA(12.3)
  • Operating system (OpenSUSE Leap 15.3, Fedora 34, ...) - Base Arch Linux but running in Arch Distrobox Container. Also tried Ubuntu 22.04 Container but can't install browser without systemd.
  • Desktop environment (XFCE 4.16, Gnome 40, ...) - Base is KDE
  • DXVK- or OpenGL-Mode - Not sure

Could be related to issue #391, try to check if mimetype handler point to correct location.

commented

I just got the same issue. Just checked the issue mentioned above and not sure what to do to fix it (I'm new to github documentation, apologies). It also does not let me kill the program after it opens the browser (even with killall), forcing me to restart my os to relaunch it.

Version number of Autodesk Fusion 360: Latest
Graphics card model + Graphics card driver (Version number) - AMD 6800S w/ latest stock Arch Drivers
Operating system (OpenSUSE Leap 15.3, Fedora 34, ...) - Arch
Desktop environment (XFCE 4.16, Gnome 40, ...) - Hyprland
DXVK- or OpenGL-Mode - Not sure on how to find that out.

nano $HOME/.local/share/applications/adskidmgr-opener.desktop check, that "C:\Program Files\Autodesk\webdeploy\production\57cd45aa09be2d79663784069561ec17eda99ca8\Autodesk Identity Manager\AdskIdentityManager.exe" actually point to correct folder 57cd45aa09be2d79663784069561ec17eda99ca8 will probably be different.

commented

I've updated that and it still hasn't worked. It simply just opens the website, lets me log in, then never actually continues on the Autodesk Fusion program.

57cd45aa09be2d79663784069561ec17eda99ca8

Did You fill Your folder name? From there: ~/.fusion360/wineprefixes/default/drive_c/Program Files/Autodesk/webdeploy/production/ ?

commented

What do you mean by fill my folder name?

that long string is different for each instalation/update so you have to check above directory a fill correct folder name into
$HOME/.local/share/applications/adskidmgr-opener.desktop

See on image, for me its 57cd45aa09be2d79663784069561ec17eda99ca8 which is latest version.
image

commented

I see, in my file system, I have nothing past ~/.fusion360/wineprefixes/default/.

How did You install Fusion? That path depends on Your choice of path where to install Fusion

commented

I see... I'll just try reinstalling it from scratch and not change the path then.... (Ill post a comment on the result after that is done).

That should not be necessary, check $HOME/.local/share/applications/adskidmgr-opener.desktop, line with WINEPREFIX= should contain path to Your installation

hi. i was also encounter this problem
but i fixed it by just edit the adskidmgr-opener.desktop file

... wine "C:\Program Files\Autodesk\webdeploy\production\{unmatched version}\Autodesk Identity Manager\AdskIdentityManager.exe" %u

to

... wine "C:\Program Files\Autodesk\webdeploy\production\57cd45aa09be2d79663784069561ec17eda99ca8\Autodesk Identity Manager\AdskIdentityManager.exe" %u

thank you @Tony763

Hello, I appreciate all the help. I tried what @gittawat and @Tony736 suggested and changed the version to match the folder under my wineprefix and it still didn't open any browser. Is there any way to check if my container has a default browser set which this identity manager can open to?

Hi all! I also have an issue with logins. I followed the above suggestions to change the path to the executable wine is supposed to invoke. Unfortunately, after signing in. it asks if I want to use the handler. I hit 'allow always for this type'. The other window with fusion360 does not change at all, and I actually cannot close it either. Is there any known bugs with a wayland compositor? (I am using hyprland).

Hi @DragonflyRobotics, which browser do you have set as default? For me, only Firefox installed from DEB package works. Firefox in snap and chrome crash while opening window to sign in.

Hi @DrewRidley I run Fusion on Wayland and I can sign in without issue (Ubuntu 23.10).

I'm also not able to log in. No browser window opens when clicking the login button. But I can open a linux browser window from the Windows prompt.

~/.fusion360/wineprefixes/default$ WINEPREFIX=$PWD wine cmd

Microsoft Windows 10.0.19043
Z:\home\zzz\.fusion360\wineprefixes\default>c:
c:\>cd windows
c:\windows>winebrowser.exe https://google.com
Opening in existing browser session.

For my case, this does open a browser window.
I believe this winebrowser.exe is also used in the authentication workflow. winebrowser.exe is registered as the http/https handler in the registry.

Out of curiosity I upgraded the msedgewebview version to 121.0.2277.128 using the download URL

SP_WEBVIEW2_INSTALLER_URL="https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/dcac5baa-e96b-47e9-8532-b11345db2b0d/MicrosoftEdgeWebView2RuntimeInstallerX64.exe

but this did not change anything.

I just tried running the installation process on an Ubuntu 22.04 laptop. I installed YAD, ran the script, then changed the ID in the desktop file. It still doesn't open the login window. I tried what @alexswerner suggested by running the winebrowser.exe and that worked beautifully. There is not container or Distrobox to interfere with this install since it was on my base system.

Actually, rerunning it, it seems my error message is slightly different. At the very end, I get:

[6620:6620:0223/103522.374109:ERROR:socket.cc(120)] recvmsg: Connection reset by peer (104)

Here is the full log:

--2024-02-23 10:34:49--  https://raw.githubusercontent.com/cryinkfly/Autodesk-Fusion-360-for-Linux/main/files/builds/stable-branch/bin/build-version.txt
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20 [text/plain]
Saving to: ‘/tmp/fusion360/build-version.txt’

build-version.txt            100%[===========================================>]      20  --.-KB/s    in 0s      

Last-modified header missing -- time-stamps turned off.
2024-02-23 10:34:49 (1.16 MB/s) - ‘/tmp/fusion360/build-version.txt’ saved [20/20]

Online Build-Version: 2.0.17228
Online Insider-Build-Version: 2.0.17228
The version.txt file not exist!
EN

(yad:6221): Gdk-WARNING **: 10:34:50.122: ../../../../../gdk/x11/gdkwindow-x11.c:5653 drawable is not a native X11 window

(yad:6232): Gdk-WARNING **: 10:34:51.849: ../../../../../gdk/x11/gdkwindow-x11.c:5653 drawable is not a native X11 window
wine: could not open working directory L"unix\\home\\krishna\\.local\\share\\applications\\wine\\Programs\\Autodesk\\Fusion360\\default\\", starting in the Windows directory.
wine: could not open working directory L"unix\\home\\krishna\\.local\\share\\applications\\wine\\Programs\\Autodesk\\Fusion360\\default\\", starting in the Windows directory.
setProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2) failed: COM error 0x57  (Unknown error 
0x057)
"C:/Program Files/Autodesk/webdeploy/production/0a22ca515421cec8a3addbf5f00fde68499915d7/plugins"
EnableNonClientDpiScaling() failed for HWND 0x300a2 (120) (Call not implemented.)
qt.webenginecontext:

GLImplementation: desktop
Surface Type: OpenGL
Surface Profile: CompatibilityProfile
Surface Version: 4.6
Using Default SG Backend: yes
Using Software Dynamic GL: no
Using Angle: no

Init Parameters:
  *  application-name Fusion360
  *  browser-subprocess-path C:\Program Files\Autodesk\webdeploy\production\0a22ca515421cec8a3addbf5f00fde6849991
5d7\QtWebEngineProcess.exe
  *  create-default-gl-context
  *  disable-d3d11
  *  disable-es3-gl-context
  *  disable-features DnsOverHttpsUpgrade,ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,
WebUSB,PictureInPicture
  *  disable-gpu-rasterization
  *  disable-speech-api
  *  enable-features NetworkServiceInProcess,TracingServiceInProcess
  *  enable-threaded-compositing
  *  ignore-gpu-blocklist
  *  in-process-gpu
  *  log-severity disabled
  *  no-proxy-server
  *  use-gl desktop

[380:384:0223/103504.375:ERROR:dxva_video_decode_accelerator_win.cc(1449)] DXVAVDA fatal error: could not LoadLib
rary: msvproc.dll: Module not found. (0x7E)
[380:384:0223/103504.518:ERROR:network_change_notifier_win.cc(228)] WSALookupServiceBegin failed with: 8
info:  Game: Fusion360.exe
info:  DXVK: v2.3
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fffd67f3f00
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
warn:  Skipping CPU adapter: llvmpipe (LLVM 15.0.7, 256 bits)
info:  Intel(R) HD Graphics 5500 (BDW GT2):
info:    Driver : Intel open-source Mesa driver 23.2.1
info:    Memory Heap[0]: 
info:      Size: 11887 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0x1
info:      Memory Type[1]: Property Flags = 0xf
warn:  DXGI: Found monitors not associated with any adapter, using fallback
info:  Adapter LUID 0: 0:412

DevTools listening on ws://127.0.0.1:9766/devtools/browser/3509292f-2ff0-4acb-999c-05af7537664f
info:  Game: Fusion360.exe
info:  DXVK: v2.3
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fffd67f3f00
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
warn:  Skipping CPU adapter: llvmpipe (LLVM 15.0.7, 256 bits)
info:  Intel(R) HD Graphics 5500 (BDW GT2):
info:    Driver : Intel open-source Mesa driver 23.2.1
info:    Memory Heap[0]: 
info:      Size: 11887 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0x1
info:      Memory Type[1]: Property Flags = 0xf
warn:  DXGI: Found monitors not associated with any adapter, using fallback
err:   readMonitorEdidFromKey: Failed to get EDID reg key size
err:   DXGI: Failed to parse display metadata + colorimetry info, using blank.
BUG OptionAdapter UseEagleRc called before setting callbacks.EagleAPI.Version = 0.1.2
BUG OptionAdapter UseEagleRc called before setting callbacks.BUG OptionAdapter UseEagleRc called before setting c
allbacks.QString::arg: 1 argument(s) missing in %1/scripts
QString::arg: 1 argument(s) missing in %1/scripts
BUG OptionAdapter UseEagleRc called before setting callbacks.QString::arg: 1 argument(s) missing in %1/ulps
QString::arg: 1 argument(s) missing in %1/ulps
BUG OptionAdapter UseEagleRc called before setting callbacks.QString::arg: 1 argument(s) missing in %1/design rul
es
QString::arg: 1 argument(s) missing in %1/design rules
BUG OptionAdapter UseEagleRc called before setting callbacks.QString::arg: 1 argument(s) missing in %1/spice
QString::arg: 1 argument(s) missing in %1/spice
Registering module:  "uiHelper"
EnableNonClientDpiScaling() failed for HWND 0x100f8 (120) (Call not implemented.)
"10:35::15.196" MAGWorkControllerClientConnection  cmd sent  "auth"
"10:35::15.197" MAGWorkClientControllerConnection  cmd sent  "auth"
MAGWorkControllerClientConnection  cmd received  "auth"
"10:35::15.198" MAGWorkControllerClientConnection  cmd sent  "authok"
MAGWorkClientControllerConnection  cmd received  "auth"
"10:35::15.199" MAGWorkClientControllerConnection  cmd sent  "authok"
MAGWorkClientControllerConnection  cmd received  "authok"
MAGWorkControllerClientConnection  cmd received  "authok"
Connecting to controller server
Controller server info:  QHostAddress("127.0.0.1") : 40661
host connected QHostAddress("127.0.0.1") : 40786
"10:35::15.205" MAGWorkControllerHostConnection  cmd sent  "auth"
"10:35::15.206" MAGWorkHostControllerConnection  cmd sent  "auth"
MAGWorkControllerHostConnection  cmd received  "auth"
"10:35::15.207" MAGWorkControllerHostConnection  cmd sent  "authok"
MAGWorkHostControllerConnection  cmd received  "auth"
"10:35::15.208" MAGWorkHostControllerConnection  cmd sent  "authok"
MAGWorkHostControllerConnection  cmd received  "authok"
Controller connected
Sending max processes:  4
"10:35::15.209" MAGWorkHostControllerConnection  cmd sent  "ready"
MAGWorkControllerHostConnection  cmd received  "authok"
Remote debugging server started successfully. Try pointing a Chromium-based browser to http://127.0.0.1:9766
MAGWorkControllerHostConnection  cmd received  "ready"
info:  Game: msedgewebview2.exe
info:  DXVK: v2.3
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fffd67f3f00
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
warn:  Skipping CPU adapter: llvmpipe (LLVM 15.0.7, 256 bits)
info:  Intel(R) HD Graphics 5500 (BDW GT2):
info:    Driver : Intel open-source Mesa driver 23.2.1
info:    Memory Heap[0]: 
info:      Size: 11887 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0x1
info:      Memory Type[1]: Property Flags = 0xf
warn:  DXGI: Found monitors not associated with any adapter, using fallback
info:  Adapter LUID 0: 0:44d
info:  Game: msedgewebview2.exe
info:  DXVK: v2.3
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fffd67f3f00
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
warn:  Skipping CPU adapter: llvmpipe (LLVM 15.0.7, 256 bits)
info:  Intel(R) HD Graphics 5500 (BDW GT2):
info:    Driver : Intel open-source Mesa driver 23.2.1
info:    Memory Heap[0]: 
info:      Size: 11887 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0x1
info:      Memory Type[1]: Property Flags = 0xf
warn:  DXGI: Found monitors not associated with any adapter, using fallback
warn:  D3D11DeviceFeatures: External memory features not supported
info:  D3D11InternalCreateDevice: Maximum supported feature level: D3D_FEATURE_LEVEL_11_1
info:  D3D11InternalCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_1
info:  Device properties:
info:    Device : Intel(R) HD Graphics 5500 (BDW GT2)
info:    Driver : Intel open-source Mesa driver 23.2.1
info:  Enabled device extensions:
info:    VK_EXT_custom_border_color
info:    VK_EXT_depth_clip_enable
info:    VK_EXT_non_seamless_cube_map
info:    VK_EXT_robustness2
info:    VK_EXT_shader_module_identifier
info:    VK_EXT_transform_feedback
info:    VK_EXT_vertex_attribute_divisor
info:    VK_KHR_swapchain
info:  Device features:
info:    robustBufferAccess                     : 1
info:    fullDrawIndexUint32                    : 1
info:    imageCubeArray                         : 1
info:    independentBlend                       : 1
info:    geometryShader                         : 1
info:    tessellationShader                     : 1
info:    sampleRateShading                      : 1
info:    dualSrcBlend                           : 1
info:    logicOp                                : 1
info:    multiDrawIndirect                      : 1
info:    drawIndirectFirstInstance              : 1
info:    depthClamp                             : 1
info:    depthBiasClamp                         : 1
info:    fillModeNonSolid                       : 1
info:    depthBounds                            : 0
info:    wideLines                              : 0
info:    multiViewport                          : 1
info:    samplerAnisotropy                      : 1
info:    textureCompressionBC                   : 1
info:    occlusionQueryPrecise                  : 1
info:    pipelineStatisticsQuery                : 1
info:    vertexPipelineStoresAndAtomics         : 1
info:    fragmentStoresAndAtomics               : 1
info:    shaderImageGatherExtended              : 1
info:    shaderClipDistance                     : 1
info:    shaderCullDistance                     : 1
info:    shaderFloat64                          : 1
info:    shaderInt64                            : 1
info:    variableMultisampleRate                : 1
info:    shaderResourceResidency                : 0
info:    shaderResourceMinLod                   : 0
info:    sparseBinding                          : 0
info:    sparseResidencyBuffer                  : 0
info:    sparseResidencyImage2D                 : 0
info:    sparseResidencyImage3D                 : 0
info:    sparseResidency2Samples                : 0
info:    sparseResidency4Samples                : 0
info:    sparseResidency8Samples                : 0
info:    sparseResidency16Samples               : 0
info:    sparseResidencyAliased                 : 0
info:  Vulkan 1.1
info:    shaderDrawParameters                   : 1
info:  Vulkan 1.2
info:    samplerMirrorClampToEdge               : 1
info:    drawIndirectCount                      : 1
info:    samplerFilterMinmax                    : 0
info:    hostQueryReset                         : 1
info:    timelineSemaphore                      : 1
info:    bufferDeviceAddress                    : 0
info:    shaderOutputViewportIndex              : 1
info:    shaderOutputLayer                      : 1
info:    vulkanMemoryModel                      : 1
info:  Vulkan 1.3
info:    robustImageAccess                      : 0
info:    pipelineCreationCacheControl           : 1
info:    shaderDemoteToHelperInvocation         : 1
info:    shaderZeroInitializeWorkgroupMemory    : 0
info:    synchronization2                       : 1
info:    dynamicRendering                       : 1
info:  VK_AMD_shader_fragment_mask
info:    extension supported                    : 0
info:  VK_EXT_attachment_feedback_loop_layout
info:    attachmentFeedbackLoopLayout           : 0
info:  VK_EXT_conservative_rasterization
info:    extension supported                    : 0
info:  VK_EXT_custom_border_color
info:    customBorderColors                     : 1
info:    customBorderColorWithoutFormat         : 1
info:  VK_EXT_depth_clip_enable
info:    depthClipEnable                        : 1
info:  VK_EXT_depth_bias_control
info:    depthBiasControl                       : 0
info:    leastRepresentableValueForceUnormRepresentation : 0
info:    floatRepresentation                    : 0
info:    depthBiasExact                         : 0
info:  VK_EXT_extended_dynamic_state3
info:    extDynamicState3AlphaToCoverageEnable  : 0
info:    extDynamicState3DepthClipEnable        : 0
info:    extDynamicState3RasterizationSamples   : 0
info:    extDynamicState3SampleMask             : 0
info:    extDynamicState3LineRasterizationMode  : 0
info:  VK_EXT_fragment_shader_interlock
info:    fragmentShaderSampleInterlock          : 0
info:    fragmentShaderPixelInterlock           : 0
info:  VK_EXT_full_screen_exclusive
info:    extension supported                    : 0
info:  VK_EXT_graphics_pipeline_library
info:    graphicsPipelineLibrary                : 0
info:  VK_EXT_line_rasterization
info:    rectangularLines                       : 0
info:    smoothLines                            : 0
info:  VK_EXT_memory_budget
info:    extension supported                    : 1
info:  VK_EXT_memory_priority
info:    memoryPriority                         : 0
info:  VK_EXT_non_seamless_cube_map
info:    nonSeamlessCubeMap                     : 0
info:  VK_EXT_robustness2
info:    robustBufferAccess2                    : 1
info:    robustImageAccess2                     : 1
info:    nullDescriptor                         : 1
info:  VK_EXT_shader_module_identifier
info:    shaderModuleIdentifier                 : 1
info:  VK_EXT_shader_stencil_export
info:    extension supported                    : 0
info:  VK_EXT_swapchain_colorspace
info:    extension supported                    : 0
info:  VK_EXT_swapchain_maintenance1
info:    swapchainMaintenance1                  : 0
info:  VK_EXT_hdr_metadata
info:    extension supported                    : 0
info:  VK_EXT_transform_feedback
info:    transformFeedback                      : 1
info:    geometryStreams                        : 1
info:  VK_EXT_vertex_attribute_divisor
info:    vertexAttributeInstanceRateDivisor     : 1
info:    vertexAttributeInstanceRateZeroDivisor : 1
info:  VK_KHR_external_memory_win32
info:    extension supported                    : 0
info:  VK_KHR_external_semaphore_win32
info:    extension supported                    : 0
info:  VK_KHR_maintenance5
info:    maintenance5                           : 0
info:  VK_KHR_present_id
info:    presentId                              : 0
info:  VK_KHR_present_wait
info:    presentWait                            : 0
info:  VK_NVX_binary_import
info:    extension supported                    : 0
info:  VK_NVX_image_view_handle
info:    extension supported                    : 0
info:  VK_KHR_win32_keyed_mutex
info:    extension supported                    : 0
info:  Queue families:
info:    Graphics : 0
info:    Transfer : 0
info:    Sparse   : n/a
warn:  DXVK: No state cache file found
info:  DXVK: Graphics pipeline libraries not supported
err:   D3D11VideoDevice::GetVideoDecoderProfileCount: Stub
info:  Intel(R) HD Graphics 5500 (BDW GT2):
info:    Driver : Intel open-source Mesa driver 23.2.1
info:    Memory Heap[0]: 
info:      Size: 11887 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0x1
info:      Memory Type[1]: Property Flags = 0xf
warn:  DXGI: Found monitors not associated with any adapter, using fallback
[6620:6620:0223/103522.374109:ERROR:socket.cc(120)] recvmsg: Connection reset by peer (104)

@Tony763 I appreciate your help because I got it working!!! I purged my Snap Firefox install, installed it with the debian package, set my default browser to firefox and it worked. I logged in.

I can trace that winebrowser.exe is actually called in my case with

$ strace --no-abbrev --string-limit=1024 -f -o /tmp/strace.log -e trace=execve .fusion360/wineprefixes/default/box-run.sh 2>&1 | grep developer.api.autodesk

In /tmp/strace.log I found a line like

execve("/opt/wine-staging/bin/wine64-preloader", ["/opt/wine-staging/bin/wine64-pre"..., "/opt/wine-staging/bin/wine64", "C:\\windows\\system32\\winebrowser." ....

It even proceeds correctly and executes chrome (probably in a snap). But no window opens. I tried switching the default browser to firefox (also probably in a snap) with the same result. Unclear why. But the above command has the right URL to proceed. I can manually put it in the browser and get to the page where I can successfully authenticate.

Being redirected back does not work for me either. Apparently the mime type has changed from adskidmgr to adsk.idmgr. When I updated the xdg settings (xdg-mime default adskidmgr-opener.desktop x-scheme-handler/adsk.idmgr) and the handler in ~/.local/share/applications/adskidmgr-opener.desktop I get the Fusion to come to pop up. But still still not log in.

So in summary, there is a bug in opening the browser window which can be worked around with strace. Additionally the mime types seems not to match and the fix is straight forward to replace adskidmgr with adsk.idmgr. But this still does not get us there.

I manually pasted the url from strace into firefox and things worked out. This firefox is even in a snap package. Also the mime type was the old one.

Hi @alexswerner, try firefox from DEB package, it worked for me, every other browser just crash.

Did the related bug fix in wine 9.3 released yesterday fix the issue?
https://bugs.winehq.org/show_bug.cgi?id=54794

I did not test it yesterday as new version was not published as package, yet. But I think, fix was merged much soner so mention in changelog was just backloging.

Oh. Bummer.

Uh, just tried wine 9.3. It breaks Fusion 🤦‍♂️ Only black window appear and after a while it crash.

I am seeing the same thing. This used to work incredibly well for a couple of days before the update. I am on Winen 9.3 Staging.

Yep, me too. Just filling bug on wine.

BTW, returning back to 9.2 fixes issue.
(sudo apt install wine-staging-i386=9.2~mantic-1 wine-staging-amd64=9.2~mantic-1 wine-staging=9.2~mantic-1)

Having spent a couple hours fiddling this evening trying to get things up and running, confirm @Tony763 s result that rolling back to Wine 9.2 works (I now have it running on Ubuntu 22.04), 9.3 still seems busted.

commented

I am on Wine 9.1 and it doesn't seem to work. Followed every recommendation in this thread and I still cannot get past the login screen.

I believe the error is related to two things.

  1. The default Browser, which is being opened in Linux instead of Wine.
  2. The handler for the url "adskidmgr:/" which is done after login.

To solve 1.

I installed chrome on wine.... using offline installer.
export WINEPREFIX="/home/ricardo/.fusion360/wineprefixes/default"
wine ChromeStandaloneSetup64.exe

I edit register "HKEY_CLASSES_ROOT\http\shell\open\command"
and "HKEY_CLASSES_ROOT\https\shell\open\command"
And point to "C:\Program Files\Google\Chrome\Application\chrome.exe" "%1"

To solve 2.

I tried to add desktop entry as explained in: #391 (comment)
But dont work.

What I did was copy the link after logging in and manually run the

wine "C:\Program Files\Autodesk\webdeploy\production\0a22ca515421cec8a3addbf5f00fde68499915d7\Autodesk Identity Manager\AdskIdentityManager.exe" "adskidmgr:/login?code=xxxxxxxxxxxxx"

Hi @ricardojlrufino, just to by sure, for error 2. did you edit resulting desktop entry and removed / and ^M as described? Code in comment #391 is mean to report bug not to show a correct way how to do it 🙂

HI @Tony763 , I didn't make this adjustment, it went unnoticed.

Downgrade Wine-staging to 9.2 and it still doesn't work. Seems like when I hit the sign in button it just locks up. The web browser does pop up and I do sign up but nothing happens when it tries to redirect.

I think you might fix it with my comment in #396

I think you might fix it with my comment in #396

thanks!! i can fix it