Example/Tutorial: Pure Wayland Desktop (discussion)

Here is a list of ports. And their default options as they are build for the default freebsd packages,
discordo - WAYLAND: off
efl - WAYLAND: off
glfw - WAYLAND: off
gstreamer1-vaapi - WAYLAND: off
ibus - WAYLAND: off
imv - WAYLAND: off
libxine - WAYLAND: off
lives - WAYLAND: off
password-store - WAYLAND: off
rofi-wayland - TEST: off
xwayland - NVIDIA: off
xwayland-devel - NVIDIA: off

If one of your pograms has a dependency on one of them and it does not has the right option for your "specific-configuration". It "could" be a cause of problems.
In that case the solution is to build packages manually with coherent options.
 
Whatever you messed up, for me it works all the time. This is not a Wayland error.
Maybe you could write more specifically, which version of pcmanfm is working for you? I really don't think the gtk2 version is working for you...as for gtk3, maybe it works or not....
 
Maybe you could write more specifically, which version of pcmanfm is working for you? I really don't think the gtk2 version is working for you...as for gtk3, maybe it works or not....

1675702760045.png


?
 
This error :

Code:
pcmanfm (opened within the Mate Terminal) = nop :

(pcmanfm:6688): GLib-ERROR **: 22:00:49.865: ../glib/gmem.c:137: failed to allocate 18446744039306312921 bytes
Trace/BPT trap

can't be caused by NVIDIA because I'm running Wayland on top of the i915 driver. My NVIDIA gpus are dedicated only for the bhyve / Linux VMs. And since pcmanfm works with X11 with and without NVIDIA but it does not work on Wayland without NVIDIA,the problem is,going by exclusion, probably Wayland,not X11 and/or NVIDIA.
 
This error :

Code:
pcmanfm (opened within the Mate Terminal) = nop :

(pcmanfm:6688): GLib-ERROR **: 22:00:49.865: ../glib/gmem.c:137: failed to allocate 18446744039306312921 bytes
Trace/BPT trap

can't be caused by NVIDIA because I'm running Wayland on top of the i915 driver. My NVIDIA gpus are dedicated only for the bhyve / Linux VMs. And since pcmanfm works with X11 with and without NVIDIA but it does not work on Wayland without NVIDIA,the problem is,going by exclusion, probably Wayland,not X11 and/or NVIDIA.
You are using the gtk3 version of pcmanfm?
If yes you might contact the maintenaner.
 
Can someone repost the tutorial ? I'm not able to find it here or here :


I want to replicate the steps.
 
me,instead I avoid virtualbox as hell,because there is no tinkering,no fun with it,but with the linuxulator there is a lot.
 
Yes, that's correct, it works now. You need the nvidia-drm module. If I'm using Wayland, I do kldload nvidia-drm and can then, assuming everything else is ok, can run Wayland. However, with labwc, I have no mouse though if I try to click on a weblink it works. But in dwl, it works without problems. I can leave that module loaded and go back to X. I don't know why, and don't like Wayland enough to figure it out, but if I then unload the module, my machine reboots.

Or, you can add kld_list="nvidia-drm" to /etc/rc.conf if you're always running it.

I made a little page, detailing my trials and tribulations with it at https://srobb.net/wayland.html, but it doesn't really add anything that hasn't been mentioned here, and probably as much mention of Fedora,the other system I tried it on, as FreeBSD, though both are mentioned.

EDIT: For some reason it seems to have stopped working. I do service seatd onestart, and it comes back with a message No clients on seat0 to activate. But it was working, at least for a few days.
:)
 
ziomario May be unrelated, but how did you tackle with the "Unable to drop root" error when starting wayfire? Did you delete the `/var/run/user/1001` folder, then create it again?
 
Running this script as user :

Code:
#!/usr/local/bin/zsh
env WLR_NO_HARDWARE_CURSORS=1 LIBSEAT_BACKEND=consolekit2 ck-launch-session dbus-run-session wayfire
 
Hello everyone,

I'm also trying to make this work, but then, I have some "weird issues" as you can see in the last lines of the log:

