Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant login on flatpak version #393

Closed
TRMiner1 opened this issue Feb 15, 2024 · 31 comments
Closed

Cant login on flatpak version #393

TRMiner1 opened this issue Feb 15, 2024 · 31 comments

Comments

@TRMiner1
Copy link

TRMiner1 commented Feb 15, 2024

Describe the bug
Cant sign in on flatpak version

To Reproduce
download bottles from kde software center
create bottle
add fusion360
run
click sign in
"check your web browser to sign in"
web browser is unchanged

Expected behavior
my web browser should probably open

Screenshots
n/a

Desktop:

  • Version number of Autodesk Fusion 360: i have no idea how to find out but whatever was in the install programs menu of bottles at the time of posing this
  • Graphics card model: AMD APU 0405 + Graphics card driver (Version number): i dont know
  • Operating system: Arch(Steam deck Steamos)
  • Desktop environment: kde plasma 5.27.5
  • DXVK- or OpenGL-Mode: it says dxvk-2.3

Additional context
i am using firefox
i started using linux less than 2 months ago and i might not know what i am doing

EDIT: i will clarify that the computer:
Graphics card model: NVIDIA GTX 750 ti + Graphics card driver (Version number): 535.161.07
Operating system: Kubuntu 23.10 (ubuntu but with kde)
DXVK- or OpenGL-Mode: dxvk-2.3

was the actual final computer i wanted it running on, i had a steamdeck and thought i would see how well it would work because i was contemplating whether i should switch to linux on the computer it would actually run on and fusion 360 was the only software that i used that did not have a linux native version.

@daranto
Copy link

daranto commented Feb 16, 2024

I have the same issue.

@bigblzrd
Copy link

Same issue here also, tried the normal install and had the same problem, managed to fix that but it wasn't running well so thought I'd try bottles.

@TRMiner1
Copy link
Author

update: i have tried it with a different computer and it still does not work
Desktop:
Graphics card model: NVIDIA GTX 750 ti + Graphics card driver (Version number): i still dont know
Operating system: Kubuntu 23.10 (ubuntu but with kde)
DXVK- or OpenGL-Mode: it says dxvk-2.3

@DragonflyRobotics
Copy link

I am having the same issue. The application crashes when I click the login button.

@TRMiner1 TRMiner1 changed the title Cant sign in on flatpak version Cant login on flatpak version Feb 23, 2024
@Hoeze
Copy link

Hoeze commented Feb 25, 2024

Same issue here. It does not crash, but it also does not open any browser window.
I even tried installing firefox in the bottle.

@nguypaul
Copy link

Same issue for me as well.

@Cxmrykk
Copy link

Cxmrykk commented Feb 28, 2024

I am using Debian 12 (Gnome) Flatpak Bottles, the browser login window opens for me if I use sys-wine-9.0 as the runner, however the link does not redirect to Fusion360 after logging in - "There are no available apps that can open this link adskidmgr:/login?code=(code)". My browser is Firefox

@hotbrakepads
Copy link

Same issue here. Tried native Firefox browser and also chrome based browser. None of the browsers open when clicking sign in button on Fusion flatpak.

@Matt2D3
Copy link

Matt2D3 commented Mar 8, 2024

for me, running through bottles opens the Linux native browser to the sign in page, however, i am not redirected to fusion360 and am not logged in
caffe-8.21
ubuntu 23.10
firefox 123.0.1 (snap)

@Matt2D3
Copy link

Matt2D3 commented Mar 8, 2024

I switched over to the deb version of firefox and got a new error message
wine: chdir to /home/matt2d2/.fusion360/wineprefixes/default : No such file or directory
I think that whatever is redirecting the link from firefox to Adskidentitymanager is redirecting to the default prefix, not the bottles prefix

@monte-monte
Copy link

I am using Debian 12 (Gnome) Flatpak Bottles, the browser login window opens for me if I use sys-wine-9.0 as the runner, however the link does not redirect to Fusion360 after logging in - "There are no available apps that can open this link adskidmgr:/login?code=(code)". My browser is Firefox

Add shortcut to "Program Files/Autodesk/webdeploy/production/whatever_digits/Autodesk Identity Manager/AdskIdentityManager.exe"
Then "Change Launch Options > Command Arguments > paste link from autodesk login page "adskidmgr:/login?code=*whatever numbers"
Launch it, fusion should proceed with login.

@Bombenscheck
Copy link

Bombenscheck commented Mar 9, 2024

Have Tested this. it does not work.

