https://bugs.kde.org/show_bug.cgi?id=456337
Dan <da...@protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REPORTED |RESOLVED Resolution|--- |NOT A BUG Summary|kwin_wayland_drm stalls |[SOLVED] kwin_wayland_drm |with a black screen (only |stalls with a black screen |backlight is activated) |(only backlight is | |activated) --- Comment #6 from Dan <da...@protonmail.com> --- In the end it was the DISPLAY environment variable that was preventing wayland from starting. If DISPLAY or WAYLAND_DISPLAY is set, Kwin will not use the DRM backend. I found it after looking at main_wayland.cpp: static QString automaticBackendSelection() { if (qEnvironmentVariableIsSet("WAYLAND_DISPLAY")) { return s_waylandPlugin; } if (qEnvironmentVariableIsSet("DISPLAY")) { return s_x11Plugin; } return s_drmPlugin; } Maybe it would help if it was more verbose? Since many users are reporting getting the "black screen", I wonder how many of them have DISPLAY set before trying to login into Wayland... After the "No backend specified through command line argument, trying auto resolution" message, Kwin could log something like "DISPLAY environment variable detected. Using X11 backend". ;-) So I'm closing this as "NOT A BUG". I hope it helps other users. Thanks everyone! -- You are receiving this mail because: You are watching all bug changes.