Code:
II 12-10-24 21:26:33.448 - [src/main.cpp:364] Starting wayfire version v0.9.0
II 12-10-24 21:26:33.449 - [libseat] [libseat/libseat.c:77] Seat opened with backend 'seatd'
II 12-10-24 21:26:33.449 - [libseat] [libseat/backend/seatd.c:212] Enabling seat
II 12-10-24 21:26:33.449 - [backend/session/session.c:109] Successfully loaded libseat session
II 12-10-24 21:26:33.457 - [backend/backend.c:213] Found 1 GPUs
II 12-10-24 21:26:33.457 - [backend/drm/backend.c:202] Initializing DRM backend for /dev/dri/card0 (i915)
II 12-10-24 21:26:33.457 - [backend/drm/drm.c:255] Found 3 DRM CRTCs
II 12-10-24 21:26:33.457 - [backend/drm/drm.c:213] Found 9 DRM planes
II 12-10-24 21:26:33.460 - [render/egl.c:206] Supported EGL 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_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_explicit_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_EXT_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless
II 12-10-24 21:26:33.613 - [render/egl.c:355] Using EGL 1.5
II 12-10-24 21:26:33.613 - [render/egl.c:356] Supported EGL display extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_config_select_group EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_query_reset_notification_strategy EGL_IMG_context_priority EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control 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_base 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_drm_image EGL_MESA_gl_interop EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_MESA_x11_native_visual_id EGL_WL_bind_wayland_display
II 12-10-24 21:26:33.613 - [render/egl.c:358] Supported EGL device extensions: EGL_EXT_device_drm EGL_EXT_device_drm_render_node
II 12-10-24 21:26:33.613 - [render/egl.c:360] EGL vendor: Mesa Project
II 12-10-24 21:26:33.615 - [render/gles2/renderer.c:842] Creating GLES2 renderer
II 12-10-24 21:26:33.615 - [render/gles2/renderer.c:843] Using OpenGL ES 3.0 Mesa 24.1.7
II 12-10-24 21:26:33.615 - [render/gles2/renderer.c:844] GL vendor: Intel
II 12-10-24 21:26:33.615 - [render/gles2/renderer.c:845] GL renderer: Mesa Intel(R) HD Graphics 4000 (IVB GT2)
II 12-10-24 21:26:33.615 - [render/gles2/renderer.c:846] Supported GLES2 extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic 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_AMD_performance_monitor 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_texture_storage GL_NV_pack_subimage GL_NV_texture_barrier GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean 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_APPLE_sync GL_EXT_draw_buffers GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_texture_compression_astc_ldr GL_NV_generate_mipmap_sRGB 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_debug_label GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_group_vote GL_EXT_shader_integer_mix GL_INTEL_performance_query 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_polygon_offset_clamp GL_EXT_render_snorm GL_EXT_texture_border_clamp GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_NV_shader_noperspective_interpolation GL_OES_copy_image 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_float_blend GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 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_memory_object GL_EXT_memory_object_fd GL_EXT_semaphore GL_EXT_semaphore_fd GL_EXT_texture_compression_bptc GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_NV_alpha_to_coverage_dither_control GL_EXT_EGL_image_storage GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_texture_shadow_lod GL_INTEL_blackhole_render GL_MESA_framebuffer_flip_y GL_EXT_demote_to_helper_invocation GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_sampler_objects GL_MESA_bgra
II 12-10-24 21:26:33.639 - [src/default-config-backend.cpp:110] Using config file: /home/romasz/.config/wayfire.ini
WW 12-10-24 21:26:33.639 - [src/file.cpp:575] Failed to open XML directory /home/romasz/.local/share//wayfire/metadata
II 12-10-24 21:26:33.639 - [src/file.cpp:579] Reading XML configuration options from directory /usr/local/share/wayfire/metadata
II 12-10-24 21:26:33.639 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/extra-gestures.xml
II 12-10-24 21:26:33.639 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/session-lock.xml
II 12-10-24 21:26:33.639 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/grid.xml
II 12-10-24 21:26:33.640 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/preserve-output.xml
II 12-10-24 21:26:33.640 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/resize.xml
II 12-10-24 21:26:33.640 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/scale.xml
II 12-10-24 21:26:33.640 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/gtk-shell.xml
II 12-10-24 21:26:33.640 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/output.xml
II 12-10-24 21:26:33.641 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/xdg-activation.xml
II 12-10-24 21:26:33.641 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/place.xml
II 12-10-24 21:26:33.641 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/foreign-toplevel.xml
II 12-10-24 21:26:33.641 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/expo.xml
II 12-10-24 21:26:33.641 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/invert.xml
II 12-10-24 21:26:33.641 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/animate.xml
II 12-10-24 21:26:33.641 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/oswitch.xml
II 12-10-24 21:26:33.641 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/wobbly.xml
II 12-10-24 21:26:33.641 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/workarounds.xml
II 12-10-24 21:26:33.642 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/core.xml
II 12-10-24 21:26:33.642 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/fast-switcher.xml
II 12-10-24 21:26:33.642 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/cube.xml
II 12-10-24 21:26:33.642 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/wm-actions.xml
II 12-10-24 21:26:33.642 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/decoration.xml
II 12-10-24 21:26:33.642 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/idle.xml
II 12-10-24 21:26:33.642 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/switcher.xml
II 12-10-24 21:26:33.642 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/alpha.xml
II 12-10-24 21:26:33.643 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/wsets.xml
II 12-10-24 21:26:33.643 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/simple-tile.xml
II 12-10-24 21:26:33.643 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/autostart.xml
II 12-10-24 21:26:33.643 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/move.xml
II 12-10-24 21:26:33.643 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/input-device.xml
II 12-10-24 21:26:33.643 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/scale-title-filter.xml
II 12-10-24 21:26:33.643 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/vswipe.xml
II 12-10-24 21:26:33.643 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/shortcuts-inhibit.xml
II 12-10-24 21:26:33.643 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/input-method-v1.xml
II 12-10-24 21:26:33.644 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/wayfire-shell.xml
II 12-10-24 21:26:33.644 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/input.xml
II 12-10-24 21:26:33.644 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/vswitch.xml
II 12-10-24 21:26:33.644 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/zoom.xml
II 12-10-24 21:26:33.644 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/fisheye.xml
II 12-10-24 21:26:33.644 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/blur.xml
II 12-10-24 21:26:33.645 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/wrot.xml
II 12-10-24 21:26:33.645 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/ipc.xml
II 12-10-24 21:26:33.645 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/ipc-rules.xml
II 12-10-24 21:26:33.645 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/window-rules.xml
II 12-10-24 21:26:33.645 - [src/file.cpp:529] Reading XML configuration options from file /usr/local/share/wayfire/metadata/command.xml
II 12-10-24 21:26:33.646 - [backend/headless/backend.c:67] Creating headless backend
II 12-10-24 21:26:33.646 - [backend/headless/backend.c:17] Starting headless backend
II 12-10-24 21:26:33.657 - [src/main.cpp:435] Using socket name wayland-1
II 12-10-24 21:26:33.684 - [src/core/seat/input-manager.cpp:48] handle new input: System keyboard multiplexer, default mapping: System keyboard multiplexer
II 12-10-24 21:26:33.689 - [src/core/seat/input-manager.cpp:48] handle new input: System mouse, default mapping: System mouse
II 12-10-24 21:26:33.689 - [src/core/seat/input-manager.cpp:48] handle new input: Power Button, default mapping: Power Button
II 12-10-24 21:26:33.694 - [src/core/seat/input-manager.cpp:48] handle new input: Sleep Button, default mapping: Sleep Button
II 12-10-24 21:26:33.698 - [src/core/seat/input-manager.cpp:48] handle new input: vendor 0x3044 MIIIW USB Recriver, class 0/0, rev 1.10/2.00, addr 1, default mapping: vendor 0x3044 MIIIW USB Recriver, class 0/0, rev 1.10/2.00, addr 1
II 12-10-24 21:26:33.703 - [src/core/seat/input-manager.cpp:48] handle new input: vendor 0x3044 MIIIW USB Recriver, class 0/0, rev 1.10/2.00, addr 1, default mapping: vendor 0x3044 MIIIW USB Recriver, class 0/0, rev 1.10/2.00, addr 1
II 12-10-24 21:26:33.703 - [backend/drm/drm.c:1552] Scanning DRM connectors on /dev/dri/card0
II 12-10-24 21:26:33.703 - [backend/drm/drm.c:1603] Found connector 'VGA-1'
II 12-10-24 21:26:33.707 - [backend/drm/drm.c:1603] Found connector 'HDMI-A-1'
II 12-10-24 21:26:33.707 - [backend/drm/drm.c:1603] Found connector 'DP-1'
II 12-10-24 21:26:33.711 - [backend/drm/drm.c:1603] Found connector 'HDMI-A-2'
II 12-10-24 21:26:33.763 - [backend/drm/drm.c:1603] Found connector 'HDMI-A-3'
II 12-10-24 21:26:33.763 - [backend/drm/drm.c:1628] 'HDMI-A-3' connected
II 12-10-24 21:26:33.763 - [backend/drm/drm.c:1436] Detected modes:
II 12-10-24 21:26:33.763 - [backend/drm/drm.c:1467]   1920x1080 @ 60.000 Hz (preferred)
II 12-10-24 21:26:33.763 - [backend/drm/drm.c:1467]   1920x1080 @ 60.000 Hz
II 12-10-24 21:26:33.763 - [backend/drm/drm.c:1467]   1920x1080 @ 59.940 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   1920x1080 @ 50.000 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   1680x1050 @ 59.883 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   1600x900 @ 60.000 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   1280x1024 @ 75.025 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   1280x1024 @ 60.020 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   1280x800 @ 59.910 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   1152x864 @ 75.000 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   1280x720 @ 60.000 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   1280x720 @ 60.000 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   1280x720 @ 59.940 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   1280x720 @ 50.000 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   1024x768 @ 75.029 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   1024x768 @ 60.004 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   832x624 @ 74.551 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   800x600 @ 75.000 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   800x600 @ 60.317 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   720x576 @ 50.000 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   720x576 @ 50.000 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   720x480 @ 60.000 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   720x480 @ 60.000 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   720x480 @ 59.940 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   720x480 @ 59.940 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   720x480 @ 59.940 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   640x480 @ 75.000 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   640x480 @ 60.000 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   640x480 @ 59.940 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   640x480 @ 59.940 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1467]   720x400 @ 70.082 Hz
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1485] Physical size: 600x340
II 12-10-24 21:26:33.764 - [backend/drm/drm.c:1603] Found connector 'DP-2'
II 12-10-24 21:26:33.843 - [backend/drm/drm.c:1603] Found connector 'DP-3'
II 12-10-24 21:26:33.843 - [backend/drm/drm.c:1664] connector HDMI-A-3: Requesting modeset
II 12-10-24 21:26:33.843 - [src/core/output-layout.cpp:1178] new output: HDMI-A-3 ("BNQ BenQ GW2780 ETGAL06224SL0")
II 12-10-24 21:26:33.843 - [src/core/output-layout.cpp:461] loaded mode auto
II 12-10-24 21:26:33.846 - [backend/drm/drm.c:788] connector HDMI-A-3: Modesetting with 1920x1080 @ 60.000 Hz
(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
false
false
false
EE 12-10-24 21:26:34.184 - [types/wlr_cursor.c:1175] Cannot map device "System keyboard multiplexer" to output (not found in this cursor)
EE 12-10-24 21:26:34.184 - [types/wlr_cursor.c:1175] Cannot map device "Power Button" to output (not found in this cursor)
EE 12-10-24 21:26:34.184 - [types/wlr_cursor.c:1175] Cannot map device "Sleep Button" to output (not found in this cursor)
EE 12-10-24 21:26:34.184 - [types/wlr_cursor.c:1175] Cannot map device "vendor 0x3044 MIIIW USB Recriver, class 0/0, rev 1.10/2.00, addr 1" to output (not found in this cursor)
II 12-10-24 21:26:34.189 - [xwayland/server.c:108] Starting Xwayland on :0
EE 12-10-24 21:26:34.750 - [src/view/xwayland/xwayland-toplevel.cpp:154] Configuring a xwayland surface with width/height <0
II 12-10-24 21:26:44.934 - [wayland] failed to read client connection (pid 98293)
II 12-10-24 21:27:51.387 - [libseat] [libseat/backend/seatd.c:207] Disabling seat
II 12-10-24 21:27:51.398 - [backend/drm/backend.c:143] DRM fd paused

When I start wayfire, only the mouse works and only the background is loaded and then, nothing else loads. I'm using the default wayfire configuration. The hardware is a intel mac mini 6.1 as it's described here:

https://bsd-hardware.info/?probe=365bb9e521

kernel modules are loaded correctly, any ideas? thanks!

edit: added libinput list-devices output:

Code:
imnotaduck@freebsd14mc:~ % sudo libinput list-devices
Password:
Device:           System keyboard multiplexer
Kernel:           /dev/input/event0
Group:            1
Seat:             seat0, default
Capabilities:     keyboard
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           System mouse
Kernel:           /dev/input/event1
Group:            2
Seat:             seat0, default
Capabilities:     pointer
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive custom
Rotation:         0.0

Device:           Power Button
Kernel:           /dev/input/event2
Group:            3
Seat:             seat0, default
Capabilities:     keyboard
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Sleep Button
Kernel:           /dev/input/event3
Group:            4
Seat:             seat0, default
Capabilities:     keyboard
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           vendor 0x3044 MIIIW USB Recriver, class 0/0, rev 1.10/2.00, addr 1
Kernel:           /dev/input/event4
Group:            5
Seat:             seat0, default
Capabilities:     keyboard
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           vendor 0x3044 MIIIW USB Recriver, class 0/0, rev 1.10/2.00, addr 1
Kernel:           /dev/input/event7
Group:            6
Seat:             seat0, default
Capabilities:     pointer
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive custom
Rotation:         0.0
 
I'm, completely confused as usual. Are we supposed to start this manually at the command line after login? I tried:
Code:
wayfire -c <path to config file>
on the command line after logging in and got:

Code:
II 07-04-25 20:36:48.225 - [src/main.cpp:364] Starting wayfire version v0.9.0
II 07-04-25 20:36:48.225 - [backend/backend.c:310] Loading user-specified backends due to WLR_BACKENDS: wayland
II 07-04-25 20:36:48.225 - [backend/wayland/backend.c:572] Creating wayland backend
EE 07-04-25 20:36:48.225 - [backend/wayland/backend.c:592] Could not connect to remote display: No such file or directory
EE 07-04-25 20:36:48.225 - [backend/backend.c:322] failed to add backend 'wayland'
EE 07-04-25 20:36:48.225 - [src/main.cpp:141] Fatal error: Segmentation fault
EE 07-04-25 20:36:48.226 - #1  0x338f20 <main+0x1900> at /usr/local/bin/wayfire
EE 07-04-25 20:36:48.226 - #2  0x82c09a410 <pthread_sigmask+0x540> at /lib/libthr.so.3
EE 07-04-25 20:36:48.226 - #3  0x82c0999cb <pthread_setschedparam+0x84b> at /lib/libthr.so.3
EE 07-04-25 20:36:48.226 - #4  0x820dda2d3 <???> at ???
EE 07-04-25 20:36:48.226 - #5  0x821ec7384 <wlr_backend_get_drm_fd+0x4> at /usr/local/lib/libwlroots-0.17.so
EE 07-04-25 20:36:48.226 - #6  0x337af5 <main+0x4d5> at /usr/local/bin/wayfire
EE 07-04-25 20:36:48.226 - #7  0x829a06c3a <__libc_start1+0x12a> at /lib/libc.so.7

ps aux:
Code:
root       1294    0.0  0.0 13856 2392  -  Is   20:05    0:00.00 daemon: /usr/local/bin/seatd[1295] (daemon)
root       1295    0.0  0.0 13772 2252  -  I    20:05    0:00.00 /usr/local/bin/seatd -g video
Whats the proper way to start this? Is there supposed to be a display manager? I use amd btw not nvidia. I think it may be caused by output not set correct in wayfire.ini. I tried eDP-1, HDMI-A-1 and HDMI-1. none worked. wlr-randr and xrander say "failed to connect to display". amdgpu.ko is loaded. How to get output name?

Edit:
chatgpt says run this:
dbus-run-session -- env XDG_SESSION_TYPE=wayland WLR_BACKENDS=libinput,drm wayfire

That gave me a gui desktop. The doc just says run wayfire. That's quite different. This is really poorly documented and totally confusing.
 
Back
Top