screen goes black while mouse move

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

screen goes black while mouse move

1,098 次查看
linzhang
Contributor I

a problem of display.

I have done following steps to overlay fb1 on fb0:

1. set the geometry of fb1 to fb0's geometry(ioctl(FBIOPUT_VSCREENINFO)).

2. call ioctl(MXCFB_SET_LOC_ALPHA) on fb1:

    l_alpha.enable = 1;

    l_alpha.alpha_in_pixel = 0;

3. output images to fb1's non-transparent area.

after those, I found that the screen goes black while moving mouse.

if moving stopped, the screen come back, images and controls will display.

how can I fix this bug?

标签 (1)
标记 (3)
0 项奖励
回复
4 回复数

979 次查看
igorpadykov
NXP Employee
NXP Employee

Hi lin

seems there are errors in drivers and one can try to debug them using

AN4553 Using Open Source Debugging Tools for Linux on i.MX Processors

cache.nxp.com/files/32bit/doc/app_note/AN4553.pdf

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

979 次查看
linzhang
Contributor I

and ocassionally, the following erros will be printed repeatedly while moving mouse:

mxc_sdc_fb fb.31: timeout when waiting for flip irq

mxc_sdc_fb fb.31: timeout when waiting for flip irq

mxc_sdc_fb fb.31: timeout when waiting for flip irq

0 项奖励
回复

979 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励
回复

979 次查看
linzhang
Contributor I

I have changed the timeout value from HZ/2 to 4*HZ, but the error still exists。

ret = wait_for_completion_timeout(&mxc_fbi->flip_complete, 4*HZ /*HZ/2*/);

0 项奖励
回复