screen goes black while mouse move

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

screen goes black while mouse move

740 Views
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?

Labels (1)
Tags (3)
0 Kudos
4 Replies

621 Views
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 Kudos

621 Views
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 Kudos

621 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos

621 Views
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 Kudos