Bug 471640

Summary: Lost ability to tile 3 displays when "for only this specific display arrangement" is selected
Product: [Plasma] KScreen Reporter: Arcadiy Ivanov <arcadiy>
Component: commonAssignee: kscreen-bugs-null <kscreen-bugs-null>
Status: REOPENED ---    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.27.6   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Arcadiy Ivanov 2023-06-29 19:23:15 UTC
This just happened recently. When selecting "Save displays' properties: for only this specific display arrangement" during applying display configuration the display configuration fails while screens reset and initialize. Moving to "for any display arrangement" is a workaround to make things work.

This involves 2 x 4k displays via USB-C dock  plus primary laptop screen.

STEPS TO REPRODUCE
1.  Start with "built-in screen". Select "for only this specific display arrangement" option in screen configuration.
2.  Tile the dock's displays around your built-in screen. Click Apply.
3.  Observe the flickers of initialization and "New output detected" appearing several times. Observe that flickers stop and only built-in screen is configured with dock's displays gone.
4. Repeated the same procedure (1 - 3) with "for any display arrangement". Observe same flickering etc but all screens configuring normally with all specified displays.

OBSERVED RESULT
Only built-in screen configured

EXPECTED RESULT
All 3 screens are configured

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10
Kernel Version: 6.3.8-200.fc38.x86_64 (64-bit)
Graphics Platform: X11
Processors: 16 × Intel® Core™ i9-9980HK CPU @ 2.40GHz
Memory: 62.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Manufacturer: Dell Inc.
Product Name: Precision 5540
ADDITIONAL INFORMATION
Comment 1 Arcadiy Ivanov 2023-06-29 19:33:00 UTC
I'm going to correct myself. This happens in either mode now, but in "for any display arrangement" it's more likely to succeed.
Comment 2 Arcadiy Ivanov 2023-06-29 19:41:48 UTC
Here's the failure example

https://youtu.be/7PODl79iQBw
Comment 3 Arcadiy Ivanov 2023-06-29 19:49:00 UTC
Logs are fairly unremarkable:

