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

Return 0 of get_luminance() in windows 10 #200

Open
kenyg2020 opened this issue Sep 5, 2022 · 3 comments
Open

Return 0 of get_luminance() in windows 10 #200

kenyg2020 opened this issue Sep 5, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@kenyg2020
Copy link

kenyg2020 commented Sep 5, 2022

Hello
I tried get_luminance() of monitocontrol package ver 3.0.1 in windows 10 but I've got return 0 in my Display Monitor

from monitorcontrol import get_monitors
for monitor in get_monitors():
with monitor:
print(monitor.get_contrast())
print(monitor.get_luminance())
print(monitor.get_vcp_capabilities())

0
0
{'prot': '', 'type': '', 'model': '', 'cmds': {}, 'vcp': {}, 'mswhql': '', 'asset_eep': '', 'mccs_ver': '', 'window': '', 'vcpname': '', 'inputs': ''}
EDID data is like that
ID Manufacture Name : ALX
ID Product Code : 0010
ID Serial Number : N/A
Week of Manufacture : 30
Year of Manufacture : 2017
and more
Do you have any idea why get_luminance() returns 0?

@newAM
Copy link
Owner

newAM commented Sep 5, 2022

Can you let me know this information?

* Monitor manufacturer and model number:
* Input source (HDMI, VGA, display port, ect.):
* Output device (video card, discrete graphics, ect.):
* Python version:

At first glance this may be because it isn't a monitor that supports DDC-CI, common in integrated displays, e.g. laptops.

@newAM newAM added the bug Something isn't working label Sep 5, 2022
@kenyg2020
Copy link
Author

with monitor.get_vcp_capabilities() and monitor.get_input_source() I've got
[{'name': 'None {e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}', 'model': '{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}', 'serial': '5&1062d4b7&1&UID4359', 'manufacturer': None, 'manufacturer_id': 'ALX', 'edid': '00fffffffff
and
InoutSource.OFF
-Monitor manufacturer and model number are 'ALX' and 'None'
-Input source is physically HDMI and output source is NVIDA Quadro P2000 Anrecson
-Python version 3.10.6 and windows 10
Is there any way to get monitor brightness without DDC-CI support you mentioned?

@newAM
Copy link
Owner

newAM commented Sep 6, 2022

Is there any way to get monitor brightness without DDC-CI support you mentioned?

Depends what your monitor implements, there are other ways to control displays such as HDMI CEC which is common on TVs.

Sadly I can't find much with that information so I'm not sure what will work for your monitor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants