<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Vivante: trying to rotate display in xorg.conf: Assert Failed in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-trying-to-rotate-display-in-xorg-conf-Assert-Failed/m-p/655255#M100388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the xrandr utility after successfully starting the X server, instead of putting the "Rotate" option in xorg.conf, is a good idea, but it causes a crash very similar to the one I described originally: that is, it leads to "Assertion `key-&amp;gt;initialized' failed". I would guess that both crashes are caused by the same issue inside the Vivante driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe the "RandR disabled" message should not be taken seriously because this comes before it:&lt;/P&gt;&lt;P&gt;[3727136.332] (II) VIVANTE(0): RandR 1.2 enabled, ignore the following RandR disabled message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rotation *is* enabled in the driver--what's happening is that it crashes when it attempts to rotate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using "&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;/sys/class/graphic/fb0/rotate&lt;/SPAN&gt;", but this did not cause the screen to rotate. (Maybe because it tries to use the framebuffer directly instead of using the hardware-accelerated Vivante driver?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made sure to build and run the latest version of the Vivante driver (5.0.11.p8.6) that is currently available from the meta-fsl-bsp-release layer (on branch "krogoth_4.1.15-2.0.1"). I cannot verify that the "Rotate" "left" option works with this version of the driver. It still only accepts "Rotate" "CCW", and the same failures still occur in the way described above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Mar 2017 21:47:52 GMT</pubDate>
    <dc:creator>burr0069</dc:creator>
    <dc:date>2017-03-17T21:47:52Z</dc:date>
    <item>
      <title>Vivante: trying to rotate display in xorg.conf: Assert Failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-trying-to-rotate-display-in-xorg-conf-Assert-Failed/m-p/655250#M100383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to set up xorg.conf to rotate the display 90 degrees. Everything works fine when screen rotation is "normal" (i.e. landscape mode).&amp;nbsp;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 "&lt;SPAN&gt;Assertion `key-&amp;gt;initialized' failed.&lt;/SPAN&gt;"&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone know what's wrong?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Platform:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;i.MX6Q&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Digi ConnectCore6 SOM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;LVDS display&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Yocto 2.0 Jethro&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Linux kernel 3.14.79&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Recipes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;imx-gpu-viv: meta-fsl-arm 1:5.0.11.p7.4-hfp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;kernel-module-imx-gpu-viv: meta-fsl-arm 5.0.11.p7.4+fslc+gitAUTOINC+2b3290d1c1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;xf86-video-imxfb-vivante: meta-fsl-arm 3:5.0.11.p7.4&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;xserver-xorg: 2:1.17.2&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;(Full log files and conf file are attached.)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From xorg.conf:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Section "Device"&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;Identifier "i.MX Accelerated Framebuffer Device"&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;Driver "vivante"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Option "fbdev" "/dev/fb0"&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;Option "vivante_fbdev" "/dev/fb0"&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;Option "HWcursor" "false"&lt;BR /&gt;EndSection&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Section "Monitor"&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;Identifier "Monitor0"&lt;BR /&gt; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Option "Rotate" "left"&lt;/STRONG&gt;&lt;BR /&gt;EndSection&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Section "Screen"&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;Identifier "DefaultScreen"&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;Device "i.MX Accelerated Framebuffer Device"&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;Monitor "Monitor0"&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EndSection&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From Xsession.log:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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-&amp;gt;initialized' failed.&lt;BR /&gt;xinit: giving up&lt;BR /&gt;xinit: unable to connect to X server: Connection refused&lt;BR /&gt;xinit: server error&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;VIVANTE's last words (from Xorg.log):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;[4045336.734] (**) VIVANTE(0): PreInit done&lt;BR /&gt;[4045336.734] (--) Depth 24 pixmap format is 32 bpp&lt;BR /&gt;[4045336.734] (II) VIVANTE(0): Init mode for fb device&lt;BR /&gt;[4045336.783] (II) VIVANTE(0): hardware: DISP3 BG (video memory: 16325kB)&lt;BR /&gt;[4045336.784] (II) VIVANTE(0): Pitch updated to 800 after ModeInit&lt;BR /&gt;[4045336.784] (II) VIVANTE(0): FB Start = 0x754ff000 FB Base = 0x754ff000 FB Offset = (nil) FB PhyBase 0x3e700000&lt;BR /&gt;[4045336.784] (II) VIVANTE(0): reserve 8355840 bytes for on screen frame buffer; total fb memory size 16716800 bytes; offset of shadow buffer 8355840&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337095"&gt;xorg.conf.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337095"&gt;Xsession.log.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337095"&gt;Xorg.0.log.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 22:32:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-trying-to-rotate-display-in-xorg-conf-Assert-Failed/m-p/655250#M100383</guid>
      <dc:creator>burr0069</dc:creator>
      <dc:date>2017-01-30T22:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante: trying to rotate display in xorg.conf: Assert Failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-trying-to-rotate-display-in-xorg-conf-Assert-Failed/m-p/655251#M100384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should try with&amp;nbsp;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;Option "Rotate" "left" in "Device" Section.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;SPAN style="font-weight: normal;"&gt;Section "Device"&lt;/SPAN&gt;&lt;BR style="font-weight: normal;" /&gt;&lt;SPAN style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Identifier "i.MX Accelerated Framebuffer Device"&lt;/SPAN&gt;&lt;BR style="font-weight: normal;" /&gt;&lt;SPAN style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Driver "vivante"&lt;/SPAN&gt;&lt;BR style="font-weight: normal;" /&gt;&lt;SPAN style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Option "fbdev" "/dev/fb0"&lt;/SPAN&gt;&lt;BR style="font-weight: normal;" /&gt;&lt;SPAN style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Option "vivante_fbdev" "/dev/fb0"&lt;/SPAN&gt;&lt;BR style="font-weight: normal;" /&gt;&lt;/STRONG&gt;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Option "Rotate" "left"&lt;BR style="font-weight: normal;" /&gt;&lt;SPAN style="font-weight: normal;"&gt;EndSection&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; color: #51626f; font-weight: normal;"&gt;Hope this helps&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 17:06:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-trying-to-rotate-display-in-xorg-conf-Assert-Failed/m-p/655251#M100384</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2017-01-31T17:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante: trying to rotate display in xorg.conf: Assert Failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-trying-to-rotate-display-in-xorg-conf-Assert-Failed/m-p/655252#M100385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I tried this, but it fails in a different way. The syntax for the Device section does not accept "left", but it does accept "CCW" (counter-clockwise):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px;"&gt;Section "Device"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Identifier "i.MX Accelerated Framebuffer Device"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Driver "vivante"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Option "fbdev" "/dev/fb0"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Option "vivante_fbdev" "/dev/fb0"&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Option "Rotate" "CCW"&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px;"&gt;EndSection&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;The result is not an assertion failure, but it seems to hang before completing initialization, and the screen remains blank:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG&gt;Last words (from Xorg.log):&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;...&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;[4051569.452] drmOpenByBusid: drmGetBusid reports platform:Vivante GCCore:00 &lt;BR /&gt;[4051569.452] (II) [drm] DRM interface version 1.4 &lt;BR /&gt;[4051569.453] (II) [drm] DRM open master succeeded. &lt;BR /&gt;[4051569.453] (II) VIVANTE(0): [drm] Using the DRM lock SAREA also for drawables.&lt;BR /&gt;[4051569.453] (II) VIVANTE(0): [drm] framebuffer handle = 0x3e700000 &lt;BR /&gt;[4051569.453] (II) VIVANTE(0): [drm] added 1 reserved context for kernel &lt;BR /&gt;[4051569.453] (II) VIVANTE(0): X context handle = 0x1 &lt;BR /&gt;[4051569.454] (II) VIVANTE(0): [drm] installed DRM signal handler &lt;BR /&gt;[4051569.454] (II) VIVANTE(0): [DRI] installation complete &lt;BR /&gt;[4051569.454] (--) RandR disabled &lt;BR /&gt;[4051569.455] (II) AIGLX: Screen 0 is not DRI2 capable &lt;BR /&gt;[4051569.455] (EE) AIGLX: reverting to software rendering &lt;BR /&gt;[4051569.489] (II) AIGLX: Loaded and initialized swrast &lt;BR /&gt;[4051569.489] (II) GLX: Initialized DRISWRAST GL provider for screen 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 19:37:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-trying-to-rotate-display-in-xorg-conf-Assert-Failed/m-p/655252#M100385</guid>
      <dc:creator>burr0069</dc:creator>
      <dc:date>2017-01-31T19:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante: trying to rotate display in xorg.conf: Assert Failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-trying-to-rotate-display-in-xorg-conf-Assert-Failed/m-p/655253#M100386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;Hi Michael,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;Try&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif; color: black;"&gt;export DISPLAY=:0.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;If X11 is the graphical backend, you should try Xrandr utility, however per your log out &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;"&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;[4051569.454] (--) RandR disabled&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;you shoudl try to check with sysfs:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;#echo 1&amp;gt;/sys/class/graphic/fb0/rotate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;Option "Left" works on NXP 4.1.15 official release BSP, you should try it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;Hope this helps&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 20:19:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-trying-to-rotate-display-in-xorg-conf-Assert-Failed/m-p/655253#M100386</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2017-03-13T20:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante: trying to rotate display in xorg.conf: Assert Failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-trying-to-rotate-display-in-xorg-conf-Assert-Failed/m-p/655254#M100387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that I have the same problem.&amp;nbsp;Is&amp;nbsp;there any news? Can you share your solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in &amp;nbsp;advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 07:01:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-trying-to-rotate-display-in-xorg-conf-Assert-Failed/m-p/655254#M100387</guid>
      <dc:creator>andreyeroshenko</dc:creator>
      <dc:date>2017-03-17T07:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante: trying to rotate display in xorg.conf: Assert Failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-trying-to-rotate-display-in-xorg-conf-Assert-Failed/m-p/655255#M100388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the xrandr utility after successfully starting the X server, instead of putting the "Rotate" option in xorg.conf, is a good idea, but it causes a crash very similar to the one I described originally: that is, it leads to "Assertion `key-&amp;gt;initialized' failed". I would guess that both crashes are caused by the same issue inside the Vivante driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe the "RandR disabled" message should not be taken seriously because this comes before it:&lt;/P&gt;&lt;P&gt;[3727136.332] (II) VIVANTE(0): RandR 1.2 enabled, ignore the following RandR disabled message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rotation *is* enabled in the driver--what's happening is that it crashes when it attempts to rotate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using "&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;/sys/class/graphic/fb0/rotate&lt;/SPAN&gt;", but this did not cause the screen to rotate. (Maybe because it tries to use the framebuffer directly instead of using the hardware-accelerated Vivante driver?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made sure to build and run the latest version of the Vivante driver (5.0.11.p8.6) that is currently available from the meta-fsl-bsp-release layer (on branch "krogoth_4.1.15-2.0.1"). I cannot verify that the "Rotate" "left" option works with this version of the driver. It still only accepts "Rotate" "CCW", and the same failures still occur in the way described above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 21:47:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-trying-to-rotate-display-in-xorg-conf-Assert-Failed/m-p/655255#M100388</guid>
      <dc:creator>burr0069</dc:creator>
      <dc:date>2017-03-17T21:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante: trying to rotate display in xorg.conf: Assert Failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-trying-to-rotate-display-in-xorg-conf-Assert-Failed/m-p/655256#M100389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, currently we only have a work-around: basically, start the X server without rotation (meaning don't rotate from xorg.conf), then start any X client program (such as a window manager, but it could be any X client). Only at that point, with at least one X client running, do the rotation using xrandr. Everything seems to work OK, so long as we never close the first X client. (But even with this arrangement, X may still crash at shutdown.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem seems to happen when the X server cleans up and reinitializes itself: the Vivante driver causes memory leaks after cleanup. The only way to prevent this is to make sure that X never cleans up and reinitializes. An attempt to rotate will lead to a cleanup if there is no X client running, but if there is at least one X client, then X performs the rotation but without cleanup and reinitialization.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 22:01:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-trying-to-rotate-display-in-xorg-conf-Assert-Failed/m-p/655256#M100389</guid>
      <dc:creator>burr0069</dc:creator>
      <dc:date>2017-03-17T22:01:41Z</dc:date>
    </item>
  </channel>
</rss>

