cr1901 / swmon

Small command-line tool and GUI to switch monitor inputs from command line
MIT License
24 stars 0 forks source link

monitor detection seems to be unreliable #1

Open bstreiff opened 5 months ago

bstreiff commented 5 months ago

I have two Dell U2412M monitors and a Dell E2417H.

Sometimes when running swmon list I get all three (reported via both winapi and nvapi):

 No.   Backend   Display ID                Manufacturer ID   Model Name
 0     winapi    Generic PnP Monitor       ?                 U2412M
 1     winapi    Generic PnP Monitor       ?                 U2412M
 2     winapi    Generic PnP Monitor       ?                 E2417H
 3     nvapi     GA106-A/2147881090:Lvds   DEL               DELL U2412M
 4     nvapi     GA106-A/2147881088:Lvds   DEL               DELL U2412M
 5     nvapi     GA106-A/2147881094:Lvds   DEL               DELL E2417H

However if I run swmon list over and over, sometimes monitors are missing.

 No.   Backend   Display ID                Manufacturer ID   Model Name
 1     winapi    Generic PnP Monitor       ?                 U2412M
 2     winapi    Generic PnP Monitor       ?                 E2417H
 5     nvapi     GA106-A/2147881094:Lvds   DEL               DELL E2417H

For whatever reason the effect seems to be particularly bad in swmon-gui: I don't think I've seen all six entries show up. image

cr1901 commented 5 months ago

Low hanging fruit for me to try if I can duplicate locally: