imx6q-sabresd framebuffer CCW rotate (180) not working

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

imx6q-sabresd framebuffer CCW rotate (180) not working

Jump to solution
1,049 Views
arulpandiyan_va
Contributor II

IMG_20221213_185340_2.jpg

We are using prebuilt binaries of imx6q-sabresd and expecting the framebuffer to rotate 180 degrees on the HDMI display it was not working as expected.

 

 

console=ttymxc0,115200 root=/dev/mmcblk1p2 rootwait rw video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,rotate=3

 

 

Display rotation was not working on either of the below releases.

Even echo 3 > /sys/class/graphics/fb0/rotate was also not helping

 

Even echo 1 > /sys/class/graphics/fb0/rotate was rotating to 180 degree but it was flipped

 

LF_v5.10.72-2.2.0_images_IMX6QPDLSOLOX.zip 
LF_v5.15.32-2.0.0_images_IMX6QPDLSOLOX.zip

 

Labels (3)
Tags (1)
0 Kudos
1 Solution
936 Views
brian14
NXP TechSupport
NXP TechSupport

Hi @arulpandiyan_va ,

Please accept my apologies for the delayed reply.

Based on the information you provided it seems you could use the xrandr command to display rotate.

You will find more information in chapter 6.2 XRandR.

I hope this information will be helpful.

Best regards, Brian.

View solution in original post

2 Replies
937 Views
brian14
NXP TechSupport
NXP TechSupport

Hi @arulpandiyan_va ,

Please accept my apologies for the delayed reply.

Based on the information you provided it seems you could use the xrandr command to display rotate.

You will find more information in chapter 6.2 XRandR.

I hope this information will be helpful.

Best regards, Brian.

924 Views
arulpandiyan_va
Contributor II
Thanks for the response, @Brian,
Below command works well for my requirements

root@imx6qsabresd:~# export DISPLAY=:0.0
root@imx6qsabresd:~# xrandr -s 1024x768
root@imx6qsabresd:~# xrandr -o inverted