[Wayland-bugs] [Bug 72494] New: Weston doesn't launch
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Dec 8 11:30:00 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=72494
Priority: medium
Bug ID: 72494
Assignee: wayland-bugs at lists.freedesktop.org
Summary: Weston doesn't launch
Severity: blocker
Classification: Unclassified
OS: Linux (All)
Reporter: consommepanchi at gmail.com
Hardware: x86-64 (AMD64)
Status: NEW
Version: unspecified
Component: weston
Product: Wayland
Hey, bros!
I have been working to launch weston for almost a week, and now, after beating
bazillions of small issues I must admit that I am really frustrated by a new
thing that I cannot best. It's obviously that weston doesn't launch. Why, you
ask? What's the matter? The answer is not so simple.
After running weston --log=filename.txt I got the following output:
------------------------------------------------------------------------
Date: 2013-12-08 CET
[12:01:56.511] weston 1.3.90
http://wayland.freedesktop.org/
Bug reports to:
https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.3.90
Build: 1.3.0-286-g1e65840-dirty simple-egl: Add option to allow
not syncing to compositor repaint cycle (2013-12-07 22:26:23 -0800)
[12:01:56.511] OS: Linux, 3.11.0-12-generic, #19-Ubuntu SMP Wed Oct 9 16:20:46
UTC 2013, x86_64
[12:01:56.511] warning: XDG_RUNTIME_DIR "/tmp/weston-runtime-dir" is not
configured
correctly. Unix access mode must be 0700 but is 755,
and XDG_RUNTIME_DIR must be owned by the user, but is
owned by UID 1000.
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
[12:01:56.511] Using config file '/home/marcin/.config/weston.ini'
[12:01:56.512] Loading module '/usr/local/lib/weston/drm-backend.so'
[12:01:56.512] initializing drm backend
[12:01:56.512] using /dev/dri/card0
[12:01:56.512] Loading module '/usr/local/lib/weston/gl-renderer.so'
[12:01:56.556] Chosen EGL config details:
RGBA bits: 8 8 8 0
swap interval range: 0 - 0
[12:01:56.557] EGL version: 1.4 (DRI2)
[12:01:56.557] EGL vendor: Mesa Project
[12:01:56.557] EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2
[12:01:56.557] EGL extensions: EGL_MESA_drm_image EGL_WL_bind_wayland_display
EGL_KHR_image_base EGL_KHR_gl_texture_2D_image
EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image
EGL_KHR_surfaceless_context EGL_KHR_create_context
EGL_EXT_buffer_age
[12:01:56.557] GL version: OpenGL ES 3.0 Mesa 9.2.1
[12:01:56.557] GLSL version: OpenGL ES GLSL ES 3.0
[12:01:56.557] GL vendor: nouveau
[12:01:56.557] GL renderer: Gallium 0.4 on NVE4
[12:01:56.557] 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_OES_get_program_binary GL_APPLE_texture_max_level
GL_EXT_discard_framebuffer GL_EXT_read_format_bgra
GL_NV_fbo_color_attachments GL_OES_EGL_image_external
GL_OES_vertex_array_object GL_EXT_texture_rg
GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer
GL_EXT_map_buffer_range GL_OES_depth_texture_cube_map
GL_EXT_color_buffer_float
[12:01:56.557] GL ES 2 renderer features:
read-back format: BGRA
wl_shm sub-image to texture: yes
EGL Wayland extension: yes
[12:01:56.557] Failed to initialize backlight
[12:01:56.557] EDID data 'IVM', 'PL2377', '111383112041'
[12:01:56.557] Output DVI1, (connector 17, crtc 13)
mode 1920x1080 at 60.0, preferred, current
mode 1600x1200 at 60.0
mode 1680x1050 at 59.9
mode 1280x1024 at 75.0
mode 1280x1024 at 60.0
mode 1440x900 at 75.0
mode 1440x900 at 59.9
mode 1152x864 at 75.0
mode 1280x720 at 60.0
mode 1024x768 at 75.1
mode 1024x768 at 70.1
mode 1024x768 at 60.0
mode 832x624 at 74.6
mode 800x600 at 75.0
mode 800x600 at 72.2
mode 800x600 at 60.3
mode 800x600 at 56.2
mode 640x480 at 75.0
mode 640x480 at 72.8
mode 640x480 at 66.7
mode 640x480 at 60.0
mode 720x400 at 70.1
[12:01:56.686] launching '/usr/local/libexec/weston-keyboard'
[12:01:56.689] creating a keymap file for 45158 bytes failed: No such file or
directory
[12:01:56.706] failed to create input device '/dev/input/event1'.
[12:01:56.706] input device Power Button, /dev/input/event0 is a keyboard
[12:01:56.706] input device HID 04f3:0103, /dev/input/event2 is a keyboard
[12:01:56.706] input device HID 04f3:0103, /dev/input/event3 is a keyboard
[12:01:56.706] device /dev/input/event4 is a joystick, ignoring
[12:01:56.722] not using input device '/dev/input/event4'.
[12:01:56.722] device /dev/input/event15 is a joystick, ignoring
[12:01:56.734] not using input device '/dev/input/event15'.
[12:01:56.734] input device HP HP Link-5 micro dongle, /dev/input/event5 is a
keyboard
[12:01:56.734] input device HP HP Link-5 micro dongle, /dev/input/event6 is a
pointer caps = relative-motion button
[12:01:56.734] input device HP HP Link-5 micro dongle, /dev/input/event6 is a
keyboard
[12:01:56.734] Loading module '/usr/local/lib/weston/desktop-shell.so'
[12:01:56.734] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
[12:01:56.734] libwayland: using socket /tmp/weston-runtime-dir/wayland-0
[12:01:56.765] launching '/usr/local/libexec/weston-desktop-shell'
[12:01:56.765] libwayland: disconnect from client 0x167dee0
[12:01:56.765] input_method died, respawning...
[12:01:56.765] launching '/usr/local/libexec/weston-keyboard'
[12:01:56.767] libwayland: disconnect from client 0x17d0ed0
[12:01:56.767] /usr/local/libexec/weston-desktop-shell died, respawning...
[12:01:56.767] launching '/usr/local/libexec/weston-desktop-shell'
[12:01:56.767] libwayland: disconnect from client 0x17cd0a0
[12:01:56.767] input_method died, respawning...
[12:01:56.767] launching '/usr/local/libexec/weston-keyboard'
[12:01:56.768] libwayland: disconnect from client 0x17cfb10
[12:01:56.768] /usr/local/libexec/weston-desktop-shell died, respawning...
[12:01:56.768] launching '/usr/local/libexec/weston-desktop-shell'
[12:01:56.769] libwayland: disconnect from client 0x167dee0
[12:01:56.769] input_method died, respawning...
[12:01:56.769] launching '/usr/local/libexec/weston-keyboard'
[12:01:56.769] libwayland: disconnect from client 0x17d0ed0
[12:01:56.769] /usr/local/libexec/weston-desktop-shell died, respawning...
[12:01:56.769] launching '/usr/local/libexec/weston-desktop-shell'
[12:01:56.770] libwayland: disconnect from client 0x17cd0a0
[12:01:56.770] input_method died, respawning...
[12:01:56.770] launching '/usr/local/libexec/weston-keyboard'
[12:01:56.770] libwayland: disconnect from client 0x17cfb10
[12:01:56.770] /usr/local/libexec/weston-desktop-shell died, respawning...
[12:01:56.771] launching '/usr/local/libexec/weston-desktop-shell'
[12:01:56.771] libwayland: disconnect from client 0x167dee0
[12:01:56.771] input_method died, respawning...
[12:01:56.771] launching '/usr/local/libexec/weston-keyboard'
[12:01:56.772] libwayland: disconnect from client 0x17d0ed0
[12:01:56.772] /usr/local/libexec/weston-desktop-shell died, respawning...
[12:01:56.772] launching '/usr/local/libexec/weston-desktop-shell'
[12:01:56.772] libwayland: disconnect from client 0x17cd0a0
[12:01:56.772] input_method died, giving up.
[12:01:56.773] libwayland: disconnect from client 0x17cfb10
[12:01:56.773] /usr/local/libexec/weston-desktop-shell died, giving up.
[12:02:03.780] caught signal: 11
[12:02:03.780] 0: weston (on_caught_signal+0x17) [0x408e87]
[12:02:03.780] 1: /lib/x86_64-linux-gnu/libpthread.so.0 (__restore_rt+0x0)
[0x7f1696162baf]
[12:02:03.780] 2: /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0
(xkb_state_update_key+0x14) [0x7f1696ac9b74]
[12:02:03.781] 3: weston (update_modifier_state+0x36) [0x40ff46]
[12:02:03.781] 4: /usr/local/lib/weston/drm-backend.so (evdev_device_data+0xe4)
[0x7f1695550c74]
[12:02:03.781] 5: /usr/local/lib/libwayland-server.so.0
(wl_event_loop_dispatch+0x62) [0x7f1696fa3cd2]
[12:02:03.781] 6: weston (weston_compositor_read_input+0x12) [0x408312]
[12:02:03.781] 7: /usr/local/lib/libwayland-server.so.0
(wl_event_loop_dispatch+0x62) [0x7f1696fa3cd2]
[12:02:03.781] 8: /usr/local/lib/libwayland-server.so.0 (wl_display_run+0x25)
[0x7f1696fa22e5]
[12:02:03.781] 9: weston (main+0x5e7) [0x4076d7]
[12:02:03.782] 10: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5)
[0x7f1695dacde5]
[12:02:03.782] 11: weston (_start+0x29) [0x407910]
[12:02:03.782] 12: ? (?+0x29) [0x29]
------------------------------------------------------------------------
I wanted to find a fix, but honestly, I didn't even know what to ask on
Google...
Anyways, the story leading up to this moment is quite long, so I'll spare you
the details, I just want you to know a few crucial things:
1. After running 'sudo weston' I'm getting a completely black screen and after
clicking, or pressing a key on my keyboard weston outputs the above and quits.
2. I actually modified weston to make it work. With the original binary (sudo
apt-get install weston, I'm on Linux Mint 16) I have been constantly getting
the error XDG_RUNTIME_DIR not set and I couldn't resolve it, so I downloaded
the sources from git and where it said char* dir = getenv("XDG_RUNTIME_DIR"); I
entered char* dir = "/tmp/weston-runtime-dir"; and with this it moved forward.
Same happened with wayland.
3. I followed the tutorial on building Wayland and Weston from
wayland.freedesktop.org almost to the letter, with 2 exceptions: I apt-get'ed
most of the dependencies instead of building them from source and while
building mesa I had to add --disable-dri3 as an option to autogen.sh, because I
really couldn't find the goddamn library. Tried to compile it, tried to
apt-get, tried to find it on google, finally somebody said: disable it, nobody
uses it anyways. Well, I hope you guys didn't use it :)
4. I'll be pretty open about this - I'm a total Linux noob. Most of you
probably figured it out at the "I'm on Linux Mint" part :) If the bug I
encountered is pretty obvious to fix and I missed it - sorry, I have really no
idea what to do :)
Please, help me. I'd really like to play around with Weston, maybe modify it
for a bit, create something new... But I'm totally stuck with this.
Regards from Poland
Marcin
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20131208/007395fd/attachment.html>
More information about the Wayland-bugs
mailing list