Compiling Newest Wayland on Ubuntu 12.04 Precise

Philipp Brüschweiler blei42 at gmail.com
Wed Jul 25 00:39:48 PDT 2012


I had the same problem. Enabling gallium-egl fixed it:

On the mesa autogen.sh line (line 322) replace '--disable-gallium-egl'
by '--enable-gallium-egl'

Cheers,
Philipp

On Wed, Jul 25, 2012 at 8:25 AM, Bill Spitzak <spitzak at gmail.com> wrote:
> On 07/24/2012 09:46 PM, Bill Spitzak wrote:
>
>>> You took the script that checks out the 0.85 version of wayland and
>>> weston,
>>> which is 5 months old. Before, you were using master.
>>
>>
>> doh! Thank you! The web page was not very clear on that, but it is
>> pretty obvious from the script itself.
>
>
> Okay, I used the master script. Cleared out my entire git checkout directory
> and ~/install, and ran it.
>
> xwayland failed to build:
>
> checking for SHA1 implementation... configure: error: No suitable SHA1
> implementation found
>
> I disabled xwayland, though I am interested in it.
>
> 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.
>
>
>
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list