You are not logged in.

#1 2020-05-06 18:40:52

Nekroph
Member
Registered: 2020-02-25
Posts: 3

Can't get past login screen on KDE Plasma with Wayland.

Here's the log from wayland-session.log.

dbus-daemon[3888]: [session uid=1000 pid=3888] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=1000 pid=3892 comm="/usr/bin/dbus-update-activation-environment --syst")
dbus-daemon[3888]: [session uid=1000 pid=3888] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-update-activation-environment: warning: error sending to systemd: org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
No backend specified through command line argument, trying auto resolution
kwin_xkbcommon: XKB: couldn't find a Compose file for locale "en_US.UTF-8 LC_ALL=en_US.UTF-8"

ATTENTION: default value of option allow_rgb10_configs overridden by environment.
Filter multi-plane format 961959257
Filter multi-plane format 825316697
Filter multi-plane format 842093913
Filter multi-plane format 909202777
Filter multi-plane format 875713881
Filter multi-plane format 961893977
Filter multi-plane format 825316953
Filter multi-plane format 842094169
Filter multi-plane format 909203033
Filter multi-plane format 875714137
Filter multi-plane format 842094158
Filter multi-plane format 909203022
FATAL ERROR: failed to start Xwayland
Xwayland had a critical error. Going to exit now.
"/usr/bin/kwin_wayland" ("--xwayland", "--libinput", "--exit-with-session=/usr/lib/startplasma-waylandsession") exited with code 1
startplasmacompositor: Shutting down...
startplasmacompositor: Done.

Offline

#2 2020-05-28 18:50:41

asshur
Member
Registered: 2009-03-06
Posts: 18

Re: Can't get past login screen on KDE Plasma with Wayland.

For what is worth ...
I have now a similar problem. Either a very old card or wrong driver (i'm still loading XF86-intel-video)
I've got a workaround setting an environment variable KWIN_COMPOSE before

$export KWIN_COMPOSE=O
$startplasma-wayland &

See this for documentation about the environment variables.I got best results with value O or similar
Only gotcha is that I only got it working from the command line.  I'm trying to propagate it thru dbus run-session and/or a .desktop SDDM file, with no success till now (i'm really outdated in this parts)
Hope it helps you further ...
By the way. I see you're trying to start an xwayland session, not the pure wayland one.

Update 2/June
Seems that the systemd failure at the start of the log has a lot to do with the problem. See On the systemd bug site.

OTOH starting without KWIN_COMPOSE tries to start a XWayland session. Not an unsensible choice

Last edited by asshur (2020-06-02 18:05:36)

Offline

#3 2020-06-12 11:19:44

asshur
Member
Registered: 2009-03-06
Posts: 18

Re: Can't get past login screen on KDE Plasma with Wayland.

After upgrade to Plasma 5.19 ...
None of the workarounds work anymore for me.
The start log show following info

No backend specified through command line argument, trying auto resolution
kglobalaccel-runtime: Failed to register service org.kde.kglobalaccel
OpenGL vendor string:                   Intel Open Source Technology Center
OpenGL renderer string:                 Mesa DRI Intel(R) G33 
OpenGL version string:                  1.4 Mesa 20.1.0
OpenGL shading language version string: 1.20
Driver:                                 Intel
GPU class:                              i915/i945
OpenGL version:                         1.4
GLSL version:                           1.20
Mesa version:                           20.1
Linux kernel version:                   5.7.2
Requires strict binding:                no
GLSL shaders:                           limited
Texture NPOT support:                   yes
Virtual Machine:                        no
kwin_wayland: ../libepoxy/src/dispatch_common.c:863: epoxy_get_proc_address: La declaración `0 && "Couldn't find current GLX or EGL context.\n"' no se cumple.
"/usr/bin/kwin_wayland" ("--xwayland", "--libinput", "--exit-with-session=/usr/lib/startplasma-waylandsession") exited with code 6
startplasmacompositor: Shutting down...
startplasmacompositor: Done.

Offline

#4 2020-06-29 13:15:57

asshur
Member
Registered: 2009-03-06
Posts: 18

Re: Can't get past login screen on KDE Plasma with Wayland.

I solved my issue:
My graphic chip does only supports OpenGL 1.4, and it seems that the new version of kwin-wayland does not support it anymore as composer, but ...
I switched to a QPaint composer, with KWIN_COMPOSE=Q, and now it works ... Let's the testing begin:
To make it work with minimal fuss i created a script <i>arranca_plasma</i>

export QT_QPA_PLATFORM=wayland
export KWIN_COMPOSE=Q
/usr/bin/startplasma-wayland >plasma-session.log 2>&1

and updated the .desktop file for sddm accordingly

Offline

Board footer

Powered by FluxBB