Trying to run KDE 6 Plasma with Wayland....

0 views
Skip to first unread message

Mario Marietto

unread,
Jun 27, 2024, 2:19:44 PM (3 days ago) Jun 27
to freebsd...@freebsd.org, FreeBSD Mailing List

Hello to everyone.

I want to try to run Wayland + KDE 6 plasma. I have assembled the following commands that brought me close to the goal achievement,I think :


==> pkg install bash
==> pw groupmod video -m marietto
==> pkg install noto-2.0 sudo
==> EDITOR=nano visudo

%wheel ALL=(ALL:ALL) ALL
%sudo   ALL=(ALL:ALL) ALL

==> nano /etc/fstab

proc     /proc    procfs    rw      0       0

==> mount -a

==> pkg install plasma6-plasma kde6-devel
==> pkg install --glob "plasma6-*"
==> pkg install --glob "kf6-*"
==> sysrc dbus_enable="YES"
==> sysrc seatd_enable="YES"
==> sysrc -f /etc/rc.conf kld_list+="nvidia-modeset nvidia-
drm linux linux64 i915kms ext2fs mac_priority"
==> sysctl net.local.stream.recvspace=65536
==> sysctl net.local.stream.sendspace=65536

==> pkg install seatd nvidia-driver nvidia-settings nvidia-
drm-kmod libva-intel-driver libva-utils linux-nvidia-libs 
libc6-shim libvdpau-va-gl libva-nvidia-driver xdg-desktop-
portal-wlr wlrobs grim slurp wlr-which-key wayland-protocols 
wayfire wf-shell wayfire-plugins-extra

nano start.sh :

#!/usr/local/bin/bash

export MOZ_ENABLE_WAYLAND=1
export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export XDG_SESSION_TYPE=wayland
export XDG_RUNTIME_DIR=/tmp/$USER/.xdg
export CLUTTER_BACKEND=wayland
export SDL_VIDEODRIVER=wayland
export LIBGL_DRI3_ENABLE=1
export XKB_DEFAULT_RULES=evdev
export QT_QPA_PLATFORM=wayland-egl
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export BEMENU_BACKEND=wayland
export WLR_DRM_NO_ATOMIC=1
export XCURSOR_THEME=whiteglass
#export QT_QPA_PLATFORMTHEME=qt5ct
export WLR_NO_HARDWARE_CURSORS=1

[ -d $XDG_RUNTIME_DIR ] || mkdir -m 700 -p $XDG_RUNTIME_DIR

WM=startplasma-wayland
exec dbus-launch --sh-syntax --exit-with-session startplasma-
wayland==> pkg install bash
==> pw groupmod video -m marietto
==> pkg install noto-2.0 sudo
==> EDITOR=nano visudo

%wheel ALL=(ALL:ALL) ALL
%sudo   ALL=(ALL:ALL) ALL

==> nano /etc/fstab

proc            /proc                   procfs          rw              0       0

==> mount -a

==> pkg install plasma6-plasma kde6-devel
==> pkg install --glob "plasma6-*"
==> pkg install --glob "kf6-*"
==> sysrc dbus_enable="YES"
==> sysrc seatd_enable="YES"
==> sysrc -f /etc/rc.conf kld_list+="nvidia-modeset nvidia-drm linux linux64 i915kms ext2fs mac_priority"
==> sysctl net.local.stream.recvspace=65536
==> sysctl net.local.stream.sendspace=65536

==> pkg install seatd nvidia-driver nvidia-settings nvidia-drm-kmod libva-intel-driver libva-utils linux-nvidia-libs libc6-shim libvdpau-va-gl libva-nvidia-driver xdg-desktop-portal-wlr wlrobs grim slurp wlr-which-key wayland-protocols wayfire wf-shell wayfire-plugins-extra

nano start.sh :

#!/usr/local/bin/bash

export MOZ_ENABLE_WAYLAND=1
export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export XDG_SESSION_TYPE=wayland
export XDG_RUNTIME_DIR=/tmp/$USER/.xdg
export CLUTTER_BACKEND=wayland
export SDL_VIDEODRIVER=wayland
export LIBGL_DRI3_ENABLE=1
export XKB_DEFAULT_RULES=evdev
export QT_QPA_PLATFORM=wayland-egl
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export BEMENU_BACKEND=wayland
export WLR_DRM_NO_ATOMIC=1
export XCURSOR_THEME=whiteglass
#export QT_QPA_PLATFORMTHEME=qt5ct
export WLR_NO_HARDWARE_CURSORS=1

[ -d $XDG_RUNTIME_DIR ] || mkdir -m 700 -p $XDG_RUNTIME_DIR

WM=startplasma-wayland
exec dbus-launch --sh-syntax --exit-with-session startplasma-
wayland

but I get the following errors :


https://ibb.co/Hhd5y0Z
https://ibb.co/XL1xtLH

I get the same error with this startup script :


#!/usr/local/bin/bash

export XDG_RUNTIME_DIR=/tmp/$USER/.xdg
export WLR_NO_HARDWARE_CURSORS=1

[ -d $XDG_RUNTIME_DIR ] || mkdir -m 700 -p $XDG_RUNTIME_DIR

WM=startplasma-wayland
exec dbus-launch --sh-syntax --exit-with-session startplasma-
wayland

So. It does not work,but it seems to me that there are some missing / wrong parameters,but I don't see errors caused by some kind of bug...

--
Mario.
Reply all
Reply to author
Forward
0 new messages