[plasmashell] [Bug 456369] Plasma Shell 5.25: Black screen when disconnecting external monitor with no hope of recovery

2022-07-12 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=456369

Nate Graham  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=456298
 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/plas
   ||ma/kwin/-/commit/a71146c999
   ||728b06654ba247644b6b22609f0
   ||dff
   Version Fixed In||5.25.3

--- Comment #14 from Nate Graham  ---
Great news!

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 456369] Plasma Shell 5.25: Black screen when disconnecting external monitor with no hope of recovery

2022-07-12 Thread Robert
https://bugs.kde.org/show_bug.cgi?id=456369

--- Comment #13 from Robert  ---
I have hotplugged the monitor a few times with plasma 5.25.3, and it turned on
every time.
Thank you for all your efforts.
You guys are awesome.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 456369] Plasma Shell 5.25: Black screen when disconnecting external monitor with no hope of recovery

2022-07-12 Thread Robert
https://bugs.kde.org/show_bug.cgi?id=456369

--- Comment #12 from Robert  ---
Correction, 5.25.3

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 456369] Plasma Shell 5.25: Black screen when disconnecting external monitor with no hope of recovery

2022-07-12 Thread Robert
https://bugs.kde.org/show_bug.cgi?id=456369

--- Comment #11 from Robert  ---
Great news.
Archlinux usually keeps on top of these things, so I expect I can inform you of
the results before the end of the week.

In the mean time, I discovered an workaround to sort of recover from this:
- Make sure the primary (laptop) display is enabled (doesn't have to be
primary)
- Unplug the dock
- Switch to another virtual terminal (ctrl-alt-f4)
- Plug in the dock
- Wait for the display to reinitialize
- Switch back to the Plasma session (ctrl-alt-f2)

It seems to crash and restart when I do that, but at least I have full use of
my secondary monitor again without having to log out.
The background was missing on the primary display, but running "plasmashell
--replace" fixed that also.

I will let you know if version 5.23 fixes the original issue.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 456369] Plasma Shell 5.25: Black screen when disconnecting external monitor with no hope of recovery

2022-07-12 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=456369

--- Comment #10 from Zamundaaa  ---
The issue is this:
> [CRTC:167:pipe B] enabled/connectors mismatch

which is a bug that should be fixed with
https://invent.kde.org/plasma/kwin/-/merge_requests/2600.
To verify that the fix works for you, you can either compile the master or 5.25
branch yourself, or wait for 5.23.3 (to be released today) to reach your distro

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 456369] Plasma Shell 5.25: Black screen when disconnecting external monitor with no hope of recovery

2022-07-12 Thread Robert
https://bugs.kde.org/show_bug.cgi?id=456369

--- Comment #9 from Robert  ---
Created attachment 150552
  --> https://bugs.kde.org/attachment.cgi?id=150552=edit
DRM log entries while reproducing the issue

Commands:

echo 0x1FF | sudo tee /sys/module/drm/parameters/debug
sudo dmesg -w > dmesg.log

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 456369] Plasma Shell 5.25: Black screen when disconnecting external monitor with no hope of recovery

2022-07-11 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=456369

--- Comment #8 from Zamundaaa  ---
Alright so the kernel rejects the new display configuration for some reason. To
find out why, please execute
> echo 0x1FF | sudo tee /sys/module/drm/parameters/debug
to enable drm debug logging and then execute
> sudo dmesg -w > dmesg.log
to copy the drm log into "dmesg.log" (and keep that one running). Then cause
the problem again and upload the log file afterwards.
Note that drm logging is quite verbose and the file may become quite huge, so
the command should only be run as long as really needed.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 456369] Plasma Shell 5.25: Black screen when disconnecting external monitor with no hope of recovery

2022-07-07 Thread Robert
https://bugs.kde.org/show_bug.cgi?id=456369

