Is wayland supported on Linux software

Hi,

I’ve just tried to launch LightBurn under Ubuntu 21.10 with wayland, however it looks like it’s not working with the following error :

❯ ./LightBurn
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
[1]    3511518 IOT instruction (core dumped)  ./LightBurn

Thanks

Qt won’t run in Wayland unless you tell it to. Even then, I’m not 100% sure it’ll work as I’ve never tried it.
In theory you can use:
export QT_QPA_PLATFORM=wayland ./LightBurn
As noted by the warning message you provided, that will force it to run with Wayland.
We intentionally build with an old version of Qt for Linux because a lot of our linux users run old Linux. So I make no guarantee that it will work, but I’m interested to know if it does for you. I actually don’t have a machine running Wayland to test at the moment. I should set that up :slight_smile:

Hi Adam,

Thanks for the information, I indeed tried with enforcing wayland with wayland (fyi no need to export the variable when it’s a one liner command) :

❯ QT_QPA_PLATFORM=wayland ./LightBurn
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
[1]    3511586 IOT instruction (core dumped)  QT_QPA_PLATFORM=wayland ./LightBurn

If you have any build that may work, I would be happy to test it if you need a test. Meanwhile, I’ll test it in another computer with Xorg.

Ok - yeah. We just don’t build it with QtWayland which it looks like we’d have to do.
We need to update to a newer Qt version anyways so I’ll add it to my list to look at when we do that.

Great, thanks for the information !

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.