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

Program unusable when having more than one physical monitor #10

Open
dexamenos opened this issue Oct 31, 2023 · 3 comments
Open

Program unusable when having more than one physical monitor #10

dexamenos opened this issue Oct 31, 2023 · 3 comments

Comments

@dexamenos
Copy link

C:\Program Files\<some-folder>\vesa-utils>winddcutil.exe detect
Traceback (most recent call last):
  File "cli.py", line 6, in <module>
  File "winddcutil\__main__.py", line 10, in main
  File "winddcutil\winddcutil.py", line 10, in detect
  File "monitorcontrol\monitorcontrol.py", line 84, in __enter__
  File "monitorcontrol\vcp\vcp_windows.py", line 55, in __enter__
monitorcontrol.vcp.vcp_abc.VCPError: more than one physical monitor per hmonitor
[3636] Failed to execute script 'cli' due to unhandled exception!

I have two physical monitors (Desktop + Beamer), both showing the same desktop (duplicate).

@dexamenos dexamenos changed the title Program unsuable when having more than one monitor Program unusable when having more than one physical monitor Oct 31, 2023
@Reginald-Gillespie
Copy link

Reginald-Gillespie commented Nov 9, 2023

Are you sure this is due to having two external monitors and not due to the monitor for some reason having embedded virtual registered inside of it? A friend accidentally lock his monitor (that does not have a power button) off and had this error when attempting to turn it back on (so I'm just trying to figure out what caused it).

@dexamenos
Copy link
Author

@Reginald-Gillespie: I am not very familiar with how those physical and virtual monitors are organised within Windows. The only thing I can check is: when only the desktop monitor is attached / physically plugged in, everything works. As soon as I plug in the Beamer, the behaviour depends: if I mirror the desktop contents (so desktop and beamer showing the same picture), I receive the error above, but, if I extend the desktop to the beamer, everything works again.

@scottaxcell
Copy link
Owner

scottaxcell commented Feb 19, 2024

Issue filed by OP with the library with the source of the error. See newAM/monitorcontrol#300.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants