#Locking and KVM switching from PC to laptop causes second monitor problems - windows lost

1 messages · Page 1 of 1 (latest)

hallow wyvern
#

Current setup:

  • two ultrawide monitors. Dell alienware 34" oled ultrawides (one is gsync; second is freesync)
  • I have a lvl1techs kvm switch for two computers, using all display port cables (DP1.4). I believe the implementation of switching with this KVM is very rudimentary and does not persist the monitors with EDID emulation completely.

How to recreate:

  • If I lock my PC before switching to my laptop, all the windows and state on my second monitor (left hand side; not primary monitor), are lost and no longer tracked by komorebi.
  • Komorebi appears to be able to cache and recover the primary monitor's state; but not the state of my secondary monitor.
  • To reconcile this, I have to minimize and bring focus to the apps again on the second monitor to try and rebuild the state I desire.

How to avoid:

  • I noticed if I DON'T lock my PC first before switching, this problem does not occur.
  • I prefer to always lock my devices before leaving them unattended, so this is undesirable.

Komorebic Logs from the BUG condition (locking before switching to laptop)

  • (see attached file)
  • some errors exist. May need some explanation on what's going here.

Komorebic state delta from BUG condition:

  • (see attached file 2)
  • I noticed that the BUG condition is causing everything in the "elements" array to disappear. This seems to be a part of the problem.

Komorebic monitor-info output:

  • (see attached file 3)
  • I noticed that the names are being swapped between the two monitors.

komorebi.json relevant changes

  • I tried to add persistence to resolve this. No bueno.
  "display_index_preferences": {
    "0": "#G7QYMxgwAAeg",
    "1": "3FZG2S3"
  },
  "monitors": [
    {
      "workspaces": [
        {
          "name": "IV",
          "layout": "UltrawideVerticalStack"
        }
      ]
    },
    {
      "workspaces": [
        {
          "name": "IV",
          "layout": "UltrawideVerticalStack"
        }
      ]
    }
  ]

This is basically really annoying to deal with, as I need to micromanage the second monitor too much. Let me know if there are any solutions!

Thanks in advance

mental hawk
hallow wyvern
#

I've tried to turn off VRR through the documentation page to no avail. I toggled it off on nvidia control panel

mental hawk
#

As noted it might work through windows, but it might also not work and may require you to disable it in your monitor's settings.

hallow wyvern
#

I don't think I am able to. I just did a pass through of all the settings, turning them off

#

Has anyone ever had the experience of needing to download AMD drivers + Nvidia drivers to handle my setup? (second monitor on LHS is a freesync monitor, while the RHS is a gsync monitor)

hallow wyvern
#

komorebic toggle-pause does not resolve my problem either.