On 07/17/2014 10:20 AM, David Seikel wrote: > On Thu, 17 Jul 2014 08:55:17 -0400 Chris Michael > <[email protected]> wrote: > >> If you switch to using my e_comp_wl branch and have any problems after >> that, please let me know. >> >> You should note tho, that currently only Internal E Dialogs work >> (config dialogs, etc), any elementary apps (with >> ELM_ENGINE=wayland_shm), and any Wayland Demo Applications. >> >> In other words, running X11 applications (through the use of xwayland) >> is not entirely functional yet. I have code to enable XWayland, but >> the xwayland server itself is crashing at times and I have not sorted >> that out yet. > > OK, I guess now is not a good time for me to try switching to Wayland > then. >
Not just yet (if you still need X apps). I am hoping to sort out the XWayland issue this week (pending on the EGL issue I am currently facing). If I manage to sort out the XWayland problem soon, then it should be ok to switch after that. dh >> On 07/17/2014 08:43 AM, Gwanglim Lee wrote: >>> Hello, >>> >>> I'm using below configurations to build efl and enlightenment. >>> >>> efl >>> $ ./autogen.sh --with-opengl=es --enable-egl --enable-wayland >>> --enable-drm >>> >>> enlightenment >>> $ ./autogen.sh --enable-wayland-only --enable-wayland-clients >>> --enable-wl-drm --disable-shot --disable-xkbswitch >>> --disable-conf-randr --disable-everything --disable-wl-x11 >>> >>> README.wayland file in enlightenment source tree can give you >>> detailed instructions. >>> >>> And I recommend you to use devilhorn's development branch in >>> enlightenment. It is more stable than master. >>> >>> enlightenment >>> $ git checkout -b wayland-dev >>> remotes/origin/devs/devilhorns/e_comp_wl $ ./autogen.sh >>> --............. >>> >>> BR, >>> Gwanglim >>> >>> ------- Original Message ------- >>> Sender : Mariusz Bialonczyk<[email protected]> >>> Date : 2014-07-17 20:54 (GMT+09:00) >>> Title : [E-devel] e19 and wayland >>> >>> 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 >>> >>> 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. >>> >>> 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); >>> >>> 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, >>> >> >> ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
