Bug 417089 - Settings for identical monitors get inappropriately cloned on reboot and end up overlapping
Summary: Settings for identical monitors get inappropriately cloned on reboot and end ...
Status: RESOLVED INTENTIONAL
Alias: None
Product: KScreen
Classification: Plasma
Component: common (other bugs)
Version First Reported In: 5.20.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-03 08:30 UTC by Marcello Massaro
Modified: 2022-11-21 22:43 UTC (History)
4 users (show)

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


Attachments
Output of kscreen-console bug (65.86 KB, text/plain)
2021-01-16 16:46 UTC, Nicolas Mancilla
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcello Massaro 2020-02-03 08:30:48 UTC
SUMMARY
On a system with dual monitors, both of which are the same brand and same model, the display arrangement gets reset at each reboot to one monitor being the copy of the other one. Also, in Display Configuration, they are laid out one on top of each other, leading you to believe that there is only one monitor.

STEPS TO REPRODUCE
1. Arrange dual monitors.
2. Reboot.

OBSERVED RESULT
Instead of preserving disposition, monitors are a copy of each-other.

EXPECTED RESULT
Nothing should change on reboot.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.1
Kernel Version: 5.4.15-arch1-1
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-4460 CPU @ 3.20GHz
Memory: 15,3 GiB of RAM
Comment 1 Marcello Massaro 2020-02-12 12:07:12 UTC
After updating to Plasma 5.18, the issue seems to be gone.
Comment 2 Nicolas Mancilla 2021-01-16 16:43:00 UTC
I'm having the same issue.

Having two (and possible will apply to more than two) monitors of the same brand and model causes kscreen to generate the same Id, which causes the settings to not be stored correctly.


STEPS TO REPRODUCE
1. Connect to monitors of the same brand and model
2. Configure them with different rotations
3. Reboot and check the generated files inside ~/.local/share/kscreen.

OBSERVED RESULT

Since both monitors get assigned the same id, the last configuration is applied to both monitors.

EXPECTED RESULT

Keep different configurations for each monitor.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.10.7-arch1-1/5.20.5
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

The configuration works until I reboot, in which case it resets.

I have tried, without success:

1. Delete the ~/.local/share/kscreen folder.
2. Generate a random hex string of 32 characters and created a file inside ~/.local/share/kscreen/outputs and added that configuration to the one generated under ~/.local/share/kscreen/hash.
Comment 3 Nicolas Mancilla 2021-01-16 16:46:42 UTC
Created attachment 134941 [details]
Output of kscreen-console bug

Included the output of kscreen-console bug
Comment 4 Nate Graham 2022-06-28 18:41:24 UTC
Does this still happen in Plasma 5.25? We did a lot of multimonitor robustness work in that release. Could you test? Thanks!
Comment 5 Nicolas Mancilla 2022-07-04 19:17:36 UTC
(In reply to Nate Graham from comment #4)
> Does this still happen in Plasma 5.25? We did a lot of multimonitor
> robustness work in that release. Could you test? Thanks!

Hey Nate! Thanks for your work, but I don't have two of the same brand and model monitors, so I can't test. However, I remember fixing it by checking the "Only for this specific display arrangement" option for "Save display's properties", in case it helps someone else.

Thanks again!
Comment 6 Bug Janitor Service 2022-07-19 04:36:34 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 7 Bug Janitor Service 2022-08-03 04:35:40 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!
Comment 8 Henrique 2022-10-27 15:41:41 UTC
I'm having this issue in KDE 5.26.2(Arch Linux). I've two LG monitors that are also the same model.
Comment 9 Nate Graham 2022-11-10 18:07:56 UTC
When monitors truly have the same data, KScreen can only de-duplicate them by looking at their connector names.

If you're using an AMD GPU, these unfortunately are volatile and can swap positions on boot.

Are you using an AMD GPU? Can you paste the output of `kscreen-doctor -o`?
Comment 10 Shawn 2022-11-20 17:06:42 UTC
Nicolas, thanks. That worked for me.

Nate, I wanted to mention that I did not experience this bug until I switched both of my connection cords to display ports. Prior to that, I had one of them as hdmi and one of them as display. I did not get the bug until then.
Comment 11 Nate Graham 2022-11-21 22:43:35 UTC
Cool, if "Only for this specific display arrangement" works for you, then it sounds like things are working.