Instability with Wayland

Hi, mixxx can’t stay open for very long running under Wayland. It can only stay open a matter of time before it will crash with:

Fatal [Main]: The Wayland connection broke. Did the Wayland compositor die?

Starting mixxx with:
mixxx --developer --safeMode --logLevel info 2>&1

This version of mixxx and dependencies:

pacman -Qi mixxx
Name            : mixxx
Version         : 2.2.4-3
Description     : Free, open source software for digital DJ'ing.
Architecture    : x86_64
URL             : https://www.mixxx.org
Licenses        : GPL2
Groups          : pro-audio
Provides        : None
Depends On      : chromaprint  gcc-libs  glibc  hidapi  libglvnd  libmad  libmodplug  libmp4v2  libshout  libx11  openssl  opusfile>=0.12  qt5-base  qt5-script  qt5-svg  qt5-x11extras  qtkeychain  soundtouch  speex  sqlite  taglib  upower
                  wavpack  libFLAC.so=8-64  libfaad.so=2-64  libavcodec.so=58-64  libavformat.so=58-64  libavutil.so=56-64  libglib-2.0.so=0-64  libid3tag.so=0-64  libgobject-2.0.so=0-64  liblilv-0.so=0-64  libogg.so=0-64
                  libportaudio.so=2-64  libportmidi.so=libportmidi.so-64  libprotobuf-lite.so=23-64  librubberband.so=2-64  libsndfile.so=1-64  libtcmalloc.so=4-64  libusb-1.0.so=0-64  libvorbis.so=0-64  libvorbisenc.so=2-64
                  libvorbisfile.so=3-64
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 42.61 MiB
Packager        : Alexander Rødseth <rodseth@gmail.com>
Build Date      : Sun 16 Aug 2020 10:41:39 AM EDT
Install Date    : Thu 15 Oct 2020 12:10:40 AM EDT
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

Here are two runs worth of logs:
https://termbin.com/c5s9
https://termbin.com/c7zq8

Please let me know if there’s anything else I can provide.

Mixxx runs fine on XWayland without any issues. You need to start it with the command-line argument -platform xcb.

Some legacy OpenGL Qt components prevent native usage on Wayland: https://github.com/mixxxdj/mixxx/pull/1974

I built mixxx from
commit 79d0136a2aa3e5027684e094f7179aa0380e5e36 (HEAD -> 2.3, origin/2.3)
and it was able to run overnight without crashing.

If it happens to have another problem, I’ll try the platform flag. Thank you!