xrandr usage on imx7d

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

xrandr usage on imx7d

1,824 Views
mateuszorzol
Contributor II

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. 

Labels (3)
0 Kudos
Reply
1 Reply

1,457 Views
igorpadykov
NXP Employee
NXP Employee

Hi Mateusz

one can try with nxp linux releases from

https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_4.9.88_2.0.0_ga

yocto version 2.4 rocko. according to sect.2.1 New features attached Release Notes.
sumo-fslc-4.9.88-mx7-v1.1 is supported by community, issue also may be posted on

meta-fsl-arm mailing list: https://lists.yoctoproject.org/listinfo/meta-freescale

Difference between community bsps and official nxp bsps (from https://source.codeaurora.org/external/imx )

is decribed on

difference between Yocto Community BSP and Freescale BSP Release 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply