Unable to start KDE plasma Wayland on FreeBSD

astyle I am not angry and it is you who is not paying attention to understand what I did exactly and why in my previous reply. I doubt if you even read my entire response.
 
what i did was : .xinitrc:
ck-launch-session dbus-launch --exit-with-session startplasma-x11 :
and why i did that when you : /etc/rc.conf enable all your daemons to load KDE has specific ones you can organize in the file: So leaving is it KDE or XORG: it should also have a BSD Logo in the About KDE Page:
 
For Wayland (instead of X11)
when you go to rebuild the port you
make clean-recursive and make config-recursive And check all the wayland boxes then portmaster -fR kwin is what im trying to do: xcb is for the xorg-plasma session in wayland but obviously it shouldnt be required im assuming thats just to SAY your using wayland the actual wayland backend is done using the script to launch it ive seen ck-launch-session dbus-run-session startplasma-wayland in sddm.conf DisplayServer=wayland...
and theres a wayland sessions folder somewhere.. right but like i wrote its all how you launch it in the script one of the things being XDG_USER_DIRS=/var/run/users/0/ ???:
 
dbus-run-session ck-launch-session startplasma-wayland

Also works.
BTW, what's the GPU you use? amdgpu? radeonkms? NVidia? or i915?

I successfully pulled off KDE 6 with Wayland on i915, but on amdgpu, I get errors starting it on bare metal.

What I'm after is starting the whole "Plasma 6 on Wayland" setup from bare metal or SDDM, not from Konsole/Xterm...

Right now, I can only get Wayfire (or other wlroots-based compositors) started from bare metal/sddm.
 
BTW, what's the GPU you use? amdgpu? radeonkms? NVidia? or i915?

I successfully pulled off KDE 6 with Wayland on i915, but on amdgpu, I get errors starting it on bare metal.

What I'm after is starting the whole "Plasma 6 on Wayland" setup from bare metal or SDDM, not from Konsole/Xterm...

Right now, I can only get Wayfire (or other wlroots-based compositors) started from bare metal/sddm.
I'm using amdgpu.

KDE doesn't pull in xorg as a requirement but after a fresh install I tried to just install KDE you know plasma 6 and it wouldn't start I had to install xorg as well.
 
I'm using amdgpu.

KDE doesn't pull in xorg as a requirement but after a fresh install I tried to just install KDE you know plasma 6 and it wouldn't start I had to install xorg as well.
oh, nice. I usually install Xorg first (as a test that the GPU works), and then KDE. I'm happy if KDE sees the GPU properly AND thinks it's running on Wayland.

I do think it would be nice if there were another way to do this without relying on Xorg for anything, but that really requires that the KDE6/Wayland mechanism has all the ducks in a row on FreeBSD, and it looks like we're not there yet.
 
Well, those commands only seem to work if launched from within an Xorg session, not metal... sigh.

There are still caveats and complaints:

To launch from metal: (Yeah, this now works on amdgpu)
Make sure that /etc/rc.conf does contain the line dbus_enable="YES".
Make sure that directory /var/run/user/1001 exists, is owned by regular user (whose UID is 1001) and has permissions 700.
Launch as per instructions in ADG's blog: https://euroquis.nl/kde/2024/10/08/freebsd14.html

To fix the timezone issue:
Get into an Xorg session for KDE6
Launch XTerm or Konsole
Run su root
Run dbus-launch systemsettings as root. This is why dbus needs to be enabled in rc.conf.

Complaints: Spectacle is having problems again, and may need to be patched again as described in the other thread:
Thread trying-to-run-kde-6-plasma-with-wayland.93951
 
At least for me it does not seem to start on 14.2-RELEASE and nvidia-drm.
E.g. labwc works fine, so Wayland itself seems to work.
Anyone had success with nvidia yet?
 
Plasma6-desktop-wayland works now in my desktop with AMDGPU driver, SDDM, but I'm encountering a serious issue:
Once my PC goes into sleep mode my screen goes black, I can open TTY2 or else and run
as root: service SDDM restart.
Also I'm unable to change the default session.

Another interesting note, Hyprland works but labwc doesn't.
 
Plasma6-desktop-wayland works now in my desktop with AMDGPU driver, SDDM
Yeah, not for me... I have SDDM compiled, it starts fine, but it can't start a Wayland session for me. I guess I have to get my act together and recompile the stuff I got with the flags as mentioned in that other thread... 😩
 
Yeah, not for me... I have SDDM compiled, it starts fine, but it can't start a Wayland session for me. I guess I have to get my act together and recompile the stuff I got with the flags as mentioned in that other thread... 😩
Don't use SDDM. Launch from command line.
 
Back
Top