On 07/17/2014 10:59 PM, Carsten Haitzler (The Rasterman) wrote: > On Thu, 17 Jul 2014 13:54:36 +0200 Mariusz Bialonczyk <ma...@skyboo.net> said: > >> Hello devs, >> I hope it's ok to ask you directly here about some wayland issues. >> Last time I decided to give my enlightenment a try and run it under wayland >> on my laptop. >> I have debian sid. Wayland/weston is from debian, and efl, enlightenment (and >> also elementary) is from latest git. >> I have intel i915 graphics and my weston-launch seems to working ok. >> >> I've configured it as follows: >> efl: >> ./configure --enable-drm --enable-wayland >> enlightenment: >> ./configure --enable-wayland-clients --enable-wl-drm >> >> I've got some small build problems - I had to manually enter the header file, >> because complation fails with missing header file: >> >> diff --git a/src/bin/e.h b/src/bin/e.h >> index e430a5a..92a1666 100644 >> --- a/src/bin/e.h >> +++ b/src/bin/e.h >> @@ -124,7 +124,7 @@ void *alloca (size_t); >> # endif >> >> # ifdef HAVE_WAYLAND >> -# include <Ecore_Wayland.h> >> +# include "/usr/local/include/ecore-wayland-1/Ecore_Wayland.h" >> # include <uuid.h> >> # endif > > this looks wrong. did you forget to have your PKG_CONFIG_PATH fixed? > >> After this I was able to successfully build it. >> >> Then i've invoked enlightenment_start and it is constantly crashing in a loop >> (crash, start wayland, crash, wayland start and so on). So I did ctrl-c and >> I can see that it is segfaulting: >> [ 271.405332] enlightenment[3640]: segfault at 8c ip b6c80451 sp bfaf01dc >> error 4 in libecore_x.so.1.10.99[b6c69000+49000] [ 276.880483] enlightenment >> [3654]: segfault at 8c ip b6ceb451 sp bfd7415c error 4 in >> libecore_x.so.1.10.99[b6cd4000+49000] [ 278.512060] enlightenment[3666]: >> segfault at 8c ip b6cea451 sp bfd1049c error 4 in libecore_x.so.1.10.99 >> [b6cd3000+49000] >> >> I am attaching a (somehow weird) .e-crashdump.txt from my home dir. > > that bt says that your enlightenment is still built for x11... how it got that > far, i don't know. > >> After some debugging I finally managed my e to start ... >> It seems the problem is in the e_scale. I had to disable the following call: >> diff --git a/src/bin/e_scale.c b/src/bin/e_scale.c >> index 675200b..1b4e5f1 100644 >> --- a/src/bin/e_scale.c >> +++ b/src/bin/e_scale.c >> @@ -42,7 +42,7 @@ e_scale_update(void) >> e_scale = e_config->scale.min; >> } >> elm_config_scale_set(e_scale); >> - elm_config_all_flush(); >> +// elm_config_all_flush(); >> edje_scale_set(e_scale); >> snprintf(buf, sizeof(buf), "%1.3f", e_scale); >> e_util_env_set("E_SCALE", buf); >>
I fixed the Above elm issue today with a push to elementary so you need not worry about this bit anymore dh >> And e is starting. The splash screen is not centered and I can see some >> window >> placement problems, but at last it starts :) >> Any movement to any desktop icon crashes it (maybe it's because the window >> popup?): >> [ 1280.152087] enlightenment[6004]: segfault at 4d0 ip b62e3104 sp bf8990c0 >> error 4 in libX11.so.6.3.0[b62ac000+134000] [ 1284.644389] enlightenment >> [6048]: segfault at 4d0 ip b6316104 sp bfbed740 error 4 in libX11.so.6.3.0 >> [b62df000+134000] [ 1288.867726] enlightenment[6074]: segfault at 4d0 ip >> b6265104 sp bfd9cc00 error 4 in libX11.so.6.3.0[b622e000+134000] >> [ 1293.999692] enlightenment[6100]: segfault at 4d0 ip b630e104 sp bff4e800 >> error 4 in libX11.so.6.3.0[b62d7000+134000] [ 1368.316793] enlightenment >> [6126]: segfault at 4d0 ip b62e7104 sp bfa62e40 error 4 in libX11.so.6.3.0 >> [b62b0000+134000] [ 1387.351535] enlightenment[6152]: segfault at 8c ip >> b6d37451 sp bfc9d5dc error 4 in libecore_x.so.1.10.99[b6d20000+49000] >> [ 1399.280932] enlightenment[6185]: segfault at 4d0 ip b62f2104 sp bfb4d540 >> error 4 in libX11.so.6.3.0[b62bb000+134000] >> >> Is it normal that it is such unstable currently under wayland? >> Do you think I should have a wayland from git (not from debian)? >> Or maybe I have to try the EGL instead of drm? >> >> regards, >> -- >> Mariusz Białończyk | xmpp/e-mail: ma...@skyboo.net >> http://manio.skyboo.net | https://github.com/manio > > ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel