the question is about linux framebuffer, the graphic is tearing.
recently i work for the output desktop to SDI graphic card, then i catch the idea that using framebuffer. That's ok, it output success, but it has a big problem, the graphic is tearing. i want use the FBIO_WAITFORVSYNC and FBIOPAN_DISPLAY to resolve it, but both of them return -1. ioctl(fd, FBIO_WAITFORVSYNC, 0) errno: 25 (Inappropriate ioctl for device) ioctl(fb, FBIOPAN_DISPLAY, &vi) ,errno: 22 (invalid argument)
the OS i using is Ubuntu 12.04, after install the fbset, i find both of ioctl command is including in the fb.h. now the problem is how to get FBIO_WAITFORVSYNC and FBIOPAN_DISPLAY work well. has some suggestion?