https://bugs.kde.org/show_bug.cgi?id=521823
Bug ID: 521823
Summary: Insanely slow PNG opening, TOCTOP of ~25s for a simple
screenshot
Classification: Applications
Product: Koko
Version First 26.04.2
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: General
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 193408
--> https://bugs.kde.org/attachment.cgi?id=193408&action=edit
Insanely .png decoding speed, ~25s of TOCTOP.
DESCRIPTION
I've been facing this issue since late ~6.6 versions.
Both Koko and kio are insanely slow to read PNG pictures. In the video I have
attached, you can see that Koko takes ~25 seconds from click to show the
picture (TOCTOP) when Gwenview takes about ~0.6s to open the very same
screenshot.
Even Dolphin (and probably kio) can't generate thumbnails due to read and
processing timeouts.
Both .jpg and .avif decoding times are fine. Koko can open a ~3 MB .avif image
(~2s) and a ~4 MB .heic in a breeze (~43) but a 1.2 MB .png puts Koko and the
thumbnail system down to its knees (~25s).
Additionally, this issue triggers randomly. 75% of the time the TOCTOP is about
~25s as you can see on the video and the rest may range between 1.5s and 5s.
STEPS TO REPRODUCE
1. Set Spectacle to save pictures on .png
2. Take a fullscreen screenshot and save.
3. Open the save folder and you'll probably face a similarly slow writing rate.
For me, Spectacle writes about 150 kB/s as I can see the screenshot size grow
0.1 MB each second. This is not guaranteed to happen, but also adds to the
issue. Spectacle/Koko might also write slowly, they may not, but in both cases
the read rate is still painfully low.
4. Once it's finished loading, open it on Koko.
OBSERVED RESULT
Koko and kio have insanely slow RW rates for .png files, which don't reflect on
other image formats.
EXPECTED RESULT
Koko and kio should have consistent read times as Gwenview does.
SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: 6.7
KDE Frameworks Version: 6.27
Qt Version: 6.11.1
ADDITIONAL INFORMATION
CPU: AMD Ryzen 9 6900HX
Memory used at the tests moment: 5.7 out of 16 GB of RAM
Memory pressure:
/tmp/notangel $ cat /proc/pressure/memory
some avg10=0.00 avg60=0.00 avg300=0.00 total=14209290
full avg10=0.00 avg60=0.00 avg300=0.00 total=13363109
--
You are receiving this mail because:
You are watching all bug changes.