Rotate mipi-dsi display to landscape mode

hello,

I’m using a ixora custom board with mipi-dsi display.
The default display orientation is portrait with 480x800 resolution.

mxc_sdc_fb fb@0: 480x800 h_sync,r,l: 8,8,8  v_sync,l,u: 8,2,10 pixclock=24796000 Hz

As you can see the default portrait orientation is working finealt text , but when I rotate to right using
xrandr -o right the image do not fill all the screen. alt text.

I want to use landscape mode all the time, since the display initialization.

someone can help me ?

thanks
Rui

HI @rbastos

Could you provide the version of the hardware and software of your module?
Please share the datasheet of the display?
Could you share also the dmesg log in a file?
Have you done any changes to the Software?

Best regards, Jaski

Hi,

i’m using the LinuxImageV2.8 from toradex. the datasheet from display is
link text and the board is a custom ixora v1.1 based board, with dsi connector avaiable.

Note that if I use gst-launch-1.0 -v videotestsrc pattern=0 ! "video/x-raw, width=480, height=800" ! imxg2dvideosink gst-launch-1.0 -v videotestsrc pattern=0 ! "video/x-raw, width=800, height=480" ! imxg2dvideosink, the screen rotate as expected.

Thanks for this Information.

Actually the rotation is done using xrandr which can be launched after Xserver is started. So rotation of the screen before that is not possible.

Could you try the following command:

echo 1 > /sys/class/graphics/fb0/rotate 

Depending on your application, you could rotate the display using Qt.

Best regards, Jaski