https://bugs.kde.org/show_bug.cgi?id=456337
Bug ID: 456337 Summary: kwin_wayland stuck at black screen Product: kwin Version: 5.25.2 Platform: Compiled Sources OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: platform-drm Assignee: kwin-bugs-n...@kde.org Reporter: da...@protonmail.com Target Milestone: --- When I try to use kwin_wayland 5.25.2, it stalls with a black screen. Is there a better way to debug this? I tested with Weston on the same laptop and Weston works perfectly, so it's probably a bug in Kwin. Operating System: Linux KDE Plasma Version: 5.25.2 KDE Frameworks Version: 5.96.0 Qt Version: 5.15.5 Kernel Version: 5.18.9 (64-bit) Graphics Processor: NVIDIA GeForce RTX 2070 with Max-Q Design/PCIe/SSE2 kwin_wayland_drm: drmModeAddFB2WithModifiers is supported on GPU "/dev/dri/card1" kwin_wayland_drm: Using Atomic Mode Setting on gpu "/dev/dri/card1" kwin_wayland_drm: Number of planes on GPU "/dev/dri/card1" : 12 kwin_wayland_drm: Plane 33 has properties "type"="Primary", "SRC_X"=0, "SRC_Y"=0, "SRC_W"=251658240, "SRC_H"=141557760, "CRTC_X"=0, "CRTC_Y"=0, "CRTC_W"=3840, "CRTC_H"=2160, "FB_ID"=0, "CRTC_ID"=0, "rotation"=invalid value: 1, "IN_FORMATS"=34 kwin_wayland_drm: Plane 36 has properties "type"="Cursor", "SRC_X"=0, "SRC_Y"=0, "SRC_W"=16777216, "SRC_H"=16777216, "CRTC_X"=0, "CRTC_Y"=0, "CRTC_W"=256, "CRTC_H"=256, "FB_ID"=0, "CRTC_ID"=0, "rotation" not found, "IN_FORMATS"=37 kwin_wayland_drm: Plane 41 has properties "type"="Overlay", "SRC_X"=0, "SRC_Y"=0, "SRC_W"=0, "SRC_H"=0, "CRTC_X"=0, "CRTC_Y"=0, "CRTC_W"=0, "CRTC_H"=0, "FB_ID"=0, "CRTC_ID"=0, "rotation"=invalid value: 1, "IN_FORMATS"=42 kwin_wayland_drm: Plane 46 has properties "type"="Primary", "SRC_X"=0, "SRC_Y"=0, "SRC_W"=0, "SRC_H"=0, "CRTC_X"=0, "CRTC_Y"=0, "CRTC_W"=0, "CRTC_H"=0, "FB_ID"=0, "CRTC_ID"=0, "rotation"=invalid value: 1, "IN_FORMATS"=47 kwin_wayland_drm: Plane 49 has properties "type"="Cursor", "SRC_X"=0, "SRC_Y"=0, "SRC_W"=0, "SRC_H"=0, "CRTC_X"=0, "CRTC_Y"=0, "CRTC_W"=0, "CRTC_H"=0, "FB_ID"=0, "CRTC_ID"=0, "rotation" not found, "IN_FORMATS"=50 kwin_wayland_drm: Plane 54 has properties "type"="Overlay", "SRC_X"=0, "SRC_Y"=0, "SRC_W"=0, "SRC_H"=0, "CRTC_X"=0, "CRTC_Y"=0, "CRTC_W"=0, "CRTC_H"=0, "FB_ID"=0, "CRTC_ID"=0, "rotation"=invalid value: 1, "IN_FORMATS"=55 kwin_wayland_drm: Plane 59 has properties "type"="Primary", "SRC_X"=0, "SRC_Y"=0, "SRC_W"=0, "SRC_H"=0, "CRTC_X"=0, "CRTC_Y"=0, "CRTC_W"=0, "CRTC_H"=0, "FB_ID"=0, "CRTC_ID"=0, "rotation"=invalid value: 1, "IN_FORMATS"=60 kwin_wayland_drm: Plane 62 has properties "type"="Cursor", "SRC_X"=0, "SRC_Y"=0, "SRC_W"=0, "SRC_H"=0, "CRTC_X"=0, "CRTC_Y"=0, "CRTC_W"=0, "CRTC_H"=0, "FB_ID"=0, "CRTC_ID"=0, "rotation" not found, "IN_FORMATS"=63 kwin_wayland_drm: Plane 67 has properties "type"="Overlay", "SRC_X"=0, "SRC_Y"=0, "SRC_W"=0, "SRC_H"=0, "CRTC_X"=0, "CRTC_Y"=0, "CRTC_W"=0, "CRTC_H"=0, "FB_ID"=0, "CRTC_ID"=0, "rotation"=invalid value: 1, "IN_FORMATS"=68 kwin_wayland_drm: Plane 72 has properties "type"="Primary", "SRC_X"=0, "SRC_Y"=0, "SRC_W"=0, "SRC_H"=0, "CRTC_X"=0, "CRTC_Y"=0, "CRTC_W"=0, "CRTC_H"=0, "FB_ID"=0, "CRTC_ID"=0, "rotation"=invalid value: 1, "IN_FORMATS"=73 kwin_wayland_drm: Plane 75 has properties "type"="Cursor", "SRC_X"=0, "SRC_Y"=0, "SRC_W"=0, "SRC_H"=0, "CRTC_X"=0, "CRTC_Y"=0, "CRTC_W"=0, "CRTC_H"=0, "FB_ID"=0, "CRTC_ID"=0, "rotation" not found, "IN_FORMATS"=76 kwin_wayland_drm: Plane 80 has properties "type"="Overlay", "SRC_X"=0, "SRC_Y"=0, "SRC_W"=0, "SRC_H"=0, "CRTC_X"=0, "CRTC_Y"=0, "CRTC_W"=0, "CRTC_H"=0, "FB_ID"=0, "CRTC_ID"=0, "rotation"=invalid value: 1, "IN_FORMATS"=81 kwin_wayland_drm: Crtc 40 has properties "MODE_ID"=0, "ACTIVE"=0, "VRR_ENABLED"=0, "GAMMA_LUT" not found, "GAMMA_LUT_SIZE" not found kwin_wayland_drm: Crtc 53 has properties "MODE_ID"=0, "ACTIVE"=0, "VRR_ENABLED"=0, "GAMMA_LUT" not found, "GAMMA_LUT_SIZE" not found kwin_wayland_drm: Crtc 66 has properties "MODE_ID"=0, "ACTIVE"=0, "VRR_ENABLED"=0, "GAMMA_LUT" not found, "GAMMA_LUT_SIZE" not found kwin_wayland_drm: Crtc 79 has properties "MODE_ID"=0, "ACTIVE"=0, "VRR_ENABLED"=0, "GAMMA_LUT" not found, "GAMMA_LUT_SIZE" not found kwin_xkbcommon: XKB: created compose table from locale en_US.UTF-8 with path /usr/xorg/share/X11/locale/en_US.UTF-8/Compose kf.globalaccel.kglobalacceld: Failed to register service org.kde.kglobalaccel kwin_core: Init of kglobalaccel failed kwin_core: Compositing forced to OpenGL mode by environment variable 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 RTX 2070 with Max-Q Design/PCIe/SSE2 OpenGL version string: 3.1.0 NVIDIA 515.57 OpenGL shading language version string: 1.40 NVIDIA via Cg compiler Driver: NVIDIA Driver version: 515.57 GPU class: Unknown OpenGL version: 3.1 GLSL version: 1.40 Linux kernel version: 5.18.9 Requires strict binding: no GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no kwin_scene_opengl: Filter multi-plane format 842093913 kwin_scene_opengl: Filter multi-plane format 842094158 kwin_scene_opengl: Filter multi-plane format 825382478 kwin_scene_opengl: Filter multi-plane format 909203022 kwin_scene_opengl: Filter multi-plane format 875714126 kwin_scene_opengl: EGL driver advertises 22 supported dmabuf formats with modifiers kwin_scene_opengl: OpenGL 2 compositing enforced by environment variable kwin_core: OpenGL compositing has been successfully initialized kwin_wayland_drm: Could not find edid for connector DrmConnector(id=86, gpu=KWin::DrmGpu(0xb10340), name="DP-1-unknown", connection="Disconnected", countMode=0) kwin_wayland_drm: Connector 86 has properties "CRTC_ID"=0, "non-desktop"=0, "DPMS"=0, "EDID"=0, "overscan" not found, "vrr_capable" not found, "underscan" not found, "underscan vborder" not found, "underscan hborder" not found, "Broadcast RGB" not found, "max bpc" not found, "link-status"="Good" kwin_wayland_drm: Connector 89 has properties "CRTC_ID"=0, "non-desktop"=0, "DPMS"=0, "EDID"=94, "overscan" not found, "vrr_capable" not found, "underscan" not found, "underscan vborder" not found, "underscan hborder" not found, "Broadcast RGB" not found, "max bpc" not found, "link-status"="Good" kwin_wayland_drm: New output on GPU /dev/dri/card1: DELL U2718Q/4K8X78AG078L kwin_wayland_drm: Could not find edid for connector DrmConnector(id=92, gpu=KWin::DrmGpu(0xb10340), name="HDMI-A-1-unknown", connection="Disconnected", countMode=0) kwin_wayland_drm: Connector 92 has properties "CRTC_ID"=0, "non-desktop"=0, "DPMS"=0, "EDID"=0, "overscan" not found, "vrr_capable" not found, "underscan" not found, "underscan vborder" not found, "underscan hborder" not found, "Broadcast RGB" not found, "max bpc" not found, "link-status"="Good" kwin_wayland_drm: Reading output configuration for KWin::DrmOutput(0xb2c820, name="DP-2", geometry=QRect(0,0 3840x2160), scale=1) kwin_core: Compositing forced to OpenGL mode by environment variable kwin_decorations: Trying to load decoration plugin: "/usr/local/kde5/lib/plugins/org.kde.kdecoration2/breezedecoration.so" Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.Disconnected", "Not connected to D-Bus server") kwin_xkbcommon: XKB: Compiling from RMLVO: rules 'evdev', model 'pc105', layout 'us', variant 'intl', options '(null)' kwin_xkbcommon: XKB: Compiling from KcCGST: keycodes 'evdev+aliases(qwerty)', types 'complete', compat 'complete', symbols 'pc+us(intl)+inet(evdev)' kwin_xkbcommon: XKB: Compiling xkb_keycodes "(unnamed)" kwin_xkbcommon: XKB: Compiling xkb_types "(unnamed)" kwin_xkbcommon: XKB: Compiling xkb_compatibility "(unnamed)" kwin_xkbcommon: XKB: The "group" statement in compat is unsupported; Ignored kwin_xkbcommon: XKB: The "group" statement in compat is unsupported; Ignored kwin_xkbcommon: XKB: The "group" statement in compat is unsupported; Ignored kwin_xkbcommon: XKB: The "allowExplicit" field in indicator statements is unsupported; Ignored kwin_xkbcommon: XKB: The "allowExplicit" field in indicator statements is unsupported; Ignored kwin_xkbcommon: XKB: The "allowExplicit" field in indicator statements is unsupported; Ignored kwin_xkbcommon: XKB: The "allowExplicit" field in indicator statements is unsupported; Ignored kwin_xkbcommon: XKB: The "indicatorDrivesKeyboard" field in indicator statements is unsupported; Ignored kwin_xkbcommon: XKB: The "allowExplicit" field in indicator statements is unsupported; Ignored kwin_xkbcommon: XKB: The "group" statement in compat is unsupported; Ignored kwin_xkbcommon: XKB: The "allowExplicit" field in indicator statements is unsupported; Ignored kwin_xkbcommon: XKB: The "allowExplicit" field in indicator statements is unsupported; Ignored kwin_xkbcommon: XKB: The "allowExplicit" field in indicator statements is unsupported; Ignored kwin_xkbcommon: XKB: The "allowExplicit" field in indicator statements is unsupported; Ignored kwin_xkbcommon: XKB: The "indicatorDrivesKeyboard" field in indicator statements is unsupported; Ignored kwin_xkbcommon: XKB: The "allowExplicit" field in indicator statements is unsupported; Ignored kwin_xkbcommon: XKB: Indicator name "Shift Lock" was not declared in the keycodes section; Adding new indicator kwin_xkbcommon: XKB: Indicator name "Group 2" was not declared in the keycodes section; Adding new indicator kwin_xkbcommon: XKB: Indicator name "Mouse Keys" was not declared in the keycodes section; Adding new indicator kwin_xkbcommon: XKB: Compiling xkb_symbols "(unnamed)" kwin_virtualkeyboard: Registering the DBus interface kwin_core: Successfully loaded plugin effect: "wobblywindows" kwin_core: Successfully loaded plugin effect: "startupfeedback" kwin_core: Successfully loaded plugin effect: "screenshot" kwin_core: Successfully loaded plugin effect: "contrast" kwin_core: Successfully loaded plugin effect: "blendchanges" kwin_core: Successfully loaded plugin effect: "zoom" kwin_core: Successfully loaded plugin effect: "windowview" kwin_core: Successfully loaded plugin effect: "slidingpopups" kwin_core: Successfully loaded plugin effect: "screenedge" kwin_core: Successfully loaded plugin effect: "overview" kwin_core: Successfully loaded plugin effect: "screentransform" kwin_core: Successfully loaded plugin effect: "kscreen" kwin_core: Successfully loaded plugin effect: "highlightwindow" kwin_core: Successfully loaded plugin effect: "colorpicker" kwin_wayland_drm: Failed to create gamma blob! Invalid argument kwin_core: Successfully loaded scripted effect: "kwin4_effect_sessionquit" kwin_core: Successfully loaded scripted effect: "kwin4_effect_login" kwin_core: Successfully loaded scripted effect: "kwin4_effect_logout" kwin_core: Successfully loaded scripted effect: "kwin4_effect_morphingpopups" kwin_core: Successfully loaded scripted effect: "kwin4_effect_frozenapp" kwin_core: Successfully loaded scripted effect: "kwin4_effect_fullscreen" kwin_core: Successfully loaded scripted effect: "kwin4_effect_fadingpopups" At this point, I have to ssh on the laptop and kill kwin_wayland and I get the following: kwin_wayland_drm: Removing output KWin::DrmOutput(0xb2c820, name="DP-2", geometry=QRect(0,0 3840x2160), scale=1) So it's detecting correctly the displays, but it only activates the backlight, but the screen remains black. Any hints? Thanks! -- You are receiving this mail because: You are watching all bug changes.