I am using ubuntu linaro image on mcimx6q-sdb board with imx28 lcd.
It is booted in the landscape display mode and I would like to change the display to the portrait mode.
I tried to find the method to do it, but I was not able to come up with the way to rotate the display.
Could anyone tell me how to set the portrait display mode?
Solved! Go to Solution.
You can try this.
1. export DISPLAY=:0.0
2. xrandr -q ( it will show out the screen information )
3. xrandr -o left
4. xrandr -o right
For more information of the xrandr command, please type xrandr -help.
thank you for your reply, we also can't make xrandr work.
Thanks for your reply.
I tried to change the lcd display mode on imx6q-sdb using xrandr command.
But it is not working well and the command prints a error message.
--------------------------------------------------------------------------------------------
$ xrandr -o left
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 150 (RANDR)
Minor opcode of failed request: 2 (RRSetScreenConfig)
Serial number of failed request: 14
Current serial number in output stream: 14
--------------------------------------------------------------------------------------------
If you know how to solve this problem, please let me know it.
Hi
I am getting this same error with xrandr (on SabreLite board with Freescale Ubuntu L3.0.35_4.0.0). Did you find any solution how to rotate?
(Also tried xorg.conf
Option “Rotate” “CCW” and bootargs fbcon=rotate:1
as suggested here http://boundarydevices.com/portrait-mode-x-on-i-mx51/ but no effect, and it was for mx51)
Succeeded to rotate to portrait with Rotate option in xorg.conf after changing Driver from vivante to fbdev.
Can you give the details about using xrandr by changing Driver from vivante to fbdev
Hi. I did not succeed to make xrandr work but succeeded to rotate view by editing "Device" section in xorg.conf:
Driver "fbdev"
Option "fbdev" "/dev/fb0"
Option "Rotate" "CW"
You can try this.
1. export DISPLAY=:0.0
2. xrandr -q ( it will show out the screen information )
3. xrandr -o left
4. xrandr -o right
For more information of the xrandr command, please type xrandr -help.