imx8mq android rotate 90 video play

cancel
Showing results for 
Search instead for 
Did you mean: 

imx8mq android rotate 90 video play

Jump to solution
209 Views
aber
Contributor II

Hi,NXP

I've found an issue with the G2D HWC layer on i.MX8MQ, here is my setup:
- Android 10.0.0-2.5.0 release
- i.MX8MQ EVK platform
- MIPI display (800x1280 in my case)
- SF_PRIMARY_DISPLAY_ORIENTATION set to 90 (standard AOSP orientation variable)
- SF_PRIMARY_DISPLAY_ORIENTATION := 90
- SOONG_CONFIG_IMXPLUGIN_SF_PRIMARY_DISPLAY_ORIENTATION = 90

That last variable changes the default display orientation from portrait to landscape in my case.
Refer to the forum 8MM-Android-rotation patch, the android interface can be rotated, but there is a problem with the video playback, please refer to the attached picture。

0 Kudos
1 Solution
167 Views
joanxie
NXP TechSupport
NXP TechSupport

try to setprop hwc.enable.overlay 0

View solution in original post

0 Kudos
3 Replies
185 Views
joanxie
NXP TechSupport
NXP TechSupport

what patch do you refer to? pls send me the link, do you mean that the display rotate 90, but the video doesn't?

 

0 Kudos
178 Views
aber
Contributor II

Hi joanxie

   Thank you very much for your reply。I refer to the imx8mm rotation patch。Link:

https://community.nxp.com/t5/i-MX-Processors/Android-10-i-MX8MMini-g2d-rotation-issue/m-p/1187205#M1...

   do you mean that the display rotate 90, but the video doesn't?  Yes.

Tags (1)
0 Kudos
168 Views
joanxie
NXP TechSupport
NXP TechSupport

try to setprop hwc.enable.overlay 0

View solution in original post

0 Kudos