When IMX8MQ is played using Netflix, the screen will be displaced. You can refer to the attached image.
What is the problem?
Hello,
Probably this is something more related to the application. However, can you please tell in which environment are you running Netflix? Android or Yocto? So I an try to reproduce the error.
Best regards,
Diego.
Hi Diego
Thank you for your reply, I am having this problem on Android 9.
Hello
Could you please pass me the steps that you followed to run the Netflix application in our boards?
Best regards,
Diego.
Hi Diego
I have found the cause of this problem,
Because we need to flip the screen 180 degrees on our hardware design.
So adjust Kernel drivers/gpu/drm/drm_fb_helper.c
Set plane_state->rotation always to DRM_MODE_ROTATE_0
In this case, Netflix will only have a problem with the screen misplacement when playing the movie.
The arrangement of other UIs is normal.
No solution has been found yet.
Also suggested the direction?
Thank you.
Hello,
Could you please tell me how you ported Netflix? I need to reproduce it in order to see the problem.
Best regards,
Diego.
Sorry, I can't provide you with the Netflix setting method.
But I have other ways to show the problem,
Please follow my setup method below.
Adjust Kernel vendor/nxp-opensource/kernel_imx/drivers/gpu/drm/drm_fb_helper.c
Set Line: 379 plane_state->rotation always to DRM_MODE_ROTATE_0 ==> DRM_MODE_ROTATE_180
Rebuild imx8mq BSP
Update Imx8mq-EVK image
Download the video file of the following path,
https://drive.google.com/open?id=1RSQFI8lvFiEyNMQT7Mrjj9bZVmLP1z3H
Play with Cactus Player and you can see this situation like this photo.
But using VLC playback does not have this problem.
Please help us improve this issue.
Thanks you.
Hello,
Unfortunately, we cannot help you regarding the Netflix porting since we currently do not support Netflix in our i.MX Devices.
However, I could see the video cropping problem internally. Due, I reproduced the issue following the steps that you mentioned. Just, can you please help me testing with another video? This because I tested with my own MPEG-2 video ant the video was displayed correctly.
Best regards,
Diego.
What kind of video do I need to test?
Can you provide a download path for files and playback software?
Best regards,
Tico
A MPEG-2 video will be ok. I tested with a video that I converted myself and it worked correctly.
However, I tested with the video that you posted and worked fine just for the normal Android image (without the 180° flip). Unfortunately, I could reproduce your problem with the modifications that you made. But it was just with the video that you comparted. I need to see how to reproduce this problem before reporting this internally.
Best regards,
Diego.