Bug 440397 - Plasma fails to launch with Wayland and NVidia (kwin_scene_opengl: Creating the OpenGL rendering failed: "query surface failed")
Summary: Plasma fails to launch with Wayland and NVidia (kwin_scene_opengl: Creating t...
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Startup process (show other bugs)
Version: 5.27.5
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2021-07-29 21:40 UTC by gamer633697
Modified: 2023-10-16 18:07 UTC (History)
15 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Log of console output when attempting to launch (2.63 KB, text/plain)
2021-07-29 21:43 UTC, gamer633697
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gamer633697 2021-07-29 21:40:17 UTC
SUMMARY
KDE crashes on launch when trying to use Wayland; it may not be able to find a display? Though that's only a guess from the log.

STEPS TO REPRODUCE
1. Run `XDG_SESSION_TYPE=wayland sudo dbus-run-session startplasma-wayland` from terminal
or
1. Choose "Plasma (Wayland)" in LightDM.
2. Login

OBSERVED RESULT
In terminal: the following shows
```
dbus-daemon[34804]: [session uid=1000 pid=34804] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=1000 pid=34805 comm="startplasma-wayland ")
dbus-daemon[34804]: [session uid=1000 pid=34804] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Skipping syncing of environment variable  "LESS_TERMCAP_md" as value contains unsupported characters
Skipping syncing of environment variable  "LESS_TERMCAP_me" as value contains unsupported characters
Skipping syncing of environment variable  "LESS_TERMCAP_se" as value contains unsupported characters
Skipping syncing of environment variable  "LESS_TERMCAP_so" as value contains unsupported characters
Skipping syncing of environment variable  "LESS_TERMCAP_ue" as value contains unsupported characters
Skipping syncing of environment variable  "LESS_TERMCAP_us" as value contains unsupported characters
dbus-daemon[34804]: [session uid=1000 pid=34804] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=1000 pid=34805 comm="startplasma-wayland ")
dbus-daemon[34804]: [session uid=1000 pid=34804] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Skipping syncing of environment variable  "LESS_TERMCAP_md" as value contains unsupported characters
Skipping syncing of environment variable  "LESS_TERMCAP_me" as value contains unsupported characters
Skipping syncing of environment variable  "LESS_TERMCAP_se" as value contains unsupported characters
Skipping syncing of environment variable  "LESS_TERMCAP_so" as value contains unsupported characters
Skipping syncing of environment variable  "LESS_TERMCAP_ue" as value contains unsupported characters
Skipping syncing of environment variable  "LESS_TERMCAP_us" as value contains unsupported characters
dbus-daemon[34804]: [session uid=1000 pid=34804] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=1000 pid=34805 comm="startplasma-wayland ")
dbus-daemon[34804]: [session uid=1000 pid=34804] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[34804]: [session uid=1000 pid=34804] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=1000 pid=34805 comm="startplasma-wayland ")
dbus-daemon[34804]: [session uid=1000 pid=34804] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1

(kwin_wayland:34817): Gtk-WARNING **: 22:14:16.092: cannot open display: 
KWin exited with code 1
Launching kwin
startplasmacompositor: Shutting down...
startplasmacompositor: Done.
```

If launching from LightDM, the screen turns black for a second, then kicks me back to LightDM

EXPECTED RESULT
KDE Plasma launches successfully

SOFTWARE/OS VERSIONS
Linux: Arch 5.13.5 
(available in About System)
KDE Plasma Version: 5.22.4-1
KDE Frameworks Version: N/A? Not sure where to find this
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I also have (as following the instructions at https://community.kde.org/Plasma/Wayland/Nvidia):
egl-wayland 1.1.7-1 installed

and the kernel parameter nvidia-drm.modeset=1, confirmed by `cat /sys/module/nvidia_drm/parameters/modeset` producing `Y`.
I'm using the `nvidia-dkms 470.57.02-3` drivers, with a NVidia GeForce 1070M Mobile Max-Q

Other users appear to have similar problems at https://forum.manjaro.org/t/wayland-session-not-working/73886/4 and https://forum.artixlinux.org/index.php/topic,2880.msg18776.html

Plasma Wayland launches just fine nested by running `dbus-run-session startplasma-wayland` from within an X11 session.
Comment 1 gamer633697 2021-07-29 21:43:01 UTC
Created attachment 140401 [details]
Log of console output when attempting to launch
Comment 2 gamer633697 2021-07-31 21:19:17 UTC
The same error seems to occur on another computer; ran `XDG_SESSION_TYPE=wayland sudo dbus-run-session startplasma-wayland`, same error.

Same package versions, though hardware differs - a NVidia 2070S in this one.
Comment 3 Vlad Zahorodnii 2022-01-19 19:41:40 UTC
Does `XDG_SESSION_TYPE=wayland dbus-run-session kwin_wayland --exit-with-session=konsole` work?
Comment 4 Alex Folland 2022-01-19 20:01:13 UTC
I have this issue on my machine.  I tried the command in Vlad Zahorodnii's comment:

XDG_SESSION_TYPE=wayland dbus-run-session kwin_wayland --exit-with-session=konsole

This command above kind of works, showing a black desktop with no panels and a tiny konsole window on the secondary display with a wrong monitor layout, so I had to move the cursor off the right side of my right (primary) monitor to get the konsole window from my left monitor.  That, at least, started a graphical program which let me move my mouse around.

However, the following command, with "kwin_wayland" substituted by "startplasma-wayland" has the following output and doesn't start any graphical program.

command:

XDG_SESSION_TYPE=wayland dbus-run-session kwin_wayland --exit-with-session=konsole

output (stderr):

dbus-daemon[679081]: [session uid=1000 pid=679081] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=1000 pid=679082 comm="startplasma-wayland --exit-with-session=konsole ")
dbus-daemon[679081]: [session uid=1000 pid=679081] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[679081]: [session uid=1000 pid=679081] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=1000 pid=679082 comm="startplasma-wayland --exit-with-session=konsole ")
dbus-daemon[679081]: [session uid=1000 pid=679081] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[679081]: [session uid=1000 pid=679081] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=1000 pid=679082 comm="startplasma-wayland --exit-with-session=konsole ")
dbus-daemon[679081]: [session uid=1000 pid=679081] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[679081]: [session uid=1000 pid=679081] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=1000 pid=679082 comm="startplasma-wayland --exit-with-session=konsole ")
dbus-daemon[679081]: [session uid=1000 pid=679081] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1

