`Insync 3.8.6.50504-lunar does not work properly on Ubuntu 23.10 with Wayland

I’m currently using Ubuntu 23.10 Mantic Minotaur.
To get insync to work at all I added deb http://apt.insync.io/ubuntu lunar non-free contrib as a source and installed `Insync 3.8.6.50504-lunar via apt

X11

When I run Insync on Ubuntu with X11 everything works fine and as expected.

Wayland

When I run Insync on Ubuntu with Wayland the Insync tray icon appears but as soon I click ‘Open app window’ Insync crashes.

When I start Insync via CLI with --no-daemon, I get the following:

Expand
$ insync start --no-daemon
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
INFO     2023-09-15 12:15:37,931 [mainlogs:_log_run:138] Core(app_version=3.8.6.50504, platform=Linux-x86_64-ubuntu/23.10) initialized
INFO     2023-09-15 12:15:37,943 [mainsettings:_load_settings:236] Loaded settings, machine fingerprint = nkctXyINLsisRQfnlSPHNWCxijk=
INFO     2023-09-15 12:15:38,233 [inotify_manager:__init__:132] INotifyManager FS_ENCODING: utf-8
INFO     2023-09-15 12:15:38,234 [fswatcher:_start:57] LinuxFSWatcher._start
INFO     2023-09-15 12:15:38,234 [inotify_manager:_pull_loop:315] Inotify loop enter
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
INFO     2023-09-15 12:15:38,340 [app:start_core:65] core started
INFO     2023-09-15 12:15:38,340 [fswatcher:watch:77] watch origin: /mnt/01D9BA5ABEC477B0/OneDrive
INFO     2023-09-15 12:15:38,341 [unix_socket_server:start:106] unix socket server thread start
INFO     2023-09-15 12:15:39,922 [licensework:_do:95] License received: License{'user_id': 'REDACTED', 'email': 'REDACTED', 'subscriptions': [BaseLicense.Subscription{'name': 'Insync (OneDrive)', 'code': 'insync-basic', 'capabilities': ['ignore_rules', 'shared', 'team_drives', 'network_drives', 'one_way_sync', 'cli_functions'], 'status': 'active', 'expiry': None, 'is_recurring': False}, BaseLicense.Subscription{'name': 'Insync Care (OneDrive)', 'code': 'premium-onedrive', 'capabilities': ['ignore_rules', 'shared', 'team_drives', 'network_drives', 'one_way_sync', 'cli_functions'], 'status': 'active', 'expiry': REDACTED, 'is_recurring': False}], 'token': 'REDACTED'}
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 
Fatal Python error: Aborted

Thread 0x00007f4b327fc6c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4aadffb6c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4aae7fc6c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4aaeffd6c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4aaf7fe6c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4aaffff6c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4ad0ff96c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4ad17fa6c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4ad2ffd6c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4ad37fe6c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4af0ff96c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4af17fa6c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4af1ffb6c0 (most recent call first):
  File "threading.py", line 296 in wait
  File "concurrent/futures/_base.py", line 430 in result
  File "idesksync/shellwork.py", line 154 in get_update
  File "ideskheadless/unix_socket_server.py", line 204 in _handle_shell_updates
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4af27fc6c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4af2ffd6c0 (most recent call first):
  File "selectors.py", line 415 in select
  File "socketserver.py", line 232 in serve_forever
  File "ideskheadless/unix_socket_server.py", line 146 in __serve
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4af3fff6c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4b28ff96c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4b29ffb6c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4b4b7fe6c0 (most recent call first):
  File "ideskheadless/fswatcher.py", line 54 in _poll_devices
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4b4bfff6c0 (most recent call first):
  File "threading.py", line 296 in wait
  File "queue.py", line 170 in get
  File "ideskheadless/fswatcher.py", line 195 in sync
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4b68ff96c0 (most recent call first):
  File "ideskheadless/inotify_manager.py", line 326 in _pull_loop
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4b697fa6c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4b69ffb6c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4b6a7fc6c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4b6affd6c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4b6b7fe6c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4b6bfff6c0 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4b78fff6c0 (most recent call first):
  File "ideskcore/mainlogs.py", line 230 in _prune_logs
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4b7bfff6c0 (most recent call first):
  File "idesklinux/app.py", line 45 in _catch_mount_unmount_events
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4b90ffe6c0 (most recent call first):
  File "selectors.py", line 468 in select
  File "asyncio/base_events.py", line 1750 in _run_once
  File "asyncio/base_events.py", line 541 in run_forever
  File "ideskasync/coreloop.py", line 273 in run_loop
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Current thread 0x00007f4bba3c2040 (most recent call first):
  File "idesklinux/htmlui_impl.py", line 92 in show
  File "idesklinux/qtutil.py", line 55 in wrapper
  File "ideskui/htmlui.py", line 73 in show
  File "ideskcore/insync_core.py", line 108 in show_app_dialog
  File "ideskcore/insync_core.py", line 105 in on_tray_icon_click
  File "idesklinux/statusmenu_impl.py", line 46 in on_activation
  File "idesklinux/app.py", line 102 in start
  File "idesklinux/app.py", line 107 in run
  File "insynclinux/gui/cli.py", line 142 in start
  File "click/core.py", line 760 in invoke
  File "click/core.py", line 1404 in invoke
  File "click/core.py", line 1657 in invoke
  File "click/core.py", line 1055 in main
  File "click/core.py", line 1130 in __call__
  File "insynclinux/gui/insync.py", line 19 in <module>
Aborted (core dumped)

When I start Insync via CLI with insync start --qt-qpa-platform=wayland first nothing happens and no error message is shown.

When I then use insync start --no-daemon it does open the GUI but not embedded in a real window (no navigation bar) and with the wrong scaling (but it works).

To close it I have to use insync quit

Questions

Is there anyway to use insync on wayland properly right now?

When will you start supporting Ubuntu 23.10 Mantic Minotaur officially?

Thank you for reporting the errors and apologies for the trouble! Let me forward this to our Linux Team for further support.

@schlagmichdoch Hi! We will have a version available soon for Ubuntu 23.10 Mantic Minotaur :slight_smile:

@schlagmichdoch Hi! Could you try clicking the link below to download the build please? https://cdn.insynchq.com/builds/linux/insync_3.8.6.50504-mantic_amd64.deb

Let me know how it goes!

Works like a charm in X11 and Wayland! Thanks for the quick reply!

Would you give me a heads up as soon as this is available via deb http://apt.insync.io/ubuntu mantic non-free?

1 Like

I will do, @schlagmichdoch! :slight_smile:

The build has been added to our repository, @schlagmichdoch :smiley: