Bug 483841 - Monitors inappropriately become mirrored after wake from suspend
Summary: Monitors inappropriately become mirrored after wake from suspend
Status: RESOLVED FIXED
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 6.0.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords: multiscreen, qt6
Depends on:
Blocks:
 
Reported: 2024-03-17 15:03 UTC by Kalzi
Modified: 2024-07-04 22:51 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kalzi 2024-03-17 15:03:44 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
Not sure how to explain this accurately, but here goes:
Often times when I wake my system from suspend, my monitors mirror each other instead of extending. Nothing fix them at all, no rebooting or anything else does, until I discovered(by accident/luck) that they sit on top of each other in the display & monitor settings. I tried dragging the monitor in the settings and there it is, the other monitor sitting underneath it. Then just put them next to each other like they are in the real world and then hit "Apply" and it worked. This happens on both wayland and X11. 

STEPS TO REPRODUCE
1. Have more than one monitor
2. suspend and wake up the machine 


OBSERVED RESULT
Monitors in Display & monitors setting sit on top of each other causing the monitors to mirror each other instead of extending

EXPECTED RESULT
Monitors should not mirror on their own by sitting on top of each other in the settings

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
Operating System: EndeavourOS 
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.1-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5700G with Radeon Graphics
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 580 Series
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: A520I AC
System Version: -CF
ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-04-10 22:30:18 UTC
After you move the screens so they're not overlapping anymore, does it thereafter continue to work? Or do they somehow get overlapped/mirrored again in the future?
Comment 2 Kalzi 2024-04-10 23:38:24 UTC
(In reply to Nate Graham from comment #1)
> After you move the screens so they're not overlapping anymore, does it
> thereafter continue to work? Or do they somehow get overlapped/mirrored
> again in the future?

They continue to work normal until the PC suspends then I wake it up. Then they're mirrored. It doesn't happen every single time lately, probably every 3rd or 4th time, and it's a simple fix, as I just need to get into the settings and move the monitors next to each other and apply and keep changes
Comment 3 Nate Graham 2024-04-11 22:10:19 UTC
Thanks.

Does this happen on Wayland too, or only X11?
Comment 4 Kalzi 2024-04-12 01:30:26 UTC
(In reply to Nate Graham from comment #3)
> Thanks.
> 
> Does this happen on Wayland too, or only X11?

Apologies for the late reply, I didn't see the email, but yes, it happens on Wayland, too. I have mentioned that in the body of my bug request :)
Comment 5 Kalzi 2024-04-12 01:31:05 UTC
(In reply to Kalzi from comment #4)
> (In reply to Nate Graham from comment #3)
> > Thanks.
> > 
> > Does this happen on Wayland too, or only X11?
> 
> Apologies for the late reply, I didn't see the email, but yes, it happens on
> Wayland, too. I have mentioned that in the body of my bug request :)
bug report*
Comment 6 Nate Graham 2024-04-12 17:38:37 UTC
Oh, sorry for missing that.

Can you comment on the hardware setup? desktop vs laptop, how are the monitors connected, what are their makes, models, resolutions, etc.
Comment 7 Kalzi 2024-04-12 20:42:54 UTC
(In reply to Nate Graham from comment #6)
> Oh, sorry for missing that.
> 
> Can you comment on the hardware setup? desktop vs laptop, how are the
> monitors connected, what are their makes, models, resolutions, etc.
I have a desktop PC (info below). Two 27" 4k monitors, a Dell and a Sceptre. Dell is connecting via a DP and the other one HDMI. 

From var/log/Xorg.0.log:
Monitor name: DELL P2715Q
Sceptre is not being fully detected, but the model is there and it is u27
There are a ton of other info. Please let me know what you are looking for in particular and I will get it for you.

Here is the system info
Operating System: EndeavourOS 
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.7.0
Kernel Version: 6.8.4-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5700G with Radeon Graphics
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 580 Series
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: A520I AC
Comment 8 Bug Janitor Service 2024-04-27 03:46:22 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 9 Kalzi 2024-04-27 13:46:14 UTC
(In reply to Nate Graham from comment #1)
> After you move the screens so they're not overlapping anymore, does it
> thereafter continue to work? Or do they somehow get overlapped/mirrored
> again in the future?

I just go an email that states that I needed to provide more info on this bug, or it will be deleted. Could you please advise on what else I'd need to provide? Thanks
Comment 10 Zamundaaa 2024-07-04 14:55:41 UTC
Please (on Wayland) attach your ~/.config/kwinoutputconfig.json, once when things are working correctly and once when the screens are mirrored. Also the output of "kscreen-doctor -o" in both situations could help.
Comment 11 Kalzi 2024-07-04 22:07:35 UTC
(In reply to Zamundaaa from comment #10)
> Please (on Wayland) attach your ~/.config/kwinoutputconfig.json, once when
> things are working correctly and once when the screens are mirrored. Also
> the output of "kscreen-doctor -o" in both situations could help.

I haven't had this issue ever since 6.1, so I don't think the logs are needed anymore? Unless you still need the ones when things are working correctly, then let me know and I will get them for ya.
Comment 12 Zamundaaa 2024-07-04 22:51:42 UTC
If the problem is already gone, that's great too of course :)
If it happens again, just reopen and add the requested info then