导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    请教HDMI液晶屏(800x480)的参数设置问题

    MR Series
    1
    1
    1189
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • zhongtao1701
      钟工 LV 7 最后由 zhongtao1701 编辑

      硬件平台mq-pro, 软件tina-linux
      1) 一台支持HDMI显示器
      2)一块HDMI液晶屏,支持800x480分辨率下面是它的连接
      https://item.taobao.com/item.htm?spm=a1z09.2.0.0.77dd2e8dU1iETV&id=646568908641&_u=21njr0q8040

      软件上电默认是模式2 (720x480P),在HDMI显示器可以看到小企鹅,填充/dev/fb0内容可以看到变化

      但是接到HDMI液晶屏上,屏可以点亮,但是只是呈现一片白色,填充/dev/fb0无变化
      可能是参数的问题,分别读出EDID和解码如下:

      HDMI显示器EDID

      edid-decode (hex):

      00 ff ff ff ff ff ff 00 58 d6 32 bc 01 01 01 01
      09 1a 01 03 80 22 13 78 3e ee 91 a3 54 4c 99 26
      0f 50 54 01 08 00 d1 c0 01 01 01 01 01 01 01 01
      81 80 01 01 81 c0 02 3a 80 18 71 38 2d 40 58 2c
      25 00 58 c1 10 00 00 1e 00 00 00 fc 00 56 46 56
      0a 20 20 20 20 20 20 20 20 20 00 00 00 ff 00 64
      65 6d 6f 73 65 74 2d 31 0a 20 30 20 00 00 00 fd
      00 32 4b 54 54 13 01 0a 20 20 20 20 20 20 01 7f

      02 03 24 f2 41 04 e2 00 d5 e3 05 c0 00 23 09 7f
      07 83 01 00 00 67 03 0c 00 10 00 38 3c e6 06 05
      01 62 62 00 02 3a 80 18 71 38 2d 40 58 2c 25 00
      55 50 21 00 00 1e 00 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e4


      Block 0, Base EDID:
      EDID Structure Version & Revision: 1.3
      Vendor & Product Identification:
      Manufacturer: VFV
      Model: 48178
      Serial Number: 16843009
      Made in: week 9 of 2016
      Basic Display Parameters & Features:
      Digital display
      Maximum image size: 34 cm x 19 cm
      Gamma: 2.20
      DPMS levels: Off
      Undefined display color type
      Default (sRGB) color space is primary color space
      First detailed timing is the preferred timing
      Color Characteristics:
      Red : 0.6396, 0.3300
      Green: 0.2998, 0.5996
      Blue : 0.1503, 0.0595
      White: 0.3125, 0.3291
      Established Timings I & II:
      DMT 0x09: 800x600 60.316541 Hz 4:3 37.879 kHz 40.000000 MHz
      DMT 0x10: 1024x768 60.003840 Hz 4:3 48.363 kHz 65.000000 MHz
      Standard Timings:
      DMT 0x52: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz
      DMT 0x23: 1280x1024 60.019740 Hz 5:4 63.981 kHz 108.000000 MHz
      DMT 0x55: 1280x720 60.000000 Hz 16:9 45.000 kHz 74.250000 MHz
      Detailed Timing Descriptors:
      DTD 1: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz (344 mm x 193 mm)
      Hfront 88 Hsync 44 Hback 148 Hpol P
      Vfront 2 Vsync 5 Vback 38 Vpol P
      Display Product Name: 'VFV'
      Display Product Serial Number: 'demoset-1'
      Display Range Limits:
      Monitor ranges (Bare Limits): 50-75 Hz V, 84-84 kHz H, max dotclock 190 MHz
      Extension blocks: 1
      Checksum: 0x7f


      Block 1, CTA-861 Extension Block:
      Revision: 3
      Underscans IT Video Formats by default
      Basic audio support
      Supports YCbCr 4:4:4
      Supports YCbCr 4:2:2
      Native detailed modes: 2
      Video Data Block:
      VIC 4: 1280x720 60.000000 Hz 16:9 45.000 kHz 74.250000 MHz
      Video Capability Data Block:
      YCbCr quantization: Selectable (via AVI YQ)
      RGB quantization: Selectable (via AVI Q)
      PT scan behavior: Always Overscanned
      IT scan behavior: Always Overscanned
      CE scan behavior: Always Overscanned
      Colorimetry Data Block:
      BT2020YCC
      BT2020RGB
      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
      Speaker Allocation Data Block:
      FL/FR - Front Left/Right
      Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
      Source physical address: 1.0.0.0
      DC_36bit
      DC_30bit
      DC_Y444
      Maximum TMDS clock: 300 MHz
      HDR Static Metadata Data Block:
      Electro optical transfer functions:
      Traditional gamma - SDR luminance range
      SMPTE ST2084
      Supported static metadata descriptors:
      Static metadata type 1
      Desired content max luminance: 98 (417.710 cd/m^2)
      Desired content max frame-average luminance: 98 (417.710 cd/m^2)
      Desired content min luminance: 0 (0.000 cd/m^2)
      Detailed Timing Descriptors:
      DTD 2: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz (597 mm x 336 mm)
      Hfront 88 Hsync 44 Hback 148 Hpol P
      Vfront 2 Vsync 5 Vback 38 Vpol P
      Checksum: 0xe4 Unused space in Extension Block: 73 bytes


      Preferred Video Timing if only Block 0 is parsed:
      DTD 1: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz (344 mm x 193 mm)
      Hfront 88 Hsync 44 Hback 148 Hpol P
      Vfront 2 Vsync 5 Vback 38 Vpol P


      Preferred Video Timings if Block 0 and CTA-861 Blocks are parsed:
      DTD 1: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz (344 mm x 193 mm)
      Hfront 88 Hsync 44 Hback 148 Hpol P
      Vfront 2 Vsync 5 Vback 38 Vpol P
      VIC 4: 1280x720 60.000000 Hz 16:9 45.000 kHz 74.250000 MHz
      Hfront 110 Hsync 40 Hback 220 Hpol P
      Vfront 5 Vsync 5 Vback 20 Vpol P


      Native Video Resolution:
      1920x1080


      edid-decode SHA: 2d44e1b01c7e 2023-03-11 18:21:51

      Warnings:

      Block 0, Base EDID:
      Detailed Timing Descriptor #1: DTD is similar but not identical to VIC 16.
      Block 1, CTA-861 Extension Block:
      Video Capability Data Block: IT scan behavior is expected to support underscanned.
      Video Capability Data Block: S_PT is equal to S_IT and S_CE, so should be set to 0 instead.
      Detailed Timing Descriptor #2: DTD is similar but not identical to VIC 16.
      Display Product Serial Number is set, so the Serial Number in the Base EDID should be 0.
      EDID:
      CTA-861: Multiple native progressive timings are defined.

      Failures:

      Block 0, Base EDID:
      Display Range Limits: 'Bare Limits' is not allowed for EDID < 1.4.
      Block 1, CTA-861 Extension Block:
      Video Capability Data Block: IT video formats are always overscanned, but bit 7 of Byte 3 of the CTA-861 Extension header is set to underscanned.
      Detailed Timing Descriptor #2: Mismatch of image size 597x336 mm vs display size 340x190 mm.
      Required 640x480p60 timings are missing in the established timings and the SVD list (VIC 1).
      EDID:
      Base EDID: Some timings are out of range of the Monitor Ranges:
      Horizontal Freq: 37.878 - 67.500 kHz (Monitor: 84.000 - 84.000 kHz)
      Base EDID: The DTD max image size is 597x336mm, which is larger than the display size 340.0x190.0mm.

      EDID conformity: FAIL

      HDMI液晶屏 EDID

      edid-decode (hex):

      00 ff ff ff ff ff ff 00 04 81 04 00 01 00 00 00
      01 11 01 03 80 0f 0a 00 0a 00 00 00 00 00 00 00
      00 00 00 00 00 00 01 01 01 01 01 01 01 01 01 01
      01 01 01 01 01 01 80 0c 20 80 30 e0 2d 10 28 30
      d3 00 6c 44 00 00 00 18 00 00 00 10 00 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 00 00 10 00 00
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 17


      Block 0, Base EDID:
      EDID Structure Version & Revision: 1.3
      Vendor & Product Identification:
      Manufacturer: ADA
      Model: 4
      Serial Number: 1
      Made in: week 1 of 2007
      Basic Display Parameters & Features:
      Digital display
      Maximum image size: 15 cm x 10 cm
      Gamma: 1.00
      RGB color display
      First detailed timing is the preferred timing
      Color Characteristics:
      Red : 0.0000, 0.0000
      Green: 0.0000, 0.0000
      Blue : 0.0000, 0.0000
      White: 0.0000, 0.0000
      Established Timings I & II: none
      Standard Timings: none
      Detailed Timing Descriptors:
      DTD 1: 800x480 65.681445 Hz 5:3 34.483 kHz 32.000000 MHz (108 mm x 68 mm)
      Hfront 40 Hsync 48 Hback 40 Hpol N
      Vfront 13 Vsync 3 Vback 29 Vpol N
      Dummy Descriptor:
      Dummy Descriptor:
      Dummy Descriptor:
      Checksum: 0x17


      Preferred Video Timing if only Block 0 is parsed:
      DTD 1: 800x480 65.681445 Hz 5:3 34.483 kHz 32.000000 MHz (108 mm x 68 mm)
      Hfront 40 Hsync 48 Hback 40 Hpol N
      Vfront 13 Vsync 3 Vback 29 Vpol N


      Native Video Resolution:
      800x480


      edid-decode SHA: 2d44e1b01c7e 2023-03-11 18:21:51

      Failures:

      Block 0, Base EDID:
      Detailed Timing Descriptor #1: Mismatch of image size 108x68 mm vs display size 150x100 mm.
      Missing Display Product Name.
      Missing Display Range Limits Descriptor.

      EDID conformity: FAIL


      哪位大侠熟悉EDID参数,能够指点一下,可以调整哪些参数使得能够适应这个液晶屏, 谢谢了。

      cd /sys/kernel/debug/dispdbg
      echo disp0 > name
      echo switch1 > command
      echo 4 5 0 0 0x4 0x101 0 0 0 8 > param
      echo 1 > start

      1 条回复 最后回复 回复 引用 分享 0
      • 1 / 1
      • First post
        Last post

      Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策