Error on ddraw

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

Error on ddraw

跳至解决方案
2,341 次查看
SteM
Contributor III

Hi all,

iMX51 + WinEC700.

Sometime in the serial log i find these messages:

PID:00400002 TID:080F0E62 ERROR: c:\wince700\platform\common\src\soc\common_fsl_v3\ipuv3\ddraw\ddipu_blt.cpp line 344:

PID:00400002 TID:080F0E62 DDIPU::PatternFill - C2D blt failed.

PID:00400002 TID:080F0E62 ERROR: c:\wince700\platform\common\src\soc\common_fsl_v3\ipuv3\ddraw\ddipu_blt.cpp line 344:

PID:00400002 TID:080F0E62 DDIPU::PatternFill - C2D blt failed.

I don't know exactly the source but my guess is the draw of a scrollbar slider; in fact it is redrawn bad.

Only once I've found:

PID:00400002 TID:08CF01C6 ERROR: c:\wince700\platform\common\src\soc\common_fsl_v3\ipuv3\common\ipubuffer.cpp line 106:

PID:00400002 TID:08CF01C6 VideoMemory is used up.

How can i solve it?

标签 (4)
0 项奖励
回复
1 解答
2,001 次查看
SteM
Contributor III

The correct solution was to select ONLY Z160 module.

This way I have no more errors on the debug output.


在原帖中查看解决方案

0 项奖励
回复
5 回复数
2,001 次查看
king_jin
NXP Employee
NXP Employee

If this issue can be reproduced in MX51 BBG board with WCE7 OS?

0 项奖励
回复
2,001 次查看
SteM
Contributor III

I don't know: i only own our board based on iMX51.

I usually see the messages when the window needs to redraw the lateral scroll bar: so you can see them in the console window or in the explorer when i navigate in \Windows directory (all files visible).

The scroll bar is badly redrawn.

I added the BSP_DISPLAY_Z160 and BSP_DISPLAY_Z340 in the OS project.

0 项奖励
回复
2,001 次查看
imxcommunitysco
Senior Contributor II

Hi ,

DId provide you with correct answers? If yes, please click Correct Answer so that we can close the DI and  could get 4 points.


Thanks,

Yixing Kong

karinavalencia

0 项奖励
回复
2,002 次查看
SteM
Contributor III

The correct solution was to select ONLY Z160 module.

This way I have no more errors on the debug output.


0 项奖励
回复
2,001 次查看
king_jin
NXP Employee
NXP Employee

The Z430 and Z160 supported C2D features are different. When both of them has been set, in platform.reg, the Z160 setting will be active and it will overwrite the Z430 setting. But in IPU display driver dll, it will link lib2dz430k.lib, in this case, some C2D feature will not work because they are only supported in Z160.

  1. Platform.reg:

#if $(bsp_display_z430) == "1"  

[HKEY_LOCAL_MACHINE\Drivers\Display\DDIPU]

   "C2DFlag"=dword:26       ; Flag for c2d

   "C2DThreshold"=dword:64  ; 100

#endif

#if $(bsp_display_z160) == "1"  

[HKEY_LOCAL_MACHINE\Drivers\Display\DDIPU]

   "C2DFlag"=dword:8136     ; Flag for c2d

   "C2DThreshold"=dword:64  ; 100

#endif

SOURCES:

!IF "$(BSP_DISPLAY_Z430)" == "1"

SOURCELIBS= \

    $(SOURCELIBS) \

    $(_PLATCOMMONLIB)\$(_CPUINDPATH)\c2d_ddraw_$(_COMMONSOCDIR).lib \

    $(_TARGETPLATROOT)\SRC\DRIVERS\GPU\LIB\$(_TGTCPU)\lib2dz430k.lib \

!ELSE IF "$(BSP_DISPLAY_Z160)" == "1"

SOURCELIBS= \

    $(SOURCELIBS) \

    $(_PLATCOMMONLIB)\$(_CPUINDPATH)\c2d_ddraw_$(_COMMONSOCDIR).lib \

    $(_TARGETPLATROOT)\SRC\DRIVERS\GPU\LIB\$(_TGTCPU)\lib2dz160k.lib \

!ELSE

SOURCELIBS= \

    $(SOURCELIBS) \

    $(_PLATCOMMONLIB)\$(_CPUINDPATH)\ddraw_$(_COMMONSOCDIR).lib \

!ENDIF   

0 项奖励
回复