Date: Mon, 20 Apr 2020 03:38:33 +0200 From: Tomasz CEDRO <tomek@cedro.info> To: FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>, freebsd-x11@freebsd.org Subject: Re: Wayland on FreeBSD Message-ID: <CAFYkXjkFT7R0A-ZsH4p6C0_h8%2BqJ0-wWJ--tTJLtS0Pja0ZzSQ@mail.gmail.com> In-Reply-To: <CAFYkXjmfyLZAi1HZe-RE3wLxa6GRNP6GkmtZG-4T2puRDOz0JA@mail.gmail.com> References: <CAFYkXjmfyLZAi1HZe-RE3wLxa6GRNP6GkmtZG-4T2puRDOz0JA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 17, 2020 at 10:34 PM Tomasz CEDRO wrote: > I would like to use Enlightenment (0.23.1) + Wayland. I did manage to run Wayland + Hikari so Wayland works on FreeBSD :-) Ports version is 1.18 and lags behind only one release (1.20 is 1.19 with some readme added). I would prefer to stick to Enlightenment and its running on Wayland since version 0.20. New version of Enlightenment (0.22.4 -> 0.23.1) based on EFL (1.20.7 -> 1.23.3) is already working on my machine and will show up in ports shortly: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245596 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245594 Enlightenment has and needs new Wayland support that is based on ecore_wl2 from EFL. Someone hardcoded Linux DMA code into src/lib/ecore_wl2/ecore_wl2_buffer.c and that part of EFL does not build anymore on FreeBSD (not mandatory to run on Xorg). The good news is that EFL builds with both old Wayland support (wl-deprecated switch) and new one required for Enlightenment (wl switch) when all linuxisms are commented out from ecore_wl2_buffer.c. This means if we find a FreeBSD specific replacement for those DMA transfers all should work fine..? https://github.com/Enlightenment/efl/blob/master/src/lib/ecore_wl2/ecore_wl2_buffer.c The question is whether we should use some sort of DRM / GPU related DMA code or generic BUS DMA code? I have no experience over here.. the memory is a memory but if that affects video performance I guess video framebuffer should be used directly on a video card? :-) Best regards :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXjkFT7R0A-ZsH4p6C0_h8%2BqJ0-wWJ--tTJLtS0Pja0ZzSQ>