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.
Hi @HieuNong
On my toradex board (imx8) I successfully able to set customise resolution using this command from u-boot command
setenv vidargs video=HDMI-A-1:1280x800@60e
And after that it will set on cmdline and showing on /modes
cat /proc/cmdline
root=PARTUUID=94874b25-02 ro rootwait console=tty1 console=ttymxc2,115200 consoleblank=0 earlycon video=HDMI-A-1:1280x800@60e
cat /sys/class/drm/card1-HDMI-A-1/modes
1280x800
1280x720
1280x720
1280x720
800x600
720x576
640x480
640x480
720x400
Alβ¦
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
nazeer
October 30, 2023, 1:51pm
3
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.