Thank you for adding the Qt5 Wayland shell extensions in this release. This works nicely on Arch Linux and Sway compositor, running Insync as a native Wayland client for the first time.
For some reason, I couldn’t get it to work in Flatpak, the only error I’m seeing is with strace and it’s a failure to allocate memory via a mincore() call.
edit: I know what the problem with Flatpak and why it works in Arch Linux. Basically when running under Wayland, Insync tries to use the Wayland EGL backend but something not working correctly.
On Arch Linux it fails early, I’m not sure why but then it falls back to software rendering of the Wayland client.
When using Flatpak, Insync manages to go further and start talking to the GPU, requesting resources but then it fails (looks like memory allocation issue) and because it already started using the EGL Wayland backend it can’t fall back to software rendering.
The workaround I’m using with Flatpak to bypass this issue is to not give access to the GPU (/dev/dri) and then Insync just falls back to software rendering.
edit2: I think the issue is that a mismatch between some of the libs that are packaged with Insync and the host system is causing this issue. It looks like I got it to work with the Wayland EGL backend after dropping a few libs.
edit3: I removed libGL{X,dispatch}.so* and now the Wayland EGL backend seems to work.