Another thing...
Other boxes have these choices for color space
"Edid(Auto)": _("Auto")
"Hdmi_Rgb": _("RGB")
"444": _("YCbCr444")
"422": _("YCbCr422")
"420": _("YCbCr420")
-or-
"auto": _("auto")
"rgb": _("rgb")
"420": _("420")
"422": _("422")
"444": _("444")
while VU indicates it can write the following to that proc..
Edid(Auto)
Hdmi_Rgb
Itu_R_BT_709
Unknown
DVI_Full_Range_RGB
FCC
Itu_R_BT_470_2_BG
Smpte_170M
Smpte_240M
bestfit
letterbox
panscan
nonlinear
That was why I asked to 'poke' that proc via the console/putty... Did you arealy tried it...
There is also a proc for 10, 12 bit colors... maybe writing something to this proc might also help as work-a-round.
The choices VU+ is showing here are looking a bit obvious. As far I can see they offer RGB colors as extra, but I totally do no understand why best fit, letterbox etc. is there and the proc returns auto by default and not Edid(Auto).
It would indeed be required when TVs do not correctly support EDIT that we need a function to force to disable HLG...
So there are two solutions here:
1. Sony/Philips solved their EDID bug in the TV... (this is actually the root cause - the TV cannot do HLG in this case but does not report this via the HDMI bus back to the receiver).
2. Mut@nt, VU+ and maybe more tenders need add an option (proc) to disable HLG as HD60 (HiSilicon) and DMM has (someone need to contact them - but this is actually still a work-a-round - which works but... when a channel has HDR or HLG etc... it will be 'disabled')
For solution 2 these boxes misses these option/proc:
(lib/python/Components/SystemInfo.py)
SystemInfo["HDRSupport"] = fileExists("/proc/stb/hdmi/hlg_support_choices") and fileCheck("/proc/stb/hdmi/hlg_support")
(lib/python/Components/UsageConfig.py)
if SystemInfo["HDRSupport"]:
def setHlgSupport(configElement):
open("/proc/stb/hdmi/hlg_support", "w").write(configElement.value)
config.av.hlg_support = ConfigSelection(default = "auto(EDID)",
choices = [ ("auto(EDID)", _("controlled by HDMI")), ("yes", _("force enabled")), ("no", _("force disabled")) ])
config.av.hlg_support.addNotifier(setHlgSupport)
def setHdr10Support(configElement):
open("/proc/stb/hdmi/hdr10_support", "w").write(configElement.value)
config.av.hdr10_support = ConfigSelection(default = "auto(EDID)",
choices = [ ("auto(EDID)", _("controlled by HDMI")), ("yes", _("force enabled")), ("no", _("force disabled")) ])
config.av.hdr10_support.addNotifier(setHdr10Support)
def setDisable12Bit(configElement):
open("/proc/stb/video/disable_12bit", "w").write(configElement.value)
config.av.allow_12bit = ConfigSelection(default = "0", choices = [ ("0", _("yes")), ("1", _("no")) ]);
config.av.allow_12bit.addNotifier(setDisable12Bit)
def setDisable10Bit(configElement):
open("/proc/stb/video/disable_10bit", "w").write(configElement.value)
config.av.allow_10bit = ConfigSelection(default = "0", choices = [ ("0", _("yes")), ("1", _("no")) ]);
config.av.allow_10bit.addNotifier(setDisable10Bit)
Edited by littlesat, 20 January 2020 - 15:36.