Home › Forums › General Discussion › LG C8 Lut
- This topic has 278 replies, 20 voices, and was last updated 2 years, 10 months ago by chros.
-
AuthorPosts
-
2020-05-15 at 2:40 #24687
Is aiopylgtvcommand able to set the peak luminance values for HDR10 and DV on the 2019 models? I took a look at the source on github and found “set_tonemap_params” and “set_dolby_vision_config_data”. I’m just not sure what to do from here. Is it as simple as running the following if I wanted to change peak luminance to 750.0 and change nothing else?
aiopylgtvcommand 192.168.XX.XX set_tonemap_params hdr_technicolorExpert luminance=750, mastering_peak_1=1000, rolloff_point_1=70, mastering_peak_2=4000, rolloff_point_2=60, mastering_peak_3=10000, rolloff_point_3=50 aiopylgtvcommand 192.168.XX.XX set_dolby_vision_config_data white_level=750.0, black_level=0.0, gamma=2.2, primaries=BT2020_PRIMARIES
Normally, I’d just try it and see what happens, but after reading about a bad DV config bricking a TV, I’m scared to just try something without being certain I’m doing it right.
2020-06-12 at 18:53 #25043I ran some test measurements on my C9 and found that it’s HDR panel mode (with the HDR tone mapping disabled on the SoC side by CalMAN) is now much closer to gamma 2.2 than it used to be on my C8 (which had a sort-of “S curve”). This is the result of a matrix-only 3DLUT calibration (done by CalMAN) with neutral 1DLUT. For some reason, that “S curve” of the C8 wasn’t corrected enough by a DisplayCAL generated 3DLUT.
Attachments:
You must be logged in to view attached files.2020-07-21 at 13:20 #25575Is aiopylgtvcommand able to set the peak luminance values for HDR10 and DV on the 2019 models? I took a look at the source on github and found “set_tonemap_params” and “set_dolby_vision_config_data”. I’m just not sure what to do from here. Is it as simple as running the following if I wanted to change peak luminance to 750.0 and change nothing else?
aiopylgtvcommand 192.168.XX.XX set_tonemap_params hdr_technicolorExpert luminance=750, mastering_peak_1=1000, rolloff_point_1=70, mastering_peak_2=4000, rolloff_point_2=60, mastering_peak_3=10000, rolloff_point_3=50 aiopylgtvcommand 192.168.XX.XX set_dolby_vision_config_data white_level=750.0, black_level=0.0, gamma=2.2, primaries=BT2020_PRIMARIES
Normally, I’d just try it and see what happens, but after reading about a bad DV config bricking a TV, I’m scared to just try something without being certain I’m doing it right.
I don’t think you can pass keyword arguments on the command line like that.
For the tonemap_params given the default values for the other arguments you should be able to do just
aiopylgtvcommand 192.168.XX.XX set_tonemap_params hdr_technicolorExpert 750
For dolby vision you cannot do it like this without changing other things, because the default values correspond to BT2020 primaries and NOT the native wide gamut primaries of the TV. So if you upload a dolby vision config with those values, it will mess up the colour. Uploading a dolby vision config in this way is intended to be used in conjunction with a 3D LUT to map between BT2020 and the panel native colour space (in this case one can use the same 3d LUT for HDR10 and Dolby Vision in principle)
If someone knows what the default primaries for the dolby vision configuration are, I can add this as an option to make it possible to keep these when uploading a DV config.
As for the safety of these operations, I did indeed brick my 2018 set with a bad dolby vision configuration while working out the protocol. I’ve tested the current aiopylgtv implementation of the dolby vision config upload with my 2018 set without issue and the configuration validity checking is fairly strict, but no guarantees of course. I’ve not tested the set_tonemap_params at all, since I don’t have a 2019 set.
2020-08-27 at 11:02 #25891@josh-2, I was wondering if you could step in the discussion on the 3D LUT creation for full range RGB input I started in the avsforum ColourSpace thread here.Ted claims that the TV internal 3D LUT can only by written by sending it a 3D LUT meant to transform 16-255 input signals (so limited range + WTW). I’m not so sure about that, since I have calibrated the TV for full range with DisplayCal and it seemed to work fine. Is he right and aiopylgtv does level mapping before uploading the 3D LUT to the TV?
2020-08-27 at 11:11 #25892Sure I’ll have a look.
aiopylgtv is not doing any level mapping itself aside from applying the offsets present in the cube file if present, according to the cube file format specification
The behaviour of the tv in this regard depends on the black level setting, as well as the brightness and contrast settings.
2020-08-27 at 11:17 #25893Ok, thanks! So, it’s as I imagined.Btw, if there’s anyone still using the 04.10.15 firmware version on their C8 as I did, please don’t do it anymore.The latest version 05.20.02 not only has a new setting in the service menu (GSR) to disable the undefeatable-till-now static dimming, but the TV does not dim as quickly and as badly even with it enabled compared to 04.10.15.
2020-08-27 at 11:29 #25894@flhoech, does DisplayCal do levels mapping when creating the IRIDAS 3D LUT? Maybe this is why the lut can be uploaded to the LG TV?I did notice, btw, that the 3D LUT created by DIsplayCal is not the same as the one I get when using collink myself with the same profile icm file input and the same command line arguments. So I assume DisplayCal does some extra processing?
2020-09-01 at 14:16 #25976Hi All, I’ve gone through this entire thread and done a calibration of my LG C8. Unfortunately I’m not getting good results (report attached) so must have missed something. Hopefully someone can help.
These are the settings I set on the C8
profile: cinema
contrast: 85
Brightness:50
OLED light: 25
Saturation: 50I then used aiopylgtvcommand to reset the lut aiopylgtvcommand xx.xx.xx.xx upload_3d_lut_bt709 cinema
The calibration/profile was run with the settings in the images attached. Before I ran the verification I uploaded the generated 3D LUT to my C8 using aiopylgtvcommand.
Can someone tell me where I might have gone wrong?
Attachments:
You must be logged in to view attached files.2020-09-01 at 14:25 #25983Please ignore the file profilename in the 3rd screengrab. I did some other tests afterwards and didn’t realise the name didn’t get recalled with the settings.
2020-11-19 at 22:47 #26911
AnonymousInactive- Offline
Hello,
I’ve just read here that it is possible to create a LUT, using LightSpace, to replace the forced wide colour gamut for game mode on the C8.
I know about the “pc mode” workaround on the C8, but I would be quite interested in being able to change that wide gamut locked setting in game mode.
Anyone knows how to do this and what is the required software? (I only have Calman Home, Displaycal, LightSpace Zero).2021-02-23 at 19:17 #28853Does aiopylgtv work with a CX? (All I have at home is a C9.)
2021-02-23 at 19:22 #28854Haven’t tested it, it might need small modifications to the version detection stuff (to automatically determine lut size, which format for dolby vision configuration to use etc) but otherwise should work in principle.
If someone has one and wants to test/runs into problems I’m happy to help debug/make the necessary changes.
2021-03-07 at 11:49 #29068Josh, have you – or anyone else – calibrated DoVi?
If so, do you still have the DoVi config file that can be shared?I’m asking because DoVi mode has elevated blacks on B8/C8 (and here and here), so maybe we can get rid of that crap 🙂
Thanks2021-03-07 at 16:14 #29069I don’t currently have a good means to validate the result, so I haven’t seriously attempted this yet.
As discussed previously in this thread, the way this is envisioned to work is to upload a “synthetic” dolby vision config file based on BT.2020 primaries, gamma 2.2 and black level 0, with the only free parameter being the peak brightness, which may vary from panel to panel. This can be generated and uploaded using the “set_dolby_vision_config_data”
Then one would need to calibrate in hdr10 mode and upload the resulting LUTs to the dolby vision mode (taking care to upload the 3d LUT to both the BT2020 and BT709 slots, because apparently the BT709 one is used in most /all cases)
I don’t think anyone has explicitly tested/validated that this works as expected.
Note as well that this is significantly different than the standard setup or what’s done in Calman, where the dolby vision config file targets the native color primaries on the TV, such that this part is handled by matrix transformations there rather than baked into the 3d LUT.
2021-03-07 at 19:12 #29072Thanks for the answer and clarification, Josh! I already forgot how it’s handled in your tool.
I don’t think anyone has explicitly tested/validated that this works as expected.
Me neither, but I don’t care about validation for now (see below).
the standard setup or what’s done in Calman, where the dolby vision config file targets the native color primaries on the TV, such that this part is handled by matrix transformations there rather than baked into the 3d LUT.
I meant this, because it’s easier to distribute the result via a text file (that can be also uploaded via USB).
Do you have the tools to calibrate DoVi otherwise? (I don’t) And do you still have the C8?
If so, it’d be really nice of you to sacrifice some time to give it a try.
All the B8 and C8 suffer the same raised black, so I guess 1 good config would do for all of us.
It could be easily tested with those 2 DoVi test patterns and familiar scenes by switching between 2 presets.(ColorSpace (former LightSpace) gurus automated this with the built-in pattern generator of C9, and they create such a text file manually. They even verified the result using R.Masciola’s DoVi patterns. )
- This reply was modified 3 years, 1 month ago by chros.
-
AuthorPosts