Hi,
I am trying to invert the display via xrandr
root@PRGLT:~# export DISPLAY=:0.0
root@PRGLT:~# xrandr -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 600, current 1024 x 600, maximum 1024 x 600
default connected 1024x600+0+0 0mm x 0mm
1024x600 0.00*
root@PRGLT:~#
Okay, I was trying to invert my LCD using xrandr, but i am following error
root@PRGLT:~# xrandr -o inverted
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 139 (RANDR)
Minor opcode of failed request: 2 (RRSetScreenConfig)
Serial number of failed request: 14
Current serial number in output stream: 14
root@PRGLT:~#
Xorg Configuration File
cat /usr/share/X11/xorg.conf.d/99-fbdev.conf Section "InputDevice" Identifier "touchscreen" Driver "evdev" Option "Device" "/dev/input/event0" EndSection Section "Device" Identifier "myfb" Driver "fbdev" Option "fbdev" "/dev/fb0" Option "ShadowFB" "true" Option "Rotate" "CW" Option "RandRRotation" "on" EndSection Section "Screen" Identifier "Screen0" Device "myfb" Monitor "Monitor0" Option "Rotate" "CW" SubSection "Display" EndSubSection EndSection Section "ServerFlags" Option "BlankTime" "0" Option "StandbyTime" "0" Option "SuspendTime" "0" Option "OffTime" "0" EndSection
Let me know if any configuration file needs to be changed
Hello sheraz,
The maximum resolution is 1024x600 to invert, other solution could be rotation of the screen (180 degree) as the U-boot argument.
I added "rotation" argument handling in the drivers/video/mxc/mxc_ipuv3_fb.c, but found this code:
for the MX6Q
if (var->rotate > IPU_ROTATE_VERT_FLIP)
var->rotate = IPU_ROTATE_NONE;
Regards