Add shortcut to "Program Files/Autodesk/webdeploy/production/whatever_digits/Autodesk Identity Manager/AdskIdentityManager.exe"
Then "Change Launch Options > Command Arguments > paste link from autodesk login page "adskidmgr:/login?code=*whatever numbers"
Launch it, fusion should proceed with login.

The Link I got is much longer, it looks a bit different:
adskidmgr:/login?code=whatever numbers"&state=some other numbers
I tried it with both the Complete Version by Setting the Command Arguments to:
%command%adskidmgr:/login?code=*whatever numbers"
and also with the Complete Link:
%command%adskidmgr:/login?code=whatever numbers"&state=some other numbers
Did I do something wrong? Do i Need to only put in the Link without %command%

@monte-monte
Copy link

monte-monte commented Mar 9, 2024

@Bombenscheck yes, you need to paste full link, ending with =, put it in quotation marks without %command% like that:
image

Then I ran it in terminal, it print some output and main Fusion window then logs in, then you can close AdskIdentityManager. You need wine 9 or higher for this to work.

EDIT: you need link of the button that says "Go to product"

@Bombenscheck
Copy link

OK, my bad, did not add " at the Beginning and End
Thank you for the help
To sumarize for everyone facing the same Problem

  1. Use Sys Wine (I used 9.0) and not a Wine instance downloaded over Bottles
  2. Add shortcut to "Program Files/Autodesk/webdeploy/production/whatever_digits/Autodesk Identity Manager/AdskIdentityManager.exe" in Bottles (the login seems to have a Timeout later)
  3. Lauch Fusion360 and press Login
  4. Login should open in default Browser
  5. Close Fusion (System Side Browser will not close)
  6. Login Until the "Go to product" Links Shows
  7. Copy Link
  8. Add "Link" to the Launch options of AdskIdentityManager
  9. Launch AdskIdentityManager in Terminal
  10. Relaunch Fusion360
    Fusion Should now be logged in.

@monte-monte
Copy link

5. Close Fusion (System Side Browser will not close)

You don't need to close fusion. Just launch AdskIdentityManager with current link and close it once Fusion window proceeds to load.

@TRMiner1
Copy link
Author

alright so i kinda forgot that i posted this for 3 weeks
but after doing everything that was in the condensed version by Bombenscheck i have got it working sorta i think it might be a graphics driver/card issue because it starts and runs but the viewport is black and i cant see anything there, fullscreen breaks everything, when i move the window the menu at the left of the viewport(i have no idea what it is called but it has the bodies and stuff) lags and it stays visible when i minimize the window
i am working on fixing it right now(maybe downgrading drivers will help?)
thank you everyone for the responses

@TRMiner1
Copy link
Author

alright update already it seems the browser(menu thing) renders above all other windows

@Bombenscheck
Copy link

alright so i kinda forgot that i posted this for 3 weeks but after doing everything that was in the condensed version by Bombenscheck i have got it working sorta i think it might be a graphics driver/card issue because it starts and runs but the viewport is black and i cant see anything there, fullscreen breaks everything, when i move the window the menu at the left of the viewport(i have no idea what it is called but it has the bodies and stuff) lags and it stays visible when i minimize the window i am working on fixing it right now(maybe downgrading drivers will help?) thank you everyone for the responses

have you tried to set the graphics mode to "openGL Core"? fusion360 defaults to "Auto" which caused the same issiue on my install.

@monte-monte
Copy link

alright update already it seems the browser(menu thing) renders above all other windows

That's not fixable at the moment, if it bothers you too much the only way is to use wine's virtual desktop, but then it has it's own drawbacks.

have you tried to set the graphics mode to "openGL Core"? fusion360 defaults to "Auto" which caused the same issiue on my install.

In my experience if you use opengl, instead directx (via dxvk) it causes lines and points in sketch not highlighting when selected, very bad for productivity. I am using bottles with "kron4ek-wine-9.3-staging-tkg-amd64" build and dxvk-2.4 and it works both with AMD drivers and also with discrete nvidia card. At first I also had black screen, but fiddling with wine versions and setting somehow made everything work.

@Ameb
Copy link

Ameb commented Mar 13, 2024

have you tried to set the graphics mode to "openGL Core"? fusion360 defaults to "Auto" which caused the same issiue on my install.

This improved my issue #401 , thank you.

@TRMiner1
Copy link
Author

TRMiner1 commented Mar 14, 2024

