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,
-- 
Mariusz Białończyk | xmpp/e-mail: ma...@skyboo.net
http://manio.skyboo.net | https://github.com/manio
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.

Thread 2 (Thread 0xb592bb40 (LWP 5013)):
#0  0xb779a424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7398c4b in pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
No locals.
#2  0xb7245c7e in eina_condition_wait (cond=0xb734b6e0 
<evas_thread_queue_condition>) at ../src/lib/eina/eina_inline_lock_posix.x:355
No locals.
#3  evas_thread_worker_func (data=0x0, thread=3046292288) at 
lib/evas/common/evas_thread_render.c:75
        cmd = <optimized out>
        len = <optimized out>
        max = <optimized out>
        __FUNCTION__ = "evas_thread_worker_func"
        __PRETTY_FUNCTION__ = "evas_thread_worker_func"
#4  0xb73dd61d in _eina_internal_call (context=0x9c6d318) at 
lib/eina/eina_thread.c:336
        c = 0x9c6d318
        r = <optimized out>
#5  0xb7394efb in start_thread (arg=0xb592bb40) at pthread_create.c:309
        __res = <optimized out>
        pd = 0xb592bb40
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1220907008, -1248675008, 
4001536, -1248677400, 680011455, 2138560186}, mask_was_saved = 0}}, priv = {pad 
= {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#6  0xb6c47fee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
No locals.

Thread 1 (Thread 0xb5ad6940 (LWP 5012)):
#0  0xb63040f0 in XUngrabPointer () from /usr/lib/i386-linux-gnu/libX11.so.6
No symbol table info available.
#1  0xb6d2ab2c in ecore_x_pointer_ungrab () at lib/ecore_x/xlib/ecore_x.c:1579
No locals.
#2  0x081255d8 in e_sigseg_act (x=11, info=0xbf9b55dc, data=0xbf9b565c) at 
src/bin/e_signals.c:70
No locals.
#3  <signal handler called>
No symbol table info available.
#4  0xb6d2a451 in ecore_x_window_root_first_get () at 
lib/ecore_x/xlib/ecore_x.c:1287
No locals.
#5  0x0812559f in _e_x_composite_shutdown () at src/bin/e_signals.c:25
        root = <optimized out>
#6  0x08125693 in _e_x_composite_shutdown () at src/bin/e_signals.c:21
No locals.
#7  e_sigabrt_act (x=6, info=0xbf9b570c, data=0xbf9b578c) at 
src/bin/e_signals.c:125
No locals.
#8  <signal handler called>
No symbol table info available.
#9  0xb779a424 in __kernel_vsyscall ()
No symbol table info available.
#10 0xb6b8c527 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
        resultvar = <optimized out>
        resultvar = <optimized out>
        pid = -1227862016
        selftid = 5012
#11 0xb6b8dbe3 in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0xb6000000 
<btConvexShape::getAabbNonVirtual(btTransform const&, btVector3&, btVector3&) 
const+1056>, sa_sigaction = 0xb6000000 
<btConvexShape::getAabbNonVirtual(btTransform const&, btVector3&, btVector3&) 
const+1056>}, sa_mask = {__val = {0, 3065541497, 3066712883, 163880980, 
4294967295, 0, 1432317541, 1414868563, 4294967295, 3065845765, 164115464, 
167801408, 3071242048, 3071242127, 4, 3067109700, 3065648155, 3067105280, 
3066816121, 2980197273, 3067106336, 3065821822, 3067107680, 3066816121, 1, 
3067105280, 3066805290, 3067105280, 3067107680, 0, 3, 4096}}, sa_flags = 
-1228654312, sa_restorer = 0xb6d05000}
        sigs = {__val = {32, 0 <repeats 31 times>}}
#12 0xb6b858a7 in __assert_fail_base (fmt=0xb6cc01d4 "%s%s%s:%u: %s%sAssertion 
`%s' failed.\n%n", assertion=assertion@entry=0xb1a23399 "_eh", 
file=file@entry=0xb1a2337c "src/modules/fileman/e_fwin.c", line=line@entry=940, 
function=function@entry=0xb1a23a38 <__PRETTY_FUNCTION__.47185> 
"_e_fwin_icon_mouse_in") at assert.c:92
        str = 0xa13c5e0 "PTжPTжnment: src/modules/fileman/e_fwin.c:940: 
_e_fwin_icon_mouse_in: Assertion `_eh' failed.\n"
        total = 4096
