I do not know if it is the only way to control it, but the display output resolution with weston container can be controlled using a weston.ini section like the following:
Unfortunately this seems not working to change to a different resolution, let’s lay 800x480, on Colibri iMX8X with DSI to HDMI adapter. I do not know how to change mode in that configuration. Does one have to operate at device tree overlay level? (I am using the default colibri-imx8x_dsihdmi_overlay.dtbo).
Currently, the only mode listed in the sysfs is the following:
cat /sys/class/drm/card0-HDMI-A-1/modes
1024x600
How can I set a different resolution with Colibri iMX8X + DSI to HDMI adapter?
In general HDMI resolution and display timings are gathered from the EDID information given by that specific display. Meaning that the resolutions available are given by the display itself.
But, I believe unless the mode is actually defined via the EDID then it probably won’t work. So the first question would be to determine if your HDMI display supports the resolution you’re aiming for. You can determine this with a display utility like xrandr or fbset. These utilities should list all the available modes for the connected display.