Hi

Here's a status update of my work and some questions.

SETUP:

System:
FreeBSD 12-CURRENT (
https://github.com/FreeBSDDesktop/freebsd-base-graphics/tree/drm-next-4.6)

Ports:
https://github.com/freebsd/freebsd-ports-graphics/tree/wayland
Package installed from this tree
graphics/wayland (built without modification)
x11/libinput (removed udev-stubs and linked to libudev-devd)
Mesa-related (libEGL libGL libglesv2 libglapi libdrm)

libudev-devd:
https://github.com/wulf7/libudev-devd

evdev:
https://reviews.freebsd.org/D6998
Needed to update patches a bit to have them patch cleanly.

​wlc:
https://github.com/Cloudef/wlc
I'm using this compositor library and the example implementation that comes
with it. I've patched it to run on FreeBSD and will try to push the changes
upstream this week. Maybe we can even make a port for this very excellent
library?
​I will not do any work on porting Weston.


WIP:

​Wayland relies on kqueue which is not implemented in drm's 3.8 or 4.6
branches. I'm working on this now for drm-next-4.6 and it is almost
complete.
I will probably implement it also in the 3.8 ​branch to be able to run
Wayland on both to compare and find bugs in linuxkpi more easily. Will
share patch for 3.8 branch when done.


​CURRENT STATUS:

My personal Wayland clients (built on Linux) compile and run nicely with
udev and libinput in a Wayland window with X11 backend (wlc-based
compositor).
There is a problem with rendering updates when running with drm backend but
will most likely be solved soon.
Input devices and rendering is functional in native KMS (no X11), just a
few small issues to iron out related to kqueue and linuxkpi.


QUESTIONS:

Currently by default evdev create /dev/input/eventX devices with 600
permission. These need to be accessible for non-root users. What is the
best solution? Should we create a "input" group similar to "video" group is
being used for rights to access /dev/drm devices?

Best regards
Johannes
​

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.
Disclosure, copying, distribution or any other action of use of this
email by person other than intended recipient, is prohibited.
If you are not the intended recipient and have received this email in
error, please destroy the original message.
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to