imx8mq android rotate 90 video play

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

imx8mq android rotate 90 video play

跳至解决方案
2,001 次查看
aber
Contributor III

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 项奖励
回复
1 解答
1,959 次查看
joanxie
NXP TechSupport
NXP TechSupport

try to setprop hwc.enable.overlay 0

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,978 次查看
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 项奖励
回复
1,971 次查看
aber
Contributor III

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.

标记 (1)
0 项奖励
回复
1,960 次查看
joanxie
NXP TechSupport
NXP TechSupport

try to setprop hwc.enable.overlay 0

0 项奖励
回复