深度截图实用起来很卡
Tofloor
poster avatar
msccreater
deepin
2017-09-20 23:00
Author
打开截图后,放大镜不能及时跟随鼠标移动显示, 而且放大镜显示的图像信息也不是实时更新,而是前几秒鼠标静止时取到的图像信息安装用的时U盘专家模式安装,跟分区分配了20G,其余的100G全部分给了/home分区,没有其他分区了
如果还需要其他信息的希望回帖告诉我,回头我录制一个GIF作为附件让你们看下卡顿的问题
Reply Favorite View the author
All Replies
avatar
jingle
deepin
2017-09-20 23:37
#1
不知道你的配置如何  我这边基本都是秒开
Reply View the author
avatar
Lyvnee
deepin
2017-09-21 01:10
#2
根分区20G,装几个软件就满了
Reply View the author
avatar
msccreater
deepin
2017-09-21 04:57
#3
https://bbs.deepin.org/post/145784
不知道你的配置如何  我这边基本都是秒开



看下我的分区情况和截图时的卡顿情况,还需要什么的,请回帖,在线等



Reply View the author
avatar
180******28
deepin
2017-09-21 05:35
#4
dalao电脑真棒
Reply View the author
avatar
jingle
deepin
2017-09-21 17:05
#5
https://bbs.deepin.org/post/145784
看下我的分区情况和截图时的卡顿情况,还需要什么的,请回帖,在线等

配置可以啊,为何卡呢  sudo deepin-feedback-cli命令反馈下日志吧 或者top看看进程
Reply View the author
avatar
duanyao
deepin
2017-09-21 17:43
#6
之前也有人提到过截图启动慢的问题,似乎与显卡有关:
https://bbs.deepin.org/post/142020

楼主可以按我在里面的发言,用 time、strace 工具分析一下。
Reply View the author
avatar
msccreater
deepin
2017-09-21 22:46
#7
https://bbs.deepin.org/post/145784
之前也有人提到过截图启动慢的问题,似乎与显卡有关:
https://bbs.deepin.org/forum.php?mod=viewthread&t ...

我这个不是启动慢,是截图过程中很卡,启动瞬间完成的,你没发现我在选择截图区域的时候很卡吗?选择的区域不能跟随鼠标立即显示出来,而且放大镜中的内容延迟也很大
Reply View the author
avatar
jingle
deepin
2017-09-21 23:12
#8
https://bbs.deepin.org/post/145784
我这个不是启动慢,是截图过程中很卡,启动瞬间完成的,你没发现我在选择截图区域的时候很卡吗?选择的区域不 ...

录屏上来看看
Reply View the author
avatar
duanyao
deepin
2017-09-22 01:12
#9
本帖最后由 duanyao 于 2017-9-21 17:19 编辑
https://bbs.deepin.org/post/145784
我这个不是启动慢,是截图过程中很卡,启动瞬间完成的,你没发现我在选择截图区域的时候很卡吗?选择的区域不 ...

没关系,也可以用类似的方法分析。比如我这里选择区域后截图的时间:

$ time deepin-screenshot
real             0m16.783s
user        0m2.520s
sys            0m0.108s

我这里选择区域的拖动并没有任何延迟,至于放大镜内容的更新差不多延迟1-2秒,不知道是否设计就是如此。
Reply View the author
avatar
msccreater
deepin
2017-09-22 05:07
#10
https://bbs.deepin.org/post/145784
没关系,也可以用类似的方法分析。比如我这里选择区域后截图的时间:

$ time deepin-screenshot

real        0m6.485s
user        0m0.828s
sys        0m0.136s


real        0m13.772s
user        0m0.604s
sys        0m0.136s


real        0m2.854s
user        0m0.536s
sys        0m0.060s
测试3次的时间
Reply View the author
avatar
msccreater
deepin
2017-09-22 05:10
#11
https://bbs.deepin.org/post/145784
配置可以啊,为何卡呢  sudo deepin-feedback-cli命令反馈下日志吧 或者top看看进程 ...

deepin-feedback-cli-Deepin-15.4.1-all-20170921-210828.tar.gz
Reply View the author
avatar
msccreater
deepin
2017-09-22 05:11
#12
https://bbs.deepin.org/post/145784
没关系,也可以用类似的方法分析。比如我这里选择区域后截图的时间:

$ time deepin-screenshot

我看过朋友的截图使用效果,比我的流程多了,而且放大镜的显示内容也很及时,代码我也看过,大概有200毫秒的延迟
Reply View the author
avatar
msccreater
deepin
2017-09-22 05:14
#13

你注意看放大镜中显示的文字放大后显示的内容,延迟相当大,跟正常的情况完全够不一样啊

Reply View the author
avatar
duanyao
deepin
2017-09-22 07:42
#14
https://bbs.deepin.org/post/145784
real        0m6.485s
user        0m0.828s
sys        0m0.136s

从这个数据看不比我的机器慢,甚至还要快一些,我一时也想不到原因。如果你能调试代码,那么可以用 gprof 来分析具体是哪些函数耗时最多。
Reply View the author
avatar
jingle
deepin
2017-09-22 16:58
#15
https://bbs.deepin.org/post/145784
你注意看放大镜中显示的文字放大后显示的内容,延迟相当大,跟正常的情况完全够不一样啊

...

谢谢反馈
Reply View the author