Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround for DisplayLink and automatic re-association #100

Closed
vividfog opened this issue Nov 14, 2021 · 7 comments
Closed

Workaround for DisplayLink and automatic re-association #100

vividfog opened this issue Nov 14, 2021 · 7 comments
Assignees
Labels
done All tasks are completed enhancement New feature or request released Released
Milestone

Comments

@vividfog
Copy link

Quitting DisplayLink Manager.app effectively disconnects the DisplayLink'ed monitors from the OS. Starting the app again reconnects the monitors. But BD auto-association doesn't seem to recognize them correctly. They are treated as new monitors.

DisplayLink generates new IDs for them every time. Do you want to consider adding other methods to recognize newly connected monitors, if they in reality are the same monitors? Perhaps by using labels or other metadata, and some additional logic to deal with duplicate labels?

Screen Shot 2021-11-13 at 20 48 44

@waydabber
Copy link
Owner

I can detect if a display is virtual (it's in the code already) and in this case I won't be using the CGDirectDisplayID for association, only the display name. I'll pop up a notification though explaining to the user that this is a virtual display and if he is using multiple displays with the same name, the app won't be able to tell them apart.

@waydabber waydabber added the enhancement New feature or request label Nov 14, 2021
@vividfog
Copy link
Author

That sounds like a useful improvement.

@waydabber
Copy link
Owner

Hi, can you try this new build? Just want to see if this works better. Please try it after reboot as well. I now use the serial number instead of port number for virtual displays. It seems to work well with sidecar, but I don't know how DisplayLink works in this regard. If this does not work, then I'll revert to not using any IDs.

(btw. I don't use serial numbers for real displays as most often a batch of displays have the same id and that causes issues on multi monitor setups).

@vividfog
Copy link
Author

Hi, can you try this new build?

Can't seem to find a new build. Where is it?

@waydabber
Copy link
Owner

waydabber commented Nov 15, 2021

Hahh, yeah, I forgot to add that, here it is:

(link removed)

@vividfog
Copy link
Author

Long story short: it worked. The expectation and behavior now match:

  1. Quit DisplayLink Manager.app
  2. Left & Right Wing displays are now disconnected
  3. Launch DisplayLink Manager.app
  4. Left & Right Wing displays are now connected and auto-associated correctly

I'll let you know if it breaks. But based on the initial test, consider this issue closed. 👍

@waydabber
Copy link
Owner

Great, thank you! I'll close it once 1.0.11 is released, I'll add a Done label to the issue until that time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done All tasks are completed enhancement New feature or request released Released
Projects
None yet
Development

No branches or pull requests

2 participants