i have got XWayland working on Wayfire, Labwc and dwl
with nvidias proprietary drivers
i use XWayland to run X11 apps like Davinci Resolve in a linux jail
and forward the display from the jail to the Freebsd host
i have been using Wayland on Freebsd for the last 16 months
and have tired wayfire, labwc, hikari, dwl and a few others
wayfire = comes with a panel and a has a gui to configure the settings rather bloated with lots of effects
doesnt have independent workspace per display, you have to pin applications to a display
labwc = doesnt have a panel, so you need to install one
doesnt have independent workspace per display, you have to pin applications to a display
hikari = not going to be updated to the latest version of wlroots by the looks of things
so pretty much abandonware
dwl = built in panel, so you dont have to install one
the best wlroots compositor on Freebsd by far
independent workspace per display, without having to pin applications to a monitor
dwl is the only compositor on Freebsd with independent workspace per display
so it you have a multi monitor set up then dwl is by far the best
you have to enable XWayland in dwl but i cover that in the guide
i dont really tile windows that often, i just keep them on separate workspaces
so even if you arent a tiling window user i would still recommend dwl
heres the top 3
1 - dwl
2 - labwc
3 - wayfire
cerberus code library. Contribute to NapoleonWils0n/cerberus development by creating an account on GitHub.
github.com
nvidia-smi
Code:
Yes Master ? nv-sglrun nvidia-smi
shim init
Wed Mar 12 15:27:36 2025
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.127.05 Driver Version: 550.127.05 CUDA Version: 12.4 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce GTX 1650 Off | 00000000:01:00.0 Off | N/A |
| N/A 48C P8 2W / 50W | 1MiB / 4096MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| No running processes found |
+-----------------------------------------------------------------------------------------+
i have written several guides in the how to section
1- freebsd dwl wayland tiling window manager install
freebsd dwl wayland tiling window manager install with patches in a separate git branch.
the reason why you need to build dwl on freebsd rather than using the port or packages
is because the dwl package lets you set an variable called DWL_HOME_CONFIG that points to a dwl config.h file
which is used to customize dwl
the problem is that a lot of the dwl patches like movestack have changes in other files like dwl.c
and since the dwl package only uses the config.h file most of the patches wont work with the dwl package or port
in this video i cover install dwl on freebsd...
2- labwc a stacking wayland window manager inspired by openbox
Labwc is a wlroots-based window-stacking compositor for wayland,
inspired by openbox.
In this video i cover window placement , setting the theme, creating keyboard shortcuts to switch workspaces and move windows to different workspaces and monitors
How to warp your cursor between monitors, create keyboard shortcuts to increase, decrease and mute the volume
labwc doesnt have independant workspaces per monitor,
but you can set windows to be dsplayed on all workspaces using a keyboard shortcut
you can also create rules for particular windows like chromium, mpv and...
3 - Freebsd 14 Wayland and Wayfire using Nvidia on Dell XPS 15
Freebsd 14 Wayland running the Wayfire compositor on a Dell XPS 15 2019 using a Nvidia graphics card
All the hardware works but you need to use wifibox for the wifi drivers,
and nvidia on freebsd doesnt yet support nvenc and cuda
the packages needed are nvidia-driver nvidia-settings nvidia-drm-515-kmod libva-intel-driver libva-utils
and the kld_list looks like this
kld_list="i915kms nvidia-modeset nvidia-drm linux linux64"
In this video i also cover tofi a wayland dmenu rofi clone
Tiny dynamic menu for Wayland. Contribute to philj56/tofi development by creating an account on GitHub.
github.com
Setting up mpv to open videos on the second...