Bug 435834 - Wayland - Multi-monitor - Turning Off main desktop monitor and back on again results in main monitor losing the bottom half of the screen (THE TASKBAR) & other Anomilies
Summary: Wayland - Multi-monitor - Turning Off main desktop monitor and back on again ...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.21.4
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-17 01:11 UTC by Ben
Modified: 2022-06-03 17:52 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
globalunity: Wayland+
globalunity: X11-


Attachments
Wayland Session LOG file (6.78 KB, text/x-log)
2021-04-26 21:51 UTC, Ben
Details
Wayland LOG file immediately after BUG reproduced (61.34 KB, text/x-log)
2021-05-02 14:14 UTC, Ben
Details
Wayland LOG file - Before issue (56.75 KB, text/x-log)
2021-07-29 09:01 UTC, Ben
Details
Wayland LOG File Immediately AFTER monitor Bug Reproduced (no reboot or logout) (69.30 KB, text/x-log)
2021-07-29 09:04 UTC, Ben
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben 2021-04-17 01:11:37 UTC
SUMMARY:

KDE Plasma Monitor Hell BUG - Turning Off main desktop monitor and back on again results in main monitor losing the bottom half of the screen (THE TASKBAR) & other Anomilies:




Monitors & their Connections:


1. SONY 32"     - HDMI cable to AMD/ATI Radeon video card - Main PC Desktop monitor (has Taskbar & Icons on it's desktop)
2. HP VA905 19" - DVI cable to AMD/ATI Radeon video card
3. SONY 40"     - HDMI cable to Motherboard Intel HD4000 GPU Motherboard Chip (i915 driver)

AMD/ATI = Radeon HD 7850 (7000 Series) PCI-E Video Card

KDE Display Set up is as above from left to right hand side



NAME: KDE Plasma Monitor Hell BUG - Turning Off main desktop monitor and back on again results in main monitor losing the bottom half of the screen (THE TASKBAR) & other Anomilies

DESC: Turning Off main desktop monitor and back on again results in main monitor becoming black and providing no useable interface, ex: the bottom half of the screen (THE TASKBAR) & other Anomilies




DE's Bug Appears In:

Xwayland (Wayland) : YES
Full Wayland: YES
x11: NO



CONDITIONS:

Both monitors 1 & 2 are on


REPRODUCE ISSUE:

1. Turn SONY 32" monitor off via On/Off button on TV Set/Monitor or TV remote control
2. Turn SONY 32" monitor back on via On/Off button on TV Set/Monitor or TV remote control


RESULT:

KDE connect Daemon - The KDE Crash Handler window appears on the SONY 32" Monitor*
The taskbar often still appears on the SONY 32" Monitor but is not responsive
 *Intermittant, sometimes happens


SONY 32" Monitor gives a black screen, with _maybe_ (intermittant) only 1 window being displayed (often the last used or in-focus window)
HP VA905 19" Monitor suddenly appears to become a/the main/primary monitor (the taskbar with all pinned icons in it that was originally on the SONY 32" Monitor)
             suddenly appear on this monitor.

The SONY 32" monitor will also successfully display the mouse pointer, however when moving/draging any windows from the HP VA905 19" Monitor to the SONY 32" monitor
the mouse pointer on the SONY 32" monitor turns into a 4 direction arrow, and the window being dragged onto the SONY 32" monitor does not get displayed at all.

About a fifth of the SONY 32" monitor (on the right-hand side of it) ends up displaying a part of the wall paper that was displayed on the HP VA905 monitor.

Also the taskbar on the SONY 32" monitor appears to be literally "raised up" by about 2 centimetres with nothing but black underneath it.


FURTHER INFO:

It is usually possible to logout and then back in again to restore operations to the way they were before the issue started
However, upon repeating the above monitor off/on issue often results in the non-ability to logout and sometimes one cannot use any monitor to run apps
and a manual PC button re-boot is nessessariy

Issue has persisted on at least 3 previous kernel releases as well

DATE BUG REPRODUCED: Friday the 16th of April, 2021



RELATED BUGS - KDE Plasma - Multi-Monitor Display Bugs:


Bug 406429 - after monitors power off/on screens messed up
https://bugs.kde.org/show_bug.cgi?id=406429

Bug 430488 - panels are not fixed to monitors causing them to move when turning monitors off
https://bugs.kde.org/show_bug.cgi?id=430488

Bug 353722 - background lost multi-monitor setup
https://bugs.kde.org/show_bug.cgi?id=353722

Bug 368935 - panel inconsistencies while unplugging/plugging monitors
https://bugs.kde.org/show_bug.cgi?id=368935

