josh-richardson / cadmus

A GUI frontend for @werman's Pulse Audio real-time noise suppression plugin
GNU General Public License v3.0
2.09k stars 55 forks source link

Core dump under Wayland #51

Open juxuanu opened 3 years ago

juxuanu commented 3 years ago

Trying to start Cadmus under Wayland results in this:

This application failed to start because it could not find or load the Qt platform plugin "wayland"
in "".

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Reinstalling the application may fix this problem.
[1]    19775 abort (core dumped)  cadmus

Other Qt apps work. I have the environment variable QT_QPA_PLATFORM=wayland set.

josh-richardson commented 3 years ago

Out of interest, have you tried running from source? This may be due to required libraries for Wayland not being included in the app image - at least that's my best guess.

juxuanu commented 3 years ago

No, I have not. Sorry, I don't have the computer with Wayland available to me anymore. I can't test further. I installed it using the Arch's User Repo (AUR)'s package cadmus-deb that uses, logically, the .deb

andrewnicolalde commented 3 years ago

Sway user here, setting QT_QPA_PLATFORM="" fixed this for me!

This is the case both in the binary version as well as in the AppImage

josh-richardson commented 3 years ago

Sway user here, setting QT_QPA_PLATFORM="" fixed this for me!

Good to know. If others can reproduce this, we may have found a fix.

lachlanshoesmith commented 3 years ago

Sway user here, setting QT_QPA_PLATFORM="" fixed this for me!

This is the case both in the binary version as well as in the AppImage

this also worked on gnome 40 for me :)

juxuanu commented 3 years ago

It starts under xwayland then...