Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2024 20:18:36 +0200
From:      Mario Marietto <marietto2008@gmail.com>
To:        freebsd-desktop@freebsd.org,  FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Trying to run KDE 6 Plasma with Wayland....
Message-ID:  <CA%2B1FSiiDuzMjnJj5gHwxTTBq%2Bo1ypw9Rw4Z%2BnZ9%2BXU7MJ0X5RQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--000000000000f87770061be32a5f
Content-Type: text/plain; charset="UTF-8"

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/VNmW9Wn
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.

--000000000000f87770061be32a5f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><p>
    Hello to everyone.<br></p><p>
    I want to try to run Wayland + KDE 6 plasma. I have assembled the=20
following commands that brought me close to the goal achievement,I think :<=
/p><p><br>
  </p><pre>=3D=3D&gt; pkg install bash
=3D=3D&gt; pw groupmod video -m marietto
=3D=3D&gt; pkg install noto-2.0 sudo
=3D=3D&gt; EDITOR=3Dnano visudo

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

=3D=3D&gt; nano /etc/fstab

proc     /proc    procfs    rw      0       0

=3D=3D&gt; mount -a

=3D=3D&gt; pkg install plasma6-plasma kde6-devel
=3D=3D&gt; pkg install --glob &quot;plasma6-*&quot;
=3D=3D&gt; pkg install --glob &quot;kf6-*&quot;
=3D=3D&gt; sysrc dbus_enable=3D&quot;YES&quot;
=3D=3D&gt; sysrc seatd_enable=3D&quot;YES&quot;
=3D=3D&gt; sysrc -f /etc/rc.conf kld_list+=3D&quot;nvidia-modeset nvidia-
drm linux linux64 i915kms ext2fs mac_priority&quot;
=3D=3D&gt; sysctl net.local.stream.recvspace=3D65536
=3D=3D&gt; sysctl net.local.stream.sendspace=3D65536

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

nano start.sh :

#!/usr/local/bin/bash

export MOZ_ENABLE_WAYLAND=3D1
export __NV_PRIME_RENDER_OFFLOAD=3D1
export __GLX_VENDOR_LIBRARY_NAME=3Dnvidia
export XDG_SESSION_TYPE=3Dwayland
export XDG_RUNTIME_DIR=3D/tmp/$USER/.xdg
export CLUTTER_BACKEND=3Dwayland
export SDL_VIDEODRIVER=3Dwayland
export LIBGL_DRI3_ENABLE=3D1
export XKB_DEFAULT_RULES=3Devdev
export QT_QPA_PLATFORM=3Dwayland-egl
export QT_WAYLAND_DISABLE_WINDOWDECORATION=3D1
export BEMENU_BACKEND=3Dwayland
export WLR_DRM_NO_ATOMIC=3D1
export XCURSOR_THEME=3Dwhiteglass
#export QT_QPA_PLATFORMTHEME=3Dqt5ct
export WLR_NO_HARDWARE_CURSORS=3D1

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

WM=3Dstartplasma-wayland
exec dbus-launch --sh-syntax --exit-with-session startplasma-
wayland=3D=3D&gt; pkg install bash
=3D=3D&gt; pw groupmod video -m marietto
=3D=3D&gt; pkg install noto-2.0 sudo
=3D=3D&gt; EDITOR=3Dnano visudo

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

=3D=3D&gt; nano /etc/fstab

proc            /proc                   procfs          rw              0  =
     0

=3D=3D&gt; mount -a

=3D=3D&gt; pkg install plasma6-plasma kde6-devel
=3D=3D&gt; pkg install --glob &quot;plasma6-*&quot;
=3D=3D&gt; pkg install --glob &quot;kf6-*&quot;
=3D=3D&gt; sysrc dbus_enable=3D&quot;YES&quot;
=3D=3D&gt; sysrc seatd_enable=3D&quot;YES&quot;
=3D=3D&gt; sysrc -f /etc/rc.conf kld_list+=3D&quot;nvidia-modeset nvidia-dr=
m linux linux64 i915kms ext2fs mac_priority&quot;
=3D=3D&gt; sysctl net.local.stream.recvspace=3D65536
=3D=3D&gt; sysctl net.local.stream.sendspace=3D65536

=3D=3D&gt; 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=3D1
export __NV_PRIME_RENDER_OFFLOAD=3D1
export __GLX_VENDOR_LIBRARY_NAME=3Dnvidia
export XDG_SESSION_TYPE=3Dwayland
export XDG_RUNTIME_DIR=3D/tmp/$USER/.xdg
export CLUTTER_BACKEND=3Dwayland
export SDL_VIDEODRIVER=3Dwayland
export LIBGL_DRI3_ENABLE=3D1
export XKB_DEFAULT_RULES=3Devdev
export QT_QPA_PLATFORM=3Dwayland-egl
export QT_WAYLAND_DISABLE_WINDOWDECORATION=3D1
export BEMENU_BACKEND=3Dwayland
export WLR_DRM_NO_ATOMIC=3D1
export XCURSOR_THEME=3Dwhiteglass
#export QT_QPA_PLATFORMTHEME=3Dqt5ct
export WLR_NO_HARDWARE_CURSORS=3D1

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

WM=3Dstartplasma-wayland
exec dbus-launch --sh-syntax --exit-with-session startplasma-
wayland<br><br></pre><p>
    but I get the following errors :
  </p><div><br></div><div><a href=3D"https://ibb.co/VNmW9Wn">https://ibb.co=
/VNmW9Wn</a></div><a href=3D"https://ibb.co/Hhd5y0Z">https://ibb.co/Hhd5y0Z=
</a><br><a href=3D"https://ibb.co/XL1xtLH">https://ibb.co/XL1xtLH</a><br cl=
ear=3D"all"><div><br></div><div><p>
    I get the same error with this startup script : <br></p><p><br></p><pre=
>#!/usr/local/bin/bash

export XDG_RUNTIME_DIR=3D/tmp/$USER/.xdg
export WLR_NO_HARDWARE_CURSORS=3D1

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

WM=3Dstartplasma-wayland
exec dbus-launch --sh-syntax --exit-with-session startplasma-
wayland<br><br></pre><p>
    So. It does not work,but it seems to me that there are some missing /
 wrong parameters,but I don&#39;t see errors caused by some kind of=20
bug...</p></div><span class=3D"gmail_signature_prefix">-- </span><br><div d=
ir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature">Mar=
io.<br></div></div>

--000000000000f87770061be32a5f--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSiiDuzMjnJj5gHwxTTBq%2Bo1ypw9Rw4Z%2BnZ9%2BXU7MJ0X5RQ>