#13 0xb6b85957 in __GI___assert_fail (assertion=0xb1a23399 "_eh", 
file=0xb1a2337c "src/modules/fileman/e_fwin.c", line=940, function=0xb1a23a38 
<__PRETTY_FUNCTION__.47185> "_e_fwin_icon_mouse_in") at assert.c:101
No locals.
#14 0xb1a19128 in _e_fwin_icon_mouse_in (data=0xa007240, obj=0x800944a5, 
event_info=0xa077880) at src/modules/fileman/e_fwin.c:941
        _eh = <optimized out>
        obj = 0x800944a5
        event_info = 0xa077880
        data = 0xa007240
        fwin = 0xa007240
        ici = 0xa077880
#15 0xb71912be in _eo_evas_smart_cb (data=0xa02b990, eo_obj=0x800944a5, 
desc=0x9fff8a0, event_info=0xa077880) at lib/evas/canvas/evas_object_smart.c:65
        info = 0xa02b990
#16 0xb6faf434 in _eo_base_event_callback_call (obj_id=0x800944a5, 
pd=0x9ec5048, desc=0x9fff8a0, event_info=0xa077880) at 
lib/eo/eo_base_class.c:705
        ret = 0 '\000'
#17 0xb6faddcc in eo_event_callback_call (desc=0x9fff8a0, event_info=0xa077880) 
at lib/eo/eo_base.eo.c:94
        _r = <optimized out>
        call = {obj = 0x800944a5, klass = 0x4000000d, func = 0xb6faf290 
<_eo_base_event_callback_call>, data = 0x9ec5048}
        op = 4
        _func_ = 0xb6faf290 <_eo_base_event_callback_call>
#18 0xb71931fc in evas_object_smart_callback_call (eo_obj=0x800944a5, 
event=0x0, event_info=0xa077880) at lib/evas/canvas/evas_object_smart.c:786
        _eoid_ = 0x800944a5
        eo_desc = 0x9fff8a0
        __FUNCTION__ = "evas_object_smart_callback_call"
#19 0xb7146de5 in _eo_evas_object_cb (data=0xa086e88, eo_obj=0x800c9e53, 
desc=0xb7331664 <_EVAS_OBJECT_EVENT_MOUSE_IN>, event_info=0xbf9b5fd0) at 
lib/evas/canvas/evas_callbacks.c:80
        info = 0xa086e88
#20 0xb6faf434 in _eo_base_event_callback_call (obj_id=0x800c9e53, 
pd=0xa084a60, desc=0xb7331664 <_EVAS_OBJECT_EVENT_MOUSE_IN>, 
event_info=0xbf9b5fd0) at lib/eo/eo_base_class.c:705
        ret = 83 'S'
#21 0xb6faddcc in eo_event_callback_call (desc=0xb7331664 
<_EVAS_OBJECT_EVENT_MOUSE_IN>, event_info=0xbf9b5fd0) at lib/eo/eo_base.eo.c:94
        _r = <optimized out>
        call = {obj = 0x800c9e53, klass = 0x4000000f, func = 0xb6faf290 
<_eo_base_event_callback_call>, data = 0xa084a60}
        op = 4
        _func_ = 0xb6faf290 <_eo_base_event_callback_call>
#22 0xb7147354 in evas_object_event_callback_call (eo_obj=0x800c9e53, 
obj=0xa084a80, type=EVAS_CALLBACK_MOUSE_IN, event_info=0xbf9b5fd0, 
event_id=22062) at lib/evas/canvas/evas_callbacks.c:252
        _eoid_ = 0x800c9e53
        e = 0x9d27158
        __FUNCTION__ = "evas_object_event_callback_call"
#23 0xb71473b8 in evas_object_event_callback_call (eo_obj=0x800cc265, 
obj=0xa086968, type=EVAS_CALLBACK_MOUSE_IN, event_info=0xbf9b5fd0, 
event_id=22062) at lib/evas/canvas/evas_callbacks.c:272
        smart_parent = 0x0
        e = 0x9d27158
        __FUNCTION__ = "evas_object_event_callback_call"
