When IMX8MQ is played using Netflix, the screen will be displaced.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

When IMX8MQ is played using Netflix, the screen will be displaced.

2,101 Views
Tico
Contributor II

When IMX8MQ is played using Netflix, the screen will be displaced. You can refer to the attached image.
What is the problem?

9 Replies

1,826 Views
diegoadrian
NXP Employee
NXP Employee

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.

1,826 Views
Tico
Contributor II

Hi Diego

Thank you for your reply, I am having this problem on Android 9.
0 Kudos

1,826 Views
diegoadrian
NXP Employee
NXP Employee

Hello

Could you please pass me the steps that you followed to run the Netflix application in our boards?

Best regards,

Diego.

0 Kudos

1,826 Views
Tico
Contributor II

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.

0 Kudos

1,826 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

Could you please tell me how you ported Netflix? I need to reproduce it in order to see the problem.

Best regards,

Diego.

1,826 Views
Tico
Contributor II

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.

1567728914971.jpg

Please help us improve this issue.

Thanks you.

0 Kudos

1,826 Views
diegoadrian
NXP Employee
NXP Employee

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.

1,826 Views
Tico
Contributor II

What kind of video do I need to test?
Can you provide a download path for files and playback software?

Best regards,

Tico

0 Kudos

1,826 Views
diegoadrian
NXP Employee
NXP Employee

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.

0 Kudos