Help with Wayland
reddit.com·7w·
Discuss: r/rust

Hi, I'm just playing around and trying to learn building a Wayland compositor, initially I found wlroots (C version) and then found wlroots Rust crate (bindings to C), later on I have found Smithay this appears to be the way to go?

However I'm struggling with understanding all the various moving parts!

I have tried compiling and running the anvil example, but I can not get this working inside a VM (bare Arch install no DE) guest, it runs but panics at runtime (using the tty-udev backend, I have used both virtualbox and qemu, both fail in the same way).

But I know compositors like Niri can work inside a VM just fine (and it uses Smithay).

The documention seems, scattered and either too low level (granular detail about the...

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help