Jun 29 15:45:49 ai-karellen-lap kded5[3622]: colord: Failed to register device: "device id 'xrandr-Sharp Corporation' already exists"
Jun 29 15:45:49 ai-karellen-lap kded5[3622]: colord: Setting X atom (id: 0 ) "_ICC_PROFILE" on output: "eDP-1"
Jun 29 15:45:49 ai-karellen-lap kded5[3622]: colord: Setting X atom (id: 1 ) "_ICC_PROFILE_1" on output: "DP-2"
Jun 29 15:45:49 ai-karellen-lap kded5[3622]: colord: Failed to register device: "device id 'xrandr-Sharp Corporation' already exists"
Jun 29 15:45:49 ai-karellen-lap kded5[3622]: colord: Setting X atom (id: 0 ) "_ICC_PROFILE" on output: "eDP-1"
Jun 29 15:45:50 ai-karellen-lap kded5[3622]: colord: Failed to register device: "device id 'xrandr-Samsung Electric Company-U32J59x-HTPKB07435' already exists"
Jun 29 15:45:50 ai-karellen-lap kded5[3622]: colord: Failed to register device: "device id 'xrandr-Sharp Corporation' already exists"
Jun 29 15:45:50 ai-karellen-lap kded5[3622]: colord: Setting X atom (id: 0 ) "_ICC_PROFILE" on output: "eDP-1"
Jun 29 15:45:51 ai-karellen-lap kded5[3622]: colord: Failed to register device: "device id 'xrandr-Sharp Corporation' already exists"
Jun 29 15:45:51 ai-karellen-lap kded5[3622]: colord: Setting X atom (id: 0 ) "_ICC_PROFILE" on output: "eDP-1"
Jun 29 15:45:51 ai-karellen-lap kded5[3622]: colord: Failed to register device: "device id 'xrandr-Sharp Corporation' already exists"
Jun 29 15:45:51 ai-karellen-lap kded5[3622]: colord: Setting X atom (id: 0 ) "_ICC_PROFILE" on output: "eDP-1"
Jun 29 15:45:51 ai-karellen-lap kded5[3622]: colord: EDID ICC Profile already exists "/home/arcivanov/.local/share/icc/edid-5f38a7ea60272eed2a53268defc33ef1.icc"
Jun 29 15:45:51 ai-karellen-lap kded5[3622]: colord: EDID ICC Profile already exists "/home/arcivanov/.local/share/icc/edid-b58017eca698df36678e94f84fe0b755.icc"
Jun 29 15:45:51 ai-karellen-lap kded5[3622]: colord: Output not found
Jun 29 15:45:51 ai-karellen-lap kded5[3622]: colord: EDID ICC Profile already exists "/home/arcivanov/.local/share/icc/edid-5f38a7ea60272eed2a53268defc33ef1.icc"
Jun 29 15:45:51 ai-karellen-lap kded5[3622]: colord: EDID ICC Profile already exists "/home/arcivanov/.local/share/icc/edid-b58017eca698df36678e94f84fe0b755.icc"
Jun 29 15:45:51 ai-karellen-lap kded5[3622]: colord: EDID ICC Profile already exists "/home/arcivanov/.local/share/icc/edid-5f38a7ea60272eed2a53268defc33ef1.icc"
Jun 29 15:45:51 ai-karellen-lap kded5[3622]: colord: EDID ICC Profile already exists "/home/arcivanov/.local/share/icc/edid-5f38a7ea60272eed2a53268defc33ef1.icc"
Jun 29 15:45:51 ai-karellen-lap kded5[3622]: colord: EDID ICC Profile already exists "/home/arcivanov/.local/share/icc/edid-5f38a7ea60272eed2a53268defc33ef1.icc"
Jun 29 15:45:53 ai-karellen-lap kded5[3622]: colord: Failed to register device: "device id 'xrandr-Sharp Corporation' already exists"
Jun 29 15:45:53 ai-karellen-lap kded5[3622]: colord: Setting X atom (id: 0 ) "_ICC_PROFILE" on output: "eDP-1"
Jun 29 15:45:54 ai-karellen-lap kded5[3622]: colord: Failed to register device: "device id 'xrandr-Sharp Corporation' already exists"
Jun 29 15:45:54 ai-karellen-lap kded5[3622]: colord: Setting X atom (id: 0 ) "_ICC_PROFILE" on output: "eDP-1"
Jun 29 15:45:54 ai-karellen-lap kded5[3622]: colord: Failed to register device: "device id 'xrandr-Sharp Corporation' already exists"
Jun 29 15:45:54 ai-karellen-lap kded5[3622]: colord: Setting X atom (id: 0 ) "_ICC_PROFILE" on output: "eDP-1"
Jun 29 15:45:54 ai-karellen-lap kded5[3622]: colord: EDID ICC Profile already exists "/home/arcivanov/.local/share/icc/edid-5f38a7ea60272eed2a53268defc33ef1.icc"
Jun 29 15:45:54 ai-karellen-lap kded5[3622]: colord: EDID ICC Profile already exists "/home/arcivanov/.local/share/icc/edid-5f38a7ea60272eed2a53268defc33ef1.icc"
Jun 29 15:45:54 ai-karellen-lap kded5[3622]: colord: EDID ICC Profile already exists "/home/arcivanov/.local/share/icc/edid-5f38a7ea60272eed2a53268defc33ef1.icc"
Jun 29 15:45:55 ai-karellen-lap kded5[3622]: colord: Failed to register device: "device id 'xrandr-Sharp Corporation' already exists"
Jun 29 15:45:55 ai-karellen-lap kded5[3622]: colord: Setting X atom (id: 0 ) "_ICC_PROFILE" on output: "eDP-1"
Jun 29 15:45:55 ai-karellen-lap kded5[3622]: colord: EDID ICC Profile already exists "/home/arcivanov/.local/share/icc/edid-5f38a7ea60272eed2a53268defc33ef1.icc"
Comment 4 Nate Graham 2023-09-14 19:13:56 UTC
I'm afraid "for only this specific display arrangement" has already been removed in Plasma 6 as it caused an endless stream of bugs, so probably you should stick with your workaround. We won't be able to fix the problem with the now-removed setting, sorry.
Comment 5 Arcadiy Ivanov 2023-09-15 02:18:10 UTC
(In reply to Nate Graham from comment #4)
> I'm afraid "for only this specific display arrangement" has already been
> removed in Plasma 6 as it caused an endless stream of bugs, so probably you
> should stick with your workaround. We won't be able to fix the problem with
> the now-removed setting, sorry.

>> I'm going to correct myself. This happens in either mode now, but in "for any display arrangement" it's more likely to succeed.