Replies: 4 comments
-
|
We do not recommend the use of native Wayland for Audacious. The environment variables are there for developer use only. Just leave them unset and let Audacious use Xwayland please. Anything else is unsupported. |
Beta Was this translation helpful? Give feedback.
-
|
I actually like the idea making this configurable. The Qt and GTK interface work well meanwhile on Wayland. Only the Winamp interface actually requires X11/Xwayland. We could add a "Use Xwayland" checkbox in the Audacious settings dialog and ask users at runtime to enable it when using the Winamp interface. I will see how this works and prepare a pull request. It would then also fix #1656 as a positive side effect. |
Beta Was this translation helpful? Give feedback.
-
|
This is now implemented with an Xwayland configuration setting, changeable in the UI via the Audacious settings at "Advanced -> Compatiblity -> Use Xwayland". When the Winamp interface is used the setting is enforced automatically. To be released with Audacious 4.6. |
Beta Was this translation helpful? Give feedback.
-
|
I guess I didn't use Audacious for longer than I thought... (must have been like 3 months ago) Could we change the error message to be a little more helpful? A message mentioning that there is an XWayland option in advanced settings would have been extremely helpful. This thread also didn't come up when searching Issues. I only found it because I was about to submit something asking for help, which pulled up the Discussions section. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, Audacious relies on global environment variables such as GDK_BACKEND=wayland or QT_QPA_PLATFORM=wayland to enable native Wayland support. While this works in principle, it introduces a significant usability issue: setting these variables globally can interfere with other GTK or Qt applications that do not support Wayland properly.
Requiring users to manually set global environment variables to switch between X11 and Wayland is no longer appropriate in modern desktop environments. It introduces unnecessary complexity and can interfere with other applications. A more user-friendly and future-proof approach would be to offer backend selection via configuration files, command-line flags, or GUI settings.
I suggest adding a configuration option within Audacious itself—either in the GUI settings or in the config file (e.g., ~/.config/audacious/config)—to explicitly select the graphics backend. For example:
[UI]
gtk-backend=wayland
qt-backend=x11
Beta Was this translation helpful? Give feedback.
All reactions