screen goes black while mouse move

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

screen goes black while mouse move

1,091件の閲覧回数
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 返答(返信)

972件の閲覧回数
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 件の賞賛
返信

972件の閲覧回数
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 件の賞賛
返信

972件の閲覧回数
igorpadykov
NXP Employee
NXP Employee
0 件の賞賛
返信

972件の閲覧回数
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 件の賞賛
返信