jernej Could it be perhaps possible that the HDMI driver is telling the TV/AVR/monitor that the output is in limited range while it actually is full range therefore ending up with a clipped range as a result. AFAIK at least the TCL TV is able to automatically determine the HDMI input range and use the correct settings accordingly. Still no amount of fiddling with range/brightness/contrast settings is able to recover the lost blacks.
Posts by andreabak
-
-
jernej Here's the outputs from edid-decode /sys/class/drm/card0-HDMI-A-1/edid command.
First, the monitor on which the image displays correctly:
Code
Display More# DELL E1909W through HDMI->DVI Extracted contents: header: 00 ff ff ff ff ff ff 00 serial number: 10 ac 0e f0 53 43 30 32 01 13 version: 01 03 basic params: 80 29 1a 78 ee chroma info: ee 95 a3 54 4c 99 26 0f 50 54 established: bf ef 80 standard: 95 00 71 4f 81 80 95 0f 81 00 01 01 01 01 01 01 descriptor 1: 9a 29 a0 d0 51 84 22 30 50 98 36 00 98 ff 10 00 00 1c descriptor 2: 00 00 00 ff 00 4a 33 34 31 46 39 31 32 32 30 43 53 0a descriptor 3: 00 00 00 fc 00 44 45 4c 4c 20 45 31 39 30 39 57 0a 20 descriptor 4: 00 00 00 fd 00 38 4b 1e 53 0e 00 0a 20 20 20 20 20 20 extensions: 00 checksum: 8d EDID version: 1.3 Manufacturer: DEL Model f00e Serial Number 842023763 Made in week 1 of 2009 Digital display Maximum image size: 41 cm x 26 cm Gamma: 2.20 DPMS levels: Standby Suspend Off RGB color display Default (sRGB) color space is primary color space First detailed timing is preferred timing Display x,y Chromaticity: Red: 0.6396, 0.3300 Green: 0.2998, 0.5996 Blue: 0.1503, 0.0595 White: 0.3134, 0.3291 Established timings supported: 720x400@70Hz 9:5 HorFreq: 31469 Hz Clock: 28.320 MHz 640x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 25.175 MHz 640x480@67Hz 4:3 HorFreq: 35000 Hz Clock: 30.240 MHz 640x480@72Hz 4:3 HorFreq: 37900 Hz Clock: 31.500 MHz 640x480@75Hz 4:3 HorFreq: 37500 Hz Clock: 31.500 MHz 800x600@56Hz 4:3 HorFreq: 35200 Hz Clock: 36.000 MHz 800x600@60Hz 4:3 HorFreq: 37900 Hz Clock: 40.000 MHz 800x600@72Hz 4:3 HorFreq: 48100 Hz Clock: 50.000 MHz 800x600@75Hz 4:3 HorFreq: 46900 Hz Clock: 49.500 MHz 832x624@75Hz 4:3 HorFreq: 49726 Hz Clock: 57.284 MHz 1024x768@60Hz 4:3 HorFreq: 48400 Hz Clock: 65.000 MHz 1024x768@70Hz 4:3 HorFreq: 56500 Hz Clock: 75.000 MHz 1024x768@75Hz 4:3 HorFreq: 60000 Hz Clock: 78.750 MHz 1280x1024@75Hz 5:4 HorFreq: 80000 Hz Clock: 135.000 MHz 1152x870@75Hz 192:145 HorFreq: 67500 Hz Clock: 108.000 MHz Standard timings supported: 1440x900@60Hz 16:10 HorFreq: 55500 Hz Clock: 88.750 MHz 1152x864@75Hz 4:3 HorFreq: 67500 Hz Clock: 108.000 MHz 1280x1024@60Hz 5:4 HorFreq: 64000 Hz Clock: 108.000 MHz 1440x900@75Hz 16:10 HorFreq: 82300 Hz Clock: 156.000 MHz 1280x800@60Hz 16:10 Detailed mode: Clock 106.500 MHz, 408 mm x 255 mm 1440 1520 1672 1904 hborder 0 900 903 909 934 vborder 0 -hsync +vsync VertFreq: 59 Hz, HorFreq: 55934 Hz Serial number: J341F91220CS Monitor name: DELL E1909W Monitor ranges (GTF): 56-75Hz V, 30-83kHz H, max dotclock 140MHz Checksum: 0x8d (valid) EDID block does NOT conform to EDID 1.3! sRGB is signaled, but the chromaticities do not match One or more of the timings is out of range of the Monitor Ranges: Vertical Freq: 56 - 75 Hz Horizontal Freq: 31469 - 82300 Hz Maximum Clock: 156.000 MHz
Then, the same monitor but connected through a HDMI-to-VGA converter (the image is not correct, blacks 16-above are clipped to pure black, whites 235-below appear correctly):
Code
Display More# DELL E1909W through HDMI->VGA adapter Extracted contents: header: 00 ff ff ff ff ff ff 00 serial number: 10 ac 0d f0 53 43 30 32 01 13 version: 01 03 basic params: 80 29 1a 78 ee chroma info: ee 95 a3 54 4c 99 26 0f 50 54 established: bf ef 80 standard: 95 00 71 4f 81 80 95 0f 81 00 01 01 01 01 01 01 descriptor 1: 9a 29 a0 d0 51 84 22 30 50 98 36 00 98 ff 10 00 00 1c descriptor 2: 00 00 00 ff 00 4a 33 34 31 46 39 31 32 32 30 43 53 0a descriptor 3: 00 00 00 fc 00 44 45 4c 4c 20 45 31 39 30 39 57 0a 20 descriptor 4: 00 00 00 fd 00 38 4b 1e 53 0e 00 0a 20 20 20 20 20 20 extensions: 01 checksum: 8d EDID version: 1.3 Manufacturer: DEL Model f00d Serial Number 842023763 Made in week 1 of 2009 Digital display Maximum image size: 41 cm x 26 cm Gamma: 2.20 DPMS levels: Standby Suspend Off RGB color display Default (sRGB) color space is primary color space First detailed timing is preferred timing Display x,y Chromaticity: Red: 0.6396, 0.3300 Green: 0.2998, 0.5996 Blue: 0.1503, 0.0595 White: 0.3134, 0.3291 Established timings supported: 720x400@70Hz 9:5 HorFreq: 31469 Hz Clock: 28.320 MHz 640x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 25.175 MHz 640x480@67Hz 4:3 HorFreq: 35000 Hz Clock: 30.240 MHz 640x480@72Hz 4:3 HorFreq: 37900 Hz Clock: 31.500 MHz 640x480@75Hz 4:3 HorFreq: 37500 Hz Clock: 31.500 MHz 800x600@56Hz 4:3 HorFreq: 35200 Hz Clock: 36.000 MHz 800x600@60Hz 4:3 HorFreq: 37900 Hz Clock: 40.000 MHz 800x600@72Hz 4:3 HorFreq: 48100 Hz Clock: 50.000 MHz 800x600@75Hz 4:3 HorFreq: 46900 Hz Clock: 49.500 MHz 832x624@75Hz 4:3 HorFreq: 49726 Hz Clock: 57.284 MHz 1024x768@60Hz 4:3 HorFreq: 48400 Hz Clock: 65.000 MHz 1024x768@70Hz 4:3 HorFreq: 56500 Hz Clock: 75.000 MHz 1024x768@75Hz 4:3 HorFreq: 60000 Hz Clock: 78.750 MHz 1280x1024@75Hz 5:4 HorFreq: 80000 Hz Clock: 135.000 MHz 1152x870@75Hz 192:145 HorFreq: 67500 Hz Clock: 108.000 MHz Standard timings supported: 1440x900@60Hz 16:10 HorFreq: 55500 Hz Clock: 88.750 MHz 1152x864@75Hz 4:3 HorFreq: 67500 Hz Clock: 108.000 MHz 1280x1024@60Hz 5:4 HorFreq: 64000 Hz Clock: 108.000 MHz 1440x900@75Hz 16:10 HorFreq: 82300 Hz Clock: 156.000 MHz 1280x800@60Hz 16:10 Detailed mode: Clock 106.500 MHz, 408 mm x 255 mm 1440 1520 1672 1904 hborder 0 900 903 909 934 vborder 0 -hsync +vsync VertFreq: 59 Hz, HorFreq: 55934 Hz Serial number: J341F91220CS Monitor name: DELL E1909W Monitor ranges (GTF): 56-75Hz V, 30-83kHz H, max dotclock 140MHz Has 1 extension blocks Checksum: 0x8d (valid) CTA extension block Extension version: 3 23 bytes of CTA data Audio data block Linear PCM, max channels 2 Supported sample rates (kHz): 48 44.1 32 Supported sample sizes (bits): 24 20 16 Speaker allocation data block Speaker map: FL/FR - Front Left/Right Vendor-specific data block, OUI 000c03 (HDMI) Source physical address 2.0.0.0 Supports_AI Maximum TMDS clock: 225MHz Video data block VIC 16 1920x1080@60Hz 16:9 (native) HorFreq: 67500 Hz Clock: 148.500 MHz VIC 4 1280x720@60Hz 16:9 (native) HorFreq: 45000 Hz Clock: 74.250 MHz VIC 2 720x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 27.000 MHz Extended tag: Video capability data block YCbCr quantization: No Data (0) RGB quantization: No Data (0) PT scan behaviour: No Data (0) IT scan behaviour: Support both over- and underscan (3) CE scan behaviour: Support both over- and underscan (3) Basic audio support Supports YCbCr 4:4:4 1 native detailed modes Detailed mode: Clock 27.000 MHz, 160 mm x 90 mm 720 736 798 858 hborder 0 480 489 495 525 vborder 0 -hsync -vsync analog composite VertFreq: 59 Hz, HorFreq: 31468 Hz Checksum: 0x29 (valid) EDID block does NOT conform to EDID 1.3! sRGB is signaled, but the chromaticities do not match One or more of the timings is out of range of the Monitor Ranges: Vertical Freq: 56 - 75 Hz Horizontal Freq: 31468 - 82300 Hz Maximum Clock: 156.000 MHz EDID block does not conform at all! Both the serial number and the serial string are set
Here's the output while connected to the Pioneer AVR:
Code
Display More# Pioneer VSX-923 direct HDMI Extracted contents: header: 00 ff ff ff ff ff ff 00 serial number: 41 2f 00 00 01 01 01 01 00 17 version: 01 03 basic params: 80 60 36 78 2a chroma info: d7 b3 ae 51 50 94 23 0c 4a 47 established: 00 00 00 standard: 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 descriptor 1: 01 1d 80 18 71 1c 16 20 58 2c 25 00 b8 18 32 00 00 9e descriptor 2: 8c 0a d0 8a 20 e0 2d 10 10 3e 96 00 b8 18 32 00 00 18 descriptor 3: 00 00 00 fd 00 31 3d 0f 45 0f 00 0a 20 20 20 20 20 20 descriptor 4: 00 00 00 fc 00 56 53 58 2d 39 32 33 0a 20 20 20 20 20 extensions: 01 checksum: 8a EDID version: 1.3 Manufacturer: PIO Model 0 Serial Number 16843009 Made in year 2013 Digital display Maximum image size: 96 cm x 54 cm Gamma: 2.20 DPMS levels: Off RGB color display First detailed timing is preferred timing Display x,y Chromaticity: Red: 0.6826, 0.3173 Green: 0.3134, 0.5810 Blue: 0.1386, 0.0498 White: 0.2890, 0.2802 Established timings supported: Standard timings supported: Detailed mode: Clock 74.250 MHz, 952 mm x 536 mm 1920 2008 2052 2200 hborder 0 540 542 547 562 vborder 0 +hsync +vsync interlaced VertFreq: 60 Hz, HorFreq: 33750 Hz Detailed mode: Clock 27.000 MHz, 952 mm x 536 mm 720 736 798 858 hborder 0 480 489 495 525 vborder 0 -hsync -vsync VertFreq: 59 Hz, HorFreq: 31468 Hz Monitor ranges (GTF): 49-61Hz V, 15-69kHz H, max dotclock 150MHz Monitor name: VSX-923 Has 1 extension blocks Checksum: 0x8a (valid) CTA extension block Extension version: 3 63 bytes of CTA data Video data block VIC 5 1920x1080i@60Hz 16:9 (native) HorFreq: 33750 Hz Clock: 74.250 MHz VIC 4 1280x720@60Hz 16:9 HorFreq: 45000 Hz Clock: 74.250 MHz VIC 3 720x480@60Hz 16:9 HorFreq: 31469 Hz Clock: 27.000 MHz VIC 15 1440x480@60Hz 16:9 HorFreq: 31469 Hz Clock: 54.000 MHz VIC 14 1440x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 54.000 MHz VIC 7 1440x480i@60Hz 16:9 HorFreq: 15734 Hz Clock: 27.000 MHz VIC 6 1440x480i@60Hz 4:3 HorFreq: 15734 Hz Clock: 27.000 MHz VIC 20 1920x1080i@50Hz 16:9 HorFreq: 28125 Hz Clock: 74.250 MHz VIC 19 1280x720@50Hz 16:9 HorFreq: 37500 Hz Clock: 74.250 MHz VIC 18 720x576@50Hz 16:9 HorFreq: 31250 Hz Clock: 27.000 MHz VIC 30 1440x576@50Hz 16:9 HorFreq: 31250 Hz Clock: 54.000 MHz VIC 29 1440x576@50Hz 4:3 HorFreq: 31250 Hz Clock: 54.000 MHz VIC 22 1440x576i@50Hz 16:9 HorFreq: 15625 Hz Clock: 27.000 MHz VIC 21 1440x576i@50Hz 4:3 HorFreq: 15625 Hz Clock: 27.000 MHz VIC 11 2880x480i@60Hz 16:9 HorFreq: 15734 Hz Clock: 54.000 MHz VIC 10 2880x480i@60Hz 4:3 HorFreq: 15734 Hz Clock: 54.000 MHz VIC 26 2880x576i@50Hz 16:9 HorFreq: 15625 Hz Clock: 54.000 MHz VIC 25 2880x576i@50Hz 4:3 HorFreq: 15625 Hz Clock: 54.000 MHz VIC 35 2880x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 108.000 MHz VIC 36 2880x480@60Hz 16:9 HorFreq: 31469 Hz Clock: 108.000 MHz VIC 37 2880x576@50Hz 4:3 HorFreq: 31250 Hz Clock: 108.000 MHz VIC 38 2880x576@50Hz 16:9 HorFreq: 31250 Hz Clock: 108.000 MHz VIC 16 1920x1080@60Hz 16:9 HorFreq: 67500 Hz Clock: 148.500 MHz VIC 31 1920x1080@50Hz 16:9 HorFreq: 56250 Hz Clock: 148.500 MHz VIC 32 1920x1080@24Hz 16:9 HorFreq: 27000 Hz Clock: 74.250 MHz VIC 1 640x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 25.175 MHz Audio data block Linear PCM, max channels 2 Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1 32 Supported sample sizes (bits): 24 20 16 Linear PCM, max channels 8 Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1 32 Supported sample sizes (bits): 24 20 16 AC-3, max channels 6 Supported sample rates (kHz): 48 44.1 32 Maximum bit rate: 640 kHz DTS, max channels 7 Supported sample rates (kHz): 96 88.2 48 44.1 Maximum bit rate: 1536 kHz One Bit Audio, max channels 6 Supported sample rates (kHz): 44.1 Dolby Digital+, max channels 8 Supported sample rates (kHz): 48 44.1 DTS-HD, max channels 8 Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1 MAT (MLP), max channels 8 Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1 Speaker allocation data block Speaker map: FL/FR - Front Left/Right LFE - Low Frequency Effects FC - Front Center BL/BR - Back Left/Right RLC/RRC - Rear Left/Right of Center Vendor-specific data block, OUI 000c03 (HDMI) Source physical address 3.2.0.0 Supports_AI Basic audio support Supports YCbCr 4:4:4 Supports YCbCr 4:2:2 2 native detailed modes Detailed mode: Clock 74.250 MHz, 952 mm x 536 mm 1920 2448 2492 2640 hborder 0 540 542 547 562 vborder 0 +hsync +vsync interlaced VertFreq: 50 Hz, HorFreq: 28125 Hz Detailed mode: Clock 74.250 MHz, 952 mm x 536 mm 1280 1390 1430 1650 hborder 0 720 725 730 750 vborder 0 +hsync +vsync VertFreq: 60 Hz, HorFreq: 45000 Hz Detailed mode: Clock 74.250 MHz, 952 mm x 536 mm 1280 1720 1760 1980 hborder 0 720 725 730 750 vborder 0 +hsync +vsync VertFreq: 50 Hz, HorFreq: 37500 Hz Checksum: 0xa5 (valid) One or more of the timings is out of range of the Monitor Ranges: Vertical Freq: 24 - 60 Hz Horizontal Freq: 15625 - 67500 Hz Maximum Clock: 148.500 MHz
And this while connected directly to the TCL TV:
Code
Display More# TCL U60P6026 direct HDMI Extracted contents: header: 00 ff ff ff ff ff ff 00 serial number: 50 6c 86 65 11 10 01 00 27 1b version: 01 03 basic params: 80 79 44 78 0a chroma info: 0d c9 a0 57 47 98 27 12 48 4c established: 21 08 00 standard: 81 40 a9 40 81 80 81 c0 a9 c0 01 01 01 01 01 01 descriptor 1: 04 74 00 30 f2 70 5a 80 b0 58 8a 00 20 c2 31 00 00 1e descriptor 2: 02 3a 80 18 71 38 2d 40 58 2c 45 00 b9 a8 42 00 00 1e descriptor 3: 00 00 00 fc 00 54 43 4c 20 53 4d 41 52 54 20 54 56 0a descriptor 4: 00 00 00 fd 00 32 4b 1e 50 23 00 0a 20 20 20 20 20 20 extensions: 01 checksum: f0 EDID version: 1.3 Manufacturer: TCL Model 6586 Serial Number 69649 Made in week 39 of 2017 Digital display Maximum image size: 121 cm x 68 cm Gamma: 2.20 RGB color display First detailed timing is preferred timing Display x,y Chromaticity: Red: 0.6250, 0.3398 Green: 0.2802, 0.5947 Blue: 0.1552, 0.0703 White: 0.2832, 0.2978 Established timings supported: 640x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 25.175 MHz 800x600@60Hz 4:3 HorFreq: 37900 Hz Clock: 40.000 MHz 1024x768@60Hz 4:3 HorFreq: 48400 Hz Clock: 65.000 MHz Standard timings supported: 1280x960@60Hz 4:3 HorFreq: 60000 Hz Clock: 108.000 MHz 1600x1200@60Hz 4:3 HorFreq: 75000 Hz Clock: 162.000 MHz 1280x1024@60Hz 5:4 HorFreq: 64000 Hz Clock: 108.000 MHz 1280x720@60Hz 16:9 1600x900@60Hz 16:9 Detailed mode: Clock 297.000 MHz, 800 mm x 450 mm 3840 4016 4104 4400 hborder 0 2160 2168 2178 2250 vborder 0 +hsync +vsync VertFreq: 30 Hz, HorFreq: 67500 Hz Detailed mode: Clock 148.500 MHz, 1209 mm x 680 mm 1920 2008 2052 2200 hborder 0 1080 1084 1089 1125 vborder 0 +hsync +vsync VertFreq: 60 Hz, HorFreq: 67500 Hz Monitor name: TCL SMART TV Monitor ranges (GTF): 50-75Hz V, 30-80kHz H, max dotclock 350MHz Has 1 extension blocks Checksum: 0xf0 (valid) CTA extension block Extension version: 3 60 bytes of CTA data Video data block VIC 16 1920x1080@60Hz 16:9 (native) HorFreq: 67500 Hz Clock: 148.500 MHz VIC 31 1920x1080@50Hz 16:9 (native) HorFreq: 56250 Hz Clock: 148.500 MHz VIC 5 1920x1080i@60Hz 16:9 HorFreq: 33750 Hz Clock: 74.250 MHz VIC 20 1920x1080i@50Hz 16:9 HorFreq: 28125 Hz Clock: 74.250 MHz VIC 32 1920x1080@24Hz 16:9 HorFreq: 27000 Hz Clock: 74.250 MHz VIC 4 1280x720@60Hz 16:9 HorFreq: 45000 Hz Clock: 74.250 MHz VIC 19 1280x720@50Hz 16:9 HorFreq: 37500 Hz Clock: 74.250 MHz VIC 18 720x576@50Hz 16:9 HorFreq: 31250 Hz Clock: 27.000 MHz VIC 17 720x576@50Hz 4:3 HorFreq: 31250 Hz Clock: 27.000 MHz VIC 3 720x480@60Hz 16:9 HorFreq: 31469 Hz Clock: 27.000 MHz VIC 2 720x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 27.000 MHz VIC 22 1440x576i@50Hz 16:9 HorFreq: 15625 Hz Clock: 27.000 MHz VIC 21 1440x576i@50Hz 4:3 HorFreq: 15625 Hz Clock: 27.000 MHz VIC 7 1440x480i@60Hz 16:9 HorFreq: 15734 Hz Clock: 27.000 MHz VIC 6 1440x480i@60Hz 4:3 HorFreq: 15734 Hz Clock: 27.000 MHz VIC 1 640x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 25.175 MHz VIC 33 1920x1080@25Hz 16:9 HorFreq: 28125 Hz Clock: 74.250 MHz VIC 34 1920x1080@30Hz 16:9 HorFreq: 33750 Hz Clock: 74.250 MHz VIC 93 3840x2160@24Hz 16:9 HorFreq: 54000 Hz Clock: 297.000 MHz VIC 98 4096x2160@24Hz 256:135 HorFreq: 54000 Hz Clock: 297.000 MHz VIC 94 3840x2160@25Hz 16:9 HorFreq: 56250 Hz Clock: 297.000 MHz VIC 95 3840x2160@30Hz 16:9 HorFreq: 67500 Hz Clock: 297.000 MHz VIC 100 4096x2160@30Hz 256:135 HorFreq: 67500 Hz Clock: 297.000 MHz Audio data block Linear PCM, max channels 2 Supported sample rates (kHz): 48 44.1 32 Supported sample sizes (bits): 24 20 16 AC-3, max channels 6 Supported sample rates (kHz): 96 48 44.1 32 Maximum bit rate: 640 kHz Dolby Digital+, max channels 6 Supported sample rates (kHz): 96 48 44.1 32 Speaker allocation data block Speaker map: FL/FR - Front Left/Right Extended tag: Video capability data block YCbCr quantization: Selectable (via AVI YQ) (1) RGB quantization: Selectable (via AVI Q) (1) PT scan behaviour: Support both over- and underscan (3) IT scan behaviour: Support both over- and underscan (3) CE scan behaviour: Support both over- and underscan (3) Vendor-specific data block, OUI 000c03 (HDMI) Source physical address 2.0.0.0 Supports_AI DC_36bit DC_30bit DC_Y444 Maximum TMDS clock: 340MHz Extended HDMI video details: HDMI VIC 1 3840x2160@30Hz 16:9 HorFreq: 67500 Hz Clock: 297.000 MHz HDMI VIC 2 3840x2160@25Hz 16:9 HorFreq: 56250 Hz Clock: 297.000 MHz HDMI VIC 3 3840x2160@24Hz 16:9 HorFreq: 54000 Hz Clock: 297.000 MHz HDMI VIC 4 4096x2160@24Hz 256:135 HorFreq: 54000 Hz Clock: 297.000 MHz Extended tag: Colorimetry data block xvYCC601 xvYCC709 Underscans PC formats by default Basic audio support Supports YCbCr 4:4:4 Supports YCbCr 4:2:2 2 native detailed modes Detailed mode: Clock 148.500 MHz, 1209 mm x 680 mm 1920 2008 2052 2200 hborder 0 1080 1084 1089 1125 vborder 0 +hsync +vsync VertFreq: 60 Hz, HorFreq: 67500 Hz Detailed mode: Clock 74.250 MHz, 1209 mm x 680 mm 1280 1390 1430 1650 hborder 0 720 725 730 750 vborder 0 +hsync +vsync VertFreq: 60 Hz, HorFreq: 45000 Hz Checksum: 0xa3 (valid) One or more of the timings is out of range of the Monitor Ranges: Vertical Freq: 24 - 60 Hz Horizontal Freq: 15625 - 75000 Hz Maximum Clock: 297.000 MHz
-
andreabak Can you make some photo or video what it is and what it should be? I played video you referenced, but with that latest test update, it works same regardless DRM or GPU rendering (both HW decoded) or even completely SW decoded and GPU rendered. I can see flashing bars from 16 to 235. That's on PC monitor.
You are right indeed. I tried it on another monitor and the color bars 16-235 are correctly displayed flashing. Both with the test release you linked and with the latest update from here libreelec-h3.arm-9.1-devel-20190118214745-4e7ea9e.tar. Also the UI looks brighter too, so it looks like the whole HDMI output is affected, not only video playback.
In my setup I'm using a TCL TV and a Pioneer AVR, connecting the OrangePi to any of these the resulting image is always wrong. Through the AVR I can't get the 16-235 to show at all, while connected directly to the TV only the 235 downwards are visible (see attached pictures). I've tried all sort of combinations of settings (brightness, contrast, range, gamma, etc.) on all these devices without success. Connecting my laptop the test videos display correctly, and so do they using the latest OE release on the OrangePi.
That makes me think it might be something related to HDMI/EDID maybe?
Is there perhaps a way I can quickly alter display/HDMI/driver output settings from ssh to quickly test possible solutions? Could the OpenELEC build help giving information about HDMI output status or something like that?
-
jernej Sorry. Still the same.
-
andreabak It turns out that color range and color encoding are pretty easy to implement. Can you test following update:
libreelec-h3.arm-9.1-devel-20190129185238-064c56c.tar
You can see what encoding & range is used for video, if you run "modetest -M sun4i-drm" command during video playback via ssh. Both properties are set by Kodi to values based on video metadata and AFAIK you can't override them.
It seems that driver used BT601 full range transformation till now.
So, I tried the test update and unfortunately the issue remains. Both with movies and test calibration files.
In particular I'm using test files files from here AVS HD 709 Calibration, with the file 2-APL Clipping.mp4, the bars from 16 upwards and 235 downwards should appear flashing, instead they appear completely black and white respectively. I noticed this happens during playback in fullscreen video mode, but when I hit TAB and there's Kodi's UI overlayed on top I can sort of glimpse the correct bars flashing on the background video. Also, I noticed that setting 16-235 output in Kodi's settings flattens contrast in Kodi's UI (and when there's video playing in background too), but in fullscreen mode it looks like the output range is unaffected (the same black/white range with 0-255 or 16-235 setting).
Here's the output from the command modetest -M sun4i-drm.
Display Spoiler
Code
Display More############################################## # LibreELEC # # https://libreelec.tv # ############################################## LibreELEC (jernej): devel-20190129185238-064c56c (H3.arm) OPi-LibreELEC:~ # modetest -M sun4i-drm Encoders: id crtc type possible crtcs possible clones 39 38 TMDS 0x00000001 0x00000000 Connectors: id encoder status name size (mm) modes encoders 40 39 connected HDMI-A-1 1210x680 38 39 modes: name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot) 3840x2160 30 3840 4016 4104 4400 2160 2168 2178 2250 297000 flags: phsync, pvsync; type: preferred, driver 4096x2160 24 4096 5116 5204 5500 2160 2168 2178 2250 297000 flags: phsync, pvsync; type: driver 4096x2160 24 4096 5116 5204 5500 2160 2168 2178 2250 296703 flags: phsync, pvsync; type: driver 3840x2160 30 3840 4016 4104 4400 2160 2168 2178 2250 296703 flags: phsync, pvsync; type: driver 3840x2160 25 3840 4896 4984 5280 2160 2168 2178 2250 297000 flags: phsync, pvsync; type: driver 3840x2160 24 3840 5116 5204 5500 2160 2168 2178 2250 297000 flags: phsync, pvsync; type: driver 3840x2160 24 3840 5116 5204 5500 2160 2168 2178 2250 296703 flags: phsync, pvsync; type: driver 1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver 1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver 1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 148352 flags: phsync, pvsync; type: driver 1920x1080i 60 1920 2008 2052 2200 1080 1084 1094 1125 74250 flags: phsync, pvsync, interlace; type: driver 1920x1080i 60 1920 2008 2052 2200 1080 1084 1094 1125 74176 flags: phsync, pvsync, interlace; type: driver 1920x1080 50 1920 2448 2492 2640 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver 1920x1080i 50 1920 2448 2492 2640 1080 1084 1094 1125 74250 flags: phsync, pvsync, interlace; type: driver 1920x1080 30 1920 2008 2052 2200 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver 1920x1080 30 1920 2008 2052 2200 1080 1084 1089 1125 74176 flags: phsync, pvsync; type: driver 1920x1080 25 1920 2448 2492 2640 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver 1920x1080 24 1920 2558 2602 2750 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver 1920x1080 24 1920 2558 2602 2750 1080 1084 1089 1125 74176 flags: phsync, pvsync; type: driver 1600x1200 60 1600 1664 1856 2160 1200 1201 1204 1250 162000 flags: phsync, pvsync; type: driver 1600x900 60 1600 1624 1704 1800 900 901 904 1000 108000 flags: phsync, pvsync; type: driver 1280x1024 60 1280 1328 1440 1688 1024 1025 1028 1066 108000 flags: phsync, pvsync; type: driver 1280x960 60 1280 1376 1488 1800 960 961 964 1000 108000 flags: phsync, pvsync; type: driver 1280x720 60 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver 1280x720 60 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver 1280x720 60 1280 1390 1430 1650 720 725 730 750 74176 flags: phsync, pvsync; type: driver 1280x720 50 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver 1024x768 60 1024 1048 1184 1344 768 771 777 806 65000 flags: nhsync, nvsync; type: driver 800x600 60 800 840 968 1056 600 601 605 628 40000 flags: phsync, pvsync; type: driver 720x576 50 720 732 796 864 576 581 586 625 27000 flags: nhsync, nvsync; type: driver 720x576 50 720 732 796 864 576 581 586 625 27000 flags: nhsync, nvsync; type: driver 720x480 60 720 736 798 858 480 489 495 525 27027 flags: nhsync, nvsync; type: driver 720x480 60 720 736 798 858 480 489 495 525 27027 flags: nhsync, nvsync; type: driver 720x480 60 720 736 798 858 480 489 495 525 27000 flags: nhsync, nvsync; type: driver 720x480 60 720 736 798 858 480 489 495 525 27000 flags: nhsync, nvsync; type: driver 640x480 60 640 656 752 800 480 490 492 525 25200 flags: nhsync, nvsync; type: driver 640x480 60 640 656 752 800 480 490 492 525 25175 flags: nhsync, nvsync; type: driver 640x480 60 640 656 752 800 480 490 492 525 25175 flags: nhsync, nvsync; type: driver props: 1 EDID: flags: immutable blob blobs: value: 00ffffffffffff00412f000001010101 00170103807944780a0dc9a057479827 12484c2108008140a940818081c0a9c0 01010101010104740030f2705a80b058 8a0020c23100001e023a801871382d40 582c4500b9a84200001e000000fd0032 4b1e5023000a202020202020000000fc 005653582d3932330a20202020200158 02034af252909f051420041312110302 1615070601212238097f070f7f071507 503e1ec04d02005706005f7e01677e00 834f00006e030c003200b83c21008001 020304e200ffe3050301023a80187138 2d40582c4500b9a84200001e011d0072 51d01e206e285500b9a84200001e0000 000000000000000000000000000000fb 2 DPMS: flags: enum enums: On=0 Standby=1 Suspend=2 Off=3 value: 0 5 link-status: flags: enum enums: Good=0 Bad=1 value: 0 6 non-desktop: flags: immutable range values: 0 1 value: 0 19 CRTC_ID: flags: object value: 38 CRTCs: id fb pos size 38 67 (0,0) (1920x1080) 1920x1080 24 1920 2558 2602 2750 1080 1084 1089 1125 74176 flags: phsync, pvsync; type: driver props: 20 ACTIVE: flags: range values: 0 1 value: 1 21 MODE_ID: flags: blob blobs: value: c02101008007fe092a0abe0a00003804 3c044104650400001800000005001000 40000000313932307831303830000000 00000000000000000000000000000000 00000000 18 OUT_FENCE_PTR: flags: range values: 0 18446744073709551615 value: 0 Planes: id crtc fb CRTC x,y x,y gamma size possible crtcs 28 0 0 0,0 0,0 0 0x00000001 formats: AB15 AB12 AR15 AR12 BG16 BG24 BA15 BA12 BX24 RG16 RG24 RA12 RA15 RX24 XB24 XR24 NV16 NV12 NV21 NV61 UYVY VYUY YUYV YVYU YU11 YU12 YU16 YU24 YV11 YV12 YV16 YV24 props: 7 type: flags: immutable enum enums: Overlay=0 Primary=1 Cursor=2 value: 0 16 FB_ID: flags: object value: 0 17 IN_FENCE_FD: flags: signed range values: -1 2147483647 value: -1 19 CRTC_ID: flags: object value: 0 12 CRTC_X: flags: signed range values: -2147483648 2147483647 value: 0 13 CRTC_Y: flags: signed range values: -2147483648 2147483647 value: 0 14 CRTC_W: flags: range values: 0 2147483647 value: 0 15 CRTC_H: flags: range values: 0 2147483647 value: 0 8 SRC_X: flags: range values: 0 4294967295 value: 0 9 SRC_Y: flags: range values: 0 4294967295 value: 0 10 SRC_W: flags: range values: 0 4294967295 value: 0 11 SRC_H: flags: range values: 0 4294967295 value: 0 29 zpos: flags: range values: 0 3 value: 0 30 COLOR_ENCODING: flags: enum enums: ITU-R BT.601 YCbCr=0 ITU-R BT.709 YCbCr=1 value: 0 31 COLOR_RANGE: flags: enum enums: YCbCr limited range=0 YCbCr full range=1 value: 0 32 38 67 0,0 0,0 0 0x00000001 formats: AB15 AB12 AB24 AR15 AR12 AR24 BG16 BG24 BA15 BA12 BA24 BX24 RG16 RG24 RA12 RA15 RA24 RX24 XB24 XR24 props: 7 type: flags: immutable enum enums: Overlay=0 Primary=1 Cursor=2 value: 1 16 FB_ID: flags: object value: 67 17 IN_FENCE_FD: flags: signed range values: -1 2147483647 value: -1 19 CRTC_ID: flags: object value: 38 12 CRTC_X: flags: signed range values: -2147483648 2147483647 value: 0 13 CRTC_Y: flags: signed range values: -2147483648 2147483647 value: 0 14 CRTC_W: flags: range values: 0 2147483647 value: 1920 15 CRTC_H: flags: range values: 0 2147483647 value: 1080 8 SRC_X: flags: range values: 0 4294967295 value: 0 9 SRC_Y: flags: range values: 0 4294967295 value: 0 10 SRC_W: flags: range values: 0 4294967295 value: 125829120 11 SRC_H: flags: range values: 0 4294967295 value: 70778880 33 zpos: flags: range values: 0 3 value: 0 34 0 0 0,0 0,0 0 0x00000001 formats: AB15 AB12 AB24 AR15 AR12 AR24 BG16 BG24 BA15 BA12 BA24 BX24 RG16 RG24 RA12 RA15 RA24 RX24 XB24 XR24 props: 7 type: flags: immutable enum enums: Overlay=0 Primary=1 Cursor=2 value: 0 16 FB_ID: flags: object value: 0 17 IN_FENCE_FD: flags: signed range values: -1 2147483647 value: -1 19 CRTC_ID: flags: object value: 0 12 CRTC_X: flags: signed range values: -2147483648 2147483647 value: 0 13 CRTC_Y: flags: signed range values: -2147483648 2147483647 value: 0 14 CRTC_W: flags: range values: 0 2147483647 value: 0 15 CRTC_H: flags: range values: 0 2147483647 value: 0 8 SRC_X: flags: range values: 0 4294967295 value: 0 9 SRC_Y: flags: range values: 0 4294967295 value: 0 10 SRC_W: flags: range values: 0 4294967295 value: 0 11 SRC_H: flags: range values: 0 4294967295 value: 0 35 zpos: flags: range values: 0 3 value: 0 36 0 0 0,0 0,0 0 0x00000001 formats: AB15 AB12 AB24 AR15 AR12 AR24 BG16 BG24 BA15 BA12 BA24 BX24 RG16 RG24 RA12 RA15 RA24 RX24 XB24 XR24 props: 7 type: flags: immutable enum enums: Overlay=0 Primary=1 Cursor=2 value: 0 16 FB_ID: flags: object value: 0 17 IN_FENCE_FD: flags: signed range values: -1 2147483647 value: -1 19 CRTC_ID: flags: object value: 0 12 CRTC_X: flags: signed range values: -2147483648 2147483647 value: 0 13 CRTC_Y: flags: signed range values: -2147483648 2147483647 value: 0 14 CRTC_W: flags: range values: 0 2147483647 value: 0 15 CRTC_H: flags: range values: 0 2147483647 value: 0 8 SRC_X: flags: range values: 0 4294967295 value: 0 9 SRC_Y: flags: range values: 0 4294967295 value: 0 10 SRC_W: flags: range values: 0 4294967295 value: 0 11 SRC_H: flags: range values: 0 4294967295 value: 0 37 zpos: flags: range values: 0 3 value: 0 Frame buffers: id size pitch
It appears to be always the same, regardless of what video file is playing (both BT.709 encoded or not). Color encoding and range always are
Code30 COLOR_ENCODING: flags: enum enums: ITU-R BT.601 YCbCr=0 ITU-R BT.709 YCbCr=1 value: 0 31 COLOR_RANGE: flags: enum enums: YCbCr limited range=0 YCbCr full range=1 value: 0
Tell me if there are other things I could try to help debug this issue.
Edit: On the PC monitor I can get the bars 235 downwards to show, the 16 upwards are still pure black. Again, with latest OE build, same exact TV or monitor settings, just swapping SD card, all files display just fine.
-
Thank you jernej. I can confirm some videos I tested and the calibration test files report being encoded with BT.709 color primaries, transfer characteristics and matrix coefficients in mediainfo. Others that don't indicate BT.709 still display with the wrong range. I'll wait for the fix.
-
I guess your box outputs full range, but your tv expect limited range, that's why clipping occurs. Set full hdmi range on your tv, this setting may be called different depends on tv manufacturer, for example samsung called it Hdmi black level > normal / low
As mentioned in my previous post, this doesn't seem to be the issue. TV settings are correct, and I've tested with a PC monitor as well, setting hdmi input range to limited mode exaggerates contrast even more. Setting 16-235 output mode in kodi settings just makes everything look dull, but blacks and whites are still clipped (now to 16 instead to 0 black level). The GUI is unaffected, as are pictures and thumbnails that display with the correct black/white range. Only video playback has this issue.
Latest old OpenELEC release from jernej tested with same TV and PC monitor does not have this issue.
-
I managed to find time to watch some stuff using this release, and I noticed that the contrast is wrong. Blacks and whites are clipped, with dark scenes in particular being almost unwatchable. I figured it has something to do with output range (limited vs. full 0-255), but changing this option in the settings doesn't fix the issue, it just makes everything look dull, with grayish blacks and whites, but still clipped. Also, only video streams seem to be affected, the UI looks fine (even though posters and thumbnails did look over-contrast as well, so I will do further testing on this).
I tried also changing video settings (brightness and contrast), but these don't work at all when HW scaling is enabled (both EGL mode or Direct To Surface), and with HW scaling disabled I can get decent looking pictures with brightness at 58% and contrast at 42% more or less, but cpu usage is at 100% and I get 10fps maybe, so it's not a feasible solution.
I checked all TV settings which are fine, and tested with another monitor, the problem still remains.
From these attempts I feel like it's some wrong output range conversion within OpenGL/GPU stage or something similar.
Anyone else having a similar issue? I tried looking for answers on kodi's and libreelec forums but all the solutions I found were either not working or not applicable to the hardware.
I'm using the latest image version and updates on an OrangePI Plus 2E. Latest old OpenELEC images from jernej did not appear to have this issue.
I verified the issue is just with video playback layer. GUI output range is correct, images are correct. In video playback anything below 32 is clipped to pure black, anything above 235 is clipped to pure white.
Any suggestions?
-
I managed to find time to watch some stuff using this release, and I noticed that the contrast is wrong. Blacks and whites are clipped, with dark scenes in particular being almost unwatchable. I figured it has something to do with output range (limited vs. full 0-255), but changing this option in the settings doesn't fix the issue, it just makes everything look dull, with grayish blacks and whites, but still clipped. Also, only video streams seem to be affected, the UI looks fine (even though posters and thumbnails did look over-contrast as well, so I will do further testing on this).
I tried also changing video settings (brightness and contrast), but these don't work at all when HW scaling is enabled (both EGL mode or Direct To Surface), and with HW scaling disabled I can get decent looking pictures with brightness at 58% and contrast at 42% more or less, but cpu usage is at 100% and I get 10fps maybe, so it's not a feasible solution.
I checked all TV settings which are fine, and tested with another monitor, the problem still remains.
From these attempts I feel like it's some wrong output range conversion within OpenGL/GPU stage or something similar.
Anyone else having a similar issue? I tried looking for answers on kodi's and libreelec forums but all the solutions I found were either not working or not applicable to the hardware.
I'm using the latest image version and updates on an OrangePI Plus 2E. Latest old OpenELEC images from jernej did not appear to have this issue.
-
Thanks jernej for all the hard work.
I've looked for a way to easily keep up with the updates, but not having found anything, I made a simple bash script to check, download, and install the latest KERNEL and SYSTEM images.
I post it here as an attachment (LibreELEC-H3-update.zip) for anyone interested. USE AND MODIFY AT YOUR OWN RISK!
Also, if there are better solutions already please let me know.