nikp123 / xava

X11 Audio Visualizer for ALSA
http://nikp123.github.io/xava
Other
133 stars 15 forks source link

XDG Wayland support #61

Open myrkath opened 1 month ago

myrkath commented 1 month ago

I use XAVA on Linux Mint 22/ GNOME Wayland and am generally very happy with the program. However, I have one specific problem that I have not been able to solve. It concerns window positioning in the Wayland environment. While all other features work as expected, it seems that the options for adjusting window position are not implemented correctly(for gl).

Linux Mint 22 GNOME Shell 46.0/ Wayland newest XAVA Appimage

nikp123 commented 1 month ago

Yeah that's an issue with Wayland in general (no unified positioning protocol exists IIRC), since I don't really have control over that. Thankfully since I switched to Gnome I can probably take a shot at it.

nikp123 commented 1 month ago

@myrkath Do you mind checking if wayland windows actually work under Gnome. I tried testing those myself and they seem straight up are broken on the current master branch.

myrkath commented 1 month ago

I have several applications running under Wayland, and none of them are causing any issues. All applications are working flawlessly, and I haven't encountered any problems with the windows or overall performance.

myrkath commented 1 month ago

And the performance is better than in x11

nikp123 commented 1 month ago

I have several applications running under Wayland, and none of them are causing any issues. All applications are working flawlessly, and I haven't encountered any problems with the windows or overall performance.

Didn't mean Wayland itself, but the Wayland mode of XAVA. I had trouble lunching it without the background layer. You can check if you're using the X11 mode by just xprop-ing XAVA's window. If you can't that means its in Wayland.

myrkath commented 1 month ago

Yea, the Xava backgound layer is very buggy in Wayland, sometimes Xava shows trough Windows and however sometimes it is over my mouse cursor.

nikp123 commented 1 month ago

Yea, the Xava backgound layer is very buggy in Wayland, sometimes Xava shows trough Windows and however sometimes it is over my mouse cursor.

Ok I think I fixed it with the latest commit. Although, be warned that it's quite barebones because there aren't any mouse or keyboard inputs implemented at the moment.

myrkath commented 1 month ago

Works much better now. Thank you