No tray icon in Debian Bookworm (GNOME 42.beta)

Hello,

Insync is running but I don’t see the tray icon.

Or, when run insync show it stop of work.

My Debian is:

francisco@alldocube:~/.local$ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux bookworm/sid
Release:	unstable
Codename:	sid

francisco@alldocube:~/.local$ insync version
3.7.3.50326

Gnome 42.beta
64-bit and X11

When run with --no-daemon:

francisco@alldocube:~/.local$ insync start --no-daemon
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 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     2022-03-13 17:06:10,097 [mainlogs:_log_run:139] Core(app_version=3.7.3.50326, platform=Linux-x86_64-debian/unstable) initialized
WARNING  2022-03-13 17:06:10,109 [base_events:_run_once:1782] Executing <Task pending coro=<init() running at ideskcore/core.py:148> wait_for=<Task pending coro=<SettingsMain._load_settings() running at ideskcore/mainsettings.py:179> cb=[_log_tb_after_delay() at ideskasync/coreloop.py:303, <TaskWakeupMethWrapper object at 0x7f8c71239350>()] created at ideskcore/mainsettings.py:157> cb=[_log_tb_after_delay() at ideskasync/coreloop.py:303, _chain_future.<locals>._call_set_state() at asyncio/futures.py:358] created at asyncio/events.py:88> took 0.132 seconds
INFO     2022-03-13 17:06:10,281 [inotify_manager:__init__:132] INotifyManager FS_ENCODING: utf-8
INFO     2022-03-13 17:06:10,282 [fswatcher:_start:57] LinuxFSWatcher._start
INFO     2022-03-13 17:06:10,285 [inotify_manager:_pull_loop:319] Inotify loop enter
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
INFO     2022-03-13 17:06:10,421 [main:start_core:49] core started
INFO     2022-03-13 17:06:10,423 [fswatcher:watch:77] watch origin: /home/francisco/Insync/fco.ernesto@gmail.com/Google Drive
INFO     2022-03-13 17:06:10,425 [unix_socket_server:start:93] unix socket server thread start

When, in other Terminal run the show command:

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 0x00007f8bd17fa640 (most recent call first):
  File "threading.py", line 296 in wait
  File "concurrent/futures/_base.py", line 430 in result
  File "idesklinux/qtutil.py", line 48 in invoke_in_qt_thread
  File "idesklinux/qtutil.py", line 57 in wrapper
  File "ideskui/htmlui.py", line 69 in show
  File "ideskcore/core.py", line 101 in show_app_dialog
  File "idesklinux/unix_socket_server.py", line 200 in show
  File "idesklinux/unix_socket_server.py", line 183 in _handle_linux_simple_api
  File "idesklinux/unix_socket_server.py", line 167 in __handler
  File "socketserver.py", line 360 in finish_request
  File "socketserver.py", line 650 in process_request_thread
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f8bdaffd640 (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 0x00007f8bd1ffb640 (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 0x00007f8bd2ffd640 (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 0x00007f8bd37fe640 (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 0x00007f8bd3fff640 (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 0x00007f8c733f6640 (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 0x00007f8bd97fa640 (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 0x00007f8c10ff9640 (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 0x00007f8bd8ff9640 (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 "idesklinux/unix_socket_server.py", line 188 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 0x00007f8bd9ffb640 (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 0x00007f8bda7fc640 (most recent call first):
  File "selectors.py", line 415 in select
  File "socketserver.py", line 232 in serve_forever
  File "idesklinux/unix_socket_server.py", line 130 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 0x00007f8bdb7fe640 (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 0x00007f8bdbfff640 (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 0x00007f8c117fa640 (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 0x00007f8c33fff640 (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 0x00007f8c54ff9640 (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 0x00007f8c557fa640 (most recent call first):
  File "ideskheadless/inotify_manager.py", line 330 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 0x00007f8c55ffb640 (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 0x00007f8c567fc640 (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 0x00007f8c56ffd640 (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 0x00007f8c577fe640 (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 0x00007f8c57fff640 (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 0x00007f8c711f2640 (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 0x00007f8c71a73640 (most recent call first):
  File "ideskcore/mainlogs.py", line 219 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 0x00007f8c72bf5640 (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 274 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 0x00007f8c920c7b80 (most recent call first):
  File "idesklinux/htmlui_impl.py", line 67 in show
  File "idesklinux/qtutil.py", line 43 in wrapper
  File "idesklinux/qtutil.py", line 26 in event
  File "idesklinux/main.py", line 77 in start
  File "idesklinux/main.py", line 82 in main
  File "idesklinux/cli.py", line 90 in start
  File "click/core.py", line 610 in invoke
  File "click/core.py", line 1066 in invoke
  File "click/core.py", line 1259 in invoke
  File "click/core.py", line 782 in main
  File "click/core.py", line 829 in __call__
  File "insync.py", line 19 in <module>
Aborted

Looks like it’s related to GNOME rather than Debian Bookworm. I’m using InSync in two different Bookworm installations (one KDE, one XFCE) and both work fine.

Which InSync 3.7.3 package are you using? There are different builds for different Debian versions. If you’re using a package for an older Debian version, it might also be creating problems.

What’s your GPU and what drivers you’re using for your card (mostly relevant if it’s nVidia)? Looks like something related to hardware acceleration is breaking during window drawing.

1 Like

Appreciate the follow up questions you raised here @bayindirh :slight_smile:

@netinhoteixeira There indeed seems to be an issue with tray icons on GNOME.

Please also refer to the follow-up questions above so we can collect more information for troubleshooting. Thank you!

  • Debian Bookworm (insync_3.7.3.50326-bookworm_amd64.deb), downloaded yesterday;

  • Graphics:

    francisco@alldocube:~$ lspci | grep VGA
    00:02.0 VGA compatible controller: Intel Corporation Iris Graphics 540 (rev 0a)
    francisco@alldocube:~$ lsmod | grep “kms|drm”
    drm_kms_helper 315392 1 i915
    cec 61440 2 drm_kms_helper,i915
    drm 630784 11 drm_kms_helper,i915,ttm
    francisco@alldocube:~$ find /dev -group video
    /dev/media0
    /dev/video1
    /dev/video0
    /dev/fb0
    /dev/dri/card0
    francisco@alldocube:~$ cat /proc/cmdline
    BOOT_IMAGE=/boot/vmlinuz-5.16.0-4-amd64 root=UUID=6ffc349b-e4c2-4c23-bd35-8cf79e0e1187 ro quiet

Just answered with next thread!

1 Like

Appreciate it so much @netinhoteixeira!! :slight_smile: