https://bugs.kde.org/show_bug.cgi?id=440397
Bug ID: 440397 Summary: KDE crashes on launch with Wayland and NVidia Product: kwin Version: 5.22.4 Platform: Other OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: gamer633...@gmail.com Target Milestone: --- 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. -- You are receiving this mail because: You are watching all bug changes.