![]() |
没人理的豆芽 · 起舞南疆,韵味经典——中国民族民间舞蹈傣族舞 ...· 4 月前 · |
![]() |
腼腆的柳树 · 如何书写剧本的分集和分场大纲_手机搜狐网· 4 月前 · |
![]() |
沉着的抽屉 · 足坛最佳100人,撩球妹百大球星排行榜80: ...· 5 月前 · |
![]() |
悲伤的足球 · 华南理工大学-人才招聘网· 6 月前 · |
在Linux机器上运行时,qml呈现得非常慢(在Windows上运行时没有什么问题)。在打开QSG_RENDER_TIMING=1之后,在QtQuick场景图事件中的blockedForSync (GUI线程同步)中,打印显示了很长的延迟(每次UI内容都被更改):
qt.scenegraph.time.renderer:呈现器中的时间: total=1158ms ,preprocess=0,updates=0,binding=0,rendering=1158 qt.scenegraph.time.renderloop:用1164 in中的“线程”渲染循环呈现的帧,sync=0,render=1158,swap=6 -(在渲染线程上) qt.scenegraph.time.renderloop:使用“线程”渲染循环、polish=0、lock=0、 animations=0 -(在Gui线程上)animations=0(在Gui线程上)animations=0(0x9705200活动裸露)、preprocess=0(窗口)、(窗口)、“”、1024x768编写的框架
设置如下:
qt.scenegraph.general:线程化呈现循环
qt.scenegraph.general:使用sg动画驱动程序
qt.scenegraph.general:动画驱动程序:使用vsync: 16.67ms
qt.scenegraph.general:纹理图谱尺寸: 1024x1024
qt.scenegraph.general: R/G/B/A缓冲器:8 8 8 0
qt.scenegraph.general:深度缓冲区: 24
qt.scenegraph.general:模具缓冲区:8
qt.scenegraph.general:样品:0
qt.scenegraph.general: GL_VENDOR: VMware公司
qt.scenegraph.general: GL_RENDERER:镓0.4在软管道上
qt.scenegraph.general: GL_VERSION: 3.0Mesa17.1.5
谢谢,这确实是一个gpu驱动程序的问题,是修复的。
Copyright © 2013 - 2023 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号: 粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
扫码关注腾讯云开发者
领取腾讯云代金券