IMX6 长时间播放1080P 中途停止

时间:2022-08-18 15:54:22

原因还是 播放视频导致芯片温度过高。用IMX6播放720P测试芯片温度竟然能叨叨81度,一般是七十多度。晚点加上散热片测试。

下面是搜的两篇有关的文章。


https://github.com/rabeeh/android-imx6-kitkat/blob/master/device/fsl.git/0256-ENGR00283505-fix-HDMI-display-lost-issue-when-chip-t.patch


From ec7220afdcf2c0bbf9a8cd31ee4fdcd3684564de Mon Sep 17 00:00:00 2001
From: Richard Liu <r66033@freescale.com>
Date: Tue, 15 Oct 2013 16:44:18 +0800
Subject: [PATCH 256/310] ENGR00283505 fix HDMI display lost issue when chip
too hot
HDMI display lost when do long time 1080p recording,
root cause is IPU report error when chip too hot and
gpu downgrade clock to 1/64, fix by set the minimum
gpu 3D clock to 3/64.
IPU error log:
W/imx6.gralloc( 2360): FBIOPAN_DISPLAY failed: Connection timed out
mxc_sdc_fb mxc_sdc_fb.0: timeout when waiting for flip irq
Signed-off-by: Richard Liu <r66033@freescale.com>
---
imx6/etc/init.rc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/imx6/etc/init.rc b/imx6/etc/init.rc
index 750b868..2ccded6 100755
--- a/imx6/etc/init.rc
+++ b/imx6/etc/init.rc
@@ -414,6 +414,9 @@ on boot
# Enable adb security for JB4.2.2
setprop ro.adb.secure 1
+# Set GPU 3D minimum clock to 3/64
+ write /sys/module/galcore/parameters/gpu3DMinClock 3
+
# set this to not let jni check crash, just warnning message.
setprop dalvik.vm.jniopts warnonly
--
1.8.0

https://community.freescale.com/message/378788#378788

Hi,

 

We have an issue about IPU error, when we try to play two 1080p videos at the same time on i.MX6 Android product.

 

[Reproduce steps]

1. Play two 1080p @ 30fps videos with Uptmate APK.

2. Check the temperature on the device.

 

[Symptom]

When the temperature is over system hot limitation (90 C), it starts to downgrade GPU & CPU working frequency.

However, IPU error is coming subsequently.

Then, the screen is blocked. Framebuffer cannot be updated anymore.


[Kernel log]

System is too hot. GPU3D will work at 1/64 clock.

thermal_notify: trip_hot reached!

cooling: cpu cur freq is 996000000

cooling: cpu max freq set to 792000000

imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x00080000

imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_5 = 0x00800000

mxc_sdc_fb mxc_sdc_fb.0: timeout when waiting for flip irq

mxc_sdc_fb mxc_sdc_fb.0: timeout when waiting for flip irq

mxc_sdc_fb mxc_sdc_fb.0: timeout when waiting for flip irq

mxc_sdc_fb mxc_sdc_fb.0: timeout when waiting for flip irq

mxc_sdc_fb mxc_sdc_fb.0: timeout when waiting for flip irq

mxc_sdc_fb mxc_sdc_fb.0: timeout when waiting for flip irq

 

[Expected result]

We think the thermal protect mechanism should not cause IPU crashed.

Please help to investigate this issue.

 

Thanks,

Daniel

IMX6 长时间播放1080P 中途停止正确答案作者: Daniel Hung 开启 2014-2-17 下午8:47

Chris, thank you!

 

Althought I fail to patch the GPU 12 on Android 4.2.2_1.0.0, this issue can be solved by setting the minimum GPU clock to 3.

I only apply the following patch from BSP 1.1.0.

5716-ENGR00265465-gpu-Add-global-value-for-minimum-3D-clo.patch