yuanguo8 发表于 2019-3-14 20:48:57

RK3399_hdmi分辨率设置不能正确设置

各位大神,我在RK3399上调试 一块3840x720P的屏幕,遇到如下问题,能正确识别edid ,却不能正确设置分辨率。

[   52.749378] status updated from disconnected to connected
[   52.749421] status updated from disconnected to disconnected
[   52.749441] generating hotplug event
[   52.749817] pid=246, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[   52.749844]
[   52.749868]
[   52.974176] Monitor has basic audio support
[   52.974241] HDMI: DVI dual 0, max TMDS clock 300000 kHz
[   52.974261] HDMI-A-1: HDMI sink does deep color 30.
[   52.974280] HDMI-A-1: HDMI sink does deep color 36.
[   52.974300] HDMI-A-1: Assigning HDMI sink color depth as 12 bpc.
[   52.974317] HDMI-A-1: HDMI sink does YCRCB444 in deep color.
[   52.974337] HF-VSDB: max TMDS clock 600000 kHz
[   52.974903] ELD monitor LUPUS
[   52.974931] HDMI: latency present 0 0, video latency 8 1, audio latency 96 3
[   52.974951] ELD size 28, SAD count 1

正确的识别到了显示器信息

[   52.991530] probed modes :
[   52.991569] Modeline 112:"3840x720" 60 211500 3840 4016 4104 4400 720 728 738 800 0x48 0x5支持我这个分辨率
[   52.991602] Modeline 146:"3840x2160" 60 594000 3840 4016 4104 4400 2160 2168 2178 2250 0x40 0x5
[   52.991633] Modeline 164:"3840x2160" 60 593407 3840 4016 4104 4400 2160 2168 2178 2250 0x40 0x5
[   52.991664] Modeline 145:"3840x2160" 50 594000 3840 4896 4984 5280 2160 2168 2178 2250 0x40 0x5
[   52.991695] Modeline 142:"3840x2160" 30 297000 3840 4016 4104 4400 2160 2168 2178 2250 0x40 0x5
[   52.991726] Modeline 162:"3840x2160" 30 296703 3840 4016 4104 4400 2160 2168 2178 2250 0x40 0x5
[   52.991758] Modeline 143:"3840x2160" 25 297000 3840 4896 4984 5280 2160 2168 2178 2250 0x40 0x5
[   52.991789] Modeline 144:"3840x2160" 24 297000 3840 5116 5204 5500 2160 2168 2178 2250 0x40 0x5
[   52.991819] Modeline 163:"3840x2160" 24 296703 3840 5116 5204 5500 2160 2168 2178 2250 0x40 0x5
[   52.991850] Modeline 117:"1920x1080" 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0xa
[   52.991881] Modeline 140:"1920x1080" 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[   52.991912] Modeline 161:"1920x1080" 60 148352 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[   52.991943] Modeline 135:"1920x1080i" 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
[   52.991974] Modeline 158:"1920x1080i" 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
[   52.992005] Modeline 114:"1920x1080" 50 148500 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x5
[   52.992036] Modeline 115:"1920x1080i" 50 74250 1920 2448 2492 2640 1080 1082 1087 1125 0x40 0x15
[   52.992067] Modeline 136:"1920x1080i" 50 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x15
[   52.992098] Modeline 137:"1920x1080" 30 74250 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[   52.992129] Modeline 159:"1920x1080" 30 74176 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[   52.992160] Modeline 138:"1920x1080" 25 74250 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x5
[   52.992319] Modeline 139:"1920x1080" 24 74250 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x5
[   52.992353] Modeline 160:"1920x1080" 24 74176 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x5
[   52.992384] Modeline 118:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
[   52.992415] Modeline 150:"1280x720" 60 74176 1280 1390 1430 1650 720 725 730 750 0x40 0x5
[   52.992446] Modeline 116:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5
[   52.992491] Modeline 119:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
[   52.992522] Modeline 120:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
[   52.992553] Modeline 131:"720x576" 50 27000 720 732 796 864 576 581 586 625 0x40 0xa
[   52.992585] Modeline 129:"720x576i" 50 13500 720 732 795 864 576 580 586 625 0x40 0x101a
[   52.992624] Modeline 155:"720x480" 60 27027 720 736 798 858 480 489 495 525 0x40 0xa
[   52.992662] Modeline 127:"720x480" 60 27000 720 736 798 858 480 489 495 525 0x40 0xa
[   52.992700] Modeline 153:"720x480i" 60 13514 720 739 801 858 480 488 494 525 0x40 0x101a
[   52.992737] Modeline 125:"720x480i" 60 13500 720 739 801 858 480 488 494 525 0x40 0x101a
[   52.992774] Modeline 151:"640x480" 60 25200 640 656 752 800 480 490 492 525 0x40 0xa
[   52.992811] Modeline 122:"640x480" 60 25175 640 656 752 800 480 490 492 525 0x40 0xa
[   52.997681] pid=246, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[   52.997706]
[   52.997995] pid=246, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[   52.998006]
[   52.998017]
[   52.998027] disconnected
[   52.998048] pid=246, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[   52.998056]
[   53.004474] pid=206, dev=0xe200, auth=1, DRM_IOCTL_MODE_SETPROPERTY
[   53.004523] pid=206, dev=0xe200, auth=1, DRM_IOCTL_MODE_SETPROPERTY
[   53.004564] pid=206, dev=0xe200, auth=1, DRM_IOCTL_MODE_ATOMIC
[   53.004578] Allocated atomic state ffffffc0dc049980
[   53.004594] Added ffffffc0e5ba8000 state to ffffffc0dc049980
[   53.004612] Added ffffffc0e5ba9000 state to ffffffc0dc049980
[   53.004626] Added ffffffc0dc049c00 state to ffffffc0dc049980
[   53.004636] Link connector state ffffffc0dc049c00 to
[   53.004648] Added ffffffc0dc049f80 state to ffffffc0dc049980
[   53.004656] Link connector state ffffffc0dc049f80 to
[   53.004665] checking ffffffc0dc049980
[   53.004678] Updating routing for
[   53.004686] Disabling
[   53.004695] Updating routing for
[   53.004702] Disabling
[   53.004730] commiting ffffffc0dc049980
[   53.004758] Clearing atomic state ffffffc0dc049980
[   53.004772] Freeing atomic state ffffffc0dc049980
[   53.004846] pid=206, dev=0xe200, auth=1, DRM_IOCTL_MODE_ATOMIC
[   53.004858] Allocated atomic state ffffffc0dc049980
[   53.004870] Added ffffffc0dc049580 state to ffffffc0dc049980
[   53.004880] checking ffffffc0dc049980
[   53.004889] Updating routing for
[   53.004897] Disabling
[   53.004905] commiting ffffffc0dc049980
[   53.004917] Clearing atomic state ffffffc0dc049980
[   53.004925] Freeing atomic state ffffffc0dc049980
[   53.005901] pid=206, dev=0xe280, auth=0, ROCKCHIP_GEM_CREATE
[   53.014330] rockchip_gem_get_pages, 203, end = 2700, n_pages = 2700
[   53.015670] pid=247, dev=0xe200, auth=1, DRM_IOCTL_WAIT_VBLANK
[   53.015689] enabling vblank on crtc 0, ret: -1
[   53.015699] failed to acquire vblank counter, -1
[   53.015710] ret = -1
[   53.016780] pid=206, dev=0xe280, auth=0, DRM_IOCTL_PRIME_HANDLE_TO_FD
[   53.016825] pid=206, dev=0xe280, auth=0, ROCKCHIP_GEM_MAP_OFFSET
[   53.016838] offset = 0x103600000
[   53.032335] pid=247, dev=0xe200, auth=1, DRM_IOCTL_WAIT_VBLANK
[   53.032363] enabling vblank on crtc 0, ret: -1
[   53.032373] failed to acquire vblank counter, -1
[   53.032382] ret = -1
[   53.040576] pid=206, dev=0xe200, auth=1, DRM_IOCTL_PRIME_FD_TO_HANDLE
[   53.040635] pid=206, dev=0xe200, auth=1, DRM_IOCTL_MODE_ADDFB2
[   53.040663]
[   53.040677] pid=206, dev=0xe200, auth=1, DRM_IOCTL_GEM_CLOSE
[   53.040742] pid=206, dev=0xe200, auth=1, DRM_IOCTL_PRIME_FD_TO_HANDLE
[   53.040763] pid=206, dev=0xe200, auth=1, DRM_IOCTL_MODE_ADDFB2
[   53.040776]
[   53.040789] pid=206, dev=0xe200, auth=1, DRM_IOCTL_GEM_CLOSE
[   53.041819] pid=206, dev=0xe200, auth=1, DRM_IOCTL_MODE_CREATEPROPBLOB
[   53.041855] pid=206, dev=0xe200, auth=1, DRM_IOCTL_MODE_SETPROPERTY
[   53.041914] pid=206, dev=0xe200, auth=1, DRM_IOCTL_MODE_ATOMIC
[   53.041931] Allocated atomic state ffffffc0bde4c280
[   53.041953] Added ffffffc0e9cd4000 state to ffffffc0bde4c280
[   53.041970] ffffffc0dca35180: blob ID: 123 (3)
[   53.041980] Set for CRTC state ffffffc0e9cd4000   为什么给我设置成了1920x1080p
[   53.041990] ffffffc0dca35180: blob ID: 123 (4)
[   53.042000] ffffffc0dca35180: blob ID: 123 (3)

我的目的就是要让他支持3840x720 .哪怕写死也行。。。求大神解答感激不尽

陕西新泰航空 发表于 2019-6-28 09:24:14

同上呀,求大神解决

碎碎♀念 发表于 2019-12-24 17:02:38

需要打补丁,楼主加我QQ 704047449,HDMI有些问题请教你一下
页: [1]
查看完整版本: RK3399_hdmi分辨率设置不能正确设置