[Android] Rotation problem on the 2nd framebuffer

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

[Android] Rotation problem on the 2nd framebuffer

跳至解决方案
4,043 次查看
charleshuang
Senior Contributor II

Hi Freescale,

 

Here is an issue about framebuffer rotation. Please help to investigate.

 

[OS]

Android JB 4.2.2 & Android KK 4.4.2

 

[Steps]

1. Set up two framebuffers to display in U-boot, e.g. video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb1:dev=lcd,1920x1080M@60,bpp=32 video=mxcfb2:off video=mxcfb3:off fbmem=28M,28M

2. Install an application which supports screen rotation, such as Antutu. Here, we take Antutu as example.

3. Execute Antutu -> Go to TEST page -> Select "Stability Test"

4. The 1st framebuffer will rotate normally from landscape to portrait mode. However, the 2nd framebuffer keeps in portrait mode.

    The symptoms are different between Android JB 4.2 & KK4.4.

    Operations can still be performed on JB 4.2 in portrait mode.

    But screen is blocked and keeps trembling on KK 4.4 when we are moving mouse.

 

[Expected result]

Both the 1st & 2nd framebuffers should rotate to portrait mode.

 

[Additional information]

This issue does not happen on Android JB 4.3.

 

Best regards,

Daniel

Original Attachment has been moved to: antutu_3.2.1.apk.zip

标签 (3)
0 项奖励
回复
1 解答
2,571 次查看
CommunityBot
Community Manager
This an automatic process.

We are marking this post as solved, due to the either low activity or any reply marked as correct.

If you have additional questions, please create a new post and reference to this closed post.

NXP Community!

在原帖中查看解决方案

0 项奖励
回复
5 回复数
2,572 次查看
CommunityBot
Community Manager
This an automatic process.

We are marking this post as solved, due to the either low activity or any reply marked as correct.

If you have additional questions, please create a new post and reference to this closed post.

NXP Community!
0 项奖励
回复
2,577 次查看
jim_lin
NXP Employee
NXP Employee

From the RD's reply, the 2nd display should not rotate according to Google design. Android 4.3 has 2nd display rotation, and that occupies more resource and may cause incorrect rendering issue. So RD considers 2nd rotation is incorrect behavior.


FYI~

2,577 次查看
YixingKong
Senior Contributor IV

Charles, please close the DI if no more issue.

Thanks,

Yixing

0 项奖励
回复
2,577 次查看
qiang_li-mpu_se
NXP Employee
NXP Employee

For JB4.2.2, you can update the GPU libs "https://community.freescale.com/docs/DOC-102590", then it will be same as JB4.3 BSP.

0 项奖励
回复
2,577 次查看
danielhung
Contributor III

Hi Freescale,

I record the symptom on both JB4.2 & KK4.4 for your references.

Please see the new attached video files.

Thanks,

Daniel

0 项奖励
回复