<?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: glxgears and tiger run exceptions under Ubuntu in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/glxgears-and-tiger-run-exceptions-under-Ubuntu/m-p/930490#M139598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that OPENGL program running will lead to &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;desktop&lt;/SPAN&gt; freezing, Xorg CPU occupancy rate of 100%.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jul 2019 07:56:49 GMT</pubDate>
    <dc:creator>liyigang</dc:creator>
    <dc:date>2019-07-11T07:56:49Z</dc:date>
    <item>
      <title>glxgears and tiger run exceptions under Ubuntu</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/glxgears-and-tiger-run-exceptions-under-Ubuntu/m-p/930488#M139596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi;&lt;/P&gt;&lt;P&gt;I refer to the following documents to add GPU functionality to Ubuntu&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="jivelink2" href="https://community.nxp.com/docs/DOC-330147" title="https://community.nxp.com/docs/DOC-330147"&gt;https://community.nxp.com/docs/DOC-330147&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/454418"&gt;HW GPU Acceleration for X11&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the steps are as follows:&lt;/P&gt;&lt;P&gt;wget &lt;A href="http://www.nxp.com/lgfiles/NMG/MAD/YOCTO//imx-gpu-viv-5.0.11.p8.4-hfp.bin" target="test_blank"&gt;http://www.nxp.com/lgfiles/NMG/MAD/YOCTO//imx-gpu-viv-5.0.11.p8.4-hfp.bin&lt;/A&gt;&lt;BR /&gt;./imx-gpu-viv-5.0.11.p8.6-hfp.bin --auto-accept --force&lt;BR /&gt;cp g2d/usr/include/* /usr/include/&lt;BR /&gt;cp -d g2d/usr/lib/* /usr/lib/&lt;BR /&gt;cp -Pr gpu-core/usr/* /usr &lt;BR /&gt;cp -r gpu-demos/opt / &lt;BR /&gt;cp -axr gpu-tools/gmem-info/usr/bin/* /usr/bin/&lt;/P&gt;&lt;P&gt;chmod 644 /usr/lib/dri/vivante_dri.so&lt;/P&gt;&lt;P&gt;cp -r apitrace/x11/usr/lib/* /usr/lib&lt;/P&gt;&lt;P&gt;cp -r apitrace/x11/usr/bin/* /usr/bin&lt;/P&gt;&lt;P&gt;install -m 0644 gpu-core/usr/lib/pkgconfig/egl_x11.pc /usr/lib/pkgconfig/egl.pc&lt;/P&gt;&lt;P&gt;install -m 0644 gpu-core/usr/lib/pkgconfig/glesv1_cm_x11.pc /usr/lib/pkgconfig/glesv1_cm.pc&lt;/P&gt;&lt;P&gt;install -m 0644 gpu-core/usr/lib/pkgconfig/glesv2_x11.pc /usr/lib/pkgconfig/glesv2.pc&lt;/P&gt;&lt;P&gt;install -m 0644 gpu-core/usr/lib/pkgconfig/vg_x11.pc /usr/lib/pkgconfig/vg.pc&lt;/P&gt;&lt;P&gt;cd /usr/lib/&lt;/P&gt;&lt;P&gt;mv libGL.so.1.2 libGL.so.1.2.0&lt;/P&gt;&lt;P&gt;ln -sf libGL.so.1.2.0 /usr/lib/libGL.so.1.2&lt;/P&gt;&lt;P&gt;ln -sf libGL.so.1.2.0 /usr/lib/libGL.so.1&lt;/P&gt;&lt;P&gt;ln -sf libGL.so.1.2.0 /usr/lib/libGL.so&lt;/P&gt;&lt;P&gt;ln -sf libEGL-x11.so /usr/lib/libEGL.so &lt;BR /&gt;ln -sf libEGL-x11.so /usr/lib/libEGL.so.1 &lt;BR /&gt;ln -sf libEGL-x11.so /usr/lib/libEGL.so.1.0 &lt;BR /&gt;ln -sf libGAL-x11.so /usr/lib/libGAL.so &lt;BR /&gt;ln -sf libGLESv2-x11.so /usr/lib/libGLESv2.so &lt;BR /&gt;ln -sf libGLESv2-x11.so /usr/lib/libGLESv2.so.2 &lt;BR /&gt;ln -sf libGLESv2-x11.so /usr/lib/libGLESv2.so.2.0.0 &lt;BR /&gt;ln -sf libVIVANTE-x11.so /usr/lib/libVIVANTE.so &lt;BR /&gt;rm *-fb.so *-wl.so&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rm /etc/ld.so.conf.d/arm-linux-gnueabihf_*.conf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wget &lt;A href="http://www.nxp.com/lgfiles/NMG/MAD/YOCTO//xserver-xorg-video-imx-viv-5.0.11.p8.4.tar.gz" target="test_blank"&gt;http://www.nxp.com/lgfiles/NMG/MAD/YOCTO//xserver-xorg-video-imx-viv-5.0.11.p8.4.tar.gz&lt;/A&gt;&lt;/P&gt;&lt;P&gt;tar -xvzpf xserver-xorg-video-imx-viv-5.0.11.p8.4.tar.gz&lt;BR /&gt;cd xserver-xorg-video-imx-viv-5.0.11.p8.4&lt;/P&gt;&lt;P&gt;cd EXA/src/&lt;BR /&gt;sed -i 's/COMMITNR/#COMMITNR/g' makefile.tc&lt;BR /&gt;sed -i 's/DIRTY/#DIRTY/g' makefile.tc&lt;BR /&gt;sed -i 's/LOCAL_CFLAGS/#LOCAL_CFLAGS/g' makefile.tc&lt;BR /&gt;#sed -i 's/drm/libdrm/g' makefile.linux&lt;BR /&gt;cd ../../&lt;/P&gt;&lt;P&gt;cd FslExt/src/&lt;BR /&gt;sed -i 's/COMMITNR/#COMMITNR/g' makefile.tc&lt;BR /&gt;sed -i 's/DIRTY/#DIRTY/g' makefile.tc&lt;BR /&gt;sed -i 's/LOCAL_CFLAGS/#LOCAL_CFLAGS/g' makefile.tc&lt;BR /&gt;cd ../../&lt;/P&gt;&lt;P&gt;cd util/autohdmi/&lt;BR /&gt;sed -i 's/COMMITNR/#COMMITNR/g' makefile.tc&lt;BR /&gt;sed -i 's/DIRTY/#DIRTY/g' makefile.tc&lt;BR /&gt;sed -i 's/LOCAL_CFLAGS/#LOCAL_CFLAGS/g' makefile.tc&lt;BR /&gt;cd ../../&lt;/P&gt;&lt;P&gt;cd util/pandisplay/&lt;BR /&gt;sed -i 's/COMMITNR/#COMMITNR/g' makefile.tc&lt;BR /&gt;sed -i 's/DIRTY/#DIRTY/g' makefile.tc&lt;BR /&gt;sed -i 's/LOCAL_CFLAGS/#LOCAL_CFLAGS/g' makefile.tc&lt;BR /&gt;cd ../../&lt;/P&gt;&lt;P&gt;export XSERVER_GREATER_THAN_13=1 &lt;BR /&gt;export BUILD_HARD_VFP=1 &lt;BR /&gt;export BUSID_HAS_NUMBER=1 &lt;BR /&gt;./fastbuild.sh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;./fastbuild.sh &amp;nbsp;install&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Annex xf86drm.h is in the /usr/include directory, 10-imx.rules is in the /etc/udev/rules.d directory , xorg.conf is in the /etc/X11/ directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a result, there is no problem with X11 GPU hardware acceleration，but when running glxgears, the desktop is frozen, and when running / opt / viv_sample / tiger / tiger, the program is abnormal.Attachment. Log file is the relevant log。&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2019 12:41:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/glxgears-and-tiger-run-exceptions-under-Ubuntu/m-p/930488#M139596</guid>
      <dc:creator>liyigang</dc:creator>
      <dc:date>2019-07-02T12:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: glxgears and tiger run exceptions under Ubuntu</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/glxgears-and-tiger-run-exceptions-under-Ubuntu/m-p/930489#M139597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello li,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don´t know what happened there but glxgears and tiger works as it should with ubuntu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2019 15:19:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/glxgears-and-tiger-run-exceptions-under-Ubuntu/m-p/930489#M139597</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2019-07-09T15:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: glxgears and tiger run exceptions under Ubuntu</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/glxgears-and-tiger-run-exceptions-under-Ubuntu/m-p/930490#M139598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that OPENGL program running will lead to &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;desktop&lt;/SPAN&gt; freezing, Xorg CPU occupancy rate of 100%.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 07:56:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/glxgears-and-tiger-run-exceptions-under-Ubuntu/m-p/930490#M139598</guid>
      <dc:creator>liyigang</dc:creator>
      <dc:date>2019-07-11T07:56:49Z</dc:date>
    </item>
  </channel>
</rss>

