Qt5.6 eglfs not work correctly with 1366x768 resolution

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Qt5.6 eglfs not work correctly with 1366x768 resolution

1,222 Views
Wizard_Richard
Contributor II

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.

IMG_20170609_160715_2017-06-09_16_33_40.jpg

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.

IMG_20170609_160627_2017-06-09_16_32_43.jpg

 

IMG_20170609_160531_2017-06-09_16_34_24.jpg

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!

Labels (2)
0 Kudos
2 Replies

743 Views
igorpadykov
NXP Employee
NXP Employee

Hi Richard

you are right, there may be issues with  IPU and GPU because that resolution
is not multiple of 8. There are some threads which describe it, like

Enable 1366x768 LVDS screen on MX53 LVDS 0, Android R10.3.1 -blog archive 

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

0 Kudos

743 Views
Wizard_Richard
Contributor II

Hi igorpadykov,

I can write the 1366x768 brga raw data to fb0 directly, the display is right, it seems that the ipu can work with 1366x768.

0 Kudos