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

illumos is not supported #739

Open
notgull opened this issue Jun 23, 2024 · 5 comments
Open

illumos is not supported #739

notgull opened this issue Jun 23, 2024 · 5 comments

Comments

@notgull
Copy link
Member

notgull commented Jun 23, 2024

https://github.com/rust-windowing/winit/actions/runs/9635842251/job/26573081975?pr=3751

I think illumos is still stuck on X11, but it would be nice to be able to support it here.

@kchibisov
Copy link
Member

I'm 99% sure that all BSD(except freebsd)/other special targets are not supported by the libwayland itself, so bring it to upstream C library first?

The rust backend of wayland-rs should probably work though, but winit won't be able to target it at all, because we won't be able to provide raw-window-handle nor it'll be usable for anything at the current state of things.

@notgull
Copy link
Member Author

notgull commented Jun 24, 2024

https://gitlab.freedesktop.org/wayland/wayland/-/blob/main/.gitlab-ci.yml?ref_type=heads

Looks like you're right. It only tests for Debian and FreeBSD.

@kchibisov
Copy link
Member

I mean, the other part is barely any compositors work on anything other than linux/freebsd, because a lot of them use libinput, etc, so they kind of tied to linux one way or another.

@ids1024
Copy link
Member

ids1024 commented Jun 24, 2024

Libwayland requires epoll and eventfd. On BSDs that requires epoll-shim. Does Illumos have something like that?

wayland-backend in contrast currently has code using epoll and kqueue, but I've been wondering if we could replace that platform-specific code with polling. So that could be a good start here.

@ids1024
Copy link
Member

ids1024 commented Oct 18, 2024

#763 has the code I've experimented with for using polling, anyway. Seems like a viable enough idea in principle, and it might magically make illumos/solaris work.

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