Screen tearing on i.MX6 Quad SABRE board

cancel
Showing results for 
Search instead for 
Did you mean: 

Screen tearing on i.MX6 Quad SABRE board

529 Views
florinmaticu
Contributor II

Hello,

I have an application based on the EGL framebuffer API and there is a "screen tearing" effect while running it.

I also have the  FB_MULTI_BUFFER variable set to 2. Setting a value of 3 doesn't make a difference. Also setting a value higher then 4 shows a black screen.

Any suggestions?

Thank you !#

Board: i.MX 6Quad SABRE Development Board|NXP 

Board support package :   Linux 4.9.11_1.0.0 BSP

Labels (4)
0 Kudos
2 Replies

120 Views
florinmaticu
Contributor II

We have checked the test applications and we are facing an  issue with vivante library and our chromium browser running on Sabre SD iMX6QP. Worth to mention that we are using a custom Ozone EGL layer based on vivante framebuffer lib (see code here https://github.com/airtame/ozone-egl/tree/libchromiumcontent_51).

When setting the FB_MULTI_BUFFER to 2 the browser starts and we see artifacts being displayed on the screen. See attached picture.img_20180131_103305693.jpg

When setting FB_MULTI_BUFFER to 4 the browser hangs when vivante’s calling eglSwapBuffers  function  (see in the attached logs Thread 16). See the attached stack trace: https://community.nxp.com/servlet/JiveServlet/download/467915-1-422025/chromium-main-process-stack-t... 

Our environment:

Linux OS : 4.9.11

Vivante libraries : 6.2.2

I also attached EGL trace collected by apitrace when  FB_MULTI_BUFFER is set to 2. We could not retrieve the ones when FB_MULTI_BUFFER is set to 4. https://community.nxp.com/servlet/JiveServlet/download/467915-1-422026/sprocket.fb0.trace.zip 

0 Kudos

120 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi floarian

please try demo images

https://www.nxp.com/webapp/Download?colCode=L4.9.11_1.0.0_MX6QDLSOLOX&appType=license&location=null 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos