[kwin] [Bug 389551] kwin_wayland crash when monitor is switched off (or input is changed)
https://bugs.kde.org/show_bug.cgi?id=389551 Roman Gilg changed: What|Removed |Added Resolution|--- |FIXED Status|REPORTED|RESOLVED Latest Commit||https://commits.kde.org/kwi ||n/2632e4182c658178af82be175 ||575b094002468af --- Comment #13 from Roman Gilg --- Git commit 2632e4182c658178af82be175575b094002468af by Roman Gilg. Committed on 08/01/2020 at 09:12. Pushed by romangilg into branch 'master'. [platforms/drm] Allow running without outputs Summary: Set outputs enablement also when none outputs are present. This patch is similar to earlier attempt at D17985. Related: bug 402827, bug 398680, bug 413758 Test Plan: Starting without outputs, manual disconnects and DPMS changes. There is still an issue when an output gets disconnected while the DPMS is off. But it's an improvement already. Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Maniphest Tasks: T10016 Differential Revision: https://phabricator.kde.org/D26511 M +2-6plugins/platforms/drm/drm_backend.cpp https://commits.kde.org/kwin/2632e4182c658178af82be175575b094002468af -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 389551] kwin_wayland crash when monitor is switched off (or input is changed)
https://bugs.kde.org/show_bug.cgi?id=389551 Tomas changed: What|Removed |Added CC||thur...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 389551] kwin_wayland crash when monitor is switched off (or input is changed)
https://bugs.kde.org/show_bug.cgi?id=389551 --- Comment #12 from Daniel Schaal --- Just tested this again and turning off my laptop display doesn't lead to a crash anymore (using current Debian unstable with KDE 5.14.5/Qt 5.11.3) -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 389551] kwin_wayland crash when monitor is switched off (or input is changed)
https://bugs.kde.org/show_bug.cgi?id=389551 Andrius Štikonas changed: What|Removed |Added CC||andr...@stikonas.eu -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 389551] kwin_wayland crash when monitor is switched off (or input is changed)
https://bugs.kde.org/show_bug.cgi?id=389551 Timo Kalliomäki changed: What|Removed |Added CC||timok...@gmail.com --- Comment #11 from Timo Kalliomäki --- Still present on Debian testing with version 5.13.5/Qt 5.11.2. Starting with a ”screen extended to both monitors” state under Wayland and then switching laptop monitor to ”disabled” in KScreen causes a crash. (Also, bug 390306 might be a duplicate of this one?) -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 389551] kwin_wayland crash when monitor is switched off (or input is changed)
https://bugs.kde.org/show_bug.cgi?id=389551 Martin Kostolnýchanged: What|Removed |Added CC||clearmar...@zoho.com --- Comment #10 from Martin Kostolný --- I'm experiencing a kwin_wayland crash when disconnecting external monitor which is set as primary (and placed above internal laptop monitor). My laptop monitor is always active. I believe it can be related to this issue. This is not always reproducible though. It usually happen when multiple windows are opened but I cannot provide anything 100%. Stupid question: please tell me how to get backtrace from crashed kwin_wayland. Run ksmserver with gdb somehow? Thanks! -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 389551] kwin_wayland crash when monitor is switched off (or input is changed)
https://bugs.kde.org/show_bug.cgi?id=389551 Tom Magowanchanged: What|Removed |Added CC||tom.mago...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 389551] kwin_wayland crash when monitor is switched off (or input is changed)
https://bugs.kde.org/show_bug.cgi?id=389551 --- Comment #9 from Daniel Schaal--- Created attachment 110920 --> https://bugs.kde.org/attachment.cgi?id=110920=edit Backtrace of ksmserver crash -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 389551] kwin_wayland crash when monitor is switched off (or input is changed)
https://bugs.kde.org/show_bug.cgi?id=389551 Daniel Schaalchanged: What|Removed |Added CC||daniel@schaal.email --- Comment #8 from Daniel Schaal --- Created attachment 110919 --> https://bugs.kde.org/attachment.cgi?id=110919=edit Backtrace of kwin_wayland crash Trying to turn of my laptop monitor and only having an external monitor active, kwin_wayland crashes and leaves the attached backtrace. (Not sure if related, but shortly before kwin_wayland crashes, ksmserver also crashes) This is on Debian unstable, with kwin 5.12.1 and Qt 5.9.2 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 389551] kwin_wayland crash when monitor is switched off (or input is changed)
https://bugs.kde.org/show_bug.cgi?id=389551 --- Comment #7 from Pieter David--- In my case one screen does stay connected at all time... but I just tried again, and it turns out that I can disable the external monitor without problem, I only get the crash when disabling the screen of my laptop. Maybe the problem is with disabling the "first" screen? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 389551] kwin_wayland crash when monitor is switched off (or input is changed)
https://bugs.kde.org/show_bug.cgi?id=389551 --- Comment #6 from Martin Flöser--- Some explanation: when initially implementing the DRM platform I operated on the assumption that there is always at least one screen. Not having any screens doesn't make much sense as there is nothing to render to. And that kind of still holds. If we remove all screens, the wayland outputs get removed and we run into issues in the clients. They would start to destroy windows, terminate, crash - anything is possible. What is a possibility would be to add a fake screen with the same dimension than the last unplugged screen. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 389551] kwin_wayland crash when monitor is switched off (or input is changed)
https://bugs.kde.org/show_bug.cgi?id=389551 Martin Flöserchanged: What|Removed |Added CC||pieter.da...@gmail.com --- Comment #5 from Martin Flöser --- *** Bug 390234 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 389551] kwin_wayland crash when monitor is switched off (or input is changed)
https://bugs.kde.org/show_bug.cgi?id=389551 Nate Grahamchanged: What|Removed |Added CC||pointedst...@zoho.com -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 389551] kwin_wayland crash when monitor is switched off (or input is changed)
https://bugs.kde.org/show_bug.cgi?id=389551 --- Comment #4 from Greg White--- KWin Support Information: The following information should be used when requesting support on e.g. http://forum.kde.org. It provides information about the currently running instance, which options are used, what OpenGL driver and which effects are running. Please post the information provided underneath this introductory text to a paste bin service like http://paste.kde.org instead of pasting into support threads. == Version === KWin version: 5.12.80 Qt Version: 5.10.0 Qt compile version: 5.10.0 XCB compile version: 1.12 Operation Mode: Xwayland Build Options = KWIN_BUILD_DECORATIONS: yes KWIN_BUILD_TABBOX: yes KWIN_BUILD_ACTIVITIES: yes HAVE_INPUT: yes HAVE_DRM: yes HAVE_GBM: yes HAVE_X11_XCB: yes HAVE_EPOXY_GLX: yes HAVE_WAYLAND_EGL: yes X11 === Vendor: The X.Org Foundation Vendor Release: 11906000 Protocol Version/Revision: 11/0 SHAPE: yes; Version: 0x11 RANDR: yes; Version: 0x14 DAMAGE: yes; Version: 0x11 Composite: yes; Version: 0x4 RENDER: yes; Version: 0xb XFIXES: yes; Version: 0x50 SYNC: yes; Version: 0x31 GLX: yes; Version: 0x0 Decoration == Plugin: org.kde.breeze Theme: Blur: 0 onAllDesktopsAvailable: false alphaChannelSupported: true closeOnDoubleClickOnMenu: false decorationButtonsLeft: 0, 2 decorationButtonsRight: 6, 3, 4, 5 borderSize: 2 gridUnit: 16 font: Noto Sans,10,-1,5,50,0,0,0,0,0,Regular smallSpacing: 4 largeSpacing: 16 Platform == Name: DRM Active: true Atomic Mode Setting: false Options === focusPolicy: 0 nextFocusPrefersMouse: false clickRaise: true autoRaise: false autoRaiseInterval: 0 delayFocusInterval: 0 shadeHover: false shadeHoverInterval: 250 separateScreenFocus: false placement: 4 focusPolicyIsReasonable: true borderSnapZone: 10 windowSnapZone: 10 centerSnapZone: 0 snapOnlyWhenOverlapping: false rollOverDesktops: true focusStealingPreventionLevel: 1 legacyFullscreenSupport: false operationTitlebarDblClick: 5000 operationMaxButtonLeftClick: 5000 operationMaxButtonMiddleClick: 5015 operationMaxButtonRightClick: 5014 commandActiveTitlebar1: 0 commandActiveTitlebar2: 30 commandActiveTitlebar3: 2 commandInactiveTitlebar1: 4 commandInactiveTitlebar2: 30 commandInactiveTitlebar3: 2 commandWindow1: 7 commandWindow2: 8 commandWindow3: 8 commandWindowWheel: 31 commandAll1: 10 commandAll2: 3 commandAll3: 14 keyCmdAllModKey: 16777251 showGeometryTip: false condensedTitle: false electricBorderMaximize: false electricBorderTiling: false electricBorderCornerRatio: 0.25 borderlessMaximizedWindows: false killPingTimeout: 5000 hideUtilityWindowsForInactive: true inactiveTabsSkipTaskbar: false autogroupSimilarWindows: false autogroupInForeground: true compositingMode: 1 useCompositing: true compositingInitialized: true hiddenPreviews: 1 glSmoothScale: 1 xrenderSmoothScale: false maxFpsInterval: 1666 refreshRate: 0 vBlankTime: 600 glStrictBinding: false glStrictBindingFollowsDriver: true glCoreProfile: true glPreferBufferSwap: 101 glPlatformInterface: 2 windowsBlockCompositing: true Screen Edges desktopSwitching: false desktopSwitchingMovingClients: false cursorPushBackDistance: 1x1 timeThreshold: 150 reActivateThreshold: 350 actionTopLeft: 0 actionTop: 0 actionTopRight: 0 actionRight: 0 actionBottomRight: 0 actionBottom: 0 actionBottomLeft: 0 actionLeft: 0 Screens === Multi-Head: no Active screen follows mouse: no Number of Screens: 1 Screen 0: - Name: DEL DP-1-DELL P2715Q/32R1F4CR361L Geometry: 0,0,3840x2160 Scale: 1 Refresh Rate: 59.997 Compositing === Compositing is active Compositing Type: OpenGL OpenGL vendor string: X.Org OpenGL renderer string: Radeon RX 550 Series (POLARIS12 / DRM 3.23.0 / 4.15.0-rc9-GTW1+, LLVM 5.0.1) OpenGL version string: 4.5 (Core Profile) Mesa 17.3.3 OpenGL platform interface: EGL OpenGL shading language version string: 4.50 Driver: Unknown GPU class: Unknown OpenGL version: 4.5 GLSL version: 4.50 Mesa version: 17.3.3 Linux kernel version: 4.15 Direct rendering: Requires strict binding: no GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no OpenGL 2 Shaders are used Painting blocks for vertical retrace: no Loaded Effects: --- zoom kwin4_effect_morphingpopups kwin4_effect_maximize kwin4_effect_frozenapp kwin4_effect_logout kwin4_effect_translucency kwin4_effect_dialogparent kwin4_effect_fade slidingpopups wobblywindows screenshot magiclamp colorpicker presentwindows highlightwindow blur startupfeedback kscreen Currently Active Effects: - blur Effect Settings: zoom: zoomFactor: 1.2 mousePointer: 0 mouseTracking: 0 enableFocusTracking: false followFocus: true focusDelay: 350 moveFactor: 20 targetZoom: 1 kwin4_effect_morphingpopups: kwin4_effect_maximize: kwin4_effect_frozenapp: kwin4_effect_logout: kwin4_effect_translucency: kwin4_effect_dialogparent: kwin4_effect_fade:
[kwin] [Bug 389551] kwin_wayland crash when monitor is switched off (or input is changed)
https://bugs.kde.org/show_bug.cgi?id=389551 --- Comment #3 from Greg White--- Just verified it also reproduces with kwin and the current git head, and that it also reproduces if you simply unplug the cable. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 389551] kwin_wayland crash when monitor is switched off (or input is changed)
https://bugs.kde.org/show_bug.cgi?id=389551 --- Comment #2 from Greg White--- With the power button or by using the monitor's menu to switch the input from DP to HDMI. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 389551] kwin_wayland crash when monitor is switched off (or input is changed)
https://bugs.kde.org/show_bug.cgi?id=389551 Martin Flöserchanged: What|Removed |Added Severity|critical|crash Flags||Wayland+, X11- Component|wayland-generic |platform-drm --- Comment #1 from Martin Flöser --- How exactly are you turning off the monitor? How do you change the input? -- You are receiving this mail because: You are watching all bug changes.