Wayland with Hybrid Graphics, Multi-monitor on KDE neon 6.0

Hi,

I’m trying to switch to Wayland from X11. My problem is that when I start Wayland, I get a black screen with a cursor (apps launched during autostart start normally - a window appears).

Checking:

$ sudo cat /sys/module/nvidia_drm/parameters/modeset
Y

and libnvidia-egl-wayland1 is installed on my system.

Operating system: KDE Neon 6.0
I use a laptop: IdeaPad Gaming 3 15ACH6, it has integrated graphics and an nvdia rtx3050 card. I want to use it as I have it right now, so when I’m not running games or anything demanding, it will use the integrated GPU. I have installed proprietary nvidia drivers 535.161.07. I also use a secondary monitor (the secondary and primary monitors on this laptop are connected to the integrated graphics).
I’ve read that Wayland is getting better, but is it good enough to meet these needs?

(I looked for this information but it’s mostly Arch fixes, but I may be missing something, if so please point it out to me)

Thank you for all your help.

1 Like

Plasmashell is crashing apparently.

Can you share the result of the command in a terminal:

coredumpctl -1 info plasmashell

Thanks for so fast replay :slight_smile: .

coredumpctl -1 info plasmashell dosen’t found anything from plasmashell.

Only thing that shows up in coredumpctl is /usr/lib/x86_64-linux-gnu/libexec/kf6/baloo_file but that seems unrelated because it happends also with X11.

I run ournalctl /usr/bin/plasmashell -n 1000 --no-pager.

kwi 05 22:58:37 laptop plasmashell[2601]: warning: queue 0x58ea70570080 destroyed while proxies still attached:
kwi 05 22:58:37 laptop plasmashell[2601]:   wl_registry@38 still attached
kwi 05 22:58:37 laptop plasmashell[2601]: kde.plasmashell: Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
kwi 05 22:58:37 laptop plasmashell[2601]: kde.plasmashell: If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.
kwi 05 22:58:37 laptop plasmashell[2601]: kde.plasmashell: Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
kwi 05 22:58:37 laptop plasmashell[2601]: kde.plasmashell: If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.
kwi 05 22:58:37 laptop plasmashell[2601]: kf.plasma.quick: Applet preload policy set to 1
kwi 05 22:58:37 laptop plasmashell[2601]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:196:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
kwi 05 22:58:37 laptop plasmashell[2601]: qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
kwi 05 22:58:37 laptop plasmashell[2601]: kf.kio.core: Malformed JSON protocol file for protocol: "trash" , number of the ExtraNames fields should match the number of ExtraTypes fields
kwi 05 22:58:38 laptop plasmashell[2601]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:196:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
kwi 05 22:58:38 laptop plasmashell[2601]: [destroyed object]: error 7: importing the supplied dmabufs failed
kwi 05 22:58:38 laptop plasmashell[2601]: The Wayland connection experienced a fatal error: Protocol error
kwi 05 22:58:38 laptop plasmashell[2943]: warning: queue 0x5e344f64d960 destroyed while proxies still attached:
kwi 05 22:58:38 laptop plasmashell[2943]:   wl_registry@38 still attached
kwi 05 22:58:38 laptop plasmashell[2943]: kf.plasma.quick: Applet preload policy set to 1
kwi 05 22:58:38 laptop plasmashell[2943]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:196:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
kwi 05 22:58:38 laptop plasmashell[2943]: qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
kwi 05 22:58:38 laptop plasmashell[2943]: kf.kio.core: Malformed JSON protocol file for protocol: "trash" , number of the ExtraNames fields should match the number of ExtraTypes fields
kwi 05 22:58:39 laptop plasmashell[2943]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:196:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
kwi 05 22:58:39 laptop plasmashell[2943]: [destroyed object]: error 7: importing the supplied dmabufs failed
kwi 05 22:58:39 laptop plasmashell[2943]: The Wayland connection experienced a fatal error: Protocol error
kwi 05 22:58:39 laptop plasmashell[3295]: warning: queue 0x5e54c1a93ee0 destroyed while proxies still attached:
kwi 05 22:58:39 laptop plasmashell[3295]:   wl_registry@38 still attached
kwi 05 22:58:40 laptop plasmashell[3295]: kf.plasma.quick: Applet preload policy set to 1
kwi 05 22:58:40 laptop plasmashell[3295]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:196:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
kwi 05 22:58:40 laptop plasmashell[3295]: qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
kwi 05 22:58:40 laptop plasmashell[3295]: kf.kio.core: Malformed JSON protocol file for protocol: "trash" , number of the ExtraNames fields should match the number of ExtraTypes fields
kwi 05 22:58:40 laptop plasmashell[3295]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:196:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
kwi 05 22:58:40 laptop plasmashell[3295]: [destroyed object]: error 7: importing the supplied dmabufs failed
kwi 05 22:58:40 laptop plasmashell[3295]: The Wayland connection broke. Did the Wayland compositor die?

It looks like it migth be related to: 1.1.12 regression: can not run glmark2-es2-wayland with prime render offload · Issue #83 · NVIDIA/egl-wayland · GitHub .
I don’t realy know for witch packet version to look… I cheked libnvidia-egl-wayland1 is in version 1:1.1.9-1.1 but it look like it’s the newest availbe on mi system.

I have updateted nvidtia drivers to newer version: 545.29.06 - didn’t help.
checked kwin logs: journalctl --user-unit plasma-kwin_wayland
Got:

