Page MenuHomePhabricator

E on FreeBSDProject
ActivePublic

Details

Description

Try and make things more organized by creating a project to add in issues, this makes it easier to search for just FreeBSD issues. Also this opens doors to other users who enjoy using FreeBSD want to make E better.

Recent Activity

Apr 12 2021

Peter2121 added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

@netstar if @cederom wants to maintain Wayland support of EFL on FreeBSD - why not? ;)

Apr 12 2021, 3:18 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Hello @netstar this is fairly old thread and some new things happened in the meantime :-) Both X11 and Wayland works fine on FreeBSD already :-) X11 is considered obsolete and I guess the move towards Wayland is happening now (plus KMOD/DRM graphics acceleration infrastructure). Upcoming 13.0 will improve things a lot and I hope we can move forward with E+W.. It would be nice to have E working on Wayland on FreeBSD. I have managed to build E + EFL with Wayland support but some Linux stuff needs to be added. This is an ongoing work in progress already :-)

Apr 12 2021, 3:05 AM · Restricted Project, E on FreeBSD
netstar added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

@cederom If you want portable graphics system across Unix-like OS, the only choice, for a long time (in my opinion) is going to be X11. There is no gain introducing wayland support for FreeBSD right now. It makes X11 support elsewhere more work.

Apr 12 2021, 2:46 AM · Restricted Project, E on FreeBSD
netstar added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Can't we just still with X11? This may get really messy, and who is going to maintain that? On top of this it breaks other code paths in E by pulling in eeze.

Apr 12 2021, 2:39 AM · Restricted Project, E on FreeBSD

Mar 17 2021

cederom added a comment to T8681: Drag-n-Drop does not work in EFM.

+1 here too Drag-n-Drop does not seem to work while more and more web browser features depend on this :-)

Mar 17 2021, 3:58 AM · E on FreeBSD, enlightenment-git

Jan 30 2021

netstar added a comment to T8812: efreetd Segmentation fault on NetBSD.

Great! efreetd might be a pain for a while. If you submit patches even cooler! If there is time and I can help out that wouldn't be a problem. Good to hear of some interest and work on it.

Jan 30 2021, 8:56 AM · E on FreeBSD
kikadf added a comment to T8812: efreetd Segmentation fault on NetBSD.

I ported both to NetBSD, I use it, but I have some issues. I plan to contributing the patches to overview.

Jan 30 2021, 7:27 AM · E on FreeBSD
netstar added a comment to T8812: efreetd Segmentation fault on NetBSD.

Can anyone please comment on the state of EFL and E etc on NetBSD? I'm really interested to know.

Jan 30 2021, 3:44 AM · E on FreeBSD

Jan 26 2021

kikadf closed T8812: efreetd Segmentation fault on NetBSD as Invalid.
Jan 26 2021, 1:05 AM · E on FreeBSD
kikadf added a comment to T8812: efreetd Segmentation fault on NetBSD.

Finally efl-1.25.1 on NetBSD 9.1 amd64 with pkgsrc-2020Q4 works fine, no more efreetd segmentation fault.

Jan 26 2021, 1:03 AM · E on FreeBSD

Jan 19 2021

vtorri added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

@cederom what is the status of that task ?

Jan 19 2021, 11:16 PM · Restricted Project, E on FreeBSD

Dec 22 2020

Peter2121 created T8870: EFL build failed with EFL-ONE option activated.
Dec 22 2020, 9:24 AM · E on FreeBSD

Dec 18 2020

cederom added a comment to T8868: Support Open SEATD+WLROOTS instead Linux-only-(e)LoginD/SystemD for Wayland.

Thank you @ProhtMeyhet :-)

Dec 18 2020, 3:50 PM · E on FreeBSD, efl
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

@raster you helped me a lot to get things done, and I am grateful for that, thank you, I do not want any shitstorm here, sorry, I do not want to destroy anything, no worries, I am just looking for a solution to make things portable as free and optional alternative to existing solution, preferably that could be selected with meson at build time. But existing solution is hardwired to only one OS out there, Linux, that creates its own standards ignoring the rest, thus becoming less and less open, while there are others solutions that make things work for everyone.

Dec 18 2020, 2:58 PM · Restricted Project, E on FreeBSD
ProhtMeyhet triaged T8868: Support Open SEATD+WLROOTS instead Linux-only-(e)LoginD/SystemD for Wayland as TODO priority.

See T6947 and @devilhorns branch which is outdated. I don't know the current state.

Dec 18 2020, 2:48 PM · E on FreeBSD, efl
ProhtMeyhet added projects to T8868: Support Open SEATD+WLROOTS instead Linux-only-(e)LoginD/SystemD for Wayland: efl, E on FreeBSD.
Dec 18 2020, 2:35 PM · E on FreeBSD, efl
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Fully agree - all functions and dependencies should be totally optional - except dependency on systemd is quite the opposite - it is a hard dependency on Linux OS and whole project portability blocker when it comes to Wayland - so anything new that makes E work with Wayland should be optional and portable :-)