(kwin_wayland:679094): Gtk-WARNING **: 11:59:03.550: cannot open display: 

(kwin_wayland:679095): Gtk-WARNING **: 11:59:03.635: cannot open display: 

(kwin_wayland:679096): Gtk-WARNING **: 11:59:03.725: cannot open display: 

(kwin_wayland:679097): Gtk-WARNING **: 11:59:03.815: cannot open display: 

(kwin_wayland:679098): Gtk-WARNING **: 11:59:03.908: cannot open display: 

(kwin_wayland:679099): Gtk-WARNING **: 11:59:03.996: cannot open display: 

(kwin_wayland:679100): Gtk-WARNING **: 11:59:04.087: cannot open display: 

(kwin_wayland:679102): Gtk-WARNING **: 11:59:04.184: cannot open display: 

(kwin_wayland:679103): Gtk-WARNING **: 11:59:04.270: cannot open display: 

(kwin_wayland:679104): Gtk-WARNING **: 11:59:04.365: cannot open display: 

(kwin_wayland:679105): Gtk-WARNING **: 11:59:04.460: cannot open display: 
startplasmacompositor: Shutting down...
startplasmacompositor: Done.
Comment 5 Vlad Zahorodnii 2022-01-19 20:21:49 UTC
It means that kwin_wayland starts, but startplasma-wayland doesn't work. Moving to plasma.
Comment 6 Alex Folland 2022-01-20 04:14:45 UTC
I've just reread my previous command and realized that it has the second command which I used entered incorrectly, so I'd like to correct myself.  What I used which did not work was this:

