johalun0 at gmail.com
Tue Dec 20 23:33:31 UTC 2016
We had some progress with Wayland that we'd like to share.
Working (Porting WIP)
Weston-clients (installed with wayland/weston port)
XWayland (run X11 apps in Wayland compositor)
Works (maximized window only) if started manually but not when
launching X11 app from Weston. Most likely problem with Weston IPC.
Sway (i3-compatible Wayland compositor)
SDL20 (Wayland backend)
games/stonesoup-sdl briefly tested.
GDM (with Wayland)
Halted - depends on logind.
gtk3-demo runs fine on Weston (might have to set GDK_BACKEND=wayland
GTK3 apps working (gedit, gnumeric, xfce4-terminal tested, xfce desktop
(4.12) does not yet support GTK3)
Get it at:
Ports (note: xserver-mesa-next-udev branch)
Base (note: drm-next-4.7 branch)
Instruction for installing base
For Ports, use Poudriere or just build manually from source.
Wayland ports located in $PORTSDIR/wayland/
For easy access to input devices with evdev add to /etc/devfs.rules
add path 'input/*' mode 0660 group input
And create and add yourself to input group.
You also need to chose where the input events go
Add to /etc/sysctl.conf
kern.evdev.rcpt_mask=12 #or some other combination..
(check sys/dev/evdev/evdev.h in kernel source for explanation)
You might need to put a weston.ini into $HOME/.config/ with correct paths
to background images etc. Personally I have this in my weston.ini to put a
terminal launcher in the top-left corner (depends on icon from xfce4 I
If you use Sway you need to edit $HOME/.config/sway/config to open
weston-terminal instead of urxwt to get a working terminal.
Please post issues or create pull request for any ideas for improvement you
Personally I'm having some rendering artifacts on Intel CherryTrail but I
think that is an Intel driver issue.
Thanks to everyone for your contributions.
/Johannes, FreeBSDDesktop team
More information about the freebsd-current