Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 148998

Forum Post: RE: AM335x EVM tearing

$
0
0

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...

 

      


Viewing all articles
Browse latest Browse all 148998

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>