imx6q-sabresd framebuffer CCW rotate (180) not working

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

imx6q-sabresd framebuffer CCW rotate (180) not working

跳至解决方案
1,485 次查看
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

 

标签 (3)
标记 (1)
0 项奖励
回复
1 解答
1,372 次查看
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.

在原帖中查看解决方案

2 回复数
1,373 次查看
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.

1,360 次查看
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