XDG_SESSION_TYPE=wayland dbus-run-session startplasma-wayland --exit-with-session=konsole
Comment 7 gamer633697 2022-01-21 13:02:06 UTC
(In reply to Vlad Zahorodnii from comment #3)
> Does `XDG_SESSION_TYPE=wayland dbus-run-session kwin_wayland
> --exit-with-session=konsole` work?

Running `XDG_SESSION_TYPE=wayland dbus-run-session kwin_wayland --exit-with-session=konsole` from terminal results in `(kwin_wayland:38694): Gtk-WARNING **: 12:27:12.730: cannot open display:`.
When run from a terminal emulator from within an X session, a window opens that's just black (though I do not have konsole installed).
Comment 8 Nate Graham 2023-04-27 18:46:50 UTC
Can we ask you to please check if this is still an issue with Plasma 5.27? Thanks!
Comment 9 jamesilmarimakela 2023-04-28 00:20:19 UTC
(In reply to Nate Graham from comment #8)
> Can we ask you to please check if this is still an issue with Plasma 5.27?
> Thanks!

Still an issue for me with plasma 5.27. I have attached the output I receive when I run the command `kwin_wayland --xwayland` from a terminal in an X11 session.

> No backend specified, automatically choosing X11 because DISPLAY is set
> kwin_wayland_x11windowed: X server supports SHM extension but not shared pixmaps
> kf.globalaccel.kglobalacceld: Failed to register service org.kde.kglobalaccel
> OpenGL vendor string:                   NVIDIA Corporation
> OpenGL renderer string:                 NVIDIA GeForce GTX 1070/PCIe/SSE2
> OpenGL version string:                  3.1.0 NVIDIA 530.41.03
> OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
> Driver:                                 NVIDIA
> Driver version:                         530.41.3
> GPU class:                              Unknown
> OpenGL version:                         3.1
> GLSL version:                           1.40
> Linux kernel version:                   6.2.12
> Requires strict binding:                no
> GLSL shaders:                           yes
> Texture NPOT support:                   yes
> Virtual Machine:                        no
> kwin_scene_opengl: Creating the OpenGL rendering failed:  "query surface failed"
> kwin_core: The used windowing system requires compositing
> kwin_core: We are going to quit KWin now as it is broken
Comment 10 Nate Graham 2023-04-28 16:44:42 UTC
> kwin_scene_opengl: Creating the OpenGL rendering failed:  "query surface failed"
That looks relevant.
Comment 11 Zamundaaa 2023-05-09 15:23:33 UTC
(In reply to jamesilmarimakela from comment #9)
> (In reply to Nate Graham from comment #8)
> > Can we ask you to please check if this is still an issue with Plasma 5.27?
> > Thanks!
> 
> Still an issue for me with plasma 5.27. I have attached the output I receive
> when I run the command `kwin_wayland --xwayland` from a terminal in an X11
> session.
> 
> > No backend specified, automatically choosing X11 because DISPLAY is set
> > kwin_wayland_x11windowed: X server supports SHM extension but not shared pixmaps
> > kf.globalaccel.kglobalacceld: Failed to register service org.kde.kglobalaccel
> > OpenGL vendor string:                   NVIDIA Corporation
> > OpenGL renderer string:                 NVIDIA GeForce GTX 1070/PCIe/SSE2
> > OpenGL version string:                  3.1.0 NVIDIA 530.41.03
> > OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
> > Driver:                                 NVIDIA
> > Driver version:                         530.41.3
> > GPU class:                              Unknown
> > OpenGL version:                         3.1
> > GLSL version:                           1.40
> > Linux kernel version:                   6.2.12
> > Requires strict binding:                no
> > GLSL shaders:                           yes
> > Texture NPOT support:                   yes
> > Virtual Machine:                        no
> > kwin_scene_opengl: Creating the OpenGL rendering failed:  "query surface failed"
> > kwin_core: The used windowing system requires compositing
> > kwin_core: We are going to quit KWin now as it is broken

That's an unrelated error, for the nested session only. The feature causing the error you're running into has been removed for Plasma 6; if it still happens with Plasma 6, please make a separate bug report about this.

As the original author hasn't answered, I'm closing this. If it's still happening with Plasma 5.27, just reopen it again.
Comment 12 b2cc 2023-05-13 18:18:45 UTC
I have the same issue on KDE 5.27.5.

I can't start a plasma-wayland session, it crashes immediately and then I'm back on the login screen.

wayland-session.log:
------------------------------
org.kde.startup: not a reply org.freedesktop.locale1 QDBusMessage(type=Error, service="org.freedesktop.DBus", 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") )
QIODevice::read (QFile, "/home/david/.config/kdedefaults/package"): device not open
kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but no Exec line
kf.service.sycoca: Invalid Service :  "/usr/share/applications/qemu.desktop"
kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but no Exec line
kf.service.sycoca: Invalid Service :  "/usr/share/applications/org.freedesktop.Xwayland.desktop"
QDBusConnection: error: could not send signal to service "" path "//home/david/.config/kdedefaults/kdeglobals" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //home/david/.config/kdedefaults/kdeglobals
QDBusConnection: error: could not send signal to service "" path "//home/david/.config/kdedefaults/kdeglobals" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //home/david/.config/kdedefaults/kdeglobals
QDBusConnection: error: could not send signal to service "" path "//home/david/.config/kdedefaults/kdeglobals" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //home/david/.config/kdedefaults/kdeglobals
QDBusConnection: error: could not send signal to service "" path "//home/david/.config/kdedefaults/kcminputrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //home/david/.config/kdedefaults/kcminputrc
QDBusConnection: error: could not send signal to service "" path "//home/david/.config/kdedefaults/kwinrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //home/david/.config/kdedefaults/kwinrc
QDBusConnection: error: could not send signal to service "" path "//home/david/.config/kdedefaults/kwinrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //home/david/.config/kdedefaults/kwinrc
No protocol specified

/usr/bin/xrdb: Resource temporarily unavailable
/usr/bin/xrdb: Can't open display ':0'
QPixmap: QGuiApplication must be created before calling defaultDepth().
QPixmap: QGuiApplication must be created before calling defaultDepth().
dbus-daemon[6557]: [session uid=1001 pid=6557] Activating service name='org.kde.KSplash' requested by ':1.0' (uid=1001 pid=6558 comm="/usr/bin/startplasma-wayland")
dbus-daemon[6557]: [session uid=1001 pid=6557] Activating service name='org.freedesktop.portal.Desktop' requested by ':1.4' (uid=1001 pid=10021 comm="/usr/bin/ksplashqml")
dbus-daemon[6557]: [session uid=1001 pid=6557] Activating service name='org.freedesktop.portal.Documents' requested by ':1.5' (uid=1001 pid=10028 comm="/usr/libexec/xdg-desktop-portal")
kdeinit5: preparing to launch '/usr/lib64/libexec/kf5/klauncher'
kdeinit5: Launched KLauncher, pid = 10037, result = 0
dbus-daemon[6557]: [session uid=1001 pid=6557] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.6' (uid=1001 pid=10034 comm="/usr/libexec/xdg-document-portal")
dbus-daemon[6557]: [session uid=1001 pid=6557] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore'
dbus-daemon[6557]: [session uid=1001 pid=6557] Successfully activated service 'org.freedesktop.portal.Documents'

** (/usr/libexec/xdg-desktop-portal:10028): WARNING **: 19:30:15.975: Failed to load RealtimeKit property: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.RealtimeKit1 was not provided by any .service files

** (/usr/libexec/xdg-desktop-portal:10028): WARNING **: 19:30:15.975: Failed to load RealtimeKit property: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.RealtimeKit1 was not provided by any .service files

** (/usr/libexec/xdg-desktop-portal:10028): WARNING **: 19:30:15.975: Failed to load RealtimeKit property: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.RealtimeKit1 was not provided by any .service files
dbus-daemon[6557]: [session uid=1001 pid=6557] Activating service name='org.freedesktop.impl.portal.desktop.kde' requested by ':1.5' (uid=1001 pid=10028 comm="/usr/libexec/xdg-desktop-portal")
No backend specified, automatically choosing X11 because DISPLAY is set
No protocol specified

No backend specified, automatically choosing X11 because DISPLAY is set
No protocol specified

No backend specified, automatically choosing X11 because DISPLAY is set
No protocol specified

[ ... ]

The Wayland connection broke. Did the Wayland compositor die?
qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
The Wayland connection broke. Did the Wayland compositor die?
qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
The Wayland connection broke. Did the Wayland compositor die?
dbus-daemon[6557]: [session uid=1001 pid=6557] Activated service 'org.freedesktop.impl.portal.desktop.kde' failed: Process org.freedesktop.impl.portal.desktop.kde exited with status 1

** (/usr/libexec/xdg-desktop-portal:10028): WARNING **: 19:30:16.272: Failed to create settings proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.kde: Process org.freedesktop.impl.portal.desktop.kde exited with status 1

** (/usr/libexec/xdg-desktop-portal:10028): WARNING **: 19:30:16.272: No skeleton to export
dbus-daemon[6557]: [session uid=1001 pid=6557] Activating service name='org.freedesktop.impl.portal.desktop.kde' requested by ':1.5' (uid=1001 pid=10028 comm="/usr/libexec/xdg-desktop-portal")
kdeinit5: Communication error with launcher. Exiting!
kdeinit5_wrapper: Warning: connect(/run/user/1001/kdeinit5__0) failed: : No such file or directory
Error: Can not contact kdeinit5!
org.kde.startup: "kdeinit5_shutdown" () exited with code 255
startplasma-wayland: Shutting down...
startplasmacompositor: Shutting down...
startplasmacompositor: Done.
Failed to create wl_display (No such file or directory)

------------------------------


If I try to start a XWayland app, I get the same error as seen in one of the last posts:
------------------------------
~# /usr/bin/kwin_wayland --xwayland --exit-with-session=konsole 
No backend specified, automatically choosing X11 because DISPLAY is set
kwin_wayland_x11windowed: X server supports SHM extension but not shared pixmaps
kwin_xkbcommon: XKB: created compose table from locale en_GB.UTF-8 with path /usr/share/X11/locale/en_US.UTF-8/Compose
kwin_core: KGlobalAcceld inited
kwin_core: Forcing EGL native interface for Wayland mode
kwin_core: Attempting to load the OpenGL scene
kwin_scene_opengl: Egl Initialize succeeded
kwin_scene_opengl: EGL version:  1 . 5
kwin_scene_opengl: Created EGL context with attributes: 
Version requested:      true
Version:        3.1
Robust: true
Reset on video memory purge:    true
Forward compatible:     false
Core profile:   false
Compatibility profile:  false
High priority:  true
kwin_scene_opengl: Created EGL context with attributes: 
Version requested:      true
Version:        3.1
Robust: true
Reset on video memory purge:    true
Forward compatible:     false
Core profile:   false
Compatibility profile:  false
High priority:  true
OpenGL vendor string:                   NVIDIA Corporation
OpenGL renderer string:                 NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
OpenGL version string:                  3.1.0 NVIDIA 530.41.03
OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
Driver:                                 NVIDIA
Driver version:                         530.41.3
GPU class:                              Unknown
OpenGL version:                         3.1
GLSL version:                           1.40
Linux kernel version:                   6.1.27
Requires strict binding:                no
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
kwin_scene_opengl: Creating the OpenGL rendering failed:  "query surface failed"
kwin_core: The used windowing system requires compositing
kwin_core: We are going to quit KWin now as it is broken
------------------------------
Comment 13 b2cc 2023-05-13 18:28:50 UTC
(In reply to b2cc from comment #12)

This happens with an empty/fresh user directory, completely unconfigured KDE.
I'm on Gentoo and the install is from the ebuilds from the KDE overlay: https://anongit.gentoo.org/git/proj/kde.git
Comment 14 b2cc 2023-05-14 18:46:55 UTC
Ok, since yesterday, after some package+kernel updates, I don't have this specific behavior anymore. 

But now I have a different issue where KDE kind-of starts, but then shows a black screen with a mouse cursor.
If I move the mouse the whole screen flickers and looks like as if mouse-trail was active. wayland-session.log gets spammed with a never ending stream of EDID messages (~200MB after a minute or so) until I kill the session.

Is this a known issue in multi-display (I have three displays) setups with Nvidia? Or should I open a new bug for this?
I tried to search through the wayland bugs, but there are so many that I couldn't find one that resembles this error.

Thanks!
Comment 15 Nate Graham 2023-05-14 19:41:37 UTC
New bug report please.
Comment 16 gamer633697 2023-05-25 17:13:45 UTC
Currently, running 
----
export QT_LOGGING_RULES="kwin_*.debug=true"
XDG_SESSION_TYPE=wayland sudo dbus-run-session startplasma-wayland > ~/startplasma-wayland2.log 2>&1
----
gives

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QIODevice::read (QFile, "/root/.config/kdedefaults/package"): device not open
kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but no Exec line
kf.service.sycoca: Invalid Service :  "/usr/share/applications/qemu.desktop"
kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but no Exec line
kf.service.sycoca: Invalid Service :  "/usr/share/applications/org.freedesktop.Xwayland.desktop"
QDBusConnection: error: could not send signal to service "" path "//root/.config/kdedefaults/kdeglobals" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //root/.config/kdedefaults/kdeglobals
QDBusConnection: error: could not send signal to service "" path "//root/.config/kdedefaults/kdeglobals" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //root/.config/kdedefaults/kdeglobals
QDBusConnection: error: could not send signal to service "" path "//root/.config/kdedefaults/kdeglobals" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //root/.config/kdedefaults/kdeglobals
QDBusConnection: error: could not send signal to service "" path "//root/.config/kdedefaults/kcminputrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //root/.config/kdedefaults/kcminputrc
QDBusConnection: error: could not send signal to service "" path "//root/.config/kdedefaults/kwinrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //root/.config/kdedefaults/kwinrc
QDBusConnection: error: could not send signal to service "" path "//root/.config/kdedefaults/kwinrc" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //root/.config/kdedefaults/kwinrc
/usr/bin/xrdb: Can't open display ''
dbus-daemon[25678]: [session uid=0 pid=25678] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=0 pid=25679 comm="startplasma-wayland")
QPixmap: QGuiApplication must be created before calling defaultDepth().
QPixmap: QGuiApplication must be created before calling defaultDepth().
dbus-daemon[25678]: [session uid=0 pid=25678] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[25678]: [session uid=0 pid=25678] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=0 pid=25679 comm="startplasma-wayland")
dbus-daemon[25678]: [session uid=0 pid=25678] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[25678]: [session uid=0 pid=25678] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=0 pid=25679 comm="startplasma-wayland")
dbus-daemon[25678]: [session uid=0 pid=25678] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[25678]: [session uid=0 pid=25678] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=0 pid=25679 comm="startplasma-wayland")
dbus-daemon[25678]: [session uid=0 pid=25678] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[25678]: [session uid=0 pid=25678] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=0 pid=25679 comm="startplasma-wayland")
dbus-daemon[25678]: [session uid=0 pid=25678] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[25678]: [session uid=0 pid=25678] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=0 pid=25679 comm="startplasma-wayland")
dbus-daemon[25678]: [session uid=0 pid=25678] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[25678]: [session uid=0 pid=25678] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=0 pid=25679 comm="startplasma-wayland")
dbus-daemon[25678]: [session uid=0 pid=25678] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[25678]: [session uid=0 pid=25678] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=0 pid=25679 comm="startplasma-wayland")
dbus-daemon[25678]: [session uid=0 pid=25678] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[25678]: [session uid=0 pid=25678] Activating service name='org.kde.KSplash' requested by ':1.0' (uid=0 pid=25679 comm="startplasma-wayland")
dbus-daemon[25678]: [session uid=0 pid=25678] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=0 pid=25679 comm="startplasma-wayland")
dbus-daemon[25678]: [session uid=0 pid=25678] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Could not create wayland socket
---

I'm still seeing a line in there about being unable to open a display.
Comment 17 gamer633697 2023-05-25 17:14:42 UTC
(In reply to gamer633697 from comment #16)
> Currently, running 

My version is 5.27.5-1 at the moment.
Comment 18 Zamundaaa 2023-05-25 20:30:53 UTC
Running the plasma session as root is not supported
Comment 19 Dashon 2023-10-15 21:01:18 UTC
(In reply to Nate Graham from comment #15)
> New bug report please.

I'm having the same issue as comment #14. Did anyone ever file a new bug report like you asked. Should I file one?
Comment 20 Nate Graham 2023-10-16 18:07:27 UTC
I don't know if they did; feel free to do it for your issue.