This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x - Screen Tearing issue

Other Parts Discussed in Thread: AM3354

Hi, 

We are facing the Tearing issue in our custom board.Below is the environment setup,

Board: Custom made 

Processor: AM3354 

SDK: 7

Linux :3.12 

Application: QT5.3 

We have edited  the /etc/powervr.ini for avoiding the tearing screen

 "libpvrPVR2D_FRONTWSEGL.so.1" to "libpvrPVR2D_FLIP,WSEGL.so.1"

With above change not seeing tearing issue but other QT application like browser and custom made QT application are executing. 

Please help on this. 

Regards

Durai

  • Hi,

    I will forward this to the LCD experts.
  • Can you please clarify the behaviour of applicationwhen with libpvrPVR2D_FLIP,WSEGL.so.1"?

    <With above change not seeing tearing issue but other QT application like browser and custom made QT application are executing>

    Did you mean to say above that you still see tearing with QT applications like browser using flip mode?

    Regards,

    Manisha

  • Hi Manisha, 

    Thanks for reply, The below is the our observation,

    with libpvrPVR2D_FRONTWSEGL.so.1 - Tearing happen and QT application is running. 

    with libpvrPVR2D_FLIP,WSEGL.so.1    - Tearing Disappeared but QT application is not running. 

    Regards

    Durai

  • We have tried the same with the latest Processor SDK Linux AM335x (1.0.0.3) release and both SGX demo and Qt5.4 examples work at both FRONT and FLIP mode. Please give this a try and let us know if it resolved the problem at your end.

  • Hi Manisha, 

    Thanks for your reply, Sorry I think I'm not explained the my issue clearly, Below is my actual problem with QT5.3 

    We have faced the tearing issue with QT5.3 so edited the /etc/power.ini/   like below

    WindowSystem=libpvrPVR2D_FLIPWSEGL.so.1

    With above Configuration the tearing issue is disappeared.

    We have downloaded the QT serial port example from below link 

     

    We took the following example code 

    qtserialport-opensource-src-5.3.2\examples\serialport\master\dialog.cpp 

    Added the following system call in "send request function and compiled.

    system("./browser"); 

    Ran the executable and press the "send request button" and it  throws below error

    "could not create the egl surface error = 0x3001" 

    The same call if we are using in main Dialog window  browser is opening and working. 

    However if we use the FRONT mode there is no issue but tearing is happening. 

    The problem in the flip mode is if we call the system call in inside any push button the external application is not running. 

    Please help on this 

    Please find the attached files for your reference. 

    dialog.txt.cpp

    Regards

    Durai

     

     

  • This limitation is coming from FLIP mode. It doesn't support multiple windows on QT version 5.x as QWS is no longer supported. Using wayland weston will help resolve the problem. AM335x processor SDK will soon have Wayland/weston support.