Imx6ull xrandr rotate TFT 90°

I have to turn the touchscreen 90 ° in real time. With xinput I can turn the touch. But xrandr works only in normal position.

*xrandr --output default --rotation left  
xrandr: output default can not use rotation "left" reflection "none"*

or

*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*  

The application runs with Qt5, but without QML. QML would be a major change and I do not know if the imx6ull is suitable for it.

What options do I have there?

hi @rolmen

Welcome to the Toradex Community.

Could you provide the exact version ( uname -r) of the Software of your module? What is your application?

Which carrier board are you using?
Which touchscreen are you using and how is it connected?

Thanks and best regards, Jaski

Hello Jaski,

the xrand -v shows:

root @ colibri-imx6ull-00142d60611d: ~ # xrandr -v  
xrandr program version 1.5.0  
RandR extension missing  

The Linux was created from the current TORADEX Yocto sources.
Angstrom v2017.12 - Kernel
Colibri-iMX6ULL_estec-image 2.8b4 20181230

The application is a portable measuring device.
I use my own hardware, which is based on the viola board V1.2.
The touchscreen is an EastRising ER-TFT043-3 / ER-TP043-3. The touch is resistive. The connection takes place as with your TFTs (18-bit RGB + TCON)

Thanks for this Information. With Qt5 and QML, you can rotate the root window. Its easier than mixing QT and X. Please have a look on these threads:

  1. https://www.toradex.com/community/questions/22051/rotate-display-and-touchscreen-by-90-degrees.html
  2. https://www.toradex.com/community/questions/2806/performance-gets-low-after-display-rotation.html

Best regards, Jaski