For iMX LTIB linux BSP, the framebuffer console was enabled in "imx5_defconfig" with "CONFIG_FRAMEBUFFER_CONSOLE=y", to run Ubuntu, it is good, but for some frame buffer drawing application, there will be issue, sometimes the frame buffer context will be changed if the kernel or application had called print functions.
To avoid such issue, you need disable the frame buffer console by remove "CONFIG_FRAMEBUFFER_CONSOLE=y".