On 10.06.2012 19:00, Bill Spitzak wrote:
In the newest git version, running under X11 without sudo, it no longer runs weston-desktop-shell. It tries 5 times and then gives up. Other clients such as the terminal works, but they are atop a black background that is never erased as you move windows around.

Running with debug produces the following output:

$ env WAYLAND_DEBUG=1 ./wayland-run.sh
[: 31: /var/lock: unexpected operator
[2012-06-10 09:54:23.151] weston 2012-06-10 09:54:23 5740623b38ec050e13be c3a13cc6cf0c30cd8005
[2012-06-10 09:54:23.151] initializing x11 backend
[2012-06-10 09:54:23.183] egl vendor: Mesa Project
[2012-06-10 09:54:23.183] egl extensions: EGL_MESA_drm_image
  EGL_WL_bind_wayland_display EGL_KHR_image_base EGL_KHR_image_pixmap
  EGL_KHR_image EGL_KHR_gl_renderbuffer_image EGL_KHR_surfaceless_gles1
EGL_KHR_surfaceless_gles2 EGL_KHR_surfaceless_opengl EGL_NOK_swap_region
  EGL_NOK_texture_from_pixmap EGL_NV_post_sub_buffer
[2012-06-10 09:54:23.183] gles2 extensions: GL_EXT_blend_minmax
  GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic
  GL_EXT_texture_format_BGRA8888 GL_OES_depth24 GL_OES_element_index_uint
  GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8
  GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D
  GL_OES_texture_npot GL_OES_EGL_image GL_OES_depth_texture
  GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV
  GL_EXT_read_format_bgra GL_NV_fbo_color_attachments
  GL_OES_EGL_image_external GL_EXT_unpack_subimage GL_NV_draw_buffers
[2012-06-10 09:54:23.262] x11 output 1024x640, window id 62914567
[366779.106]  -> [email protected](1, "wl_display", 1)
[366779.281]  -> [email protected](2, "wl_compositor", 1)
[366779.342]  -> [email protected](3, "wl_shm", 1)
[366779.393]  -> [email protected](4, "wl_drm", 1)
[366779.444]  -> [email protected](5, "screenshooter", 1)
[366779.491]  -> [email protected](6, "text_cursor_position", 1)
[366779.537]  -> [email protected](7, "wl_data_device_manager", 1)
[366779.584]  -> [email protected](8, "wl_output", 1)
[366779.631]  -> [email protected](9, "wl_seat", 1)
[366779.679]  -> [email protected](10, "wl_shell", 1)
[366779.725]  -> [email protected](11, "desktop_shell", 1)
[366779.770]  -> [email protected](12, "screensaver", 1)
[2012-06-10 09:54:23.331] libwayland: using socket /var/lock/wayland-0
[366789.718] [email protected](1, "wl_display", 1)
[366789.850] [email protected](2, "wl_compositor", 1)
[366789.888]  -> [email protected](2, "wl_compositor", 1, new id 2)
[366789.926] [email protected](3, "wl_shm", 1)
[366789.958]  -> [email protected](3, "wl_shm", 1, new id 3)
[366789.995] [email protected](4, "wl_drm", 1)
[366790.026] [email protected](5, "screenshooter", 1)
[366790.058] [email protected](6, "text_cursor_position", 1)
[366790.092] -> [email protected](6, "text_cursor_position", 1, new id 4)
[366790.130] [email protected](7, "wl_data_device_manager", 1)
[366790.162] -> [email protected](7, "wl_data_device_manager", 1, new id 5)
[366790.199] [email protected](8, "wl_output", 1)
[366790.231]  -> [email protected](8, "wl_output", 1, new id 6)
[366790.270] [email protected](9, "wl_seat", 1)
[366790.302]  -> [email protected](9, "wl_seat", 1, new id 7)
[366790.342] -> [email protected]_data_device(new id 8, wl_seat@7)
[366790.368] [email protected](10, "wl_shell", 1)
[366790.399]  -> [email protected](10, "wl_shell", 1, new id 9)
[366790.437] [email protected](11, "desktop_shell", 1)
[366790.468] [email protected](12, "screensaver", 1)
[366790.900]  -> [email protected]_pool(new id 10, fd 5, 4096)
[366791.783]  -> [email protected](12288)
[366792.198]  -> [email protected](28672)
[366792.922]  -> [email protected](61440)
[366799.824]  -> [email protected](126976)
[366800.081]  -> [email protected](258048)
[366806.146]  -> [email protected](520192)
[366816.191]  -> [email protected](1044480)
[366864.405]  -> [email protected](8, "wl_output", 1, new id 11)
[366864.477]  -> [email protected](11, "desktop_shell", 1, new id 12)
[366864.517]  -> [email protected]_surface(new id 13)
[366864.536]  -> [email protected]_shell_surface(new id 14, wl_surface@13)
[366864.575]  -> [email protected]_title("panel")
[366864.598] -> [email protected]_panel(wl_output@11, wl_shell_surface@14)
[366864.625]  -> [email protected]_surface(new id 15)
[366864.645]  -> [email protected]_shell_surface(new id 16, wl_surface@15)
[366864.670] -> [email protected]_background(wl_output@11, wl_shell_surface@16)
[366864.697]  -> [email protected]_surface(new id 17)
[366864.715]  -> [email protected]_shell_surface(new id 18, wl_surface@17)
[366864.741]  -> [email protected]_busy_surface(wl_surface@17)
[366883.705] [email protected](2, "wl_compositor", 1, new id 2)
[366883.817] [email protected](3, "wl_shm", 1, new id 3)
[366883.884]  -> [email protected](0)
[366883.911]  -> [email protected](1)
[366883.938] [email protected](6, "text_cursor_position", 1, new id 4)
[366884.005] [email protected](7, "wl_data_device_manager", 1, new id 5)
[366884.066] [email protected](8, "wl_output", 1, new id 6)
[366884.130] -> [email protected](0, 0, 1024, 640, 0, "(null)", "(null)")
[366884.220]  -> [email protected](3, 1024, 640, 60000)
[366884.281] [email protected](9, "wl_seat", 1, new id 7)
[366884.342]  -> [email protected](3)
[366884.369] [email protected]_data_device(new id 8, wl_seat@7)
[366884.410] [email protected](10, "wl_shell", 1, new id 9)
[366884.483] [email protected]_pool(new id 10, fd 20, 4096)
[366884.555] [email protected](12288)
[366884.608] [email protected](28672)
[366884.645] [email protected](61440)
[366884.680] [email protected](126976)
[366884.715] [email protected](258048)
[366884.751] [email protected](520192)
[366884.786] [email protected](1044480)
[366884.824] [email protected](8, "wl_output", 1, new id 11)
[366884.886] -> [email protected](0, 0, 1024, 640, 0, "(null)", "(null)")
[366884.981]  -> [email protected](3, 1024, 640, 60000)
[366885.051] [email protected](11, "desktop_shell", 1, new id 12)
[366885.125] [email protected]_surface(new id 13)
[366885.175] [email protected]_shell_surface(new id 14, wl_surface@13)
[366885.248] [email protected]_title("panel")
[366885.288] [email protected]_panel(wl_output@11, wl_shell_surface@14) [366885.335] -> [email protected](0, wl_shell_surface@14, 1024, 640)
[366885.403] [email protected]_surface(new id 15)
[366885.441] [email protected]_shell_surface(new id 16, wl_surface@15)
[366885.496] [email protected]_background(wl_output@11, wl_shell_surface@16) [366885.541] -> [email protected](0, wl_shell_surface@16, 1024, 640)
[366885.606] [email protected]_surface(new id 17)
[366885.642] [email protected]_shell_surface(new id 18, wl_surface@17)
[366885.689] [email protected]_busy_surface(wl_surface@17)
[366886.015] [email protected](0, 0, 1024, 640, 0, "(null)", "(null)")
[366886.173] [email protected](3, 1024, 640, 60000)
[366886.238] [email protected](3)
[366886.275]  -> [email protected]_pointer(new id 19)
[366886.303]  -> [email protected]_keyboard(new id 20)
[366886.331] [email protected](0, wl_shell_surface@14, 1024, 640) [366886.403] [email protected](0, wl_shell_surface@16, 1024, 640)
[366886.526] [email protected]_pointer(new id 19)
[366886.585] [email protected]_keyboard(new id 20)
[366886.624] -> [email protected]_pool([366886.628] -> [email protected](new id 211, , fd 6fd 20, , 262144039939)
)
[366886.718] -> [email protected]_buffer(new id 22, 0, 1024, 640, 4096, 0)
[366897.753]  -> [email protected](wl_buffer@22, 0, 0)
[366897.824]  -> [email protected](0, 0, 1024, 640)
[366897.862]  -> [email protected]()
[366898.234]  -> [email protected]()
[366898.255]  -> [email protected](new id 23)
read error from connection 0x82fae30: Connection reset by peer (104)
[2012-06-10 09:54:23.499] libwayland: disconnect from client 0x8285ec0
[2012-06-10 09:54:23.500] weston-desktop-shell died, respawning...

... this then repeats for all the attempts to run the desktop. I am unsure if the repeats are identical but it seems unlikely they provide more information...
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel
I had simillar problem and the thing that crashed was the clock in the desktop-shell. I didn't have weston.ini and clock was not created, which caused segfault of desktop-shell. I sent patch to mailing list that fixes that. It is because clock creation is in the "launcher_section_done" handler which is not run, when there is no config.

Rafal

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to