How to add new customise HDMI resolution

Hello All

Board: imx8m
weston version 9

I am trying to find the way to add new customise resolution in hdmi
currently available resolutions are:-

root@imx8mp-cgtqx8p:~# cat /sys/class/drm/card1-HDMI-A-1/modes                                                                                
1920x1080
1920x1080
1920x1080
1920x1080
1280x1024
1280x1024
1280x960
1152x864
1280x720
1280x720
1280x720
1280x720
800x600
800x600
720x576
720x480
720x480
720x480
720x480

I want to add “1280x800” customise resolution because the second display which is lvds has this resolution.

root@imx8mp-cgtqx8p:~# cat /sys/class/drm/card1-DPI-1/modes 
1280x800

And I am trying to clone lvds to hdmi display. Is some one help me here how can i do that ?

1 Like

Hi @bhavanihimanshu,

I believe below post you already answered for the issue.

Please note we can only provide information related to Toradex SOM since same is working on our SOM we are marking ticket as resolved.

Best Regards
Ritesh Kumar

I am also facing the same issue in toradex I am using toradex verdin imx8mp. I am not able to set custom resolutions via vidargs.

Is there any changes we have to make it work related to this?

Hi @nazeer ,

Can you share more detail as this is tested in the post mentioned, there is no reason it should not work work for you.
I believe you need to remove any device tree setting for display if you want to use vidargs. Please test and let us know if you still facing this issue.

Best Regards
Ritesh Kumar

HI @ritesh.tx It is working now with help of vidargs uboot argument.
Thanks for your support.