Bug 370952 - Connecting secondary Display freezes the primary display
https://bugs.kde.org/show_bug.cgi?id=370952

Bug 418899 - Everything is unusable after monitor turn on
https://bugs.kde.org/show_bug.cgi?id=418899

Bug 370180 - Widgets moved to secondary monitor upon reconnect
https://bugs.kde.org/show_bug.cgi?id=370180

Bug 426273 - Screen distorsions and ghosting in multi-monitor setup on Plasma-Wayland
https://bugs.kde.org/show_bug.cgi?id=426273

Bug 431417 - Plasma crash when dual screens turned off
https://bugs.kde.org/show_bug.cgi?id=431417

Bug 419724 - kwin_wayland crashed when external monitor was turned on
https://bugs.kde.org/show_bug.cgi?id=419724

Bug 417807 - kwin crash after external monitor turned off and on again
https://bugs.kde.org/show_bug.cgi?id=417807

Bug 416401 - KWin crashes after turning on monitor and unlocking KDE Plasma
https://bugs.kde.org/show_bug.cgi?id=416401

Bug 413771 - Menu does not show in right place with multiple monitors
https://bugs.kde.org/show_bug.cgi?id=413771

Bug 414872 - Crash when unplugging second monitor under Wayland
https://bugs.kde.org/show_bug.cgi?id=414872

Bug 403519 - Wayland session crashed immediately after I connect an external monitor to hdmi port
https://bugs.kde.org/show_bug.cgi?id=403519

Bug 412178 - crash after reconnecting external monitor
https://bugs.kde.org/show_bug.cgi?id=412178

Bug 429236 - Screen layout is scrambled after switching between X11 and Wayland Plasma session
https://bugs.kde.org/show_bug.cgi?id=429236

Bug 374908 - Dual monitors: when screen resumes, windows are rearranged on second monitor
https://bugs.kde.org/show_bug.cgi?id=374908

Bug 424694 - kwin_wayland crashes when enabling monitor
https://bugs.kde.org/show_bug.cgi?id=424694

Bug 389918 - When plugging/unplugging monitor the "Visibility" of the panel is not respected.
https://bugs.kde.org/show_bug.cgi?id=389918

Bug 434604 - Multiple monitor configuration gets broken
https://bugs.kde.org/show_bug.cgi?id=434604

Bug 345532 - Severe graphical corruption after configuring multiple displays
https://bugs.kde.org/show_bug.cgi?id=345532

Bug 346181 - K menu, context menus, system tray popups not displayed (or displayed off-screen) after an external monitor is plugged in
https://bugs.kde.org/show_bug.cgi?id=346181

Bug 350954 - Display settings drops with multiple monitor configurations. It causes hangs.
https://bugs.kde.org/show_bug.cgi?id=350954

Bug 356225 - Panel moves to wrong screen when external monitor is connected
https://bugs.kde.org/show_bug.cgi?id=356225

Bug 419728 - kwin_wayland crashes when external monitor is disconnected from hdmi port while multi-monitor mode is set to "Switch to external screen"
https://bugs.kde.org/show_bug.cgi?id=419728

Bug 428706 - Cannot unlock session after external screen switches off in Wayland
https://bugs.kde.org/show_bug.cgi?id=428706

Bug 356727 - Plasma Panel sometimes disappears with multiple monitors
https://bugs.kde.org/show_bug.cgi?id=356727

Bug 414803 - Losing/corrupted multi-monitor configuration with TB 3.0 dock
https://bugs.kde.org/show_bug.cgi?id=414803





PROPOSAL SUBMITTAL:





KDE SYSTEM INFO:

