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

[Question] Does it rely on X or Wayland? #8

Open
danimesq opened this issue Dec 30, 2023 · 4 comments
Open

[Question] Does it rely on X or Wayland? #8

danimesq opened this issue Dec 30, 2023 · 4 comments

Comments

@danimesq
Copy link

CC @HrX03

@HrX03
Copy link
Member

HrX03 commented Dec 30, 2023

Currently utopia is backend agnostic, it needs to be manually plumbed to either X or Wayland afterwards. We have some experiments plumbing utopia and pangolin to Wayland but they are not ready to share yet. If there's any interest I could share some more specific examples of sorts. Hopefully that answers your question and other doubts you could have had 🙂

@danimesq
Copy link
Author

danimesq commented Dec 30, 2023

We have some experiments plumbing utopia and pangolin to Wayland but they are not ready to share yet. If there's any interest I could share some more specific examples of sorts

Yes, I'm interested as hell! (sorry for the wording)
I would even like to use this custom Wayland implementation: https://github.com/Smithay/wayland-rs
Thank you in advance

@larsb24
Copy link
Member

larsb24 commented Dec 30, 2023

This is one thing we're looking at:
https://github.com/roscale/wayvern

@HrX03
Copy link
Member

HrX03 commented Dec 30, 2023

Yea as Lars mentioned, that is one project we're watching out for embedder implementation. At a conceptual level we need a flutter Linux embedder that runs both the shell app and the Wayland instance, it's the only sane way to have the flutter app be the main view without weird hacks like we were exploring before. Once we have this hybrid embedder running platform methods are used to communicate from flutter to Wayland and viceversa. This is the exact plumbing that needs to be done, utopia exposes some event based apis that can detect some actions on utopia and report natively to Wayland.

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

No branches or pull requests

3 participants