Compiling Newest Wayland on Ubuntu 12.04 Precise

Scott Moreau oreaus at gmail.com
Wed Jul 25 00:45:42 PDT 2012


>
> xwayland failed to build:
>
> checking for SHA1 implementation... configure: error: No suitable SHA1
> implementation found
>
> I disabled xwayland, though I am interested in it.
>

You might need to install openssl development package for your distro.


>
> I then tried to run wayland and (after copying the new wayland.ini to
> ~/.config) I got the following errors and it did not work:
>
> Date: 2012-07-24 PDT
> [23:19:50.189] weston 0.95.0
>                http://wayland.freedesktop.org/
>                Bug reports to:
> https://bugs.freedesktop.org/enter_bug.cgi?product=weston
>                Build: 0.94.90-118-ge302b3e Bump version to 0.95.0
> (2012-07-24 16:01:29 -0400)
> [23:19:50.189] OS: Linux, 3.0.0-23-generic, #39-Ubuntu SMP Thu Jul 19
> 19:18:53 UTC 2012, i686
> [23:19:50.189] warning: XDG_RUNTIME_DIR "/var/lock" is not configured
> correctly.  Unix access mode must be 0700 but is 777,
> and XDG_RUNTIME_DIR must be owned by the user, but is
> owned by UID 0.
> Refer to your distribution on how to get it, or
> http://www.freedesktop.org/wiki/Specifications/basedir-spec
> on how to implement it.
> [23:19:50.190] Loading module
> '/home/spitzak/install/lib/weston/x11-backend.so'
> [23:19:50.217] initializing x11 backend
> [23:19:50.255] EGL version: 1.4 (DRI2)
> [23:19:50.255] EGL vendor: Mesa Project
> [23:19:50.255] EGL client APIs: OpenGL OpenGL_ES2
> [23:19:50.255] 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
> [23:19:50.256] GL version: OpenGL ES 2.0 Mesa 8.1-devel (git-497bf5d)
> [23:19:50.256] GLSL version: OpenGL ES GLSL ES 1.0.16
> [23:19:50.256] GL vendor: nouveau
> [23:19:50.256] GL renderer: Gallium 0.4 on NV4A
> [23:19:50.256] GL 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_texture_rg
>                GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer
> [23:19:50.302] XCB-XKB not available during build
> [23:19:50.349] x11 output 1024x640, window id 39845895
> [23:19:50.349] Loading module
> '/home/spitzak/install/lib/weston/desktop-shell.so'
> [23:19:50.351] libwayland: using socket /var/lock/wayland-0
> [23:19:50.554] libwayland: disconnect from client 0x9e1dfe8
> wl_drm at 11: error 2: invalid name
> [23:19:50.800] weston-desktop-shell died, respawning...
> [23:19:51.048] libwayland: disconnect from client 0x9e13610
> wl_drm at 11: error 2: invalid name
> [23:19:51.273] weston-desktop-shell died, respawning...
> [23:19:51.437] libwayland: disconnect from client 0x9e46700
> wl_drm at 11: error 2: invalid name
> [23:19:51.647] weston-desktop-shell died, respawning...
> [23:19:51.812] libwayland: disconnect from client 0x9e194b0
> wl_drm at 11: error 2: invalid name
> [23:19:52.031] weston-desktop-shell died, respawning...
> [23:19:52.202] libwayland: disconnect from client 0x9e194b0
> wl_drm at 11: error 2: invalid name
> [23:19:52.410] weston-desktop-shell died, respawning...
> [23:19:52.573] libwayland: disconnect from client 0x9e194b0
> wl_drm at 11: error 2: invalid name
> [23:19:52.802] weston-desktop-shell died, giving up.
>
> Almost all clients (weston-terminal, clickdot, etc) produce the "wl_drm at 11"
> error and quit. However simple-shm and smoke works. simple-touch also sort
> of works except all of wayland crashes when I move the mouse into it.
>
>
This seems to be a common problem with nouveau on any backend and radeon
using drm backend. I am not sure where the problem is yet.


Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20120725/acd5461f/attachment.html>


More information about the wayland-devel mailing list