<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>489457</bug_id>
          
          <creation_ts>2024-06-29 19:26:01 +0000</creation_ts>
          <short_desc>On Plasma 6.1, monitors get rescaled and repositioned after waking from sleep</short_desc>
          <delta_ts>2025-01-25 12:49:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>multi-screen</component>
          <version>6.1.1</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>multiscreen, wayland-only</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Billy Messenger">u4fqdzbz</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>goo</cc>
    
    <cc>nate</cc>
    
    <cc>postix</cc>
    
    <cc>u4fqdzbz</cc>
    
    <cc>xaver.hugl</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/kwin/-/commit/c3f4149bf02322011842ad48682c6deabedefc00</cf_commitlink>
          <cf_versionfixedin>6.3.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2333423</commentid>
    <comment_count>0</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-06-29 19:26:01 +0000</bug_when>
    <thetext>I have a dual-monitor setup with two 2560x1440p screens at 100% scaling on Wayland. After upgrading to plasma 6.1, sometimes after waking the computer from sleep the placement of the monitors are swapped and sometimes one of the monitors get rescaled to 125%.

STEPS TO REPRODUCE
1. Put the computer to sleep or wait for it to sleep.
2. Wake it up and observe that sometimes the login screen on one of the monitors is scaled up.
3. Login and open Display &amp; Monitor in system settings and observe that the position of the monitors have swapped and that one of the monitors is set to 125% scaling.

OBSERVED RESULT

After upgrading to plasma 6.1, sometimes after waking the computer from sleep the placement of the monitors are swapped, and sometimes one of the monitors get rescaled to 125%.

EXPECTED RESULT

The monitor configuration should be preserved when the computer wakes up.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kernel 6.9.7-arch1-1 (64-bit)
(available in About System)
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
I&apos;m running Wayland and have an AMD RX 570 graphics card. I also have adaptive sync set to &quot;Automatic&quot; in the display settings.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2333424</commentid>
    <comment_count>1</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-06-29 19:33:03 +0000</bug_when>
    <thetext>Oh yeah and I have the monitors set to 75Hz.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2345101</commentid>
    <comment_count>2</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-08-12 14:59:56 +0000</bug_when>
    <thetext>An update. Now sometimes when I first log in after rebooting my computer the same issue happens.

