ziomario

joined 4 months ago
 

Hello to everyone.

I'm trying to run KDE 6 with Wayland on FreeBSD 14.1-p2. I tried with both my PCs. The first one has 2 nvidia cards :

GTX 1060
RTX 2080 ti

The second has only 1 integrated GPU : Mesa Intel HD Graphics 4600

Ok. On the second PC they worked. On the first one it does not work.

Definitely the error to fix is this :

No provider of glEGLImageTargetTexture2DOES found. Requires one of : GL_OES_EGL_image

This is the script I use to start kde 6 + wayland and that it works on the PC with the Intel HD Graphics 4600 :

export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_RUNTIME_DIR="/var/run/user/1001"
export LIBSEAT_BACKEND=consolekit2

ck-launch-session dbus-run-session startplasma-wayland

Do you have any idea about what could cause this and how to fix this ?

Thanks.

1
submitted 4 months ago* (last edited 4 months ago) by ziomario@lemmy.kde.social to c/kde@lemmy.ml
 

Hello.

I wanted to try to run Wayland + KDE 6 plasma. I've created the following tutorial that unfortunately has some errors inside,since the project does not work.

The steps that I have taken are the following :

1 - added user to the wheel and video groups :

sudo pw groupmod wheel video -m marietto


2 - sysrc

sudo sysrc -f /etc/rc.conf kld_list+="nvidia-modeset nvidia-drm linux linux64 i915kms"


3 - installed the following packages :


==> pkg install --glob "plasma6-*"
==> pkg install --glob "kf6-*"
==> pkg install plasma-wayland-protocols plasma6-xdg-desktop-portal-kde kf6-breeze-icons-6 kde6-devel

4- removed these packages :

pkg remove xdg-desktop-portal-wlr wlrobs grim slurp wlr-which-key wayland-protocols wayfire wf-shell wayfire-plugins-extra


5- setup locales :
 
# nano /etc/login.conf

italian|Italian Users Accounts:\
:charset=UTF-8:\
:lang=it_IT.UTF-8:\
:tc=default

# cap_mkdb /etc/login.conf
# pw usermod marietto -L italian

# nano /etc/profile

export LANG=it_IT.UTF-8
export MM_CHARSET=UTF-8

nano /etc/csh.login

setenv LANG it_IT.UTF-8
setenv MM_CHARSET UTF-8


6 - created a startup script called start-kde6

#!/bin/bash

export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_RUNTIME_DIR="/var/run/user/`id -u`"

exec dbus-launch --exit-with-session ck-launch-session startplasma-wayland


7) made it executable :


chmod +x start-kde6


8) rebooted the machine and logged in as normal user and ran the startup script :


./start-kde6

I see a lot of errors and it didn't work :

dbus[4084]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/var/run/user/1001" not available: No such file or directory
org.kde.startup: not a reply org.freedesktop.locale1 QDBusMessage(type=Error, service="", error name="org.freedesktop.DBus.Error.ServiceUnknown", 
error message="The name org.freedesktop.locale1 was not provided by any .service files", signature="s", 
contents=("The name org.freedesktop.locale1 was not provided by any .service files") )

Detected locale "C" with character encoding "US-ASCII", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.

No backend specified, automatically choosing drm

kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:39:34: string literal is not a valid UTF-8 string
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:40:29: string literal is not a valid UTF-8 string
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:41:29: string literal is not a valid UTF-8 string
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:42:29: string literal is not a valid UTF-8 string
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:43:29: string literal is not a valid UTF-8 string
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:44:27: string literal is not a valid UTF-8 string
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:45:27: string literal is not a valid UTF-8 string
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:46:27: string literal is not a valid UTF-8 string
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:47:27: string literal is not a valid UTF-8 string
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:48:29: string literal is not a valid UTF-8 string
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:49:29: string literal is not a valid UTF-8 string
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:49:29: too many errors

kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:49:29: failed to parse file
Unable to determine system time zone: please check your system configuration.
kwin_screencast: Failed to connect PipeWire context

Detected locale "C" with character encoding "US-ASCII", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual for more information.

No backend specified, automatically choosing drm

Unable to determine system time zone: please check your system configuration.
kwin_screencast: Failed to connect PipeWire context
org.kde.startup: "kdeinit5_shutdown" QList() exited with code 255
startplasma-wayland: Shutting down...
startplasmacompositor: Shutting down...
startplasmacompositor: Done.

qt.qpa.wayland: "wl-shell" is a deprecated shell extension, prefer using "xdg-shell" if supported by the compositor by setting the 
environment variable QT_WAYLAND_SHELL_INTEGRATION

qt.qpa.wayland: "wl-shell" is a deprecated shell extension, prefer using "xdg-shell" if supported by the compositor by setting the 
environment variable QT_WAYLAND_SHELL_INTEGRATION

qt.qpa.wayland: Loading shell integration failed.
qt.qpa.wayland: Attempted to load the following shells QList("xdg-shell", "wl-shell", "ivi-shell", "qt-shell")
qt.qpa.wayland: Loading shell integration failed.
qt.qpa.wayland: Attempted to load the following shells QList("xdg-shell", "wl-shell", "ivi-shell", "qt-shell")
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: minimal, offscreen, vkkhrdisplay, vnc, xcb, wayland, wayland-egl.

qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: minimal, offscreen, vkkhrdisplay, vnc, xcb, wayland, wayland-egl.