#24 0xb7151aa5 in _canvas_event_feed_mouse_move_internal (eo_e=0x0, _pd=0x6, 
x=378, y=77, timestamp=756001713, data=0x0) at 
lib/evas/canvas/evas_events.c:1696
        obj = 0xa086968
        ev2 = {buttons = 0, output = {x = 378, y = 77}, canvas = {x = 378, y = 
77}, data = 0x0, modifiers = 0x9d27374, locks = 0x9d27384, timestamp = 
756001713, event_flags = EVAS_EVENT_FLAG_NONE, dev = 0x0, event_src = 
0xb7128fc8}
        ev = {buttons = 0, cur = {output = {x = 378, y = 77}, canvas = {x = 
378, y = 77}}, prev = {output = {x = 0, y = 0}, canvas = {x = 0, y = 0}}, data 
= 0x0, modifiers = 0x9d27374, locks = 0x9d27384, timestamp = 756001713, 
event_flags = EVAS_EVENT_FLAG_NONE, dev = 0x0, event_src = 0x0}
        ev3 = {buttons = 0, output = {x = 378, y = 77}, canvas = {x = 378, y = 
77}, data = 0x0, modifiers = 0x9d27374, locks = 0x9d27384, timestamp = 
756001713, event_flags = EVAS_EVENT_FLAG_NONE, dev = 0x0, event_src = 
0xb70be9fd}
#25 0xb715bfd2 in evas_canvas_event_input_mouse_move (x=378, y=77, 
timestamp=756001713, data=0x0) at ../src/lib/evas/canvas/evas_canvas.eo.c:204
        call = {obj = 0x80004222, klass = 0x40000009, func = 0xb7156360 
<_evas_canvas_event_input_mouse_move>, data = 0x9d27158}
        op = 114
        _func_ = 0xb7156360 <_evas_canvas_event_input_mouse_move>
#26 0xb716116c in evas_event_input_mouse_move (obj=0x80004222, x=378, y=77, 
timestamp=756001713, data=0x0) at ../src/lib/evas/canvas/evas_canvas.eo.c:879
        _eoid_ = 0x80004222
        __FUNCTION__ = "evas_event_input_mouse_move"
#27 0xb70c3b7b in _ecore_evas_mouse_move_process (ee=0x9d22398, x=378, y=77, 
timestamp=756001713) at lib/ecore_evas/ecore_evas.c:3118
        fx = 0
        fy = 0
        fw = 0
        fh = 0
#28 0xb77798bd in ecore_event_evas_mouse_move (data=0x0, type=176, 
event=0xa1739e8) at lib/ecore_input_evas/ecore_input_evas.c:446
        e = 0xa1739e8
        lookup = <optimized out>
#29 0xb70eb98e in _ecore_call_handler_cb (event=<optimized out>, 
type=<optimized out>, data=<optimized out>, func=<optimized out>) at 
lib/ecore/ecore_private.h:359
No locals.
#30 _ecore_event_call () at lib/ecore/ecore_events.c:562
        ret = 0 '\000'
        handle_count = -1223578032
        eh = 0xa15c9b8
#31 0xb70f2e71 in _ecore_main_loop_iterate_internal 
(once_only=once_only@entry=0) at lib/ecore/ecore_main.c:2034
        next_time = <optimized out>
#32 0xb70f3197 in ecore_main_loop_begin () at lib/ecore/ecore_main.c:1037
No locals.
#33 0x08078111 in main (argc=1, argv=0xbfa0c044) at src/bin/e_main.c:1017
        safe_mode = <optimized out>
        after_restart = <optimized out>
        waslocked = <optimized out>
        t = <optimized out>
        tstart = <optimized out>
        s = <optimized out>
        buff = "1405210297.5", '\000' <repeats 19 times>
        action = {__sigaction_handler = {sa_handler = 0x8125680 
<e_sigabrt_act>, sa_sigaction = 0x8125680 <e_sigabrt_act>}, sa_mask = {__val = 
{0 <repeats 32 times>}}, sa_flags = -1073741820, sa_restorer = 0x0}
        __FUNCTION__ = "main"
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
The program is not being run.
------------------------------------------------------------------------------
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

Reply via email to