mxc_ipu mxc_ipu: IPU Error - IPU_INT_STAT_10 = 0x00080000

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

mxc_ipu mxc_ipu: IPU Error - IPU_INT_STAT_10 = 0x00080000

10,017 次查看
sidebranch
Contributor II

What can cause this error message?

mxc_ipu mxc_ipu: IPU Error - IPU_INT_STAT_10 = 0x00080000

[INFO]# VPU test program built on Jan 11 2012 14:11:37lt_F1_Team_3DMovie.h264 -f2
[INFO]    Product Info: i.MX53
[INFO]    VPU firmware version: 1.4.48
[INFO]    VPU library version: 5.3.2
[INFO]    Format: STD_AVC
[INFO]    Input file "/tmp/sd/test.h264" opened.
[INFO]    H.264 Profile: 100 Level: 32 Interlace: 0
[INFO]    aspect_ratio_idc: 1
[INFO]    Decoder: width = 1920, height = 544, fps = 0, count = 6
[INFO]    CROP left/top/right/bottom 0 0 1920 540
[INFO]    Display fps will be 0
[INFO]    Display to 1920 1080, top offset 0, left offset 0
mxc_ipu mxc_ipu: Channel already disabled 10
mxc_ipu mxc_ipu: Channel already uninitialized 10
mxc_ipu mxc_ipu: Channel already disabled 10
mxc_ipu mxc_ipu: Channel already uninitialized 10
mxc_ipu mxc_ipu: IPU Error - IPU_INT_STAT_10 = 0x00080000

It occurs during display, generates a black screen for a while. The video does play, but sometimes the screen remains black for 1 to 2 seconds, at seemingly random times.

Regards,

Leon

标签 (1)
标记 (2)
11 回复数

3,367 次查看
maheshmahadeva1
NXP Employee
NXP Employee

Have you tried the below patch:

http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/commit/?h=imx_2.6.35_11.09.01&id=bc81590...

Also need to add "dmfc=3" to the u-boot command line, below is what I used:

MX53-LOCO U-Boot > sete bootargs_mmc 'setenv bootargs ${bootargs} console=tty1 root=/dev/mmcblk0p1 rootwait rw video=mxcdi0fb:RGB24,1920x1080M@60 hdmi di0_primary dmfc=3'

3,367 次查看
marcog
Contributor I

I have got excactly the same issue on imx51.

I have tried both the dmfc option and the kernel patch, but with no success.

Does anyone have a solution?

0 项奖励
回复

3,367 次查看
Yuri
NXP Employee
NXP Employee

Please pay attention on section 42.3.12.3 (Interrupt Generator) of the i.MX51 Reference Manual :
"Table 42-434 describes the error interrupts. The panic column indicates if this signal is part of the logic

generating the ipu_panic signal. The ipu_panic signal can be used for indicating about errors that are result

of data rate problems. Such problems may be a result of the IPUv3EX running in slower clock then

required by the use case. This signal can be used in order to indicate the system that the IPUv3EX can’t

handle the desired data rate. In that case the system may need to increase the clock to the IPUv3EX or

simplify the use case."


So, often the problem relates to  performance issue. Please try to decrease screen resolution and / or

frame rate. Also, other system resource consuming processes, such as USB / SD / SATA

transfer, may affect. As result a general performance issue may take place in the case.

Perhaps it makes sense to try system prioritization (such as provided by Linux nice command).

3,367 次查看
marcog
Contributor I

In my case the problem seems to appear when I play the video and at the same time I use the X server library. I need it to display a moving banner at the bottom of the screen (I use XCopyArea and XSync ).

If i don't use X the problem does not appear.

But the system has a lot of idle time! More than 50%!

0 项奖励
回复

3,367 次查看
Yuri
NXP Employee
NXP Employee

Looks like the system (in whole) is not overloaded, but :

1) I have some doubt if IPU activity is reflected in system statistics ;
2) the issue may relate to peak load of the IPU.

0 项奖励
回复

3,367 次查看
marcog
Contributor I

i have found the problem.

I am using linux kernel 2.6.31 and I need the following patch:

ENGR00133034 ipuv3: fix black flash issue during high resolution video playback

if I apply this patch to my kernel rgb framebuffer doesn't work ....but the video play now is ok!

Anyone can help me?

0 项奖励
回复

3,367 次查看
woutervh
Contributor IV

I applied this patch (kindof, as the 2.6.35 maintain-branch was not fully applicable).

Basically, I added only

/*
* non-interleaving format need enlarge burst size
* to work-around black flash issue.
*/
if (((dma_chan == 23) || (dma_chan == 27) || (dma_chan == 28))
&& ((pixel_fmt == IPU_PIX_FMT_YUV420P) ||
(pixel_fmt == IPU_PIX_FMT_YUV420P2) ||
(pixel_fmt == IPU_PIX_FMT_YVU422P) ||
(pixel_fmt == IPU_PIX_FMT_YUV422P) ||
(pixel_fmt == IPU_PIX_FMT_NV12))) {
_ipu_ch_param_set_burst_size(dma_chan, 64);
} else {
_ipu_ch_param_set_burst_size(dma_chan, 32);
}

where this patch applied (as most of it had already be done in _ipu_dmfc_set_burst_size).

This indeed fixes the black flashes + eventually complete black-out of the display I had on my imx53 and video itself is playing fine. However, I have issues with my normal x-content. It's as the screen is doubled and shifted to the right with some 20 pixels... So video looks good, x is shifted.

Any idea?

0 项奖励
回复

3,366 次查看
jojorong
Contributor IV

Hi, i met this issue also, have you fixed this issue in the yocto branch dora ? and where is your patch ?

thanks

0 项奖励
回复

3,367 次查看
maheshmahadeva1
NXP Employee
NXP Employee

Dora should include the patch that was mentioned.

Best regards,

-Mahesh

0 项奖励
回复

3,367 次查看
jojorong
Contributor IV

i met this issue in dora branch in 1080P with operation of X server that was mentioned by "marcog ", are your sure this issue has fixed in dora ?

0 项奖励
回复

3,367 次查看
SamayaLin
Contributor I

I have the same problem, it seems that only happened when the screen resolution is 1920x1080. The problem seems gone if resolution down to 1280x720. Is there anybody know how to fix this issue ?

0 项奖励
回复