Autodesk-Fusion-360-for-Linux
Autodesk-Fusion-360-for-Linux copied to clipboard
Running Flatpak Bottle Version of Fusion Causes Ubuntu to Log out
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:
- Run Fustion360 via bottles
- 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.
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.
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
but the program just closes after a few seconds.
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.
@Jo-Dan Did you manage to work around your issue?
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 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.
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.
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.
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.