Am I the only one experiencing this issue? I suppose it&apos;s not a major issue but it&apos;s still mildly annoying.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2345104</commentid>
    <comment_count>3</comment_count>
    <who name="Zamundaaa">xaver.hugl</who>
    <bug_when>2024-08-12 15:37:09 +0000</bug_when>
    <thetext>Please attach ~/.config/kwinoutputconfig.json and the output of drm_info when the setup is correct, and when it&apos;s wrong</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2345231</commentid>
    <comment_count>4</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-08-12 19:54:47 +0000</bug_when>
    <thetext>(In reply to Zamundaaa from comment #3)
&gt; Please attach ~/.config/kwinoutputconfig.json and the output of drm_info
&gt; when the setup is correct, and when it&apos;s wrong

Alright, here it is when it is correct:

[
    {
        &quot;data&quot;: [
            {
                &quot;autoRotation&quot;: &quot;InTabletMode&quot;,
                &quot;brightness&quot;: 1,
                &quot;colorProfileSource&quot;: &quot;sRGB&quot;,
                &quot;connectorName&quot;: &quot;DP-2&quot;,
                &quot;edidHash&quot;: &quot;24958546af32afdbb93ed9c47f196d34&quot;,
                &quot;edidIdentifier&quot;: &quot;AUS 9984 16843009 47 2020 0&quot;,
                &quot;highDynamicRange&quot;: false,
                &quot;iccProfilePath&quot;: &quot;&quot;,
                &quot;mode&quot;: {
                    &quot;height&quot;: 1440,
                    &quot;refreshRate&quot;: 74924,
                    &quot;width&quot;: 2560
                },
                &quot;overscan&quot;: 0,
                &quot;rgbRange&quot;: &quot;Automatic&quot;,
                &quot;scale&quot;: 1,
                &quot;sdrBrightness&quot;: 200,
                &quot;sdrGamutWideness&quot;: 0,
                &quot;transform&quot;: &quot;Normal&quot;,
                &quot;vrrPolicy&quot;: &quot;Automatic&quot;,
                &quot;wideColorGamut&quot;: false
            },
            {
                &quot;autoRotation&quot;: &quot;InTabletMode&quot;,
                &quot;brightness&quot;: 1,
                &quot;colorProfileSource&quot;: &quot;sRGB&quot;,
                &quot;connectorName&quot;: &quot;DP-3&quot;,
                &quot;edidHash&quot;: &quot;edfbd56e01bd44cea3b332ada36972e8&quot;,
                &quot;edidIdentifier&quot;: &quot;AUS 9984 16843009 47 2020 0&quot;,
                &quot;highDynamicRange&quot;: false,
                &quot;iccProfilePath&quot;: &quot;&quot;,
                &quot;mode&quot;: {
                    &quot;height&quot;: 1440,
                    &quot;refreshRate&quot;: 74924,
                    &quot;width&quot;: 2560
                },
                &quot;overscan&quot;: 0,
                &quot;rgbRange&quot;: &quot;Automatic&quot;,
                &quot;scale&quot;: 1,
                &quot;sdrBrightness&quot;: 200,
                &quot;sdrGamutWideness&quot;: 0,
                &quot;transform&quot;: &quot;Normal&quot;,
                &quot;vrrPolicy&quot;: &quot;Automatic&quot;,
                &quot;wideColorGamut&quot;: false
            }
        ],
        &quot;name&quot;: &quot;outputs&quot;
    },
    {
        &quot;data&quot;: [
            {
                &quot;lidClosed&quot;: false,
                &quot;outputs&quot;: [
                    {
                        &quot;enabled&quot;: true,
                        &quot;outputIndex&quot;: 0,
                        &quot;position&quot;: {
                            &quot;x&quot;: 0,
                            &quot;y&quot;: 0
                        },
                        &quot;priority&quot;: 0
                    }
                ]
            },
            {
                &quot;lidClosed&quot;: false,
                &quot;outputs&quot;: [
                    {
                        &quot;enabled&quot;: true,
                        &quot;outputIndex&quot;: 0,
                        &quot;position&quot;: {
                            &quot;x&quot;: 0,
                            &quot;y&quot;: 0
                        },
                        &quot;priority&quot;: 0
                    },
                    {
                        &quot;enabled&quot;: true,
                        &quot;outputIndex&quot;: 1,
                        &quot;position&quot;: {
                            &quot;x&quot;: 2560,
                            &quot;y&quot;: 0
                        },
                        &quot;priority&quot;: 1
                    }
                ]
            }
        ],
        &quot;name&quot;: &quot;setups&quot;
    }
]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2345232</commentid>
    <comment_count>5</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-08-12 19:55:18 +0000</bug_when>
    <thetext>When the issue happens again I&apos;ll post the json config then.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2345233</commentid>
    <comment_count>6</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-08-12 19:57:59 +0000</bug_when>
    <thetext>Ok cool, I got it to happen immediately. Here it is when the issue is present:

[
    {
        &quot;data&quot;: [
            {
                &quot;autoRotation&quot;: &quot;InTabletMode&quot;,
                &quot;brightness&quot;: 1,
                &quot;colorProfileSource&quot;: &quot;sRGB&quot;,
                &quot;connectorName&quot;: &quot;DP-3&quot;,
                &quot;edidHash&quot;: &quot;edfbd56e01bd44cea3b332ada36972e8&quot;,
                &quot;edidIdentifier&quot;: &quot;AUS 9984 16843009 47 2020 0&quot;,
                &quot;highDynamicRange&quot;: false,
                &quot;iccProfilePath&quot;: &quot;&quot;,
                &quot;mode&quot;: {
                    &quot;height&quot;: 1440,
                    &quot;refreshRate&quot;: 74924,
                    &quot;width&quot;: 2560
                },
                &quot;overscan&quot;: 0,
                &quot;rgbRange&quot;: &quot;Automatic&quot;,
                &quot;scale&quot;: 1,
                &quot;sdrBrightness&quot;: 200,
                &quot;sdrGamutWideness&quot;: 0,
                &quot;transform&quot;: &quot;Normal&quot;,
                &quot;vrrPolicy&quot;: &quot;Automatic&quot;,
                &quot;wideColorGamut&quot;: false
            },
            {
                &quot;autoRotation&quot;: &quot;InTabletMode&quot;,
                &quot;brightness&quot;: 1,
                &quot;colorProfileSource&quot;: &quot;sRGB&quot;,
                &quot;connectorName&quot;: &quot;DP-3&quot;,
                &quot;edidHash&quot;: &quot;edfbd56e01bd44cea3b332ada36972e8&quot;,
                &quot;edidIdentifier&quot;: &quot;AUS 9984 16843009 47 2020 0&quot;,
                &quot;highDynamicRange&quot;: false,
                &quot;iccProfilePath&quot;: &quot;&quot;,
                &quot;mode&quot;: {
                    &quot;height&quot;: 1440,
                    &quot;refreshRate&quot;: 74924,
                    &quot;width&quot;: 2560
                },
                &quot;overscan&quot;: 0,
                &quot;rgbRange&quot;: &quot;Automatic&quot;,
                &quot;scale&quot;: 1,
                &quot;sdrBrightness&quot;: 200,
                &quot;sdrGamutWideness&quot;: 0,
                &quot;transform&quot;: &quot;Normal&quot;,
                &quot;vrrPolicy&quot;: &quot;Automatic&quot;,
                &quot;wideColorGamut&quot;: false
            },
            {
                &quot;autoRotation&quot;: &quot;InTabletMode&quot;,
                &quot;brightness&quot;: 1,
                &quot;colorProfileSource&quot;: &quot;sRGB&quot;,
                &quot;connectorName&quot;: &quot;DP-2&quot;,
                &quot;edidHash&quot;: &quot;24958546af32afdbb93ed9c47f196d34&quot;,
                &quot;edidIdentifier&quot;: &quot;AUS 9984 16843009 47 2020 0&quot;,
                &quot;highDynamicRange&quot;: false,
                &quot;iccProfilePath&quot;: &quot;&quot;,
                &quot;mode&quot;: {
                    &quot;height&quot;: 1440,
                    &quot;refreshRate&quot;: 74924,
                    &quot;width&quot;: 2560
                },
                &quot;overscan&quot;: 0,
                &quot;rgbRange&quot;: &quot;Automatic&quot;,
                &quot;scale&quot;: 1.25,
                &quot;sdrBrightness&quot;: 200,
                &quot;sdrGamutWideness&quot;: 0,
                &quot;transform&quot;: &quot;Normal&quot;,
                &quot;vrrPolicy&quot;: &quot;Automatic&quot;,
                &quot;wideColorGamut&quot;: false
            }
        ],
        &quot;name&quot;: &quot;outputs&quot;
    },
    {
        &quot;data&quot;: [
            {
                &quot;lidClosed&quot;: false,
                &quot;outputs&quot;: [
                    {
                        &quot;enabled&quot;: true,
                        &quot;outputIndex&quot;: 0,
                        &quot;position&quot;: {
                            &quot;x&quot;: 0,
                            &quot;y&quot;: 0
                        },
                        &quot;priority&quot;: 0
                    }
                ]
            },
            {
                &quot;lidClosed&quot;: false,
                &quot;outputs&quot;: [
                    {
                        &quot;enabled&quot;: true,
                        &quot;outputIndex&quot;: 0,
                        &quot;position&quot;: {
                            &quot;x&quot;: 0,
                            &quot;y&quot;: 0
                        },
                        &quot;priority&quot;: 0
                    },
                    {
                        &quot;enabled&quot;: true,
                        &quot;outputIndex&quot;: 1,
                        &quot;position&quot;: {
                            &quot;x&quot;: 2560,
                            &quot;y&quot;: 0
                        },
                        &quot;priority&quot;: 1
                    }
                ]
            },
            {
                &quot;lidClosed&quot;: false,
                &quot;outputs&quot;: [
                    {
                        &quot;enabled&quot;: true,
                        &quot;outputIndex&quot;: 0,
                        &quot;position&quot;: {
                            &quot;x&quot;: 0,
                            &quot;y&quot;: 0
                        },
                        &quot;priority&quot;: 1
                    },
                    {
                        &quot;enabled&quot;: true,
                        &quot;outputIndex&quot;: 2,
                        &quot;position&quot;: {
                            &quot;x&quot;: 2560,
                            &quot;y&quot;: 0
                        },
                        &quot;priority&quot;: 0
                    }
                ]
            }
        ],
        &quot;name&quot;: &quot;setups&quot;
    }
]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2345235</commentid>
    <comment_count>7</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-08-12 20:02:37 +0000</bug_when>
    <thetext>Yeah, it does appear to be getting messed up. For some reason monitor DP-3 is listed twice and DP-2 does indeed have its scale set to 1.25.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2345236</commentid>
    <comment_count>8</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-08-12 20:04:02 +0000</bug_when>
    <thetext>Ah, I forgot to give you the output of drm_info. I&apos;ll do that real quick.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2345238</commentid>
    <comment_count>9</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-08-12 20:07:55 +0000</bug_when>
    <thetext>Here&apos;s the output of drm_info when it is working:

https://pastebin.com/wFnPF726</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2345242</commentid>
    <comment_count>10</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-08-12 20:13:32 +0000</bug_when>
    <thetext>And here is the output of drm_info with the issue present:

https://pastebin.com/3xxmkKUg</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2345243</commentid>
    <comment_count>11</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-08-12 20:15:11 +0000</bug_when>
    <thetext>Oh yeah, I do have a secondary NVidia graphics card that I use for testing stuff in a VM. I wonder if that&apos;s creating any funky results? Maybe I&apos;ll try removing it and see if the issue is gone.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2345247</commentid>
    <comment_count>12</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-08-12 20:27:48 +0000</bug_when>
    <thetext>Nope, I still get the same issue with the NVidia card removed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2348896</commentid>
    <comment_count>13</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-08-27 03:47:31 +0000</bug_when>
    <thetext>🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2349140</commentid>
    <comment_count>14</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-08-27 19:39:56 +0000</bug_when>
    <thetext>Browsing through the commit history, perhaps it&apos;s related to this? Maybe for some reason this fix doesn&apos;t work on my system?

https://invent.kde.org/plasma/kwin/-/commit/d563bc6c86d398a59409f5ea1ad556d93fb45f78</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2349161</commentid>
    <comment_count>15</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-08-27 20:05:37 +0000</bug_when>
    <thetext>There is also this older commit which is where it seems new screen configuration code was introduced. https://invent.kde.org/plasma/kwin/-/commit/ae84480fbfdc684b8ee4b0207d3ce679f6fb4cd7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2349169</commentid>
    <comment_count>16</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-08-27 20:28:34 +0000</bug_when>
    <thetext>Hmm, just taking a gander from reading the source code. Maybe for some reason one of my monitors isn&apos;t reporting a valid `edidIdentifier`, and that causes the `uniqueEdid` bool to incorrectly be true here?

https://invent.kde.org/plasma/kwin/-/blob/master/src/outputconfigurationstore.cpp?ref_type=heads#L140

Maybe if the `edidHash` was checked before the `edidIdentifier` in that iterator, that would fix the issue? (Since the hash is more likely to be unique than the identifier.)

Maybe when I have the time I&apos;ll learn how to set up a development environment for KDE to see if that would work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2351618</commentid>
    <comment_count>17</comment_count>
    <who name="Zamundaaa">xaver.hugl</who>
    <bug_when>2024-09-05 13:18:59 +0000</bug_when>
    <thetext>If the edid identifier is unique, then that&apos;s enough to identify the display, and preferable over the edid hash (which can change if you just change settings on the display).
As in your case it isn&apos;t enough though, apparently the fallback to the hash is indeed not working correctly. It shouldn&apos;t have the same hash in the list twice after all...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2351640</commentid>
    <comment_count>18</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-09-05 14:33:24 +0000</bug_when>
    <thetext>Ah, yeah, I see.

It seems in my case the connector name is more reliable than the hash.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2351646</commentid>
    <comment_count>19</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-09-05 14:44:40 +0000</bug_when>
    <thetext>It also seems like `uniqueEdid`, `uniqueEdidHash`, and `uniqueMst` is being recalculated every time `OutputConfigurationStore::findOutput` is called. I&apos;m guessing what may be happening is that for some reason those values are sometimes different across multiple calls.

Perhaps the fix is to calculate those bools only once when loading a configuration?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2351649</commentid>
    <comment_count>20</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-09-05 14:48:19 +0000</bug_when>
    <thetext>(In reply to Billy Messenger from comment #19)
&gt; It also seems like `uniqueEdid`, `uniqueEdidHash`, and `uniqueMst` is being
&gt; recalculated every time `OutputConfigurationStore::findOutput` is called.
&gt; I&apos;m guessing what may be happening is that for some reason those values are
&gt; sometimes different across multiple calls.
&gt; 
&gt; Perhaps the fix is to calculate those bools only once when loading a
&gt; configuration?

Wait nevermind, that will only be the case if the `const QList&lt;Output *&gt; &amp;allOutputs` parameter changes between calls, which it doesn&apos;t appear to.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2351650</commentid>
    <comment_count>21</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-09-05 14:52:53 +0000</bug_when>
    <thetext>Wait no, derp, only the list of display pointers stays constant, the values those displays return can still change between calls. So only calculating those bools once could still solve the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2351652</commentid>
    <comment_count>22</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-09-05 14:59:10 +0000</bug_when>
    <thetext>Nermind, those methods on `Edid` are constant. (Sorry my C++ is a bit rusty.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2351653</commentid>
    <comment_count>23</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-09-05 15:09:12 +0000</bug_when>
    <thetext>Oh derp, and now I realize those values are supposed to be different across calls.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2354378</commentid>
    <comment_count>24</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-09-14 20:12:54 +0000</bug_when>
    <thetext>Darn, now my system is sometimes freezing when I log in/unlock my computer.

I&apos;m thinking it might have something to do with one of my monitors not waking up properly. I notice that the freeze happens whenever one of my monitors shows the login/unlock screen while the other monitor shows a blank black screen. If both screens happen to show the login/unlock screens then the freeze/scaling issue does not happen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2354382</commentid>
    <comment_count>25</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-09-14 20:18:48 +0000</bug_when>
    <thetext>Maybe, it&apos;s an issue with Mini Displayport? (The monitor that is sometimes blank on the login screen is connected with mini displayport). I&apos;ll try switching that to an HDMI cable and see if the issue still persists.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2355378</commentid>
    <comment_count>26</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-09-17 16:00:30 +0000</bug_when>
    <thetext>(In reply to Billy Messenger from comment #25)
&gt; Maybe, it&apos;s an issue with Mini Displayport? (The monitor that is sometimes
&gt; blank on the login screen is connected with mini displayport). I&apos;ll try
&gt; switching that to an HDMI cable and see if the issue still persists.

Yes, that actually seems to have fixed both of the issues (the system freezing and the scaling issues). I guess there&apos;s something about that mini displayport connection that KDE didn&apos;t like.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2355381</commentid>
    <comment_count>27</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-09-17 16:03:20 +0000</bug_when>
    <thetext>Oh, nevermind, spoke too soon. I tried just putting the computer to sleep real quick and it froze on the unlock screen again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2355390</commentid>
    <comment_count>28</comment_count>
    <who name="Billy Messenger">u4fqdzbz</who>
    <bug_when>2024-09-17 16:09:55 +0000</bug_when>
    <thetext>This issue could be related to this one https://bugs.kde.org/show_bug.cgi?id=483094</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2382749</commentid>
    <comment_count>29</comment_count>
    <who name="Zamundaaa">xaver.hugl</who>
    <bug_when>2024-12-19 14:27:35 +0000</bug_when>
    <thetext>I think this should be fixed by the same MR as for bug 488270</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2392084</commentid>
    <comment_count>30</comment_count>
    <who name="Zamundaaa">xaver.hugl</who>
    <bug_when>2025-01-23 18:50:33 +0000</bug_when>
    <thetext>Git commit 7e450e42e5fcbe5d077fcfa473c65a8954c35d11 by Xaver Hugl.
Committed on 23/01/2025 at 18:33.
Pushed by zamundaaa into branch &apos;master&apos;.

outputconfigurationstore: handle imperfect matches for outputs better

There are some situations where there can be multiple matches for a given output, like
when two outputs with the same EDID ID but different EDID hashes or connector names were
connected before and now only one of them is connected.
In these situations, we&apos;d previously just pick the first match in the list, even though
the other match is more precise; and that could end up changing the settings for that
output. Once the second output is connected again, it would then get the wrong settings.

To fix that, this commit only considers an entry in the config as a match if there is only
one match for the relevant criteria. If there&apos;s multiple, then the search is narrowed down
to take more crtieria into account, like the MST path or the connector name.
Related: bug 488270

M  +90   -38   src/outputconfigurationstore.cpp
M  +3    -4    src/outputconfigurationstore.h

https://invent.kde.org/plasma/kwin/-/commit/7e450e42e5fcbe5d077fcfa473c65a8954c35d11</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2392091</commentid>
    <comment_count>31</comment_count>
    <who name="Zamundaaa">xaver.hugl</who>
    <bug_when>2025-01-23 19:13:53 +0000</bug_when>
    <thetext>Git commit c3f4149bf02322011842ad48682c6deabedefc00 by Xaver Hugl.
Committed on 23/01/2025 at 18:37.
Pushed by zamundaaa into branch &apos;Plasma/6.3&apos;.

outputconfigurationstore: handle imperfect matches for outputs better

There are some situations where there can be multiple matches for a given output, like
when two outputs with the same EDID ID but different EDID hashes or connector names were
connected before and now only one of them is connected.
In these situations, we&apos;d previously just pick the first match in the list, even though
the other match is more precise; and that could end up changing the settings for that
output. Once the second output is connected again, it would then get the wrong settings.

To fix that, this commit only considers an entry in the config as a match if there is only
one match for the relevant criteria. If there&apos;s multiple, then the search is narrowed down
to take more crtieria into account, like the MST path or the connector name.
Related: bug 488270
(cherry picked from commit 7e450e42e5fcbe5d077fcfa473c65a8954c35d11)

M  +90   -38   src/outputconfigurationstore.cpp
M  +3    -4    src/outputconfigurationstore.h

https://invent.kde.org/plasma/kwin/-/commit/c3f4149bf02322011842ad48682c6deabedefc00</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>