I am using pygame to draw a GUI on tiny SPI LCD mount as /dev/fb1
via directfb.
Whatever I draw, there is a strange symbol display in center of screen.
If I run df_matrix, the strange symbol does not appear.
If I draw in pygame, then manually open /dev/fb1
, write screen data, the strange symbol does not appear.
So, how to get rid of this annoying symbol?
To isolate the problem, I have tried many solutions, upgrade pygame from 1.9.6 to 2.0.0.dev12, invalid. upgrade sdl1 to sdl2, invalid. recompile and install directfb 1.7.7, invalid. invoke pygame.mouse.set_visible(False), invalid. export SDL_NOMOUSE=1, invalid.
finally, as Kingsley and Cribber suggested, it must be a mouse cursor, so I dig out the right solution:
add no-cursor to /etc/directfbrc