Hi
It seems render nodes are required to start a nested instance of wlroots nested in a Wayland session
starting Weston on QXL, which does not support render nodes, there is only a /dev/dri/card0, and then trying to start sway or wayfire
I get something like
Failed to get DRM render node from remote Wayland
Thanks
Yes. The interaction with split display/render devices is not trivial.
I think we have two solutions:
drmAuthenticate).Note that in the case of qxl, Mesa will fallback to llvmpipe, so it's not going to be great in any case. At least until we have https://github.com/swaywm/wlroots/issues/2399.
We now pick the primary node when we're missing a render node. Please re-open if you can still reproduce.
Looks like I am missing something after building wlroots master?

Can you obtain debug logs?
sway -d 2>sway.log
00:00:00.000 [INFO] [sway/main.c:347] Sway version 1.6-4e77bc29 (Apr 14 2021, branch 'master')
00:00:00.000 [INFO] [sway/main.c:348] wlroots version 0.14.0
00:00:00.005 [INFO] [sway/main.c:155] Linux beccaholic 5.10.28 #1 SMP Thu Apr 8 01:36:20 UTC 2021 i686 GNU/Linux
00:00:00.007 [INFO] [sway/main.c:171] Contents of /etc/lsb-release:
00:00:00.007 [INFO] [sway/main.c:155] DISTRIB_DESCRIPTION="RebeccaBlackOS"
00:00:00.007 [INFO] [sway/main.c:171] Contents of /etc/os-release:
00:00:00.007 [INFO] [sway/main.c:155] NAME="RebeccaBlackOS"
00:00:00.007 [INFO] [sway/main.c:155] VERSION="1"
00:00:00.007 [INFO] [sway/main.c:155] ID=rbos
00:00:00.007 [INFO] [sway/main.c:155] ID_LIKE=debian
00:00:00.007 [INFO] [sway/main.c:155] PRETTY_NAME="RebeccaBlackOS"
00:00:00.007 [INFO] [sway/main.c:155] VERSION_ID="1"
00:00:00.007 [INFO] [sway/main.c:155] HOME_URL="https://sourceforge.net/p/rebeccablackos/"
00:00:00.007 [INFO] [sway/main.c:155] SUPPORT_URL="https://sourceforge.net/p/rebeccablackos/"
00:00:00.007 [INFO] [sway/main.c:155] BUG_REPORT_URL="http://sourceforge.net/p/rebeccablackos/tickets/"
00:00:00.007 [INFO] [sway/main.c:171] Contents of /etc/debian_version:
00:00:00.007 [INFO] [sway/main.c:155] bullseye/sid
00:00:00.007 [INFO] [sway/main.c:143] LD_LIBRARY_PATH=
00:00:00.007 [INFO] [sway/main.c:143] LD_PRELOAD=
00:00:00.007 [INFO] [sway/main.c:143] PATH=/opt/bin:/opt/games:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
00:00:00.007 [INFO] [sway/main.c:143] SWAYSOCK=
00:00:00.007 [DEBUG] [sway/server.c:47] Preparing Wayland server initialization
00:00:00.008 [INFO] [wlr] [backend/wayland/backend.c:366] Creating wayland backend
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: wl_compositor v4
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: wl_subcompositor v1
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: wp_viewporter v1
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: zxdg_output_manager_v1 v2
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: wp_presentation v1
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: zwp_relative_pointer_manager_v1 v1
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: zwp_pointer_constraints_v1 v1
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: zwp_input_timestamps_manager_v1 v1
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: wl_data_device_manager v3
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: wl_shm v1
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: wl_seat v7
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: zwp_linux_dmabuf_v1 v3
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: weston_direct_display_v1 v1
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: weston_content_protection v1
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: wl_output v3
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: zwp_input_panel_v1 v1
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: zwp_input_method_v1 v1
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: zwp_text_input_manager_v1 v1
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: xdg_wm_base v1
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: wl_shell v1
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: weston_desktop_shell v1
00:00:00.025 [DEBUG] [wlr] [backend/wayland/backend.c:197] Remote wayland global: weston_screenshooter v1
00:00:00.025 [DEBUG] [wlr] [backend/wayland/seat.c:754] seat 0x114dfc0 offered pointer
00:00:00.025 [DEBUG] [wlr] [backend/wayland/seat.c:791] seat 0x114dfc0 offered keyboard
00:00:00.025 [ERROR] [wlr] [backend/wayland/backend.c:409] Failed to get DRM render node from remote Wayland compositor wl_drm interface
00:00:00.025 [ERROR] [sway/server.c:53] Unable to create backend
wl_drm is missing here, this sounds like a Weston bug.
Odd, it happens under wayfire and gnome-shell too...
Maybe an issue with your GL stack then.
Perhaps. I'll try to reevaluate my Mesa compile options
You'll want to make sure Mesa advertises EGL_WL_bind_wayland_display.
I am building a newer mesa with
meson --buildtype=plain --prefix=$INSTALLDIR -Dgles1=enabled -Dgles2=enabled -Dplatforms=x11,wayland -Dgallium-drivers=swrast,nouveau,svga,r300,r600,radeonsi,virgl,iris,zink,tegra,swr -Ddri-drivers=r100,r200,nouveau,i915,i965 -Dosmesa=true -Dgallium-xa=true -Dgbm=true -Dshared-glapi=enabled -Dllvm=true -Dshared-llvm=true -Dvulkan-drivers=intel,amd -Dllvm=true build
don't know what I could be missing. I wonder if it's the software gallium driver...
Logs from the outer compositor would be useful.
I lopped out some wlcursor stuff and some wayfire specific stuff
Started with the arguments: /opt/bin/wayfire -d
II 17-04-21 15:32:14.915 - [src/main.cpp:249] Starting wayfire version 0.7.0-bb8d1ab4 (Apr 15 2021, branch 'master')
EE 17-04-21 15:32:14.915 - [libseat] [libseat/backend/seatd.c:78] Could not connect to socket /run/seatd.sock: No such file or directory
II 17-04-21 15:32:14.922 - [backend/session/libseat.c:131] Successfully loaded libseat session
II 17-04-21 15:32:14.927 - [backend/backend.c:159] Found 1 GPUs
II 17-04-21 15:32:14.927 - [backend/drm/backend.c:144] Initializing DRM backend for /dev/dri/card0 (simplekms)
DD 17-04-21 15:32:14.927 - [backend/drm/drm.c:71] Using atomic DRM interface
DD 17-04-21 15:32:14.927 - [backend/drm/drm.c:84] ADDFB2 modifiers supported
II 17-04-21 15:32:14.927 - [backend/drm/drm.c:246] Found 1 DRM CRTCs
II 17-04-21 15:32:14.927 - [backend/drm/drm.c:173] Found 1 DRM planes
MESA-LOADER: failed to open simplekms: /opt/lib/i386-linux-gnu/dri/simplekms_dri.so: cannot open shared object file: No such file or directory (search paths /opt/lib/i386-linux-gnu/dri)
failed to load driver: simplekms
II 17-04-21 15:32:14.994 - [render/egl.c:299] Using EGL 1.4
II 17-04-21 15:32:14.994 - [render/egl.c:300] Supported EGL client extensions: EGL_EXT_client_extensions EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_MESA_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless
II 17-04-21 15:32:14.994 - [render/egl.c:301] Supported EGL display extensions: EGL_ANDROID_blob_cache EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_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_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_image_dma_buf_export EGL_MESA_query_driver
II 17-04-21 15:32:14.994 - [render/egl.c:303] Supported EGL device extensions: EGL_MESA_device_software
II 17-04-21 15:32:14.994 - [render/egl.c:305] EGL vendor: Mesa Project
DD 17-04-21 15:32:14.994 - [render/egl.c:145] Supported dmabuf buffer formats: AB4H XB4H AR30 XR30 AB30 XB30 AR24 AB24 XR24 XB24 AR15 RG16 R8 R16 GR88 GR32 YUV9 YU11 YU12 YU16 YU24 YVU9 YV11 YV12 YV16 YV24 NV12 P010 P012 P016 NV16 AYUV XYUV YUYV UYVY
II 17-04-21 15:32:15.000 - [render/gles2/renderer.c:887] Using OpenGL ES 3.2 Mesa 21.1.0-devel (git-1aeebac4e6)
II 17-04-21 15:32:15.000 - [render/gles2/renderer.c:888] GL vendor: Mesa/X.org
II 17-04-21 15:32:15.000 - [render/gles2/renderer.c:889] GL renderer: llvmpipe (LLVM 11.0.1, 128 bits)
II 17-04-21 15:32:15.000 - [render/gles2/renderer.c:890] Supported GLES2 extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc 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_OES_vertex_half_float GL_EXT_draw_instanced 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_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness 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_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_ANDROID_extension_pack_es31a GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_render_snorm GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_EXT_texture_view GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_blend_func_extended GL_EXT_buffer_storage GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_texture_filter_minmax GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_texture_compression_bptc GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_texture_shadow_lod GL_MESA_framebuffer_flip_y GL_EXT_depth_clamp GL_EXT_texture_query_lod
MESA-LOADER: failed to open simplekms: /opt/lib/i386-linux-gnu/dri/simplekms_dri.so: cannot open shared object file: No such file or directory (search paths /opt/lib/i386-linux-gnu/dri)
failed to load driver: simplekms
DD 17-04-21 15:32:15.108 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libdefault-config-backend.so
DD 17-04-21 15:32:15.108 - [src/main.cpp:285] Using configuration backend: /opt/lib/i386-linux-gnu/wayfire/libdefault-config-backend.so
II 17-04-21 15:32:15.108 - [src/default-config-backend.cpp:52] Using config file: /home/beccaholic/.config/wayfire.ini
...
< abridged >
...
II 17-04-21 15:32:15.237 - [render/gles2/renderer.c:642] EGL_WL_bind_wayland_display is not supported
II 17-04-21 15:32:15.237 - [backend/noop/backend.c:59] Creating noop backend
II 17-04-21 15:32:15.237 - [backend/noop/backend.c:16] Starting noop backend
II 17-04-21 15:32:15.240 - [xwayland/server.c:93] WAYLAND_SOCKET=19 Xwayland :0 -rootless -terminate -core -listen 17 -listen 18 -wm 21
...
< abridged >
...
DD 17-04-21 15:32:15.312 - [types/wlr_idle.c:247] idle manager created
DD 17-04-21 15:32:15.312 - [src/core/img.cpp:405] init ImageIO
II 17-04-21 15:32:15.319 - [src/main.cpp:299] Using socket name wayland-1
DD 17-04-21 15:32:15.319 - [backend/libinput/backend.c:86] Initializing libinput
(WW) Option "-listen" for file descriptors is deprecated
Please use "-listenfd" instead.
(WW) Option "-listen" for file descriptors is deprecated
Please use "-listenfd" instead.
DD 17-04-21 15:32:15.439 - [backend/libinput/events.c:94] Added Power Button [0:1]
II 17-04-21 15:32:15.439 - [src/core/seat/input-manager.cpp:46] handle new input: Power Button, default mapping: (null)
DD 17-04-21 15:32:15.444 - [backend/libinput/events.c:94] Added QEMU QEMU USB Keyboard [1575:1]
II 17-04-21 15:32:15.444 - [src/core/seat/input-manager.cpp:46] handle new input: QEMU QEMU USB Keyboard, default mapping: (null)
DD 17-04-21 15:32:15.448 - [backend/libinput/events.c:94] Added QEMU QEMU USB Mouse [1575:1]
II 17-04-21 15:32:15.448 - [src/core/seat/input-manager.cpp:46] handle new input: QEMU QEMU USB Mouse, default mapping: (null)
DD 17-04-21 15:32:15.448 - [backend/libinput/events.c:94] Added AT Translated Set 2 keyboard [1:1]
II 17-04-21 15:32:15.448 - [src/core/seat/input-manager.cpp:46] handle new input: AT Translated Set 2 keyboard, default mapping: (null)
DD 17-04-21 15:32:15.453 - [backend/libinput/events.c:94] Added VirtualPS/2 VMware VMMouse [2:19]
II 17-04-21 15:32:15.453 - [src/core/seat/input-manager.cpp:46] handle new input: VirtualPS/2 VMware VMMouse, default mapping: (null)
DD 17-04-21 15:32:15.453 - [backend/libinput/events.c:94] Added VirtualPS/2 VMware VMMouse [2:19]
II 17-04-21 15:32:15.453 - [src/core/seat/input-manager.cpp:46] handle new input: VirtualPS/2 VMware VMMouse, default mapping: (null)
DD 17-04-21 15:32:15.453 - [backend/libinput/backend.c:132] libinput successfully initialized
II 17-04-21 15:32:15.453 - [backend/drm/drm.c:1237] Scanning DRM connectors on /dev/dri/card0
II 17-04-21 15:32:15.454 - [backend/drm/drm.c:1295] Found connector 'Unknown-1'
II 17-04-21 15:32:15.454 - [backend/drm/drm.c:1331] 'Unknown-1' connected
DD 17-04-21 15:32:15.454 - [backend/drm/drm.c:1332] Current CRTC: 34
II 17-04-21 15:32:15.454 - [backend/drm/drm.c:1343] Physical size: 270x203
II 17-04-21 15:32:15.454 - [backend/drm/drm.c:1361] Detected modes:
II 17-04-21 15:32:15.454 - [backend/drm/drm.c:1383] 1024x768@60000000 (preferred)
DD 17-04-21 15:32:15.454 - [backend/drm/drm.c:1093] Reallocating CRTCs
DD 17-04-21 15:32:15.454 - [backend/drm/drm.c:1104] State before reallocation:
DD 17-04-21 15:32:15.454 - [backend/drm/drm.c:1110] 'Unknown-1' crtc=0 state=1 desired_enabled=1
DD 17-04-21 15:32:15.454 - [backend/drm/drm.c:1161] State after reallocation:
DD 17-04-21 15:32:15.454 - [backend/drm/drm.c:1168] 'Unknown-1' crtc=0 state=1 desired_enabled=1
II 17-04-21 15:32:15.454 - [backend/drm/drm.c:1435] connector Unknown-1: Requesting modeset
II 17-04-21 15:32:15.454 - [src/core/output-layout.cpp:1019] new output: Unknown-1
II 17-04-21 15:32:15.454 - [src/core/output-layout.cpp:388] loaded mode auto
II 17-04-21 15:32:15.454 - [backend/drm/drm.c:812] connector Unknown-1: Modesetting with '1024x768@60000000mHz'
DD 17-04-21 15:32:15.454 - [backend/drm/drm.c:705] connector Unknown-1: Initializing renderer
DD 17-04-21 15:32:15.454 - [render/swapchain.c:105] Allocating new swapchain buffer
DD 17-04-21 15:32:15.457 - [render/gbm_allocator.c:47] Allocated 1024x768 GBM buffer (format 0x34325241, modifier 0xFFFFFFFFFFFFFF)
DD 17-04-21 15:32:15.457 - [render/gles2/renderer.c:124] Created GL FBO for buffer 1024x768
DD 17-04-21 15:32:15.460 - [src/core/core.cpp:516] focus output: Unknown-1
DD 17-04-21 15:32:15.460 - [src/output/output.cpp:121] warning: no focused views in the focused layer, probably a bug
DD 17-04-21 15:32:15.501 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libalpha.so
DD 17-04-21 15:32:15.502 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libanimate.so
(type equals variant: [type: string, value: toplevel] | (type equals variant: [type: string, value: x-or] & focusable equals variant: [type: bool, value: 1]))
type equals variant: [type: string, value: overlay]
false
false
DD 17-04-21 15:32:15.502 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libautostart.so
DD 17-04-21 15:32:15.514 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libcommand.so
DD 17-04-21 15:32:15.514 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libcube.so
DD 17-04-21 15:32:15.526 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libdecoration.so
false
DD 17-04-21 15:32:15.543 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libexpo.so
DD 17-04-21 15:32:15.544 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libfast-switcher.so
DD 17-04-21 15:32:15.544 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libfisheye.so
DD 17-04-21 15:32:15.547 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libgrid.so
DD 17-04-21 15:32:15.548 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libidle.so
DD 17-04-21 15:32:15.548 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libinvert.so
DD 17-04-21 15:32:15.550 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libmove.so
DD 17-04-21 15:32:15.551 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/liboswitch.so
DD 17-04-21 15:32:15.551 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libplace.so
DD 17-04-21 15:32:15.552 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libresize.so
DD 17-04-21 15:32:15.607 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libswitcher.so
DD 17-04-21 15:32:15.611 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libvswitch.so
DD 17-04-21 15:32:15.611 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libwindow-rules.so
DD 17-04-21 15:32:15.611 - [plugins/window-rules/lambda-rules-registration.hpp:135] Window lambda rules: Lazy-init of lambda registrations succeeded.
DD 17-04-21 15:32:15.611 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libwobbly.so
DD 17-04-21 15:32:15.681 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libwrot.so
DD 17-04-21 15:32:15.681 - [src/output/plugin-loader.cpp:123] Loaded plugin /opt/lib/i386-linux-gnu/wayfire/libzoom.so
DD 17-04-21 15:32:15.681 - [types/wlr_output.c:1060] Falling back to software cursor on output 'Unknown-1'
DD 17-04-21 15:32:15.681 - [render/swapchain.c:105] Allocating new swapchain buffer
DD 17-04-21 15:32:15.684 - [render/gbm_allocator.c:47] Allocated 1024x768 GBM buffer (format 0x34325241, modifier 0xFFFFFFFFFFFFFF)
DD 17-04-21 15:32:15.684 - [render/gles2/renderer.c:124] Created GL FBO for buffer 1024x768
DD 17-04-21 15:32:15.744 - [types/wlr_surface.c:673] New wlr_surface 0x10185d0 (res 0x1066070)
DD 17-04-21 15:32:15.744 - [types/wlr_layer_shell_v1.c:471] new layer_surface 0x106a570 (res 0xf59010)
DD 17-04-21 15:32:15.744 - [src/view/layer-shell.cpp:338] Create a layer surface: namespace wallpaper layer 0
DD 17-04-21 15:32:15.744 - [types/wlr_output.c:1060] Falling back to software cursor on output 'Unknown-1'
glamor: 'wl_drm' not supported
Missing Wayland requirements for glamor GBM backend
Failed to initialize glamor, falling back to sw
DD 17-04-21 15:32:15.784 - [src/core/core.cpp:595] focusing layer 0
DD 17-04-21 15:32:15.784 - [src/output/output.cpp:121] warning: no focused views in the focused layer, probably a bug
DD 17-04-21 15:32:15.784 - [src/core/core.cpp:595] focusing layer 0
DD 17-04-21 15:32:15.784 - [src/output/output.cpp:121] warning: no focused views in the focused layer, probably a bug
DD 17-04-21 15:32:15.833 - [types/wlr_output.c:1060] Falling back to software cursor on output 'Unknown-1'
DD 17-04-21 15:32:16.552 - [types/wlr_surface.c:673] New wlr_surface 0xf3eee0 (res 0xf3d970)
DD 17-04-21 15:32:16.552 - [types/wlr_relative_pointer_v1.c:145] relative_pointer_v1 0x105aa20 created for client 0xc7ff80
DD 17-04-21 15:32:16.553 - [xwayland/server.c:253] Xserver is ready
DD 17-04-21 15:32:16.553 - [xwayland/xwm.c:1658] xfixes version: 5.0
DD 17-04-21 15:32:16.554 - [src/view/xwayland.cpp:1095] Successfully loaded Xwayland atoms.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Unsupported maximum keycode 569, clipping.
> X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
DD 17-04-21 15:32:16.560 - [xwayland/xwm.c:1400] unhandled X11 event: 34
DD 17-04-21 15:32:16.560 - [xwayland/xwm.c:1400] unhandled X11 event: 34
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Unsupported maximum keycode 569, clipping.
> X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
DD 17-04-21 15:32:17.211 - [xwayland/xwm.c:1400] unhandled X11 event: 34
DD 17-04-21 15:32:17.211 - [xwayland/xwm.c:1400] unhandled X11 event: 34
DD 17-04-21 15:32:17.282 - [src/output/output.cpp:428] output Unknown-1: activate plugin command
DD 17-04-21 15:32:17.285 - [src/output/output.cpp:446] output Unknown-1: deactivate plugin command
DD 17-04-21 15:32:22.017 - [types/wlr_surface.c:673] New wlr_surface 0xfd5fd0 (res 0xf5f8b0)
DD 17-04-21 15:32:22.139 - [types/xdg_shell/wlr_xdg_surface.c:465] new xdg_surface 0x105ab30 (res 0xf40980)
DD 17-04-21 15:32:22.139 - [types/wlr_xdg_decoration_v1.c:210] new xdg_toplevel_decoration 0xf3bc40 (res 0xf564b0)
II 17-04-21 15:32:22.139 - [src/view/xdg-shell.cpp:201] new xdg_shell_stable surface: Default — Konsole app-id: org.kde.konsole
DD 17-04-21 15:32:22.298 - [src/core/seat/pointer.cpp:120] change cursor focus (null) -> 0xf8eecc
DD 17-04-21 15:32:22.298 - [src/output/output.cpp:428] output Unknown-1: activate plugin simple-decoration
DD 17-04-21 15:32:22.398 - [types/wlr_output.c:1060] Falling back to software cursor on output 'Unknown-1'
DD 17-04-21 15:32:22.398 - [src/output/output.cpp:446] output Unknown-1: deactivate plugin simple-decoration
DD 17-04-21 15:32:22.417 - [types/wlr_surface.c:673] New wlr_surface 0x1055d10 (res 0xf769e0)
DD 17-04-21 15:32:22.790 - [src/default-config-backend.cpp:28] Reloading configuration file
II 17-04-21 15:32:22.795 - [src/core/output-layout.cpp:388] loaded mode auto
...
< abridged >
...
DD 17-04-21 15:43:17.656 - [types/wlr_output.c:1060] Falling back to software cursor on output 'Unknown-1'
EE 17-04-21 15:44:42.352 - [libinput] event3 - VirtualPS/2 VMware VMMouse: client bug: event processing lagging behind by 12ms, your system is too slow
DD 17-04-21 15:45:12.411 - [types/seat/wlr_seat_pointer.c:382] button_count=1 grab_serial=178 serial=183
DD 17-04-21 15:45:12.538 - [types/seat/wlr_seat_pointer.c:382] button_count=0 grab_serial=183 serial=184
Ah, it uses llvmpipe, which means no hardware acceleration. It's probably pretty slow.
You may want to try to setup hardware acceleration, or to try out the new Pixman renderer we just merged in wlroots.
Trying the new pixman renderer and it seems to improve things for sway, not wayfire quite yet.
As far as llvmpipe goes, it seems to do the same if I set GALLIUM_DRIVER=softpipe and to swr as well... Maybe it's how I am building Mesa. Odd that the software renderers in Mesa don't support wl_drm.
And yes, hardware acceleration would be nice, but this is a Live CD, so I am trying to do my best to ensure it runs even on inferior hardware, (which is why as you may notice in the log that I pulled and build the simplekms driver)
EDIT: going to further look at my Mesa config, sway works with the Pixman renderer, Sway doesn't work with my mesa on the DRM backend, but it _does_ with the system mesa. (so I must have some mesa config option wrong, or there is some regression in Mesa somewhere)
Ah, I didn't realize you want llvmpipe on purpose. In general users don't want to use it but Mesa ends up selecting it anyways.
Yeah, Wayfire makes pretty heavy usage of GL, so Pixman isn't going to work there. Also wlroots can't yet run the Pixman renderer with the DRM backend, this will be resolved with https://github.com/swaywm/wlroots/pull/2700.
I've created this issue to run llvmpipe: https://github.com/swaywm/wlroots/issues/2871. This isn't trivial to fix.