Closed yanghanxing closed 7 years ago
The first problem: We can't find on our box. Please make sure HDMI connected when power on , Is it only one resultion in display setting?
The second problem: We can provide a patch to you .Please try and reply result to me.
1.if i plug to the 1080p AVR -> 4KTV monitor -> (get only a 800x600 resolution) this problem ,pls try this patch below
arch/arm64/boot/dts/rockchip/rk3328-evb.dts
&hdmi {
#sound-dai-cells = <0>;
+ ddc-i2c-scl-high-time-ns = <9625>;
+ ddc-i2c-scl-low-time-ns = <10000>;
status = "okay";
};
Applies both patches :
i still get only one mode available
PlexMediaPlayer:~ # cat /sys/class/drm/card0-HDMI-A-1/mode
800x600p60
still getting a black screen
please send the each log to us
系统产品一部 杨汉兴
E-mail:yhx@rock-chips.com
手 机:18059046979
电 话:0591-83991906-8580
公 司:福州瑞芯微电子股份有限公司
地 址:福建省福州市铜盘路软件大道89号软件园A区20号楼
From: Lionel CHAZALLON Date: 2017-06-14 13:05 To: Kwiboo/linux-rockchip CC: Hans Yang; Author Subject: Re: [Kwiboo/linux-rockchip] RK3328: HDMI issues (#11) Applies both patches : i still get only one mode available PlexMediaPlayer:~ # cat /sys/class/drm/card0-HDMI-A-1/mode 800x600p60
still getting a black screen — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Here are the logs :
Also on both tests i checked :
PlexMediaPlayer:~ # cat /sys/class/drm/card0-HDMI-A-1/mode
800x600p60
I am not 100% sure that the 1080p monitor supports 800x600, so could be that it can't use that mode on the 1080p screen and then gives a black screen.
Hi
Please use attachment patch test, In this patch, i add some edid error log, and list common HDMI mode if reading edid is failed. Please test and send us the kernel log. 2.txt
Hi @yzheng2012
Here is a log with your patch applied. Was used with AVR + 4KTV.
kernel.avr.4Ktv.txt [EDIT : i updated the log file, was the wrong one]
@yzheng2012, I updated the logfile above, make sure you use the right one :)
@LongChair, I can not find any edid reading in the log ,such as "failed to get edid". Please update log file again. With this patch, AVR + 4K TV, How many mode in the modes node? cat /sys/class/drm/card0-HDMI-A-1/modes
Here is the log again with RK3288 box -> AVR -> 4KTV
it still lists only one mode :
PlexMediaPlayer:~ # cat /sys/class/drm/card0-HDMI-A-1/modes
800x600p60
Is the patch properly patched? I can not find any log I added. The right log should have following message: [ 0.455686] dw_hdmi_i2c_read length 1 [ 0.456863] dw_hdmi_i2c_read length 128 [ 0.561389] dw_hdmi_i2c_read length 128 [ 3.814426] dw_hdmi_i2c_read length 1 [ 3.821079] dw_hdmi_i2c_read length 128 [ 3.955850] dw_hdmi_i2c_read length 128
yeah i checked the kernel code to see if patch was applied and it is. I suppose that if we don't get those logs, it means that we don't get up to this code :)
@yzheng2012 @yanghanxing : I rebuild my full LE tree and now both of the dts patches & code one above seem to fix the issue.
apologies for the misleading wrong testing.
@yanghanxing : can this be merged to release-4.4
branch ? :)
@yzheng2012 , by the way the issue https://github.com/Kwiboo/linux-rockchip/issues/15 is related to HDMI system as well. could you have a look ? :)
@yzheng2012 Please help @LongChair confirm this problem.
When I connect my RK3328 box to the 4K display i have which supports 4K@60 modes, i can't seem to get that mode.
The following modes will be listed :
cat /sys/class/drm/card0-HDMI-A-1/modes 4096x2160p30 4096x2160p30 4096x2160p25 4096x2160p24 4096x2160p24 3840x2160p30 3840x2160p30 3840x2160p25 3840x2160p24 3840x2160p24 1920x1080p60 1920x1080p60 1920x1080i60 1920x1080i60 1920x1080p50 1920x1080i50 1920x1080i48 1920x1080p30 1920x1080p30 1920x1080p25 1920x1080p24 1920x1080p24 1280x720p60 1280x720p60 1280x720p50 800x600p60 720x576p50 720x576i50 720x480p60 720x480i60 I grabbed the edid from :
hexdump /sys/class/drm/card0-HDMI-A-1/edid 0000000 ff00 ffff ffff 00ff b358 3700 0000 0000 0000010 1901 0301 5f80 7836 cf0a a374 4c57 23b0 0000020 4809 af4c 80ef 00b3 0095 40a9 4090 0081 0000030 8081 4081 0101 e808 3000 70f2 805a 58b0 0000040 008a 1d50 0074 1e00 3a02 1880 3871 402d 0000050 2c58 0045 1d50 0074 1e00 0000 fc00 3400 0000060 5533 4448 4c5f 4443 545f 0a56 0000 fd00 0000070 3000 0f3e 3c46 0a00 2020 2020 2020 c301 0000080 0302 f147 015c 0706 0302 1615 1211 0413 0000090 0514 901f 2120 5d22 5f5e 6160 6362 6564 00000a0 2c66 0709 1507 5007 063f 57c0 0006 0183 00000b0 0000 036e 000c 0020 3cf8 0020 0480 0203 00000c0 e501 000f 6000 010c 801d 733e 2d38 7e40 00000d0 452c 0080 52d0 0000 011e 801d 72d0 2d1c 00000e0 1020 252c 0080 52d0 0000 009e 0000 0000 00000f0 0000 0000 0000 0000 0000 0000 0000 f800 0000100
For the former issue it's fine, we consider it fixed, just waiting for it ti be merged to Github. will clos it once it's done :)
The 4K@60 fps issue is still there but i made another issue for it https://github.com/Kwiboo/linux-rockchip/issues/15
closing that one as it's been merged https://github.com/Kwiboo/linux-rockchip/issues/15 is still an issue, but lets handle it there.
@yzheng2012 Please confirm this issue: https://github.com/Kwiboo/linux-rockchip/issues/15
1.if i plug to the 1080p AVR -> 4KTV monitor -> (get only a 800x600 resolution) 2.if i plug to the 1080p AVR -> 1080p Monitor -> ( have a black screen, no signal )