Summary: | Spectacle is quite slow in taking screenshots | ||
---|---|---|---|
Product: | [Applications] Spectacle | Reporter: | Riccardo Robecchi <sephiroth_pk> |
Component: | General | Assignee: | Boudhayan Gupta <me> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | amir, forestix, kde, nate, QeMXA2JNeU.bugs.kde.org |
Priority: | NOR | ||
Version: | 21.08.1 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Riccardo Robecchi
2021-09-24 06:42:48 UTC
I tried setting desktop animation speed to "instant" and disabling compositing, but screen shots still have a painful delay after I press the keyboard shortcut. It was effectively instant when I used Xfce. This lag makes the KDE's screen shot feature mostly useless for gaming and video. I measured the lag at about 1/3 of a second, which is a lot of lost frames. Method: Pressing Kronometer's Start key and Spectacle's Capture Active Window key at the same time. This was on an idle system with ~4 GHz CPU, an SSD, and both apps recently used (and therefore probably cached in RAM). I also noticed this. In fact even simple things like displaying the version take alot of time and taking a screenshot a whopping 2s. LOG: $ time spectacle --version spectacle 23.04.0 spectacle --version 0,77s user 0,28s system 93% cpu 1,122 total # Take fullscreen screenshot in background to clipboard $ time spectacle -b -c -f spectacle -b -c -f 2,05s user 0,31s system 51% cpu 4,614 total SOFTWARE/OS VERSIONS Linux: EndeavourOS KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.9 Graphics Platform: Wayland Note that this is still happening with KDE 6. |