<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[T113 tina musl qt 虚拟键盘 cpu占用异常，尝试glibc编译qt无法运行，求大佬指点]]></title><description><![CDATA[<p dir="auto">我们目前使用的tina linux sdk，应用软件使用的是qt 5.12，并且使用了qt虚拟键盘功能，,编译时选用的musl库，现在发现有时候设备有卡顿严重情况，有时候反应非常慢，有的干脆卡死了。而且发现cpu占用异常，就是软件界面没有操作的时候也cpu占用高，同样的应用软件在v3s以及a33，x3平台都没有这种现象。 编译了qt官方的虚拟键盘例子也发现cpu占用异常高，只要不用虚拟键盘就不占用高，使用了虚拟键盘就占用高。感觉像musl编译有bug一样.</p>
<p dir="auto">想尝试使用glibc编译看看有没有这种问题，但编译出来的qt无法运行，尝试使用glibc编译，编译出来的无法运行，使用buildroot+glibc外面编译出来的qt用tina打包同样无法运行，现象跟之前这里提的一个问题一样，连接: <a href="https://bbs.aw-ol.com/topic/2256/qt%E8%BF%90%E8%A1%8C%E6%97%B6%E6%8A%A5%E9%94%99the-futex-facility-returned-an-unexpected-error-code-aborted?_=1693360106793&amp;lang=zh-CN">https://bbs.aw-ol.com/topic/2256/qt运行时报错the-futex-facility-returned-an-unexpected-error-code-aborted?_=1693360106793&amp;lang=zh-CN</a></p>
<p dir="auto">有没有大佬t113 tina 成功使用过glibc运行过qt,指点一下。</p>
]]></description><link>https://bbs.aw-ol.com/topic/4153/t113-tina-musl-qt-虚拟键盘-cpu占用异常-尝试glibc编译qt无法运行-求大佬指点</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 06:41:22 GMT</lastBuildDate><atom:link href="https://bbs.aw-ol.com/topic/4153.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 30 Aug 2023 02:28:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to T113 tina musl qt 虚拟键盘 cpu占用异常，尝试glibc编译qt无法运行，求大佬指点 on Fri, 01 Sep 2023 17:50:41 GMT]]></title><description><![CDATA[<p dir="auto">cpu空闲占用高的情况换用glibc编译后也正常了，看来这个sdk里面的musl库还是有些bug的，也听大佬说改用官方最新版本的musl库可能也会好。glibc编译搞定了就不折腾这个musl了，感觉还是glibc靠谱吧。</p>
]]></description><link>https://bbs.aw-ol.com/post/18408</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/18408</guid><dc:creator><![CDATA[cslg_wangjian]]></dc:creator><pubDate>Fri, 01 Sep 2023 17:50:41 GMT</pubDate></item><item><title><![CDATA[Reply to T113 tina musl qt 虚拟键盘 cpu占用异常，尝试glibc编译qt无法运行，求大佬指点 on Fri, 01 Sep 2023 09:40:02 GMT]]></title><description><![CDATA[<p dir="auto">glibc 编译 qt 无法运行的问题找到了，内核配置里需要打开futex,打开这个就好了<br />
<img src="/assets/uploads/files/1693561194374-futex%E9%85%8D%E7%BD%AE.png" alt="futex配置.png" class=" img-responsive img-markdown" /></p>
]]></description><link>https://bbs.aw-ol.com/post/18404</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/18404</guid><dc:creator><![CDATA[cslg_wangjian]]></dc:creator><pubDate>Fri, 01 Sep 2023 09:40:02 GMT</pubDate></item><item><title><![CDATA[Reply to T113 tina musl qt 虚拟键盘 cpu占用异常，尝试glibc编译qt无法运行，求大佬指点 on Wed, 30 Aug 2023 06:57:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/44">@whycan</a> 刚测试了一下，使用a33 sdk里面编译3.10内核的gcc编译t113的5.4内核，使用a33sdk里面编译好运行正常的rootfs,也就是使用相同的二进制根文件系统，然后使用tina打包镜像，运行到qt时还是报错The futex facility returned an unexpected error code，真是无语了。不知道跟linux5.4有么有关系，其他几个正常的平台都是linux 3.10 。</p>
]]></description><link>https://bbs.aw-ol.com/post/18343</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/18343</guid><dc:creator><![CDATA[cslg_wangjian]]></dc:creator><pubDate>Wed, 30 Aug 2023 06:57:12 GMT</pubDate></item><item><title><![CDATA[Reply to T113 tina musl qt 虚拟键盘 cpu占用异常，尝试glibc编译qt无法运行，求大佬指点 on Wed, 30 Aug 2023 04:45:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/3667">@cslg_wangjian</a><br />
用同一个二进制文件系统也是一样的情况吗？</p>
]]></description><link>https://bbs.aw-ol.com/post/18336</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/18336</guid><dc:creator><![CDATA[whycan]]></dc:creator><pubDate>Wed, 30 Aug 2023 04:45:22 GMT</pubDate></item><item><title><![CDATA[Reply to T113 tina musl qt 虚拟键盘 cpu占用异常，尝试glibc编译qt无法运行，求大佬指点 on Wed, 30 Aug 2023 04:16:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/44">@whycan</a> 试过内核 buildroot 都用buildroot里面的gcc9编译，使用的glibc，还是运行qt报错，不知道跟linux内核配置有么有哪里配置不对有关系。不过确实不是跟其他系统使用的同一个armcc，我再试试用同样的armcc看看还错不错。现在重点就是想用glibc跑起来看看，严重怀疑是musl库问题导致的cpu占用异常,大概看了下是qt虚拟键盘开启了一个线程导致的，这个线程里像是一个wait实现方式有问题。<br />
<img src="/assets/uploads/files/1693368819716-qt-thread-wait.png" alt="qt-thread-wait.png" class=" img-responsive img-markdown" width="909" height="414" /></p>
<p dir="auto">只要用了虚拟键盘开启这个线程，就占用cpu高，尝试过把wait改成sleep时间长一点循环就占用率第一点，但这是qt的底层原生代码，感觉不应该是代码问题。怀疑就是musl底层wait实现不一样或者哪里有问题。</p>
]]></description><link>https://bbs.aw-ol.com/post/18335</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/18335</guid><dc:creator><![CDATA[cslg_wangjian]]></dc:creator><pubDate>Wed, 30 Aug 2023 04:16:26 GMT</pubDate></item><item><title><![CDATA[Reply to T113 tina musl qt 虚拟键盘 cpu占用异常，尝试glibc编译qt无法运行，求大佬指点 on Wed, 30 Aug 2023 04:03:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/3667">@cslg_wangjian</a><br />
用同一个 arm gcc</p>
]]></description><link>https://bbs.aw-ol.com/post/18334</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/18334</guid><dc:creator><![CDATA[whycan]]></dc:creator><pubDate>Wed, 30 Aug 2023 04:03:50 GMT</pubDate></item><item><title><![CDATA[Reply to T113 tina musl qt 虚拟键盘 cpu占用异常，尝试glibc编译qt无法运行，求大佬指点 on Wed, 30 Aug 2023 03:51:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/44">@whycan</a> 感谢晕哥支持，其他平台如x3 v3s a33都是buildroot glibc编译的qt,而放到t113上用同样的buildroot编译出来的qt却不能用，如果c库选musl就可以用，但就是有上面的bug。</p>
]]></description><link>https://bbs.aw-ol.com/post/18333</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/18333</guid><dc:creator><![CDATA[cslg_wangjian]]></dc:creator><pubDate>Wed, 30 Aug 2023 03:51:03 GMT</pubDate></item><item><title><![CDATA[Reply to T113 tina musl qt 虚拟键盘 cpu占用异常，尝试glibc编译qt无法运行，求大佬指点 on Wed, 30 Aug 2023 03:29:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/3667">@cslg_wangjian</a> 在 <a href="/post/18326">T113 tina musl qt 虚拟键盘 cpu占用异常，尝试glibc编译qt无法运行，求大佬指点</a> 中说：</p>
<blockquote>
<p dir="auto">v3s以及a33，x3平台都没有这种现象。</p>
</blockquote>
<p dir="auto">可以用同一个文件系统。</p>
]]></description><link>https://bbs.aw-ol.com/post/18328</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/18328</guid><dc:creator><![CDATA[whycan]]></dc:creator><pubDate>Wed, 30 Aug 2023 03:29:43 GMT</pubDate></item></channel></rss>