https://bugs.kde.org/show_bug.cgi?id=493879

--- Comment #35 from Oleg Gorobets <[email protected]> ---
I added some more logging here and there and I can confirm findings by Dinolek:

1) Built-in display stays in DPMS mode == ON all the time despite being
disabled in Display Configuration
2) When external display is going to sleep, built-in display gets re-enabled.

It looks as built-in display gets re-enabled because configuration of the
outputs changes and KWin loads different setup in
OutputConfigurationStore::findSetup(). These setups are also stored in this
file: .config/kwinoutputconfig.json. There are total of 5 setups in my case.

When external display is on it loads this one ("outputIndex": 0, "enabled":
false):
      {
        "lidClosed": false,
        "outputs": [
          {
            "enabled": false,
            "outputIndex": 0,
            "position": {
              "x": 216,
              "y": 1080
            },
            "priority": -1,
            "replicationSource": ""
          },
          {
            "enabled": true,
            "outputIndex": 1,
            "position": {
              "x": 0,
              "y": 0
            },
            "priority": 0,
            "replicationSource": ""
          }
        ]
      }

When external display goes off for a second, it loads this one ("outputIndex":
0, "enabled": true):
      {
        "lidClosed": true,
        "outputs": [
          {
            "enabled": true,
            "outputIndex": 0,
            "position": {
              "x": 0,
              "y": 0
            },
            "priority": 0,
            "replicationSource": ""
          }
        ]
      },

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to