mirror of
https://github.com/MonitorControl/MonitorControl.git
synced 2026-05-15 14:15:55 -06:00
[GH-ISSUE #1119] MonitorControl changing brightness on wrong external monitor #663
Labels
No labels
Status: Abandoned
arm64
beta
beta
bug
done
duplicate
enhancement
feedback needed from reporter
in progress
invalid
investigating
known Issue
monitor Issue
pull-request
translation
unable to reproduce
unreleased
x86
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/MonitorControl#663
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @landoncope on GitHub (Jul 25, 2022).
Original GitHub issue: https://github.com/MonitorControl/MonitorControl/issues/1119
Before opening the issue, have you...?
Describe the bug
I have two identical p32u-10 monitors plugged into my MacBook Pro (14-inch M1 2021, Monterey 12.4). Most of the time, MonitorControl controls the brightness on the wrong monitor when I use the brightness keys.
I perused https://github.com/MonitorControl/MonitorControl/issues/49 already, but the test build is no longer available.
Steps to reproduce
Bring mouse cursor to screen 1. Press brightness up/down keys. Watch brightness change on screen 2. Vice versa.
Expected behavior
When I have my mouse on screen 1, I expect the brightness to change on screen 1 when using the brightness keys.
Anything else?
No response
Environment Information (please complete the following information)
@waydabber commented on GitHub (Jul 26, 2022):
How are the displays connected? Natively or via a dock? Can you try downloading BetterDisplay, go to Settings (gear icon)/Displays and click on the display's name (big text with an icon) to reveal details/identifiers? Make a screenshot of what you see for both displays. Thank you!
@landoncope commented on GitHub (Jul 27, 2022):
The monitors are connected natively via USB-C.
Screenshots from BetterDisplay:


.
@waydabber commented on GitHub (Jul 27, 2022):
Does brightness control BetterDisplay exhibit the same issue with brightness control as MonitorControl?
MonitorControl uses vendor/model id to identify displays while BetterDisplay uses UUID by default. If identifiers match up exactly, the OS itself has difficulties telling the displays apart in some scenarios, but the UUID method might be better in this case. The thing is even more complicated for DDC control - as you see, the two displays look exactly the same except for the service location (order in the ioreg tree) which is not very reliable and might change. In some situations it might happen that software and hardware controls got mixed up (software dimming affects one display, while for hardware the other).
@landoncope commented on GitHub (Jul 29, 2022):
I played around with BetterDisplay. At first, it was controlling the correct monitor. However, after changing a few settings/restarting the app, it started controlling the wrong monitor. I couldn't get it to control the correct monitor again - I tried reverting my changes, and I also tried the "Use alternative method to identify displays," to no avail - and I finally gave up.
I prefer the simplicity of MonitorControl anyway. I'll make do with having my cursor on the opposite external monitor for brightness control :). Thanks for your help.
@busti commented on GitHub (Aug 13, 2022):
I am facing the exact same issues. I also downloaded BetterDisplay, using it solves the issue of DDC Volume control being linked to the wrong monitor, since both monitors audio devices have the same name and BetterDisplay has an option to control both at the same time. However, it still mixes up the displays. DDC Control applies to the wrong display (without the cursor present) while software brightness control applies to the correct display.
This is the metadata of the screens I am using provided by BetterDisplay:
I have another clue about what might be going on here though. MacOS (without any extra software installed) also frequently switches up the monitors I am using, as if it were just identifying them by their name and not by their id. Whenever I reboot or reattach both screens via USB-C they randomly switch positions. To mitigate this I am using the
displayplacercommand line tool with the following command, which is activated by a launchd agent whenever any of the two monitors is plugged in:In case you require any additional information to fix this, I will happily provide it.
@landoncope commented on GitHub (Aug 15, 2022):
The odd thing for me now is that MonitorControl always controls the wrong monitor's brightness, every time, no matter what I do.
Whenever I reboot or reattach both screens via USB-C they randomly switch positionsWhenever this happens for me, I simply power off my left monitor, wait a second, and power it back on. This consistently resolves the issue.
@waydabber commented on GitHub (Aug 26, 2022):
It simply depends on the order the displays are enumerated and which gets the lower CGDirectDisplayID ("CGDD ID" in BetterDisplay). When reattaching one of the displays, the order is reversed. As you guys say, even macOS cannot tell the displays apart as they have the same identifier.
Maybe we could add an option to simply reverse the detection order which might help with these kinds of issues. This would not be an exact solution to the problem, but a practical one that would work most of the time. If you could open an issue related to this under BetterDisplay, I could provide a test build to see if this approach helps.