Summary: | Brush presets docker being too large affects performance of brush rendering and UI. | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Ralek Kolemios <info> |
Component: | Dockers | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ahab.greybeard, halla |
Priority: | NOR | ||
Version: | nightly build (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: |
Description
Ralek Kolemios
2020-07-01 20:58:03 UTC
I don't see that with the 5.0.0 prealpha (git gcbceee) .zip package on Windows 10. With a 4096 x 4096 canvas and a large Brush Presets docker showing many icons, I get rapid response and fps of about 100 with very fast brush strokes. I've tried it with OpenGL and with Angle. Some complicated colour smudge engine brushes are slow, but not many. Just measured with a high speed camera, there is a ~200ms delay between first pen touch and the first frame of drawing. After this delay, the brush returns to its usual 100+ FPS This delay doesn't exist when the brush presets docker is either hidden, small, or there is no brush preset selected. Win 10 cbceee2 zip Since this doesn't seem to be reproducible elsewhere so far, what would be the next steps for me to trace the issue on my end? Can confirm sketching is still impossible while the brush presets docker is open in windows zip package git 929466a After some more rigorous testing, it seems to be affected by which bundles I currently have loaded. -Having only the basic Krita 4 bundle activated results in smooth drawing. -Having only 'local' brushes activated will cause a heavy delay when drawing. -Having 'local' deactivated, the Krita 4 bundle deactivated, and just my own bundles activated crashed my Krita. -Having 'local' activated, my bundles activated, and the basic Krita 4 bundle activated seemed to work fine, despite there being significantly more brush presets in the docker. Quite frankly I don't know what could be going on, but I assume it's heavily dependent on the resources rework, so I'll keep an eye on the issue going forward. Or if you had some more tests you'd have me do or anything else I can help with, let me know. Maybe this is now gone with https://invent.kde.org/graphics/krita/-/merge_requests/696 being merged? As far as I can tell, this is no longer an issue in the latest nightly builds. Thanks for checking! It's Sharaf's work that fixed it :-) |