LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Weston & Wayland (https://www.linuxquestions.org/questions/linux-from-scratch-13/weston-and-wayland-4175598361/)

brovreizh 01-27-2017 06:25 AM

Weston & Wayland
 
Hi,

I'm trying to run weston using wayland without X11 support so I don't want any XWayland stuff. I've rebuilt wayland, kbdinput, ... and weston finally.
When I start weston-launch in a console (no graphical screen), I can not see any graphicm only some warnings about unsupported but correct 3d features.
What did I miss ?
Thx

Keith Hedger 01-27-2017 08:30 PM

you missed telling us what book you used wheather you are running in vm what error messages you are getting, 'some warnings' is not a great deal of help, you wont get any meaningful replies without giving a LOT more info

brovreizh 01-30-2017 03:48 PM

Hi,

Sorry for not telling you much.
I'm using a Fedora 25 on a real host.
I've did of most of what is written here: https://wayland.freedesktop.org/building.html
All the configure have been made using <my home>/install as install prefix
When I do a ./install/bin/weston-launch, here's what is displayed:

Date: 2017-01-30 CET
[22:36:58.591] weston 1.99.91
http://wayland.freedesktop.org
Bug reports to: https://bugs.freedesktop.org/enter_b...ersion=1.99.91
Build: 1.99.91-2-g605ac8e compositor-drm: Restore use-current-mode functionality (2017-01-26 14:14:14 +0000)
[22:36:58.591] Command line: /home/xroirand/install/bin/weston
[22:36:58.591] OS: Linux, 4.9.4-201.fc25.x86_64, #1 SMP Tue Jan 17 18:58:54 UTC 2017, x86_64
[22:36:58.611] Starting with no config file.
[22:36:58.624] Output repaint window is 7 ms maximum.
[22:36:58.668] Loading module '/home/xroirand/install/lib/libweston-2/drm-backend.so'
[22:36:58.740] initializing drm backend
[22:36:58.742] using /dev/dri/card0
[22:36:58.755] Loading module '/home/xroirand/install/lib/libweston-2/gl-renderer.so'
[22:36:59.249] EGL client extensions: EGL_EXT_client_extensions
EGL_EXT_platform_base EGL_EXT_platform_wayland
EGL_EXT_platform_x11 EGL_MESA_platform_gbm
EGL_MESA_platform_surfaceless
EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug
[22:36:59.250] warning: neither EGL_EXT_swap_buffers_with_damage or EGL_KHR_swap_buffers_with_damage is supported. Performance could be affected.
[22:36:59.250] EGL_KHR_surfaceless_context available
[22:36:59.346] EGL version: 1.4 (DRI2)
[22:36:59.346] EGL vendor: Mesa Project
[22:36:59.346] EGL client APIs: OpenGL OpenGL_ES
[22:36:59.346] EGL extensions: EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import
EGL_KHR_create_context EGL_KHR_fence_sync
EGL_KHR_get_all_proc_addresses EGL_KHR_gl_renderbuffer_image
EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image
EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap
EGL_KHR_no_config_context EGL_KHR_reusable_sync
EGL_KHR_surfaceless_context EGL_KHR_wait_sync
EGL_MESA_configless_context EGL_MESA_drm_image
EGL_MESA_image_dma_buf_export EGL_WL_bind_wayland_display
[22:36:59.346] GL version: OpenGL ES 3.0 Mesa 13.0.3
[22:36:59.346] GLSL version: OpenGL ES GLSL ES 3.00
[22:36:59.346] GL vendor: Intel Open Source Technology Center
[22:36:59.346] GL renderer: Mesa DRI Intel(R) Ivybridge Mobile
[22:36:59.346] 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
GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives
GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float
GL_OES_texture_float_linear GL_OES_texture_half_float
GL_OES_texture_half_float_linear GL_OES_texture_npot
GL_EXT_texture_sRGB_decode 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_EGL_sync
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_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil
GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug
GL_KHR_robustness 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 GL_EXT_draw_buffers_indexed
GL_EXT_draw_elements_base_vertex GL_EXT_polygon_offset_clamp
GL_EXT_texture_border_clamp GL_KHR_blend_equation_advanced
GL_KHR_context_flush_control GL_OES_draw_buffers_indexed
GL_OES_draw_elements_base_vertex GL_OES_sample_shading
GL_OES_sample_variables GL_OES_shader_multisample_interpolation
GL_OES_texture_border_clamp GL_EXT_blend_func_extended
GL_EXT_clip_cull_distance GL_MESA_shader_integer_functions
Date: 2017-01-30 CET
[22:36:58.591] weston 1.99.91
http://wayland.freedesktop.org
Bug reports to: https://bugs.freedesktop.org/enter_b...ersion=1.99.91
Build: 1.99.91-2-g605ac8e compositor-drm: Restore use-current-mode functionality (2017-01-26 14:14:14 +0000)
[22:36:58.591] Command line: /home/xroirand/install/bin/weston
[22:36:58.591] OS: Linux, 4.9.4-201.fc25.x86_64, #1 SMP Tue Jan 17 18:58:54 UTC 2017, x86_64
[22:36:58.611] Starting with no config file.
[22:36:58.624] Output repaint window is 7 ms maximum.
[22:36:58.668] Loading module '/home/xroirand/install/lib/libweston-2/drm-backend.so'
[22:36:58.740] initializing drm backend
[22:36:58.742] using /dev/dri/card0
[22:36:58.755] Loading module '/home/xroirand/install/lib/libweston-2/gl-renderer.so'
[22:36:59.249] EGL client extensions: EGL_EXT_client_extensions
EGL_EXT_platform_base EGL_EXT_platform_wayland
EGL_EXT_platform_x11 EGL_MESA_platform_gbm
EGL_MESA_platform_surfaceless
EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug
[22:36:59.250] warning: neither EGL_EXT_swap_buffers_with_damage or EGL_KHR_swap_buffers_with_damage is supported. Performance could be affected.
[22:36:59.250] EGL_KHR_surfaceless_context available
[22:36:59.346] EGL version: 1.4 (DRI2)
[22:36:59.346] EGL vendor: Mesa Project
[22:36:59.346] EGL client APIs: OpenGL OpenGL_ES
[22:36:59.346] EGL extensions: EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import
EGL_KHR_create_context EGL_KHR_fence_sync
EGL_KHR_get_all_proc_addresses EGL_KHR_gl_renderbuffer_image
EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image
EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap
EGL_KHR_no_config_context EGL_KHR_reusable_sync
EGL_KHR_surfaceless_context EGL_KHR_wait_sync
EGL_MESA_configless_context EGL_MESA_drm_image
EGL_MESA_image_dma_buf_export EGL_WL_bind_wayland_display
[22:36:59.346] GL version: OpenGL ES 3.0 Mesa 13.0.3
[22:36:59.346] GLSL version: OpenGL ES GLSL ES 3.00
[22:36:59.346] GL vendor: Intel Open Source Technology Center
[22:36:59.346] GL renderer: Mesa DRI Intel(R) Ivybridge Mobile
[22:36:59.346] 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
GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives
GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float
GL_OES_texture_float_linear GL_OES_texture_half_float
GL_OES_texture_half_float_linear GL_OES_texture_npot
GL_EXT_texture_sRGB_decode 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_EGL_sync
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_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil
GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug
GL_KHR_robustness 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 GL_EXT_draw_buffers_indexed
GL_EXT_draw_elements_base_vertex GL_EXT_polygon_offset_clamp
GL_EXT_texture_border_clamp GL_KHR_blend_equation_advanced
GL_KHR_context_flush_control GL_OES_draw_buffers_indexed
GL_OES_draw_elements_base_vertex GL_OES_sample_shading
GL_OES_sample_variables GL_OES_shader_multisample_interpolation
GL_OES_texture_border_clamp GL_EXT_blend_func_extended
GL_EXT_clip_cull_distance GL_MESA_shader_integer_functions
[22:36:59.346] GL ES 2 renderer features:
read-back format: BGRA
wl_shm sub-image to texture: yes
EGL Wayland extension: yes
Error opening device /dev/input/event2: Permission denied
[22:36:59.355] opening input device '/dev/input/event2' failed (Operation not permitted).
[22:36:59.355] failed to create input device '/dev/input/event2'.
Error opening device /dev/input/event7: Permission denied
[22:36:59.355] opening input device '/dev/input/event7' failed (Operation not permitted).
[22:36:59.355] failed to create input device '/dev/input/event7'.
Error opening device /dev/input/event0: Permission denied
[22:36:59.356] opening input device '/dev/input/event0' failed (Operation not permitted).
[22:36:59.356] failed to create input device '/dev/input/event0'.
Error opening device /dev/input/event1: Permission denied
[22:36:59.356] opening input device '/dev/input/event1' failed (Operation not permitted).
[22:36:59.356] failed to create input device '/dev/input/event1'.
Error opening device /dev/input/event16: Permission denied
[22:36:59.357] opening input device '/dev/input/event16' failed (Operation not permitted).
[22:36:59.357] failed to create input device '/dev/input/event16'.
Error opening device /dev/input/event10: Permission denied
[22:36:59.357] opening input device '/dev/input/event10' failed (Operation not permitted).
[22:36:59.357] failed to create input device '/dev/input/event10'.
Error opening device /dev/input/event11: Permission denied
[22:36:59.357] opening input device '/dev/input/event11' failed (Operation not permitted).
[22:36:59.357] failed to create input device '/dev/input/event11'.
Error opening device /dev/input/event12: Permission denied
[22:36:59.358] opening input device '/dev/input/event12' failed (Operation not permitted).
[22:36:59.358] failed to create input device '/dev/input/event12'.
Error opening device /dev/input/event13: Permission denied
[22:36:59.358] opening input device '/dev/input/event13' failed (Operation not permitted).
[22:36:59.358] failed to create input device '/dev/input/event13'.
Error opening device /dev/input/event14: Permission denied
[22:36:59.358] opening input device '/dev/input/event14' failed (Operation not permitted).
[22:36:59.358] failed to create input device '/dev/input/event14'.
Error opening device /dev/input/event15: Permission denied
[22:36:59.359] opening input device '/dev/input/event15' failed (Operation not permitted).
[22:36:59.359] failed to create input device '/dev/input/event15'.
Error opening device /dev/input/event5: Permission denied
[22:36:59.359] opening input device '/dev/input/event5' failed (Operation not permitted).
[22:36:59.359] failed to create input device '/dev/input/event5'.
Error opening device /dev/input/event6: Permission denied
[22:36:59.360] opening input device '/dev/input/event6' failed (Operation not permitted).
[22:36:59.360] failed to create input device '/dev/input/event6'.
Error opening device /dev/input/event3: Permission denied
[22:36:59.360] opening input device '/dev/input/event3' failed (Operation not permitted).
[22:36:59.360] failed to create input device '/dev/input/event3'.
Error opening device /dev/input/event4: Permission denied
[22:36:59.360] opening input device '/dev/input/event4' failed (Operation not permitted).
[22:36:59.360] failed to create input device '/dev/input/event4'.
Error opening device /dev/input/event8: Permission denied
[22:36:59.361] opening input device '/dev/input/event8' failed (Operation not permitted).
[22:36:59.361] failed to create input device '/dev/input/event8'.
Error opening device /dev/input/event9: Permission denied
[22:36:59.361] opening input device '/dev/input/event9' failed (Operation not permitted).
[22:36:59.361] failed to create input device '/dev/input/event9'.
[22:36:59.362] warning: no input devices on entering Weston. Possible causes:
- no permissions to read /dev/input/event*
- seats misconfigured (Weston backend option 'seat', udev device property ID_SEAT)
[22:36:59.362] failed to create input devices

So input devices seems in trouble but I don't have any graphical display at all.

Any hints ?

Keith Hedger 01-30-2017 04:17 PM

I may be wrong but are you saying you're trying to build this on fedora? if so you need to get this thread moved to the fedora forum this is for linux from scratch

brovreizh 02-01-2017 02:02 AM

Found the pbm. The setuid bit on weston executable was for some reason missing, it works fine now :)


All times are GMT -5. The time now is 03:39 PM.