Bug 455934 - Kwin always crashes when attaching an external HDMI monitor
Summary: Kwin always crashes when attaching an external HDMI monitor
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kwin
Classification: Plasma
Component: scripts (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-25 21:56 UTC by Spry
Modified: 2022-06-26 12:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Backtrace generated via Crash Reporter tool (17.84 KB, text/plain)
2022-06-25 21:56 UTC, Spry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Spry 2022-06-25 21:56:02 UTC
Created attachment 150155 [details]
Backtrace generated via Crash Reporter tool

SUMMARY
- What I was doing when the application crashed:

I connected an external HDMI monitor to my laptop. In this specific case, the screen was already unlocked. KWin crashed immediately.

- Custom settings of the application:

The Krohnkite tiling extension is enabled.
When the extension is disabled, the issue no longer reproduces.

The display settings are set up to extend the screen between the two monitors.

The crash can be reproduced every time.

STEPS TO REPRODUCE
1.  Ensure the Krohnkite extension is enabled.
2.  Ensure the screen is unlocked.
3.  Start with no external monitor connected.
4.  Connect an external monitor to the laptop's HDMI port.

OBSERVED RESULT

KWin crashes. Some display irregularities appear until KWin restarts (taskbar appears in the middle of the screen, there is some flicker).

EXPECTED RESULT

The external monitor should be enabled and the display extended without issue.

SOFTWARE/OS VERSIONS
Application: kwin_x11 (5.18.6)

Qt Version: 5.12.8
Frameworks Version: 5.68.0
Operating System: Linux 5.4.0-120-generic x86_64
Windowing system: X11
Distribution: Ubuntu 20.04.4 LTS

ADDITIONAL INFORMATION
Comment 1 galder 2022-06-26 11:23:47 UTC
Hello,
.that version is not supported anymore. 
I would suggest to try with Kubuntu 22.04 that brings current LTS version 5.24
Multiscreen support has been improved a lot. However I only recommend to use X11
as Wayland has issues in Ubuntu 22.04.

Regards
Galder
Comment 2 galder 2022-06-26 12:34:29 UTC
Also could be related to the actual krohnkite script.
You could report directly to them.
Also have multiscreen setup documentation.

https://github.com/esjeon/krohnkite