Auto frame rate switching & dynamic range matching - 4K (HDR10) capable Hardware - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222) +--- Forum: Hardware (https://forum.kodi.tv/forumdisplay.php?fid=112) +--- Thread: Auto frame rate switching & dynamic range matching - 4K (HDR10) capable Hardware (/showthread.php?tid=325077) |
RE: Auto frame rate switching & dynamic range matching - 4K (HDR10) capable Hardware - wesk05 - 2018-02-20 (2018-02-19, 20:35)hdmkv Wrote: So, best I can get is 8-bit 444 HDR Rec2020 w/LibreELEC it seems. More I compare w/Shield & Zidoo X9S, the more it looks very similar. Not seeing the banding @noggin noted w/4K HDR 23.976 movies, nor the dithering others have. But, unable to do a direc A/B, so hard to be sure either way. Your projector's EDID shows a maximum pixel clock frequency of 300 MHz. This means that it will only support 4K 50/60 4:2:0 8-bit, 4K 24/25/30 4:4:4 8-bit or 4K 24/25/30 4:2:2 upto 12-bit. This table is wrong or at the least misleading: https://epson.com/faq/SPT_V11H713020~faq-0000530-plhc5040ub? What this means is that you can only use 10/12-bit 4:2:2 for 4K 24/25/30Hz HDR content. RE: Auto frame rate switching & dynamic range matching - 4K (HDR10) capable Hardware - wesk05 - 2018-02-20 (2018-02-19, 08:27)wrxtasy Wrote: Yes I can confirm i've seen that. We might need to get @JohnGalt back on the case unless @Sam.Nazarko bug busts the AML Linux Nougat Kernel first.This is actually a simple fix. It is just that the AVI InfoFrame Data Byte 1 is set incorrectly for YCbCr 4:2:2. It should be 0x30 (00110000) for 4:2:2, but is set to 0x50 (01010000) which is for 4:4:4 pixel encoding. If you have a HDFury Vertex/Integral you can send a corrected AVI InfoFrame and you will get a normal picture without the green tint. The first 3 digits in the binary is for pixel encoding. RE: Auto frame rate switching & dynamic range matching - 4K (HDR10) capable Hardware - wrxtasy - 2018-02-20 Thx. @wesk05, sent this issue upstream to the LE AML Linux Kernel Gurus to bug bust. RE: Auto frame rate switching & dynamic range matching - 4K (HDR10) capable Hardware - wesk05 - 2018-02-20 (2018-02-20, 06:34)wrxtasy Wrote: Thx. @wesk05, sent this issue upstream to the LE AML Linux Kernel Gurus to bug bust.I think there is something wrong in this section: https://github.com/LibreELEC-AML/linux-amlogic/blob/amlogic-3.14-nougat/drivers/amlogic/hdmi/hdmi_tx_20/hdmi_tx_video.c#L518 It is the same for HDMI 1.4 Edit: That section looks right to me. It must be some where else. RE: Auto frame rate switching & dynamic range matching - 4K (HDR10) capable Hardware - ozkhan1 - 2018-02-20 (2017-12-18, 18:23)jaymillerSR Wrote: @wrxtasy does ATV4k kodi support Siri to text instead of keyboard typing? Kinda like the shield does with spmc?yes it does RE: Auto frame rate switching & dynamic range matching - 4K (HDR10) capable Hardware - hdmkv - 2018-02-21 (2018-02-20, 06:18)wesk05 Wrote:Thanks, except I get green-tinted UI and green-tinted playback w/10- and 12-bit 4:2:2.(2018-02-19, 20:35)hdmkv Wrote: So, best I can get is 8-bit 444 HDR Rec2020 w/LibreELEC it seems. More I compare w/Shield & Zidoo X9S, the more it looks very similar. Not seeing the banding @noggin noted w/4K HDR 23.976 movies, nor the dithering others have. But, unable to do a direc A/B, so hard to be sure either way. RE: Auto frame rate switching & dynamic range matching - 4K (HDR10) capable Hardware - wesk05 - 2018-02-21 (2018-02-21, 01:57)hdmkv Wrote: Thanks, except I get green-tinted UI and green-tinted playback w/10- and 12-bit 4:2:2.As it is now, you can't use the 4:2:2 mode with Amlogic LE. It looks to be a simple fix and hopefully one of the LE AML Linux kernel Gurus will fix the code soon. RE: Auto frame rate switching & dynamic range matching - 4K (HDR10) capable Hardware - wrxtasy - 2018-02-21 @wesk05, I've had a look at the current AML Nougat Kernel we are using in alpha - LE Kodi Leia, here is the equivalent section: https://github.com/LibreELEC/linux-amlogic/blob/amlogic-3.14.y/drivers/amlogic/hdmi/hdmi_tx_20/hdmi_tx_video.c#L903 Not seeing the green tinted playback using an AML S912 when setting 422,10bit or 422,12bit and playing back 23.976 4K HEVC. Uploading a S912 Kodi Leia test .tar update for @hdmkv to test as well. @hdmkv, Suggest to do a LE settings .tar backup, and then copy this into the Update folder and reboot: (there will be bugs, especially getting Hardware decoding to work reliably - it's Alpha Kodi software.) LibreELEC-S912.arm-9.0-devel-20180221102512-r1-g28f08d0.img.gz RE: Auto frame rate switching & dynamic range matching - 4K (HDR10) capable Hardware - wesk05 - 2018-02-21 (2018-02-21, 05:45)wrxtasy Wrote: @wesk05, I've had a look at the current AML Nougat Kernel we are using in alpha - LE Kodi Leia, here is the equivalent section:I had looked at that section again and it looked right to me. There doesn't seem to be any difference in the "hdmi_tx_construct_avi_packet" section. I did check the build you uploaded and can confirm that there is no green tint with YCbCr 4:2:2 mode and that the AVI InfoFrame is also correct for YCbCr 4:2:2 pixel encoding. This build for whatever reason defaults to 422 even for 4K 60. When I set the mode to 420 with the echo command I got a no video situation when playing a 4K23.976 clip. RE: Auto frame rate switching & dynamic range matching - 4K (HDR10) capable Hardware - wrxtasy - 2018-02-21 (2018-02-21, 07:54)wesk05 Wrote: This build for whatever reason defaults to 422 even for 4K 60.Yes you are right, the default straight after bootup is 422,8bit for 1080p. Any benefit/disadvantage to letting the media player upsample to 4:2:2 vs the TV ? RE: Auto frame rate switching & dynamic range matching - 4K (HDR10) capable Hardware - noggin - 2018-02-21 (2018-02-21, 09:15)wrxtasy Wrote:(2018-02-21, 07:54)wesk05 Wrote: This build for whatever reason defaults to 422 even for 4K 60.Yes you are right, the default straight after bootup is 422,8bit for 1080p. If you have one of the TVs that only supports 4:2:0 at 2160/50p and 2160/59.94 or 60p (the old 'HDMI 2.0 over HDMI 1.4' hardware addition to the HDMI 2.0 spec) does the current LE code switch to 4:2:0 8bit if you select 2160/50p or 2160/59.94p (or does it ignore 2160/50p and 2160/59.94 and 60p modes and not offer them and instead only offer the 4:2:2 compatible 2160/30p and below modes)? RE: Auto frame rate switching & dynamic range matching - 4K (HDR10) capable Hardware - hdmkv - 2018-02-22 (2018-02-21, 05:45)wrxtasy Wrote: Uploading a S912 Kodi Leia test .tar update for @hdmkv to test as well.Thanks, just tested w/your build and SSH'ing echo '422,12bit' > /sys/class/amhdmitx/amhdmitx0/attr ... I get 12-bit 422 Rec2020 HDR as expected, great, but 23.976 renders at 29.97, same as my Kodi/LE UI setting... getting close though, encouraging! See my next post, working great. RE: Auto frame rate switching & dynamic range matching - 4K (HDR10) capable Hardware - wesk05 - 2018-02-22 (2018-02-22, 02:43)hdmkv Wrote: Thanks, just tested w/your build and SSH'ing echo '422,12bit' > /sys/class/amhdmitx/amhdmitx0/attr ... I get 12-bit 422 Rec2020 HDR as expected, great, but 23.976 renders at 29.97, same as my Kodi/LE UI setting... getting close though, encouraging!Did you check "Adjust refresh rate"? It is off by default in this build. RE: Auto frame rate switching & dynamic range matching - 4K (HDR10) capable Hardware - hdmkv - 2018-02-22 Didn't as I assumed the .tar update would keep my existing settings. Thanks, it was off. enabled it and viola!... nice work @wrxtasy!!! This one is with echo '422,12bit' > /sys/class/amhdmitx/amhdmitx0/attr And this one is with echo '422,10bit' > /sys/class/amhdmitx/amhdmitx0/attr So, both render equally well! RE: Auto frame rate switching & dynamic range matching - 4K (HDR10) capable Hardware - wrxtasy - 2018-02-22 Cheers @hdmkv Nice to see AMLogic have continually improved the Linux Kernel. It's a team effort from the AML LE boys, @codesnake did nearly all the hard work updating the Kernel master code. I've also been compiling a slightly modded S912 - @kszaq's sourced LE 8.2.x Kodi Krypton with the new AML LE Kernel plugged into it, it's a more stable vs alpha Kodi Leia and no green tinted 422,10/12bit 4K screens either ! You may need to extract a new .dtb if the box does not boot, found in the included device_tree folder. Kodi Krypton - LibreELEC-S912.arm-8.2.3.img.gz Tips and further discussion over on the AML S912 LE Subforum (click) |