bendavid / aiopylgtv

Library to control webOS based LG Tv devices
MIT License
143 stars 47 forks source link

Compatibility with 2021 QNED models #57

Open Hiradur opened 2 years ago

Hiradur commented 2 years ago

I'd like to use the calibration function with a 2021 QNED model, more specifically a 65" QNED919PA, to upload LUTs generated with DisplayCal. Due to the risk of bricking the mainboard, I wanted to ask if there are any known compatibility issues or if someone already has successfully done it. The QNED919PA supports auto-calibration (CalMan) with LUT access and uses an Alpha7 Gen4 Processor 4K according to the data sheet).

Here is the output of some of the info methods:

system_info:  {'returnValue': True, 'features': {'dvr': False}, 'receiverType': 'DVB', 'modelName': '65QNED919PA', 'serialNumber': '<redacted>', 'programMode': True}
software_info:  {'returnValue': True, 'product_name': 'webOSTV 6.0', 'model_name': 'HE_DTV_W21U_AFADATAA', 'sw_type': 'FIRMWARE', 'major_ver': '03', 'minor_ver': '30.10', 'country': '<redacted>', 'country_group': '<redacted>', 'device_id': '<redacted>', 'auth_flag': 'N', 'ignore_disable': 'N', 'eco_info': '01', 'config_key': '00', 'language_code': '<redacted>'}

It seems that the calibration_support_info method needs to be updated for QNED models.

Apart from the general question of compatibility, I also have some questions concerning the calibration itself:

  1. Does it make sense to set color temperature and saturation as well as gamma in calibration mode before performing the calibration to bring the basic picture closer to the intended target or are they redundant since LUTs also affect them?

  2. What about the local dimming feature? Should I turn it off in calibration mode or does the calibration mode set it in some way?

chros73 commented 1 year ago

Alpha7 requires 17pt 3dlut, and I guess DoVi the new 2019 config format. You can try bscpylgtv, it works with chip type instead of.model name, although yours is not supported, but you can override it easily with -c option. Read through the calibration part of.the readme. Once you confirmed it's working, you can do a small PR for your W21U chip type. https://github.com/chros73/bscpylgtv

  1. yes
  2. I don't know
Hiradur commented 1 year ago

Thanks for the info, I'll take a look when I have more time.

Regarding my first question, does your yes mean that it's advisable to set color temperatur and saturation as well as gamma in calibration mode before performing the calibration?

chros73 commented 1 year ago

Yes.