avogadrolibs
avogadrolibs copied to clipboard
Add support for Wayland
Is your feature request related to a problem? Please describe. It will be some time before Wayland gain adoption. But since Ubuntu 21.04 and Fedora 34 switch to Wayland as default. Avogadro in Wayland is broken at the moment. If I were to guess, it might be because broken glew on Wayland. So when glew support it, Avogadro might be.
Describe the solution you'd like Run Avogadro on Wayland.
Describe alternatives you've considered
Additional context https://discuss.avogadro.cc/t/will-avogadro-support-wayland/3499
As I mentioned on the discussion forum, while there's a potential fix for GLEW, there are also several alternatives:
- https://github.com/anholt/libepoxy
- https://github.com/skaslev/gl3w
I'd probably lean towards gl3w when we switch to the core profile.
This issue has been mentioned on Avogadro Discussion. There might be relevant details there:
https://discuss.avogadro.cc/t/will-avogadro-support-wayland/3499/3
This issue has been mentioned on Avogadro Discussion. There might be relevant details there:
https://discuss.avogadro.cc/t/allow-a-u-xyz-import-dalton-input-generator-bugs-and-wayland-support/4418/2
Noticed this issue while browsing the repo. I am running 1.98.1 on Wayland (KDE Plasma 5.27.9 on OpenSUSE Tumbleweed) just fine. Presumably this means the problem has since been resolved?
Noticed this issue while browsing the repo. I am running 1.98.1 on Wayland (KDE Plasma 5.27.9 on OpenSUSE Tumbleweed) just fine. Presumably this means the problem has since been resolved?
Where did you download from?
Ok, this seems to only be true for the AppImage version, as when I build from source, I get graphical glitches. Weirdly, it's the AppImage that prints qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
as the first line of output, while the compiled version doesn't say anything about Wayland.
@kevinsmia1939 The AppImage from https://two.avogadro.cc/ and the nightly build available via the readme of the repo both work fine on my PC on the Wayland session. Are they are broken for you?
Edit: Ok, the AppImage only works because it runs on XWayland. Any version of Avogadro can be launched on XWayland by starting with ./avogadro2 -platform xcb
This should be fixed by #1577