<?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>i.MX ProcessorsのトピックRe: xinput_calibrator error when xserver using GPU</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/xinput-calibrator-error-when-xserver-using-GPU/m-p/795979#M123199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you set this?&lt;/P&gt;&lt;PRE&gt;$ export DISPLAY=:0.0&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Oct 2018 05:46:40 GMT</pubDate>
    <dc:creator>jimmychan</dc:creator>
    <dc:date>2018-10-17T05:46:40Z</dc:date>
    <item>
      <title>xinput_calibrator error when xserver using GPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/xinput-calibrator-error-when-xserver-using-GPU/m-p/795978#M123198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using X11 and vivante GPU driver. Environment is as following:&lt;/P&gt;&lt;P&gt;HW: imx6 solo&lt;/P&gt;&lt;P&gt;SW: kernel-4.9.11,&amp;nbsp; GPU driver 6.2.2.p0, GPU packages of filesystem:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11pt;"&gt;imx-gpu-viv-6.2.2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11pt;"&gt;gpu-viv-g2d-6.2.2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11pt;"&gt;xf86-video-imx-viv-6.2.2.p0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I can start X server successfully with GPU driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Then I run a X client -- xinput_calibrator to check whether X work fine. Test steps:&lt;/P&gt;&lt;P&gt;X &amp;amp;&lt;/P&gt;&lt;P&gt;xinput_calibrator --output-type xinput -v&lt;/P&gt;&lt;P&gt;Got following errors:&lt;/P&gt;&lt;P&gt;free(): invalid pointer&lt;BR /&gt;terminate called after throwing an instance of 'std::runtime_error'&lt;BR /&gt;&amp;nbsp; what():&amp;nbsp; Unable to connect to X server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The detailed log is attached x11_gpu_1015_1.log&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then Xserver is stopped. I checked the source code of xinput_calibrator, it seems that XOpenDisplay() returns NULL, Then the "std::runtime_error"&amp;nbsp; " Unable to connect to X server" is shown.&lt;/P&gt;&lt;P&gt;Why does this happen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I configure the xserver to use framebuffer, not use vivante driver:&lt;/P&gt;&lt;P&gt;/etc/X11/xorg.conf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I start Xserver with framebuffer, and execute xinput_calibrator, it works fine, and display well. See x11_fb_1015_1.log&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me check this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Xiao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2018 06:13:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/xinput-calibrator-error-when-xserver-using-GPU/m-p/795978#M123198</guid>
      <dc:creator>westbrook</dc:creator>
      <dc:date>2018-10-16T06:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: xinput_calibrator error when xserver using GPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/xinput-calibrator-error-when-xserver-using-GPU/m-p/795979#M123199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you set this?&lt;/P&gt;&lt;PRE&gt;$ export DISPLAY=:0.0&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 05:46:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/xinput-calibrator-error-when-xserver-using-GPU/m-p/795979#M123199</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2018-10-17T05:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: xinput_calibrator error when xserver using GPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/xinput-calibrator-error-when-xserver-using-GPU/m-p/795980#M123200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jimmy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I checked the environment variables, DISPLAY=:0. Is this value OK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried following version, the xinput_calibrator can work with Xserver:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;SW: kernel-4.9.11,&amp;nbsp; GPU driver 6.2.2.p0, GPU packages of filesystem:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11pt;"&gt;imx-gpu-viv-5.0.11.p8.6&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11pt;"&gt;xf86-video-imx-viv-&lt;SPAN style="background-color: #ffffff;"&gt;5.0.11.p8.6&lt;/SPAN&gt;&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;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 11pt;"&gt;Is there any version limitations? like&amp;nbsp;&lt;SPAN&gt;5.0.11.p8.6 library packages&amp;nbsp;must use kernel GPU driver&amp;nbsp;5.0.11.p8.6 ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 11pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 11pt;"&gt;&lt;SPAN&gt;BR,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 11pt;"&gt;&lt;SPAN&gt;Xiao&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 08:57:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/xinput-calibrator-error-when-xserver-using-GPU/m-p/795980#M123200</guid>
      <dc:creator>westbrook</dc:creator>
      <dc:date>2018-10-17T08:57:25Z</dc:date>
    </item>
  </channel>
</rss>

