Ardour and Wayland

Apparently one will not be able to use X11 with Plasma 6.8, coming out soon (tomorrow?). Some distros, like Debian Sid, which I use, will then soon be updated and have no option to use X11 (at least with Plasma).

I’ve seen, without paying too much attention, that some problem arise when using Ardour with Wayland. Is that still the case? Is there anything one can do to minimize problems?

I imagine one can still use X11 with another DE, so that might be a solution, but I thought I’d check and see what the current state is.

Wayland itself comes with XWayland and/or XNest, both of which allow the user to run applications using the X Window API under wayland.

No Linux system is going to be able to function usefully if it bars applications that use X Window’s API. Switching “fully” to Wayland doesn’t mean you can’t run X Window applications, it means there is no option to not use Wayland.

Ardour will function with either XWayland or XNest, but will have some issues that do not occur with a “normal” X server.

It is fully usable though. I run Fedora, which has been Wayland only for about a year, and haven’t noticed anything more severe than the usual KDE quirks I work around.

Could we get a finer point on that? Also which of these edge-cases are due to Ardour itself and which are due to design limitations in the implementation of Wayland? It seems to me the headline is “Xorg is dead, long live Xorg!” and that whatever imposed limitations exist in Wayland seem not to be taken very seriously upstream… As end-users there are oceans of FUD on either side of the issue to wade through… :roll_eyes:

None of the edge cases are “due to Ardour”. Ardour works as expected with an Xorg X server and a desktop environment that follows Freedesktop.org’s guidelines.

Reports suggest that Xnest works a little better than Xwayland, because all the windows in Ardour (plugins, dialogs etc) are inside a single Wayland window-equivalent; with Xwayland, each Ardour window gets its own Wayland window-equivalent.

But reports also suggest that they both work OK, and the edge cases, if any, are caused by wierdly behaving plugins and non-comforming desktop environments.

I use Ardour under sway without any issues (which is Wayland-native with Xwayland for compatibility). Anything that is “Wayland-only” just means it will rely on Xwayland to provide X11 compatibility (rather than being able to run with an X server session).

You should be fine.

I admit that this is why I am under debian 13 (which has version 6.3 of kde) because my experience under wayland in multi-screen with my computers that are between 5 and 10 years old has never been satisfactory… with for example ardour but not only.
Debian LTS version 13 goes until 2030 and I hope version 14 does not include the wayland only.
I admit that I absolutely did not understand this move to move to wayland of which everyone says good but that users have never really wanted but so goes life.
at least with debian, it leaves time to have time for wayland to refine and pass the milestone of existing little bugs.
but I’m a little afraid that many plugins will jump and become obsolete without it moving anyone.

The move was because X11 is full of inherent security issues and is a patchwork of code that’s hard to maintain. That’s why xorg-maintainer Kristian Høgsberg decided to create a new graphical framework to replace it.

I’m pretty sure most users want security and maintainability in their software.

I tried Ardour 9.8 official on Wayland using Gnome 50 on Ubuntu 26.04 LTS. It crashed within minutes. Specifically when trying to add a bus track. But Wayland crashes are always seemingly random for some reason.

On past versions of Ubuntu and Xwayland, there were random crashes. On X11, Ardour has been rock solid.

I was hoping XWayland had improved since Ubuntu 24, but it has not.

While Wayland may seem to me to have a faster response time, the stability of X11 is much more appreciated.

I find multi monitor a weak spot in KDE whether in X or Wayland. With X, I found restarting from suspend a crock of arse. In Wayland, there is an issue with the order in which screens turns on can change what is a primary monitor in kscreen. So I made a script to turn my second screen off at login and start it a few seconds later to keep a consistent screen order. Apparently, this is set to be fixed in plasma 6.8, so hopefully that will stop then.

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