AnsweredAssumed Answered

xrandr usage on imx7d

Question asked by Mateusz Orzoł on Nov 29, 2018
Latest reply on Dec 1, 2018 by igorpadykov

Hello,
I'm using imx7d in a new project (HMI for measurement device) and I'm having issues with using xrandr extension in Yocto sumo (repo up to date with sumo-fslc-4.9.88-mx7-v1.1).  LCD display is connected through MIPI-DSI interface to evaluation board. Kernel module which services this interface is slightly modified mxc_mipi_dis_samsung - I've added initialization sequence and display/timing parameters of our particular display used in project. Displaying content on the screen works perfectly fine in native to display portrait mode but when I try to run "xrandr  -o left" it returns with an error :

root@imx7-var-som-pendulum:~/extra# xrandr -o left
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

I've tried the same image with slightly modified device tree for using LVDS display on another board with imx7d and the effect is exactly the same. For now the only way I can successfully rotate display is using xorg.conf file and option "Rotate "CW" in Device section.  It works correctly but it fully disables xrandr what causes issues for example with touchscreen calibration and is not easily configurable during the system operation time.  I've included dump of /proc/config.gz and manifest containing repository versions I'm using to build Yocto. I would appreciate any help and also feedback if on other boards with imx7d processor with Yocto-Somo (or other release) xrandr screen rotation is working properly. 

Attachments

Outcomes