AnsweredAssumed Answered

Qt5.6 eglfs not work correctly with 1366x768 resolution

Question asked by Richard Li on Jun 9, 2017
Latest reply on Jun 12, 2017 by Richard Li

Hi,

 

I use i.MX6Q LVDS0 to display Qt5.6.0 applications, kernel version is based Linux3.0.35_4.1.0, and the resolution of lcd panel is 1366x768.

The lvds is work correctly, and I can see the borderline pixel with 2green, 2red and 2 blue.

 

But in Qt, there are some problems. The display part of Qt environment as follow:

  export QT_QPA_EGLFS_DEPTH='32'
  export QT_QPA_EGLFS_FB='/dev/fb0'

  export QT_QPA_EGLFS_WIDTH='1366'
  export QT_QPA_EGLFS_HEIGHT='768'
  export QT_QPA_EGLFS_MULTISAMPLE='0'
  export QT_QPA_EGLFS_PHYSICAL_HEIGHT='174'
  export QT_QPA_EGLFS_PHYSICAL_WIDTH='309'
  export QT_QPA_EGLFS_SWAPINTERVAL='1'
  export QT_QPA_EGLFS_WIDTH='1366'

 

When I run Qt application, the display is broken at the border part, see the green line of the follow pictures.

 

 

The color of green line area should be white, my question is:

1. Can the imx6q ldb output 1366x768?

2. Is the eglfs support 1366x768 resolution? 

 

Thanks!

Outcomes