[Android] Rotation problem on the 2nd framebuffer

cancel
Showing results for 
Search instead for 
Did you mean: 

[Android] Rotation problem on the 2nd framebuffer

Jump to solution
2,381 Views
charleshuang
Contributor V

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

Labels (3)
0 Kudos
1 Solution
909 Views
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!

View solution in original post

0 Kudos
5 Replies
910 Views
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 Kudos
915 Views
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~

915 Views
YixingKong
Senior Contributor IV

Charles, please close the DI if no more issue.

Thanks,

Yixing

0 Kudos
915 Views
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 Kudos
915 Views
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 Kudos