Autodesk-Fusion-360-for-Linux icon indicating copy to clipboard operation
Autodesk-Fusion-360-for-Linux copied to clipboard

Running Flatpak Bottle Version of Fusion Causes Ubuntu to Log out

Open Jo-Dan opened this issue 1 year ago • 9 comments

Describe the bug Whenever I try to run the bottle flatpak version of this program my screen goes black a while after the splash screen appears and then after a few seconds I'm just back at the Ubuntu login screen. When I log back in I can see all my programs have closed and my startup programs are launching like after a reboot (except this has clearly just logged out, not restarted).

To Reproduce Steps to reproduce the behavior:

  1. Run Fustion360 via bottles
  2. Wait

Expected behavior The program would just run

Desktop (please complete the following information):

  • Version number of Autodesk Fusion 360: Whatever the latest version given by the bottle is
  • Graphics card model + Graphics card driver: GeForce GTX 1660 Ti Mobile
  • Operating system: Ubuntu 20.4
  • Desktop environment: Gnome
  • DXVK- or OpenGL-Mode: Unsure

Additional context I have gotten the program running using the wine method in the past, but it has required a lot of fiddling.

Jo-Dan avatar Jul 27 '22 05:07 Jo-Dan

Hi! I've made the Bottles installer manifest. There could be several things wrong. Do you use nouveau drivers or proprietary Nvidia drivers?

Also could use disable the Use discrete GPU in the Bottle? It could all be hardware related too.

FricoRico avatar Jul 27 '22 09:07 FricoRico

I use the Nvidia 510 driver. Disabling the discrete GPU as you suggested does seem to have stopped the logging out issue, so thanks for that! I got to the autodesk login screen now, and this window comes up image but the program just closes after a few seconds.

Jo-Dan avatar Jul 28 '22 01:07 Jo-Dan

Have you tried using different runners? I've tested both soda-7.0-2 and wine-ge-7-20 and both seemed to work perfectly fine on Fedora 36 using Wayland.

I tested this on my desktop with RX5700 XT and on my laptop with Intel HD630 and Nvidia 1050Ti using Nvidia 515 drivers.

It's hard to debug like this, but I suggest trying:

  • Wayland
  • Updating drivers (Nvidia)
  • Changing runners

EDIT: So far I had most performance using vaniglia-7.11 and setting Fusion 360 settings to OpenGL to fix the rendering.

FricoRico avatar Jul 28 '22 17:07 FricoRico

@Jo-Dan Did you manage to work around your issue?

FricoRico avatar Aug 10 '22 13:08 FricoRico

Hi @FricoRico sorry for the delay, I had to stop working on this for a bit. Changing the settings to match what you suggest (not sure what you're referring to with "wayland" though) does make the program work thanks. Performance isn't great but its usable.

Edit: Since making the above changes re-enabling discrete GPU no longer causes the log out/crash issue from before and performance has improved a little.

Jo-Dan avatar Aug 10 '22 23:08 Jo-Dan

@Jo-Dan Thanks for your feedback. Perhaps you could further improve your performance by switching to Futex2. I'm a Linux noob myself, but Wayland is something called a display server. It decides on how stuff works internally when rendering a window to the screen.

Wayland is seen as a newer replacement for X11. But X11 is older and thus has some more 'support' for some features. In any case it shouldn't matter that much because I'm also using Wayland and it behaves the same as X11 for me.

FricoRico avatar Aug 11 '22 14:08 FricoRico

Futex2 does seem to have improved performance a little more, thanks @FricoRico !

Ah ok fair, I can't see the option to change that in bottles, but if it's a system-wide change that's no good for me because I believe some of the work I do is dependent on X11.

Jo-Dan avatar Aug 12 '22 00:08 Jo-Dan

It might be worth suggesting these settings suggestions on the bottles page or the github readme for future users. Save you having to help too many people like me haha.

Jo-Dan avatar Aug 12 '22 00:08 Jo-Dan

When you install F360 via Bottles these kinds of settings are applied automatically per F360s specifications. I suspect Futex2 is not enabled by default because it is fairly new and has issues on older kernels. I also run Futex2 which has increased performance noticeably.

https://www.phoronix.com/news/FUTEX2-Bits-In-Locking-Core

It Appears FUTEX2 Will Land For Linux 5.16

That was less than a year ago.

ChaosBlades avatar Sep 04 '22 21:09 ChaosBlades