AnsweredAssumed Answered

Vivante: trying to rotate display in xorg.conf: Assert Failed

Question asked by Michael Burr on Jan 30, 2017

Trying to set up xorg.conf to rotate the display 90 degrees. Everything works fine when screen rotation is "normal" (i.e. landscape mode). Manually changing orientation via "xrandr -o left" at the command line also works fine. But use the "Rotate" option in xorg.conf and the Vivante driver chokes, saying "Assertion `key->initialized' failed."

 

Anyone know what's wrong?

 

Platform:

 

   i.MX6Q

   Digi ConnectCore6 SOM

   LVDS display

   Yocto 2.0 Jethro

   Linux kernel 3.14.79

   Recipes:

      imx-gpu-viv: meta-fsl-arm 1:5.0.11.p7.4-hfp

      kernel-module-imx-gpu-viv: meta-fsl-arm 5.0.11.p7.4+fslc+gitAUTOINC+2b3290d1c1

      xf86-video-imxfb-vivante: meta-fsl-arm 3:5.0.11.p7.4

      xserver-xorg: 2:1.17.2

 

   (Full log files and conf file are attached.)

 

 

From xorg.conf:

 

Section "Device"
   Identifier "i.MX Accelerated Framebuffer Device"
   Driver "vivante"
   Option "fbdev" "/dev/fb0"
   Option "vivante_fbdev" "/dev/fb0"
   Option "HWcursor" "false"
EndSection

 

Section "Monitor"
   Identifier "Monitor0"
   Option "Rotate" "left"
EndSection

 

Section "Screen"
   Identifier "DefaultScreen"
   Device "i.MX Accelerated Framebuffer Device"
   Monitor "Monitor0"   

EndSection

 

From Xsession.log:

 

Xorg: .../tmp/work/cortexa9hf-vfp-neon-mx6qdl-dey-linux-gnueabi/xserver-xorg/2_1.17.2-r0/xorg-server-1.17.2/include/privates.h:122: dixGetPrivateAddr: Assertion `key->initialized' failed.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

 

VIVANTE's last words (from Xorg.log):

...

[4045336.734] (**) VIVANTE(0): PreInit done
[4045336.734] (--) Depth 24 pixmap format is 32 bpp
[4045336.734] (II) VIVANTE(0): Init mode for fb device
[4045336.783] (II) VIVANTE(0): hardware: DISP3 BG (video memory: 16325kB)
[4045336.784] (II) VIVANTE(0): Pitch updated to 800 after ModeInit
[4045336.784] (II) VIVANTE(0): FB Start = 0x754ff000 FB Base = 0x754ff000 FB Offset = (nil) FB PhyBase 0x3e700000
[4045336.784] (II) VIVANTE(0): reserve 8355840 bytes for on screen frame buffer; total fb memory size 16716800 bytes; offset of shadow buffer 8355840

Original Attachment has been moved to: xorg.conf.zip

Original Attachment has been moved to: Xsession.log.zip

Original Attachment has been moved to: Xorg.0.log.zip

Outcomes