Well, as a datapoint, Konqeror works perfectly fine for me (nvidia-drm (with patched linuxkpi), konq 25.12.0, plasma/frameworks 6.4.5/6.18.0, everything built from ports).Well, an update: x11-fm/konqueror has NOT been ported to Wayland. It crashes and leaves a core dump in a Wayland session, but starts properly in an Xorg session. Not a complete showstopper, but still a major annoyance.
Does anyone have a good hack to properly launch Konqueror on Wayland? Like with an XWayland shim or something like that?
QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu-compositing" can be worth a try.Yeah, they do. Falkon and KHelpCenter.Do for example kmail/akregator/falkon crash on startup as well? If yes, maybe starting konq withQTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu-compositing"can be worth a try.
kf.windowsystem: virtual void KX11Extras::connectNotify(const QMetaMethod &) may only be used on X11
kf.windowsystem: static void KX11Extras::setOnActivities(WId, const QStringList &) may only be used on X11
kf.parts: KPluginMetaData(name:"Okular", plugin-id:"okularpart") still defined ServiceTypes - this is deprecat
ed in favor of providing a "Capabilities" list in the "KParts" object in the root of the metadata
kf.parts: KPluginMetaData(name:"Gwenview Image Viewer", plugin-id:"gvpart") still defined ServiceTypes - this
is deprecated in favor of providing a "Capabilities" list in the "KParts" object in the root of the metadata
kf.parts: KPluginMetaData(name:"Terminal Emulator", plugin-id:"konsolepart") still defined ServiceTypes - this
is deprecated in favor of providing a "Capabilities" list in the "KParts" object in the root of the metadata
kf.parts: ServiceType "inode/directory" from KPluginMetaData(name:"Terminal Emulator", plugin-id:"konsolepart"
) is not a known value that can be mapped to new Capability enum values
kf.parts: ServiceType "TerminalEmulator" from KPluginMetaData(name:"Terminal Emulator", plugin-id:"konsolepart
") is not a known value that can be mapped to new Capability enum values
kf.parts: KPluginMetaData(name:"Embedded Advanced Text Editor", plugin-id:"katepart") still defined ServiceTyp
es - this is deprecated in favor of providing a "Capabilities" list in the "KParts" object in the root of the
metadata
[1] Trace/BPT trap (core dumped) konqueror QTWEBENGINE_CHROMIUM_FLAGS=--disable-gpu-compositing
Update: Nope, still crashes. Asks me to "Restore Previous Session", which I don't have, and then dumps core and the following text to stderr:
Code:kf.windowsystem: virtual void KX11Extras::connectNotify(const QMetaMethod &) may only be used on X11 kf.windowsystem: static void KX11Extras::setOnActivities(WId, const QStringList &) may only be used on X11 kf.parts: KPluginMetaData(name:"Okular", plugin-id:"okularpart") still defined ServiceTypes - this is deprecat ed in favor of providing a "Capabilities" list in the "KParts" object in the root of the metadata kf.parts: KPluginMetaData(name:"Gwenview Image Viewer", plugin-id:"gvpart") still defined ServiceTypes - this is deprecated in favor of providing a "Capabilities" list in the "KParts" object in the root of the metadata kf.parts: KPluginMetaData(name:"Terminal Emulator", plugin-id:"konsolepart") still defined ServiceTypes - this is deprecated in favor of providing a "Capabilities" list in the "KParts" object in the root of the metadata kf.parts: ServiceType "inode/directory" from KPluginMetaData(name:"Terminal Emulator", plugin-id:"konsolepart" ) is not a known value that can be mapped to new Capability enum values kf.parts: ServiceType "TerminalEmulator" from KPluginMetaData(name:"Terminal Emulator", plugin-id:"konsolepart ") is not a known value that can be mapped to new Capability enum values kf.parts: KPluginMetaData(name:"Embedded Advanced Text Editor", plugin-id:"katepart") still defined ServiceTyp es - this is deprecated in favor of providing a "Capabilities" list in the "KParts" object in the root of the metadata [1] Trace/BPT trap (core dumped) konqueror QTWEBENGINE_CHROMIUM_FLAGS=--disable-gpu-compositing
I do have all the referenced KParts installed, like Okular, Konsole, etc. A bit frustrating, because I do like reading the manpages in Konqueror, rather than Konsole... and the fact that under Xorg, I don't have those 2 issues.
The part about things just crashing under the lockscreen - I merely described what is visible to me. The crashes may have nothing to do with Wayland stuff, but it's certainly a showstopper here.
This is all happening on my Lenovo Thinkbook 14 laptop. I have a different laptop (Asus ROG Zephyrus AMD Advantage) , where I was actually unable to get a KDE Wayland session going (or even Xorg, for that matter!) but Wayfire functions just fine, and doesn't crash. Well, under Wayfire, I can't use Spectacle, because it's a different compositor. But under Wayfire, Konqueror crashes and dumps core, as well, but with compositor messages that strongly resemble earlier (like from about a year ago) attempts to launch a KDE Wayland session at all. Unable to find appropriate screen, and to load proper plugins.
Tried setting it as an environment variable. Made no difference, crashes exactly the same.Just to make sure: you have set it as an environment variable, right? Looking at the backtrace it kind of looks like a parameter.
sudo kldload i915kms # my specific GPU driver
. ~/.xinitrc
# you can alias these commands at ~/.shrc
# I set mine to 1. driver and 2. kde
You realize that the whole point of this thread is to wean ourselves off Xorg and related stuff like ~/.xinitrc... and that KDE plans to go Wayland-only pretty soon. And BTW, SDDM now works to launch both Xorg and Wayland sessions for KDE, I mentioned that earlier in this thread.Librewolf has been fairly stable for web browsing on this setup.
I disabled sddm autostart at boot time. My method of troubleshooting is process of elimination. This helps me eliminate anything in the kde build that is crashing.
So I manually launch kde plasma desktop from the command line. I know this isn’t what everyone seeks for a stable desktop environment but it works for me.
From here I launch the de with the following commands
sh:sudo kldload i915kms # my specific GPU driver . ~/.xinitrc # you can alias these commands at ~/.shrc # I set mine to 1. driver and 2. kde
Try to set environment variable in a sh script in here so that it gest picked up for the whole kde session : .config/plasma-workspace/env/Have you found a way to set "KWIN_FORCE_SW_CURSOR" while using SDDM?
Currently I struggle with this and have to start Plasma-Wayland from the command line.
Usually, a reboot after a fresh install solves this. KDE packages are compiled with Wayland support, but sometimes, some config files need to be re-read. Maybe your sddm.conf has the Wayland option deleted by accident.Does anybody know what would cause SDDM to simply not show any Wayland option on the login screen, for FreeBSD 15.0?
/usr/local/etc/sddm.conf, this is how it looks like: ~/.xinitrc sorry! I would be happy to ditch the X11 session entirely. Wayland seems like a better fit for my usual workflow.I do, I have that directory and that file:Do you have a directory whose full path is /usr/local/share/wayland-sessions/?
Unless anyone here is actively contributing to kde x11 or Waylandrcbsdpge: This thread is about getting Plasma to run on Wayland, which does mean trying to wean ourselves off Xorg-related stuff like ~/.xinitrc...
Well, have you tried starting Plasma Wayland from command-line? the plasmawayland.desktop file contains the following command:I do, I have that directory and that file:
View attachment 25140
Is there perhaps something wrong with it, that causes the session not to show up?
I use this FreeBSD VM mainly for personal testing since I develop open-source software and I would love to support FreeBSD, especially FreeBSD+Wayland. So other than some KDE styling and using syncthing to keep some personal data up-to-date that sits also on my Linux machines, I haven't really done any deep modifications. I'm still learning FreeBSD!
/usr/local/lib/libexec/plasma-dbus-run-session-if-needed /usr/local/bin/ck-launch-session /usr/local/bin/startplasma-wayland... This is supposed to be the correct and standard command to start a Plasma Wayland session on FreeBSD.# service sddm restart
I have been actively testing Plasma Wayland, and reporting on the progress in this thread. Hell, I even tested someUnless anyone here is actively contributing to kde x11 or Wayland
FreeBSD is ‘do whatever you want’
And technically you can run Wayland on X11 - I didn’t build broken desktop environments
area 51 code in there to make sure a painful bug is solved by a non-intuitive patch.