--- Comment #7 from Robert  ---
I discovered some more odd behaviour.
First of all, disconnecting / reconnecting the dock caused the whole system to
freeze for a few seconds, or at least my ssh session.

I also tried reproducing the issue with the lid opened, and the laptop monitor
enabled, scale 200%.
The external monitor was set as primary screen, scale 150%.

In this scenario, the laptop monitor took over as expected after disconnecting
the dock.
Reconnecting it did not give me back my external monitor, but at least the
laptop monitor kept working.

Other devices connected to the dock (mouse and keyboard) will come online most
of the times when plugging it in, but not always.
In that case, disconnecting and reconnecting would fix that.

Logging out of plasma and back in with the dock plugged in results in a fully
working system.
Sometimes the scale of the external monitor is wrong (set to 150%, but this is
not applied).
Switching to another setting and back fixes that too.

I'll try to get some more logs for you tomorrow doing what I described above.
Is there anything else you want me to try?

Have a nice evening.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 456369] Plasma Shell 5.25: Black screen when disconnecting external monitor with no hope of recovery

2022-07-07 Thread Robert
https://bugs.kde.org/show_bug.cgi?id=456369

--- Comment #6 from Robert  ---
Nate and  Zamundaaa,

Thanks for responding so quickly.
I have attached the log like you asked, and added one with plasmashell entries
just in case.
The logs are too big to attach as they are, so I gzipped them.

Hope this helps.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 456369] Plasma Shell 5.25: Black screen when disconnecting external monitor with no hope of recovery

2022-07-07 Thread Robert
https://bugs.kde.org/show_bug.cgi?id=456369

--- Comment #5 from Robert  ---
Created attachment 150474
  --> https://bugs.kde.org/attachment.cgi?id=150474=edit
journalctl log, filtered for plasmashell

The following line was added to /etc/environment:
QT_LOGGING_RULES="kwin_*.debug=true"

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 456369] Plasma Shell 5.25: Black screen when disconnecting external monitor with no hope of recovery

2022-07-07 Thread Robert
https://bugs.kde.org/show_bug.cgi?id=456369

--- Comment #4 from Robert  ---
Comment on attachment 150473
  --> https://bugs.kde.org/attachment.cgi?id=150473
journalctl log, filtered for kwin_wayland

The following line was added to /etc/environment:
QT_LOGGING_RULES="kwin_*.debug=true"

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 456369] Plasma Shell 5.25: Black screen when disconnecting external monitor with no hope of recovery

2022-07-07 Thread Robert
https://bugs.kde.org/show_bug.cgi?id=456369

--- Comment #3 from Robert  ---
Created attachment 150473
  --> https://bugs.kde.org/attachment.cgi?id=150473=edit
journalctl log, filtered for kwin_wayland

following line was added to /etc/environment
QT_LOGGING_RULES="kwin_*.debug=true"

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 456369] Plasma Shell 5.25: Black screen when disconnecting external monitor with no hope of recovery

2022-07-06 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=456369

Zamundaaa  changed:

   What|Removed |Added

 Status|RESOLVED|REPORTED
 Resolution|DUPLICATE   |---
 CC||xaver.h...@gmail.com

--- Comment #2 from Zamundaaa  ---
Can you add
> QT_LOGGING_RULES="kwin_*.debug=true"
to /etc/environment, reboot, reproduce the problem and afterwards upload the
output of
> journalctl --boot 0 | grep kwin_wayland
? You can make the computer react again by using ssh and remotely killing
kwin_wayland when it gets stuck. If you need to reboot, you can retrieve the
log by specifying boot -1 instead of 0.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 456369] Plasma Shell 5.25: Black screen when disconnecting external monitor with no hope of recovery

2022-07-06 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=456369

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org
 Resolution|--- |DUPLICATE
 Status|REPORTED|RESOLVED

--- Comment #1 from Nate Graham  ---


*** This bug has been marked as a duplicate of bug 454086 ***

-- 
You are receiving this mail because:
You are watching all bug changes.