Operating System: openSUSE Tumbleweed 20210414
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Kernel Version: 5.11.12-1-default
OS Type: 64-bit
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-3570K CPU @ 3.40GHz
Memory: 15.5 GiB of RAM
Graphics Processor: AMD PITCAIRN
Comment 1 Zamundaaa 2021-04-23 16:47:31 UTC
Please provide ~/.local/share/sddm/wayland-session.log after you reproduce it with the environment variable
QT_LOGGING_RULES="kwin_*.debug=true;kwin_libinput.debug=false"
set.
The output of drminfo could also be useful (when it works and when it's broken)
Comment 2 Ben 2021-04-26 21:51:12 UTC
Created attachment 137945 [details]
Wayland Session LOG file

As per your request, here is my Wayland-session log file

NOTE: I dont personally deal with environment variables myself, so Im not able
to provide any info for you about any of them

If you want such info, you will have to provide a step-by-step procedure for
me to follow in order to get such info for you

Also TERMINAL did not recognise any such command as drminfo


--- Comment #1 from Zamundaaa <xaver.hugl@gmail.com> ---
Please provide ~/.local/share/sddm/wayland-session.log after you reproduce it
with the environment variable
QT_LOGGING_RULES="kwin_*.debug=true;kwin_libinput.debug=false"
set.
The output of drminfo could also be useful (when it works and when it's broken)
Comment 3 Zamundaaa 2021-04-29 21:06:09 UTC
You can set the environment variable for example by putting it in /etc/environment
Just open that file with kate, add
QT_LOGGING_RULES="kwin_*.debug=true;kwin_libinput.debug=false"
in a new line, save it and reboot. Then reproduce the bug and upload the file again
Comment 4 Ben 2021-05-02 14:14:52 UTC
Created attachment 138086 [details]
Wayland LOG file immediately after BUG reproduced

This is a second Wayland LOG file
Zamundaaa I added the Environment variable as you requested to the /etc/environment files, and re-booted the PC
I then reproduced the BUG as per my description, and then immediately
uploaded this new wayland-session.log file (i did NOT log out of KDE Plama before-hand)
Comment 5 Ben 2021-07-15 14:50:56 UTC
This is a rather late "thank you" to the devs who were finally able to have this bug/s fixed when
KDE Plasma 5.22 came out - it was fantastic :)
Seriously when you have 3 monitors all-in-a-row and one is your main TV monitor in front of the bed
to watch stuff, turning the other 2 monitors off by simply pressing their power buttons really
does not things visually better and its quick

Unfortunatley it seems that this problem is back again, just recently

MY CURRENT OS INFO:

Operating System: openSUSE Tumbleweed 20210713
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.13.1-1-default (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-3570K CPU @ 3.40GHz
Memory: 15.5 GiB of RAM
Graphics Processor: AMD PITCAIRN


It should be stated that i had this problem PRIOR to this kernel (and other hardware firmware/driver updates) as well

Please tell me what logs you would like me to upload here

INFO:

The Main 32" Desktop Monitor (PRIMARY = i.e. Has Icons and a Taskbar on it) when turned off and then back on again
becomes completely black, and in the middle of the screen displays one of the the standard Audio Volume Device output
Mouse pointer does still move freely around onto any/all monitors as i wish

If a new bug report is to be made/submitted - please let me know as well, Thank you
Im using the SDDM Option in opensuse tumbleweed called Wayland - Im 100% positive that this is XWayland
as my SeaMonkey Browser does not run at all using True native "Full Wayland"
NOTE: Due to 'name change issues' on opensuse tumbleweed there is now only one actual option at the moment for the SDDM boot up menu, which is now just called "Wayland"
Comment 6 Zamundaaa 2021-07-27 02:14:59 UTC
Was the only thing that changed between it working and not, Plasma updating to 5.22.3 or was there a kernel update involved as well?

The only information you can really provide is the wayland log again; unfortunately I'm not sure if there even is much information to get with such old drivers.
Comment 7 Ben 2021-07-29 09:01:17 UTC
Created attachment 140382 [details]
Wayland LOG file - Before issue

Wayland LOG file - Before issue
Comment 8 Ben 2021-07-29 09:04:49 UTC
Created attachment 140383 [details]
Wayland LOG File Immediately AFTER monitor Bug Reproduced (no reboot or logout)

Wayland LOG File Immediately AFTER monitor Bug Reproduced (no reboot or logout)
Comment 9 Ben 2021-08-05 10:09:46 UTC
Just performed 189 packages upgrade & Upgraded to latest kernel:

KINFO:

Operating System: openSUSE Tumbleweed 20210803
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Kernel Version: 5.13.6-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-3570K CPU @ 3.40GHz
Memory: 15.5 GiB of RAM
Graphics Processor: AMD PITCAIRN


Problem still exists under KDE Plasma Wayland
Comment 10 postix 2022-05-17 13:28:31 UTC
Can you still reproduce it with Plasma 5.24.5 or with the beta of 5.25?
Comment 11 Bug Janitor Service 2022-06-01 04:35:39 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 12 Ben 2022-06-03 17:51:43 UTC
(In reply to postix from comment #10)
> Can you still reproduce it with Plasma 5.24.5 or with the beta of 5.25?

Sorry for the delay, technically i dont know if this issue still persists(In reply to postix from comment #10)
> Can you still reproduce it with Plasma 5.24.5 or with the beta of 5.25?


Sorry for my delay
A few months ago, i had taken my video card out of my PC altogether, was instead was using the PC's own VGA output for my main primary monitor
However, i felt it important to retry to see if this bug still existed

I can say, with happiness and glee, that it's finally fixed
I can turn the main primary monitor off and on again (HDMI by Video card) and all monitors display perfectly fine
no anomolies detected

Thank You :)