On Sat, 29 Jun 2019 09:57:37 +1000 Daniel Kasak <d.j.kasak...@gmail.com> said:
> Hi all. > > I've been battling with my lack of knowledge for a while now ... trying to > bring up E on Wayland ( which I *have* been able to do in the past ). After > the autotools removal, I've removed all my E git repos and old compiled > stuff ( /opt/e22 in my case ) and began again with new build scripts ( see > below ). I've manage to build binaries that don't segfault when starting a > Wayland session, so that's different from my previous problem. However I > still can't start a Wayland session - either as myself or as root. I *can* > start a Weston session. Also, if I build efl *without* the: > -Ddrm-deprecated=True \ > -Dwl-deprecated=True \ > options, then the configure process tells me that support for DRM and > Wayland are disabled. I'm not sure why that would be - I run a > bleeding-edge Gentoo system, and install Wayland and DRM stuff from git. https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=efl-git :) no deprecated stuff. -Ddrm=true -Dwl=true is what u want. i think the issue is you are using the old unmaintained deprecated stuff and thus confusion as to what is going on even... now i know. :) > I've found one post on Phoronix where someone had a similar issue to me, > and Raster suggested it might be a permissions thing. That's *possible* in > my case for my own user, but I would have expected root to be able to > access all devices ( though admittedly some desperate measures were taken > on this installation at one point - I had to tar up all remaining files and > do an awkward bootstrap/reinstall after a hard lockup broke my root > filesystem ... but I thought device nodes + permissions where dynamic these > days ). My /dev/fb0 permissions appear correct: fb0 is fbcon - ancnient thing. nothing to do with wayland support really - we're doing that on drm/kms which doesnt use fbcon... see also: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=enlightenment-git a simple -Dwayland=true :) As long as systemd/logind is taking care of a login session and getting input devices it should work. i use arch and systemd is set up right there and works. i can't know for gentoo due to the anti-systemd crowd there as to what your system uses and how well its tested or set up. your mileage may vary.i just don't know. i *DO* know that it does work... for me. on arch. :) even on arch for arm on my rpi3 :) > dkasak@nanginator ~ $ ls -l /dev/fb0 > crw-rw---- 1 root video 29, 0 Jun 29 09:26 /dev/fb0 > dkasak@nanginator ~ $ groups > wheel audio video kvm realtime render docker dkasak > dkasak@nanginator ~ $ > > Anyway, I've set EINA_LOG_LEVEL=4 and run 'enlightenment_start', and the > output is: > https://tesla.duckdns.org/downloads/e_start.log > > The relevant part of this log appears to be: > > --- > > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:284 > eina_module_new() m=0x561cbaa926c0, > file=/opt/e22/lib64/evas/modules/engines/gl_generic/v-1.22/module.so > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:312 > eina_module_load() m=0x561cbaa926c0, handle=(nil), > file=/opt/e22/lib64/evas/modules/engines/gl_generic/v-1.22/module.so, > refs=0 > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:346 > eina_module_load() successfully loaded > /opt/e22/lib64/evas/modules/engines/gl_generic/v-1.22/module.so > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:350 eina_module_load() > ref 1 DBG<7021>:eina_mempool ../src/lib/eina/eina_mempool.c:263 > eina_mempool_add() name=chained_mempool, > context=Evas_Thread_Command_Rect, options= > DBG<7021>:eina_mempool ../src/lib/eina/eina_mempool.c:270 > eina_mempool_add() name=chained_mempool, > context=Evas_Thread_Command_Rect, options=, mp=0x561cbaa92390 > DBG<7021>:eina_mempool ../src/lib/eina/eina_mempool.c:263 > eina_mempool_add() name=chained_mempool, > context=Evas_Thread_Command_Line, options= > DBG<7021>:eina_mempool ../src/lib/eina/eina_mempool.c:270 > eina_mempool_add() name=chained_mempool, > context=Evas_Thread_Command_Line, options=, mp=0x561cbaa92280 > DBG<7021>:eina_mempool ../src/lib/eina/eina_mempool.c:263 > eina_mempool_add() name=chained_mempool, > context=Evas_Thread_Command_Polygon, options= > DBG<7021>:eina_mempool ../src/lib/eina/eina_mempool.c:270 > eina_mempool_add() name=chained_mempool, > context=Evas_Thread_Command_Polygon, options=, mp=0x561cbaa92170 > DBG<7021>:eina_mempool ../src/lib/eina/eina_mempool.c:263 > eina_mempool_add() name=chained_mempool, > context=Evas_Thread_Command_Image, options= > DBG<7021>:eina_mempool ../src/lib/eina/eina_mempool.c:270 > eina_mempool_add() name=chained_mempool, > context=Evas_Thread_Command_Image, options=, mp=0x561cbaa92060 > DBG<7021>:eina_mempool ../src/lib/eina/eina_mempool.c:263 > eina_mempool_add() name=chained_mempool, > context=Evas_Thread_Command_Font, options= > DBG<7021>:eina_mempool ../src/lib/eina/eina_mempool.c:270 > eina_mempool_add() name=chained_mempool, > context=Evas_Thread_Command_Font, options=, mp=0x561cbaa91f50 > DBG<7021>:eina_mempool ../src/lib/eina/eina_mempool.c:263 > eina_mempool_add() name=chained_mempool, > context=Evas_Thread_Command_Map, options= > DBG<7021>:eina_mempool ../src/lib/eina/eina_mempool.c:270 > eina_mempool_add() name=chained_mempool, > context=Evas_Thread_Command_Map, options=, mp=0x561cbaa91e40 > DBG<7021>:eina_mempool ../src/lib/eina/eina_mempool.c:263 > eina_mempool_add() name=chained_mempool, > context=Evas_Thread_Command_Multi_Font, options= > DBG<7021>:eina_mempool ../src/lib/eina/eina_mempool.c:270 > eina_mempool_add() name=chained_mempool, > context=Evas_Thread_Command_Multi_Font, options=, mp=0x561cbaa91c20 > DBG<7021>:eina_mempool ../src/lib/eina/eina_mempool.c:263 > eina_mempool_add() name=chained_mempool, > context=Evas_Thread_Command_Ector, options= > DBG<7021>:eina_mempool ../src/lib/eina/eina_mempool.c:270 > eina_mempool_add() name=chained_mempool, > context=Evas_Thread_Command_Ector, options=, mp=0x561cbaa91b10 > DBG<7021>:eina_mempool ../src/lib/eina/eina_mempool.c:263 > eina_mempool_add() name=chained_mempool, > context=Evas_Thread_Command_Ector_Surface, options= > DBG<7021>:eina_mempool ../src/lib/eina/eina_mempool.c:270 > eina_mempool_add() name=chained_mempool, > context=Evas_Thread_Command_Ector_Surface, options=, mp=0x561cbaa91a00 > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:284 > eina_module_new() m=0x561cbaa927d0, > file=/opt/e22/lib64/ecore_wl2/engines/dmabuf/v-1.22/module.so > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:569 > eina_module_list_load() array 0x561cbaa16e80, count 1 > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:312 > eina_module_load() m=0x561cbaa927d0, handle=(nil), > file=/opt/e22/lib64/ecore_wl2/engines/dmabuf/v-1.22/module.so, refs=0 > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:346 > eina_module_load() successfully loaded > /opt/e22/lib64/ecore_wl2/engines/dmabuf/v-1.22/module.so > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:350 eina_module_load() > ref 1 WRN<7021>:ecore_evas > ../src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c:2497 > _ecore_evas_wl_common_new_internal() Failed to connect to Wayland > Display (null) > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:584 > eina_module_list_unload() array 0x561cbaa16e80, count 1 > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:364 > eina_module_unload() m=0x561cbaa927d0, handle=0x561cba9045e0, > file=/opt/e22/lib64/ecore_wl2/engines/dmabuf/v-1.22/module.so, refs=1 > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:375 > eina_module_unload() unloaded module > /opt/e22/lib64/ecore_wl2/engines/dmabuf/v-1.22/module.so > INF<7021>:ecore_evas ../src/lib/ecore_evas/ecore_evas.c:1072 > ecore_evas_new() using engine 'wayland_shm', extra_options=(null) > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:284 > eina_module_new() m=0x561cbaa928e0, > file=/opt/e22/lib64/evas/modules/engines/wayland_shm/v-1.22/module.so > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:312 > eina_module_load() m=0x561cbaa928e0, handle=(nil), > file=/opt/e22/lib64/evas/modules/engines/wayland_shm/v-1.22/module.so, > refs=0 > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:346 > eina_module_load() successfully loaded > /opt/e22/lib64/evas/modules/engines/wayland_shm/v-1.22/module.so > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:350 eina_module_load() > ref 1 DBG<7021>:eina_module ../src/lib/eina/eina_module.c:284 > eina_module_new() m=0x561cbaa915c0, > file=/opt/e22/lib64/ecore_wl2/engines/dmabuf/v-1.22/module.so > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:569 > eina_module_list_load() array 0x561cbaa16d90, count 1 > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:312 > eina_module_load() m=0x561cbaa915c0, handle=(nil), > file=/opt/e22/lib64/ecore_wl2/engines/dmabuf/v-1.22/module.so, refs=0 > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:346 > eina_module_load() successfully loaded > /opt/e22/lib64/ecore_wl2/engines/dmabuf/v-1.22/module.so > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:350 eina_module_load() > ref 1 WRN<7021>:ecore_evas > ../src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c:2497 > _ecore_evas_wl_common_new_internal() Failed to connect to Wayland > Display (null) > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:584 > eina_module_list_unload() array 0x561cbaa16d90, count 1 > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:364 > eina_module_unload() m=0x561cbaa915c0, handle=0x561cba9045e0, > file=/opt/e22/lib64/ecore_wl2/engines/dmabuf/v-1.22/module.so, refs=1 > DBG<7021>:eina_module ../src/lib/eina/eina_module.c:375 > eina_module_unload() unloaded module > /opt/e22/lib64/ecore_wl2/engines/dmabuf/v-1.22/module.so > Could not create wayland canvas > DBG<7021>:eo ../src/lib/eo/eo_base_class.c:2178 > _efl_object_destructor() 0x40000000815b - Efl.Loop_Timer. > DBG<7021>:eo ../src/lib/eo/eo_base_class.c:2163 > _efl_object_constructor() 0x40000000855c - Efl.Loop_Timer. > LOAD WL_X11 MODULE > X11 connect failed! > DBG<7021>:eo ../src/lib/eo/eo_base_class.c:2163 > _efl_object_constructor() 0x40000000895d - Efl.Loop_Timer. > DBG<7021>:eo ../src/lib/eo/eo_base_class.c:2178 > _efl_object_destructor() 0x40000000855c - Efl.Loop_Timer. > DBG<7021>:eo ../src/lib/eo/eo_base_class.c:2163 > _efl_object_constructor() 0x400000008d5e - Efl.Loop_Timer. > <<<< Enlightenment Error >>>> > Enlightenment cannot create a compositor. > > E: Begin Shutdown Procedure! > > --- > > > Any help greatly appreciated ... > > Dan > > --- > > export LIBRAW_CFLAGS=-I/usr/include/libraw > export PKG_CONFIG_PATH=/opt/e22/lib/pkgconfig > export CFLAGS="-O3 -g3 -march=native -ffast-math -fvisibility=hidden -W > -Wall -Wextra -Wshadow -Wstrict-prototypes" > > ##### > # efl > > cd efl > > rm -rf build > > meson --prefix=/opt/e22 \ > -Dopengl=es-egl \ > -Dxinput22=True \ > -Dbuffer=True \ > -Dfb=True \ > -Ddrm=True \ > -Ddrm-deprecated=True \ > -Dharfbuzz=True \ > -Dwl=True \ > -Dwl-deprecated=True \ > -Dnetwork-backend=connman \ > -Devas-loaders-disabler=json \ > -Davahi=True \ > -Dphysics=True \ > -Deeze=True \ > -Doptimization=3 \ > . build > > # -Dxgesture=True \ > # -Dbuildtype=release \ > # -Ddebug=False \ > > ninja -j 10 -C build > ninja -C build install > > cd .. > > --- > > export LIBRAW_CFLAGS=-I/usr/include/libraw > export PKG_CONFIG_PATH=/opt/e22/lib64/pkgconfig > export CFLAGS="-O3 -g3 -march=native -ffast-math -fvisibility=hidden -W > -Wall -Wextra -Wshadow -Wstrict-prototypes" > export PACKAGE_BIN_DIR=/opt/e22 > > #export CC="/usr/lib/llvm/7/bin/clang" > #export CXX="/usr/lib/llvm/7/bin/clang++" > > ############### > # enlightenment > > cd enlightenment > > rm -rf build > > meson --prefix=/opt/e22 \ > -Dincludedir=/opt/e22 \ > -Dwayland=True \ > -Dsystemd=True \ > -Doptimization=3 \ > . build > > # -Dbuildtype=release \ > # -Ddebug=False \ > > ninja -C build > ninja -C build install > > cd .. > > --- > > _______________________________________________ > enlightenment-users mailing list > enlightenment-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- Carsten Haitzler - ras...@rasterman.com _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users