thank you everyone for the help. by changing graphics settings to opengl core it works i am seeing the weird highlighting things but this is way more usable than the web version(since creating the original issue i got educational access to see if the web version would work(it very much didn't)) and it is good enough for me to continue my projects

and it would be nice to see this added to the documentation

@skarzzzz
Copy link

I am using Debian 12 (Gnome) Flatpak Bottles, the browser login window opens for me if I use sys-wine-9.0 as the runner, however the link does not redirect to Fusion360 after logging in - "There are no available apps that can open this link adskidmgr:/login?code=(code)". My browser is Firefox

Add shortcut to "Program Files/Autodesk/webdeploy/production/whatever_digits/Autodesk Identity Manager/AdskIdentityManager.exe" Then "Change Launch Options > Command Arguments > paste link from autodesk login page "adskidmgr:/login?code=*whatever numbers" Launch it, fusion should proceed with login.

how do you add the shortcut to that address, clicking add shortcut brings up the local drive how do i navigate to that through linux?

@Ameb
Copy link

Ameb commented Mar 23, 2024

how do i navigate to that through linux?

The "browse files" on bottles can show you where the "C drive" is located (for me it is in $HOME/.var/app/com.usebottles.bottles/data/bottles/bottles/<bottle_name>/drive_c/)

image

@skarzzzz
Copy link

how do i navigate to that through linux?

The "browse files" on bottles can show you where the "C drive" is located (for me it is in $HOME/.var/app/com.usebottles.bottles/data/bottles/bottles/<bottle_name>/drive_c/)

image

thankyou i did think that was t4he case just wasnt sure as it wasnt very clear haha

@skarzzzz
Copy link

OK, my bad, did not add " at the Beginning and End Thank you for the help To sumarize for everyone facing the same Problem

  1. Use Sys Wine (I used 9.0) and not a Wine instance downloaded over Bottles
  2. Add shortcut to "Program Files/Autodesk/webdeploy/production/whatever_digits/Autodesk Identity Manager/AdskIdentityManager.exe" in Bottles (the login seems to have a Timeout later)
  3. Lauch Fusion360 and press Login
  4. Login should open in default Browser
  5. Close Fusion (System Side Browser will not close)
  6. Login Until the "Go to product" Links Shows
  7. Copy Link
  8. Add "Link" to the Launch options of AdskIdentityManager
  9. Launch AdskIdentityManager in Terminal
  10. Relaunch Fusion360
    Fusion Should now be logged in.

Okay so ive done everything on this list, when opening Adsk via terminal it opens but then nothing seems to happen on the terminal? then launching fusion proceeds to still ask for the login

@skarzzzz
Copy link

Kinda forgot to put quotations, so ive got it working now but theres some graphical issues the ui has loaded but i cant see the white background and i cant actually open a file
Screenshot_20240323_180548

@Ameb
Copy link

Ameb commented Mar 23, 2024

Ensure you have quotes around the link "... While typing you got it solved, nice.
The background issue is related to the graphics mode, you can set it to openGL Core like in #401 (comment)

First I would try to run on Dx9 with this combination of settings: #401 (comment). You will need to add the runners to Bottles first. I don't think you need to create an install fusion again, just modify the settings on your existing bottle.

@skarzzzz
Copy link

So I tried to do those settings now it just crashes and I can’t access the program to revert the settings back, I don’t know where the Nmachine file is either as I don’t have a .fusion folder

@Ameb
Copy link

Ameb commented Mar 23, 2024

The settings file can be locate in the bottles windows path drive_c/users/$USER/AppData/Roaming/Autodesk/Neutron Platform/Options/NMachineSpecificOptions.xml

You can edit that file to edit settings without running the program. In my case, the preference dialog doesn't open and using Dx9 crashed fusion until I changed the runner.

I suggested to first try the Bottle settings, without touching Fusion preferences. Which fusion's preferences did you changed which crashed fusion? Did you modified the Bottle's settings?

At this point, I think we should add a discussion thread about running Fusion on the Steamdeck with flatpak. @TRMiner1 got it working before, maybe he can help.

@skarzzzz
Copy link

skarzzzz commented Mar 23, 2024

I’ll have a look at that path, I did just delete the bottle and reinstall it but now it doesn’t allow me to open the preferences inside of fusion like it did the first time, I’m using wine 9.0 that’s the only setting I’ve changed in bottle then inside fusion I changed it to OpenGL but for some odd reason it wouldn’t let me to select some stuff so I tried DX9 and that crashed it so I tried cafe instead of wine and it made no difference

@skarzzzz
Copy link

So I reinstalled fusion with bottles, did the adsk link to get logged in then I changed the graphics to OpenGL, re opened and it wouldn’t let me open a file it would just not do anything, so closed it changed to caffe, that didn’t want to open, so changed it back to wine 9.0 and now it opens the splash screen but then it just shuts down it doesn’t open anymore?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests