I update texture by glTexDirectVIVMap, there may be tearing on screen.
I check the message from
https://community.nxp.com/message/340399
https://community.nxp.com/message/812933
https://community.nxp.com/message/604667
https://community.nxp.com/message/614844
I test kernel version 3.14.28 and 3.14.52 with different number of FB-buffers.
bellow are my test result:
kernel=3.14.28 FB_MULTI_BUFFER=1 HSYNC abnormal
kernel=3.14.28 FB_MULTI_BUFFER=2 HSYNC ok
kernel=3.14.28 FB_MULTI_BUFFER=3 HSYNC ok
kernel=3.14.52 FB_MULTI_BUFFER=1 HSYNC abnormal
kernel=3.14.52 FB_MULTI_BUFFER=2 HSYNC abnormal
kernel=3.14.52 FB_MULTI_BUFFER=3 HSYNC ok
It's seems the GPU performance is turn to bad while upgrade it's version to
v5.0.11p7.4.
The question is : Why the new GPU version need one more buffer to solve the HSYNC problem?
One more buffer mean bad frame delay.
How to solve this problem with FB_MULTI_BUFFER=2 on new GPU version?
Hi lin,
Latest BSP has GPU v5.0.11p8.6 that refine multi-buffer swap work flow on FB. You should try it.
fsl-arm-yocto-bsp.git - i.MX Linux BSP Release Yocto Project manifests
regards
Hi Bio_TICFSL
Could you disclose more detailed inside the multi-buffer swap work flow
?
Hi lin,
The eglSwapInterval will work only when you enable multibuffering. Before starting the application
export FB_MULTI_BUFFER=2. This will make the EGL to use multibuffering and then try the eglSwapInterval. It will work.
Regards
Hi Bio_TICFSL
I update BSP 3.14.52 with GPU v5.0.11p8.4 but the problems still exist.
I am not able to find the branch with GPU v5.0.11p8.6 from your git repertory.
Could you tell me the branch name?
regards
Hi Bio_TICFSL
Thank you for your information.
I want to checkout BSP branch with 4.1.15_2.0.0 but failure.
$ ./repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-4.1.15-2.0.0
fatal: Couldn't find remote ref refs/heads/imx-4.1.15-2.0.0
Then I try this:
$ ./repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-4.1-krogoth
mv .repo/manifests/imx-4.1.15-2.0.0.xml .repo/manifests/default.xml
./repo sync
source and bitbake core-image
Check the gpu version on kernel. It's still GPU v5.0.11p8.4 instead of GPU v5.0.11p8.6
I also try this:
git clone git://git.freescale.com/imx/linux-imx.git
git branch -a
origin/imx_3.10.17_1.0.0_ga
origin/imx_3.10.53_1.1.0_ga
origin/imx_3.14.28_1.0.0_ga
origin/imx_3.14.52_1.1.0_ga
origin/imx_4.1.15_1.0.0_ga
origin/imx_4.1.15_2.0.0_ga
origin/imx_4.1.30_7ulp_alpha
origin/scm-imx_4.1.15_2.0.0_ga
I check gpu version on branch scm-imx_4.1.15_2.0.0_ga, The version still v5.0.11p8.4
finally I try this :
git clone git://git.freescale.com/imx/fsl-arm-yocto-bsp.git
git branch -a
master
remotes/origin/imx-3.10.17-1.0.0_ga
remotes/origin/imx-3.10.17-1.0.1_ga
remotes/origin/imx-3.10.17-1.0.2_ga
remotes/origin/imx-3.10.17-1.0.3_patch
remotes/origin/imx-3.10.53-1.1.0_ga
remotes/origin/imx-3.10.53-1.1.1_patch
remotes/origin/imx-3.10.53-1.1.2_patch
remotes/origin/imx-3.14.28-1.0.0_ga
remotes/origin/imx-3.14.28-1.0.1_patch
remotes/origin/imx-3.14.28-7D_alpha
remotes/origin/imx-3.14.38-6QP_beta
remotes/origin/imx-3.14.38-6QP_ga
remotes/origin/imx-3.14.38-6UL7D_beta
remotes/origin/imx-3.14.38-6UL_ga
remotes/origin/imx-3.14.38-6UL_patch
remotes/origin/imx-3.14.52-1.1.0_ga
remotes/origin/imx-4.1-krogoth
remotes/origin/imx-4.1.15-1.0.0_agl-demo
remotes/origin/imx-4.1.15-1.0.0_ga
remotes/origin/imx-4.1.15-1.0.0_genivi-demo
remotes/origin/imx-4.1.15-1.0.0_iotg-demo
remotes/origin/imx-4.1.15-1.0.0_xbmc-demo
remotes/origin/scm-imx-3.14.52-1.1.0_ga
remotes/origin/scm-imx-3.14.52-1.1.1_ga
There are no any branch named imx_4.1.15_2.0.0 or similar.
Hi lin
L4.1.15_2.0.0 can be downloaded from NXP website: