Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Wayland #567

Closed
kevinsmia1939 opened this issue May 9, 2021 · 7 comments · Fixed by #1577
Closed

Add support for Wayland #567

kevinsmia1939 opened this issue May 9, 2021 · 7 comments · Fixed by #1577
Assignees

Comments

@kevinsmia1939
Copy link

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

@ghutchis ghutchis transferred this issue from OpenChemistry/avogadroapp May 9, 2021
@ghutchis
Copy link
Member

ghutchis commented May 9, 2021

As I mentioned on the discussion forum, while there's a potential fix for GLEW, there are also several alternatives:

I'd probably lean towards gl3w when we switch to the core profile.

@avo-bot
Copy link

avo-bot commented May 9, 2021

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

@avo-bot
Copy link

avo-bot commented Apr 1, 2023

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

@matterhorn103
Copy link
Contributor

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?

@kevinsmia1939
Copy link
Author

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?

@matterhorn103
Copy link
Contributor

matterhorn103 commented Nov 13, 2023

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

@ghutchis ghutchis linked a pull request Jan 18, 2024 that will close this issue
@ghutchis
Copy link
Member

This should be fixed by #1577

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants