Hi,
I've found a way to fix vertical tearing in Qt 4.8 but *only* for GLWidgets.
I had to patch the sources because the method setSwapInterval() was not working for me.
I made the following modification :
- In the file src/plugins/powervr/QWSWSEGL/pvrqwsdrawable.c :
- In the beginning of the pvrQwsSwapBuffers() method :
- Add the folowing line :
ioctl(fd , FBIO_WAITFORVSYNC, 0);
This works great for me, however, as I mentioned, standard widgets still suffer form some tearing. So if somenone knows where else I could use the IOCTL call for the other widgets it would be really appreciated.
By the way, Qt5 with the EGLFS platform works fine for me but I need to apply a screen rotation (portrait mode) to my app so I cannot use it out of the box. I tried to build walyand, qtwalyant and qtwaland-egl, and almost succeded, but it is a real pain to get these thing working...