giucam / orbital

A Wayland compositor based on Weston and Qt
GNU General Public License v3.0
158 stars 17 forks source link

stuck at splash etc. #10

Closed ghost closed 9 years ago

ghost commented 10 years ago

Installed the AUR package (not the git version as it can't be compiled) on Manjaro (Fluxbox/LXQt without any gtk and with qtwayland).

  1. Can't go further than splash.
  2. No config file created.
  3. Empty session file.
  4. No man page anywhere or a default config and session files to be copied.
giucam commented 10 years ago

Can you create another issue about the build fail and paste the error?

About this, are you on a multiscreen setup?

ghost commented 10 years ago

Single screen.

giucam commented 10 years ago

Can you paste the console output?

ghost commented 10 years ago

burak ~ $ orbital Date: 2014-07-31 EEST [21:58:45.462] weston 1.4.0 http://wayland.freedesktop.org/ Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.4.0 Build:
[21:58:45.462] OS: Linux, 3.14.13-1-MANJARO, #1 SMP PREEMPT Fri Jul 18 09:02:40 UTC 2014, x86_64 [21:58:45.462] Using config file '/home/burak/.config/weston.ini' [21:58:45.462] Loading module '/usr/lib/weston/x11-backend.so' [21:58:45.466] initializing x11 backend [21:58:45.467] Loading module '/usr/lib/weston/gl-renderer.so' [21:58:45.470] Using gl renderer [21:58:45.470] launching '/usr/libexec/weston-keyboard' [21:58:45.471] compositor: executing '/usr/libexec/weston-keyboard' failed: No such file or directory [21:58:45.477] Chosen EGL config details: RGBA bits: 8 8 8 8 swap interval range: 0 - 1000 [21:58:45.479] EGL version: 1.4 (DRI2) [21:58:45.479] EGL vendor: Mesa Project [21:58:45.479] EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2 OpenGL_ES3
[21:58:45.479] EGL extensions: EGL_MESA_drm_image EGL_MESA_configless_context
EGL_WL_bind_wayland_display EGL_KHR_image_base
EGL_KHR_image_pixmap EGL_KHR_image 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_NOK_swap_region EGL_NOK_texture_from_pixmap
EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
EGL_NV_post_sub_buffer
[21:58:45.479] GL version: OpenGL ES 3.0 Mesa 10.2.3
[21:58:45.479] GLSL version: OpenGL ES GLSL ES 3.0
[21:58:45.479] GL vendor: Intel Open Source Technology Center
[21:58:45.479] GL renderer: Mesa DRI Intel(R) Sandybridge Desktop
[21:58:45.479] GL extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888
GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24
GL_OES_element_index_uint GL_OES_fbo_render_mipmap
Using session file "/home/burak/.config/orbital/session".
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_ANGLE_texture_compression_dxt3
GL_ANGLE_texture_compression_dxt5 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_OES_surfaceless_context GL_EXT_color_buffer_float
GL_EXT_separate_shader_objects GL_EXT_shader_integer_mix
GL_INTEL_performance_query
[21:58:45.479] warning: EGL_EXT_buffer_age not supported. Performance could be affected.
[21:58:45.479] GL ES 2 renderer features:
read-back format: BGRA
wl_shm sub-image to texture: yes
EGL Wayland extension: yes
[21:58:45.479] x11 output 1024x640, window id 35651589
[21:58:45.479] Loading module '/usr/lib/nuclear-shell/nuclear-desktop-shell.so'
[21:58:45.482] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
[21:58:45.482] libwayland: using socket /run/user/1000/wayland-0
[21:58:45.490] launching '/usr/libexec/startorbital'
[21:58:45.490] libwayland: disconnect from client 0x13213c0 [21:58:45.490] input_method died, respawning...
[21:58:45.490] launching '/usr/libexec/weston-keyboard'
[21:58:45.491] compositor: executing '/usr/libexec/weston-keyboard' failed: No such file or directory
[21:58:45.492] libwayland: disconnect from client 0x13213c0 [21:58:45.492] input_method died, respawning...
[21:58:45.492] launching '/usr/libexec/weston-keyboard'
[21:58:45.493] compositor: executing '/usr/libexec/weston-keyboard' failed: No such file or directory
[21:58:45.493] libwayland: disconnect from client 0x13213c0 [21:58:45.494] input_method died, respawning...
[21:58:45.494] launching '/usr/libexec/weston-keyboard'
[21:58:45.494] compositor: executing '/usr/libexec/weston-keyboard' failed: No such file or directory
[21:58:45.495] libwayland: disconnect from client 0x13213c0 [21:58:45.495] input_method died, respawning...
[21:58:45.495] launching '/usr/libexec/weston-keyboard'
[21:58:45.495] compositor: executing '/usr/libexec/weston-keyboard' failed: No such file or directory
[21:58:45.496] libwayland: disconnect from client 0x13213c0 [21:58:45.496] input_method died, respawning...
[21:58:45.496] launching '/usr/libexec/weston-keyboard'
[21:58:45.498] compositor: executing '/usr/libexec/weston-keyboard' failed: No such file or directory
[21:58:45.499] libwayland: disconnect from client 0x13213c0 [21:58:45.499] input_method died, giving up.
[debug] Wayland display socket: 30
[debug] screen 0
[21:58:45.677] libwayland: disconnect from client 0x1712b80 [21:58:45.677] weston-desktop-shell died, respawning...
[21:58:45.677] launching '/usr/libexec/startorbital'
[debug] Wayland display socket: 31
[debug] screen 0
[21:58:45.850] libwayland: disconnect from client 0x17146e0 [21:58:45.851] weston-desktop-shell died, respawning...
[21:58:45.851] launching '/usr/libexec/startorbital'
[debug] Wayland display socket: 29
[debug] screen 0
[21:58:46.041] libwayland: disconnect from client 0x17146e0 [21:58:46.041] weston-desktop-shell died, respawning...
[21:58:46.041] launching '/usr/libexec/startorbital'
[debug] Wayland display socket: 34
[debug] screen 0
[21:58:46.240] libwayland: disconnect from client 0x17146e0 [21:58:46.241] weston-desktop-shell died, respawning...
[21:58:46.241] launching '/usr/libexec/startorbital'
[debug] Wayland display socket: 36
[debug] screen 0
[21:58:46.431] libwayland: disconnect from client 0x17146e0 [21:58:46.432] weston-desktop-shell died, respawning...
[21:58:46.432] launching '/usr/libexec/startorbital'
[debug] Wayland display socket: 38
[debug] screen 0
[21:58:46.641] libwayland: disconnect from client 0x17146e0 [21:58:46.641] weston-desktop-shell died, giving up.

giucam commented 10 years ago

I'd need a backtrace to try to understand what is going on. But please first try to get the version from git, it should be easy to build weston.

ghost commented 10 years ago

Have installed weston-git and wayland-git, but orbital-git has failed:

Scanning dependencies of target nuclear-shell-common        
[ 26%] Building CXX object src/CMakeFiles/nuclear-shell-common.dir/shell.cpp.o                                          
/tmp/yaourt-tmp-burak/aur-nuclear-git/src/nuclear/src/shell.cpp: In member function ‘void Shell::configureSurface(ShellSurface*, int32_t, int32_t)’:
/tmp/yaourt-tmp-burak/aur-nuclear-git/src/nuclear/src/shell.cpp:432:71: error: ‘struct weston_layer_entry’ has no member named ‘prev’
             wl_list_insert(defaultView(surface->m_parent)->layer_link.prev, &surface->view()->layer_link);
                                                                       ^
/tmp/yaourt-tmp-burak/aur-nuclear-git/src/nuclear/src/shell.cpp: In function ‘void configure_static_surface(weston_surface*, Layer*)’:
/tmp/yaourt-tmp-burak/aur-nuclear-git/src/nuclear/src/shell.cpp:720:40: error: cannot convert ‘weston_layer_entry*’ to ‘const wl_list*’ for argument ‘1’ to ‘int wl_list_empty(const wl_list*)’
     if (wl_list_empty(&view->layer_link) || view->layer_link.next == view->layer_link.prev) {
                                        ^
/tmp/yaourt-tmp-burak/aur-nuclear-git/src/nuclear/src/shell.cpp:720:62: error: ‘struct weston_layer_entry’ has no member named ‘next’
     if (wl_list_empty(&view->layer_link) || view->layer_link.next == view->layer_link.prev) {
                                                              ^
/tmp/yaourt-tmp-burak/aur-nuclear-git/src/nuclear/src/shell.cpp:720:87: error: ‘struct weston_layer_entry’ has no member named ‘prev’
     if (wl_list_empty(&view->layer_link) || view->layer_link.next == view->layer_link.prev) {
                                                                                       ^
/tmp/yaourt-tmp-burak/aur-nuclear-git/src/nuclear/src/shell.cpp: In member function ‘virtual void Shell::panelConfigure(weston_surface*, int32_t, int32_t, Shell::PanelPosition)’:
/tmp/yaourt-tmp-burak/aur-nuclear-git/src/nuclear/src/shell.cpp:758:40: error: cannot convert ‘weston_layer_entry*’ to ‘const wl_list*’ for argument ‘1’ to ‘int wl_list_empty(const wl_list*)’
     if (wl_list_empty(&view->layer_link) || view->layer_link.next == view->layer_link.prev) {
                                        ^
/tmp/yaourt-tmp-burak/aur-nuclear-git/src/nuclear/src/shell.cpp:758:62: error: ‘struct weston_layer_entry’ has no member named ‘next’
     if (wl_list_empty(&view->layer_link) || view->layer_link.next == view->layer_link.prev) {
                                                              ^
/tmp/yaourt-tmp-burak/aur-nuclear-git/src/nuclear/src/shell.cpp:758:87: error: ‘struct weston_layer_entry’ has no member named ‘prev’
     if (wl_list_empty(&view->layer_link) || view->layer_link.next == view->layer_link.prev) {
                                                                                       ^
In file included from /tmp/yaourt-tmp-burak/aur-nuclear-git/src/nuclear/src/shell.cpp:25:0:
/tmp/yaourt-tmp-burak/aur-nuclear-git/src/nuclear/src/layer.h: In instantiation of ‘S* Layer::Iterator<L, S>::deref() const [with L = wl_list; S = weston_view]’:
/tmp/yaourt-tmp-burak/aur-nuclear-git/src/nuclear/src/layer.h:39:45:   required from ‘S* Layer::Iterator<L, S>::operator*() const [with L = wl_list; S = weston_view]’
/tmp/yaourt-tmp-burak/aur-nuclear-git/src/nuclear/src/shell.cpp:335:42:   required from here
/tmp/yaourt-tmp-burak/aur-nuclear-git/src/nuclear/src/layer.h:124:16: error: cannot convert ‘const wl_list* const’ to ‘const weston_layer_entry*’ in initialization
         return container_of(m_elm, weston_view, layer_link);
                ^
src/CMakeFiles/nuclear-shell-common.dir/build.make:114: recipe for target 'src/CMakeFiles/nuclear-shell-common.dir/shell.cpp.o' failed
make[2]: *** [src/CMakeFiles/nuclear-shell-common.dir/shell.cpp.o] Error 1
CMakeFiles/Makefile2:174: recipe for target 'src/CMakeFiles/nuclear-shell-common.dir/all' failed
make[1]: *** [src/CMakeFiles/nuclear-shell-common.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build nuclear-git.
==> Restart building nuclear-git ? [y/N]
giucam commented 10 years ago

Ah right, i forgot there has been a change in weston recently that makes it incompatible. If you build weston at the revision cfff3122046b346f0b47b6f7dfbbdf62352cfe61 it should work.

ghost commented 10 years ago

Please excuse me, but there's no AUR package like that!! Thanks for your concern and work.

giucam commented 10 years ago

Of course, you'd have to clone weston's git repo and checkout that revision, then build it.

giucam commented 10 years ago

I've updated the code, now you can use directly weston git.

ghost commented 10 years ago

Yes, it's worked! Thank you. Looks brilliant; I'll look around a bit!