Dec 18 2020, 12:24 PM · Restricted Project, E on FreeBSD
raster added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

FYI ... i'm very very very much against adding more dependencies. after decades of users complaining bitterly about needing any dependency.. any new dependency has to come as being totally optional OR a very very very good reason to use it. so basically don't expect existing logind code to change as the only deps it adds are those that are already on the system.

Dec 18 2020, 11:33 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

After discussion on WLROOTS GitHub [1] is seems that LIBSEAT would be better ELOGIND replacement rather than using whole wlroots :-)

Dec 18 2020, 5:39 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Thank you @devilhorns @raster I have asked this question on wlroots github the best place to get quick and reliable answer if we can use wlroots and our own renderer :-)

Dec 18 2020, 5:20 AM · Restricted Project, E on FreeBSD
raster added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

we can;'t use wlroots because it also includes a renderer of its own and that would mean we drop our own (evas) and that would essentially kill off all of e as everything u see is rendered by evas. as long as you have your own renderer something like wlroots is pretty much a no-go. i haven't looked in DETAIL though so maybe there is some way to bypass using the wlroots renderer but then this spiders out to other bits we then can't use etc. etc. etc. and eventually we find we use very little of it ans spend a lot of effort in impedance mismatch handling.

Dec 18 2020, 2:45 AM · Restricted Project, E on FreeBSD

Dec 17 2020

devilhorns added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

The question is why don't we use WLROOTS and SEATD so the project gets portable and does not contain hard references to Linux only solutions like systemd/logind? If we had that solution Enligthenment would already work using Wayland both on Linux and FreeBSD :-)

Do you know these solutions? Is it a lot of work to add another WL glue (wlroots+seatd)? Any sort of estimate form experienced developer would be nice to know :-)

Dec 17 2020, 11:10 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

The question is why don't we use WLROOTS and SEATD so the project gets portable and does not contain hard references to Linux only solutions like systemd/logind? If we had that solution Enligthenment would already work using Wayland both on Linux and FreeBSD :-)

Dec 17 2020, 10:09 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8867: drm enforces eeze.

Thank you guys! All is clear now. I will continue further discussion on https://phab.enlightenment.org/T8866 :-)

Dec 17 2020, 10:03 AM · Restricted Project, E on FreeBSD
devilhorns added a comment to T8867: drm enforces eeze.

Still the core question remains - if EEZE is a mandatory requirement for DRM? If not then DRM code does not respect meson configuration :-)

Dec 17 2020, 6:03 AM · Restricted Project, E on FreeBSD
devilhorns added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Currently, the DRM implementation in EFL is coded to use Eeze for discovery of the drm card and other devices. Systemd or elogind is also a requirement currently. As I do not use *BSD, I would be unable to code support for that (as I cannot test it), however if you would like to provide patches then I would be happy to review.

Dec 17 2020, 6:00 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Thank you @arrowdodger for the hint on ConsoleKit2 [ck]. I am a bit confused - is this elogind replacement? I have this installed already but this does not seem to solve my problem with E..

Dec 17 2020, 4:47 AM · Restricted Project, E on FreeBSD
arrowdodger added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

elogind has similar DBus interface with one that consolekit2 uses. The latter is present in our ports, so maybe you should try it.

Dec 17 2020, 12:18 AM · Restricted Project, E on FreeBSD

Dec 16 2020

cederom updated subscribers of T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Allright it turns out that E/EFL when it comes to Wayland it hardcoded with Linux's systemd/logind/elogind. This sux :-) But there is an alternative called SEATD that is portable by design works already on FreeBSD and Linux and it meant as replacement to elogind.

Dec 16 2020, 5:37 PM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

With the changes proposed above the package builds, it contains several modules, but it cannot connect to input and cannot open a device what ends in not being able to create a compositor. As I have mentioned above sway and wayfire works fine here so we need to work more :-)

Dec 16 2020, 12:29 PM · Restricted Project, E on FreeBSD
cederom updated subscribers of T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Hello @Peter2121 can you please take a look and give some hints on how to evade clone / unshare / setns which are Linux only syscalls? Details above :-)

Dec 16 2020, 11:43 AM · Restricted Project, E on FreeBSD
cederom updated subscribers of T8867: drm enforces eeze.

ACK! I also prefer to patch upstream/master :-)

Dec 16 2020, 11:34 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Then we have src/modules/wl_drm/e_mod_main.c:

../src/modules/wl_drm/e_mod_main.c:786:17: error: use of undeclared identifier 'KEY_F1'
       (code >= KEY_F1) && (code <= KEY_F8))
                ^
../src/modules/wl_drm/e_mod_main.c:786:37: error: use of undeclared identifier 'KEY_F8'
       (code >= KEY_F1) && (code <= KEY_F8))
                                    ^