kwi 26 10:05:29 laptop systemd[12897]: Starting KDE Window Manager...
kwi 26 10:05:29 laptop systemd[12897]: Started KDE Window Manager.
kwi 26 10:05:29 laptop kwin_wayland[12962]: No backend specified, automatically choosing drm
kwi 26 10:05:29 laptop kwin_wayland[12962]: OpenGL vendor string:                   AMD
kwi 26 10:05:29 laptop kwin_wayland[12962]: OpenGL renderer string:                 AMD Radeon Graphics (renoir, LLVM 15.0.7, DRM 3.54, 6.5.0-28-generic)
kwi 26 10:05:29 laptop kwin_wayland[12962]: OpenGL version string:                  4.6 (Core Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2
kwi 26 10:05:29 laptop kwin_wayland[12962]: OpenGL shading language version string: 4.60
kwi 26 10:05:29 laptop kwin_wayland[12962]: Driver:                                 Unknown
kwi 26 10:05:29 laptop kwin_wayland[12962]: GPU class:                              Unknown
kwi 26 10:05:29 laptop kwin_wayland[12962]: OpenGL version:                         4.6
kwi 26 10:05:29 laptop kwin_wayland[12962]: GLSL version:                           4.60
kwi 26 10:05:29 laptop kwin_wayland[12962]: Mesa version:                           23.2.1
kwi 26 10:05:29 laptop kwin_wayland[12962]: Requires strict binding:                no
kwi 26 10:05:29 laptop kwin_wayland[12962]: Virtual Machine:                        no
kwi 26 10:05:29 laptop kwin_wayland[12962]: Timer query support:                    yes
kwi 26 10:05:30 laptop kwin_wayland[12962]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
kwi 26 10:05:30 laptop kwin_wayland_wrapper[13049]: The XKEYBOARD keymap compiler (xkbcomp) reports:
kwi 26 10:05:30 laptop kwin_wayland_wrapper[13049]: > Warning:          Unsupported maximum keycode 708, clipping.
kwi 26 10:05:30 laptop kwin_wayland_wrapper[13049]: >                   X11 cannot support keycodes above 255.
kwi 26 10:05:30 laptop kwin_wayland_wrapper[13049]: Errors from xkbcomp are not fatal to the X server
kwi 26 10:05:30 laptop kcminit[13050]: Initializing  "/usr/lib/x86_64-linux-gnu/qt6/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
kwi 26 10:05:30 laptop kcminit[13050]: Initializing  "/usr/lib/x86_64-linux-gnu/qt6/plugins/plasma/kcms/systemsettings/kcm_style.so"
kwi 26 10:05:31 laptop kwin_wayland[12962]: kf.config.core: "\"fsrestore1\" - conversion of \"0,0,0,0\" to QRect failed"
kwi 26 10:05:31 laptop kwin_wayland[12962]: kf.config.core: "\"fsrestore2\" - conversion of \"0,0,0,0\" to QRect failed"
kwi 26 10:05:31 laptop kwin_wayland[12962]: kf.config.core: "\"fsrestore3\" - conversion of \"0,0,0,0\" to QRect failed"
kwi 26 10:05:31 laptop kwin_wayland[12962]: kf.config.core: "\"fsrestore4\" - conversion of \"0,0,0,0\" to QRect failed"
kwi 26 10:05:31 laptop kwin_wayland[12962]: kf.config.core: "\"fsrestore5\" - conversion of \"0,0,0,0\" to QRect failed"
kwi 26 10:05:31 laptop kwin_wayland[12962]: kwin_scene_opengl: failed to import dmabuf KWin::LinuxDmaBufV1ClientBuffer(0x5cec02d3f8d0)
kwi 26 10:05:31 laptop kwin_wayland_wrapper[12962]: error in client communication (pid 13101)
kwi 26 10:05:31 laptop kwin_wayland[12962]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
kwi 26 10:05:32 laptop kwin_wayland[12962]: kwin_scene_opengl: failed to import dmabuf KWin::LinuxDmaBufV1ClientBuffer(0x5cec02c6a560)
kwi 26 10:05:32 laptop kwin_wayland_wrapper[12962]: error in client communication (pid 13473)
kwi 26 10:05:33 laptop kwin_wayland[12962]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
kwi 26 10:05:33 laptop kwin_wayland[12962]: kwin_scene_opengl: 0x2: GL_INVALID_VALUE in glTexStorage2D(width, height or depth < 1)
kwi 26 10:05:33 laptop kwin_wayland[12962]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
kwi 26 10:05:33 laptop kwin_wayland[12962]: kwin_scene_opengl: Can't enable invalid framebuffer object!
kwi 26 10:05:33 laptop kwin_wayland[12962]: kwin_scene_opengl: 0x2: GL_INVALID_FRAMEBUFFER_OPERATION in glClear(incomplete framebuffer)
kwi 26 10:05:33 laptop kwin_wayland[12962]: kwin_scene_opengl: failed to import dmabuf KWin::LinuxDmaBufV1ClientBuffer(0x5cec02c7c8f0)
kwi 26 10:05:33 laptop kwin_wayland_wrapper[12962]: error in client communication (pid 13980)
kwi 26 10:05:33 laptop kwin_wayland[12962]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11

coredumpctl -1 gdb plasmashell then, it should download the necessary debug symbols, you will need to let the process continue (type c or enter when it pauses) until you get a line starting with (gdb) then the trace should be useful

@meven
Running coredumpctl -1 gdb plasmashell give me No match found..

Maybe try instead coredumpctl -1 gdb kwin_wayland

coredumpctl without any parameter will tell you what traces are available.

coredumpctl -1 the last one.

There are no coredumps.

$ coredumpctl
No coredumps found.