Hi,

>   Alice  asked me  to look into starting  Wayland/KDE6/Plasma6 on  
> Nvidia GPU  on  FreeBSD  15.
> 
>   I have now tried KDE6-Plasma6-Wayland on Freebsd15-stable with NVIDIA 
> GPU RTX4000-ADA, that i upgraded yesterday 2026-01-28 with latest  
> stable 15 src tree and latest /usr/ports/  tree.
> 
> I decided to use the same approach that I used on 16-current , to 
> include "WAYLAND" in the /etc/make.conf OPTIONS_SET_FORCE list.
> This builds the KDE6_Plasma6 binaries with usable WAYLAND environment 
> when doing a manual build of
> x11/xorg, x11/gnome, x11/kde x11/kde-gear, graphics/nvidia_drm_kmod 
> sysutils/seatd . WAYLAND parts is buildt as a biproduct.
> ( the NVIDIA setup is the standard documented setup from the handbook )
> Previously I had not FORCED SET wayland form the /etc/make.conf on this 
> workstation.

We already have WAYLAND option enabled for all KDE ports. There is no need to
tweak OPTIONS_SET and build packages yourself.

> and
> export WLR_NO_HARDWARE_CURSORS=1
> export KWIN_FORCE_SW_CURSOR=1
> in $HOME/.profile
> 
> to address the non showing cursor.
> 
> I now believe that the reason for difficulties of setting up wayland 
> with KDE6_Plasma6 and Nvidia GPU is because
> some binary packages in the repos are built without the Wayland options.
> 
> I now have the following compiled ports with a configured option of 
> WAYLAND .
> ( list below extracted  from  /var/db/ports   options  lists )
> 
> 
> devel_sdl20
> devel_sdl3
> graphics_gstreamer1-plugins-gl
> graphics_mesa-dri
> graphics_mesa-libs
> graphics_plasma6-spectacle
> graphics_vulkan-loader
> graphics_vulkan-tools
> multimedia_gstreamer1-vaapi
> multimedia_libva
> multimedia_libxine
> multimedia_mpv
> multimedia_vlc
> net_freerdp3
> sysutils_gnome-control-center
> sysutils_gnome-settings-daemon
> textproc_ibus
> www_webkit2-gtk
> x11-toolkits_gtk30
> x11-toolkits_gtk40
> x11-wm_mutter
> x11_libxkbcommon

All these ports build with WAYLAND support by default, except
multimedia/libxine, which is not used by KDE ports anyway.

> I believe it  should be  ensured  that  Wayland compile-time option  is  
> included  when  building the  binary  Repo packages.
> This makes wayland start on NVIDIA KDE6 Plasma6 for both Freebsd 15 and 16.
> 
> 
> using
> 
> $ exec dbus-launch ck-launch-session startplasma-wayland

Alternatively you can just run SDDM and choose Plasma Wayland.

Cheers,
Max




Reply via email to