Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 2026 20:08:21 +0300
From:      Max Brazhnikov <makc@freebsd.org>
To:        alice Sowerby <alice@freebsdfoundation.org>, freebsd@ny-central.org, Alfonso Sabato Siciliano <alfix86@gmail.com>, emaste@freebsdfoundation.org, freebsd-desktop@freebsd.org
Cc:        Lars Tunkrans <drsnx60@gmail.com>
Subject:   Re: [LDWG] running KDE6 on WAYLAND for 16-current and 15-stable
Message-ID:  <3083586.hHqAuc6tWs@mercury>
In-Reply-To: <b636ad80-5fcd-48e9-9bfa-756d4fe7abfb@gmail.com>

index | next in thread | previous in thread | raw e-mail

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





home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3083586.hHqAuc6tWs>