../src/modules/wl_drm/e_mod_main.c:791:22: error: use of undeclared identifier 'KEY_F1'
        vt = (code - KEY_F1 + 1);
                     ^
Dec 16 2020, 11:20 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Some more problems in src/modules/xwayland/dnd.c:

../src/modules/xwayland/dnd.c:463:20: warning: implicit declaration of function 'socketpair' is invalid in C99 [-Wimplicit-function-declaration]
               if (socketpair(AF_UNIX, (SOCK_STREAM | SOCK_CLOEXEC), 0, fds) != 0)
                   ^
../src/modules/xwayland/dnd.c:463:41: error: use of undeclared identifier 'SOCK_STREAM'
               if (socketpair(AF_UNIX, (SOCK_STREAM | SOCK_CLOEXEC), 0, fds) != 0)
                                        ^
../src/modules/xwayland/dnd.c:463:55: error: use of undeclared identifier 'SOCK_CLOEXEC'
               if (socketpair(AF_UNIX, (SOCK_STREAM | SOCK_CLOEXEC), 0, fds) != 0)
                                                      ^
../src/modules/xwayland/dnd.c:463:31: error: use of undeclared identifier 'AF_UNIX'
               if (socketpair(AF_UNIX, (SOCK_STREAM | SOCK_CLOEXEC), 0, fds) != 0)
                              ^
6 warnings and 3 errors generated.
Dec 16 2020, 11:17 AM · Restricted Project, E on FreeBSD
Peter2121 added a comment to T8867: drm enforces eeze.

When do you plan to push the patches to master and would they get to a next release and when is the next release planned?

Dec 16 2020, 11:07 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8867: drm enforces eeze.

When do you plan to push the patches to master and would they get to a next release and when is the next release planned?

Dec 16 2020, 10:35 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8867: drm enforces eeze.

Still the core question remains - if EEZE is a mandatory requirement for DRM? If not then DRM code does not respect meson configuration :-)

Dec 16 2020, 10:27 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Now its time to fight some bugs in Enlightenment :-) It recognizes EFL to have Wayland support which is a great success because that was a blocker. Some new issues shows up when building E with Wayland support :-)

Dec 16 2020, 10:24 AM · Restricted Project, E on FreeBSD
cederom renamed T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm. from FreeBSD: EFL-1.25.1 wayland+drm. to FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..
Dec 16 2020, 10:21 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8867: drm enforces eeze.

Thank you! This helped me a lot and progressed into a state where whole EFL builds on FreeBSD with active WL+DRM configuration. I have some issues with Enlightenment but I hope to solve them soon. Wayland and hikari/sway works on FreeBSD so I hope to work with my E here too :-)

Dec 16 2020, 10:19 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Now I have this: ../src/modules/ecore_evas/engines/drm/ecore_evas_drm.c:23:11: fatal error: 'Evas_Engine_GL_Drm.h' file not found. I guess that header is part of EFL?

Dec 16 2020, 9:24 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

After fixing the EEZE build problems, following linux related problems occur for WL+DRM build on FreeBSD. Are these really necessary? Can they be provided with EFL? Should we add them to FreeBSD?

Dec 16 2020, 9:22 AM · Restricted Project, E on FreeBSD
Peter2121 added a comment to T8867: drm enforces eeze.

I prefer that netstar test it and pushed himself. It seems that he changed my patches. Anyway, before push it should be tested :)

Dec 16 2020, 9:22 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8867: drm enforces eeze.

Peter updated me with a hint that EEZE can build on FreeBSD when libmount is disabled in meson and following patch applied on top of EFL-1.25.1. This is true! Thank you! :-)

Dec 16 2020, 9:07 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Replacing [engine_gl_drm] with [gl_deps] does seem to fix the meson issue [1] :-)

Dec 16 2020, 8:10 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

I have created a separate report for DRM enforcing EEZE although this EEZE is explicitly disabled with meson switch: https://phab.enlightenment.org/T8867

Dec 16 2020, 8:07 AM · Restricted Project, E on FreeBSD
cederom created T8867: drm enforces eeze.
Dec 16 2020, 8:06 AM · Restricted Project, E on FreeBSD

Dec 14 2020

cederom renamed T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm. from FreeBSD: EFL-1.25.1 wayland+drm meson eeze problem. to FreeBSD: EFL-1.25.1 wayland+drm..
Dec 14 2020, 1:57 PM · Restricted Project, E on FreeBSD
cederom updated the task description for T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..
Dec 14 2020, 1:39 PM · Restricted Project, E on FreeBSD
cederom renamed T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm. from FreeBSD: wayland+drm meson eeze problem. to FreeBSD: EFL-1.25.1 wayland+drm meson eeze problem..
Dec 14 2020, 1:38 PM · Restricted Project, E on FreeBSD