Poor preformance on krita UI

I am using the git version of Krita on Gentoo linux and I just did an update a couple days ago. Everything was fine before the update but now the UI is super laggy. Scrolling through the brush presets it very slow and stutters. It is the same when I resize my brush with keyboard shortcuts. However, when painting there is no performance issues. And after a bit of drawing it starts to eat up my ram causing my whole system to stutter.
My system info: Operating System: Gentoo Linux
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.1
Kernel Version: 5.5.3-gentoo-x86_64
OS Type: 64-bit
Processors: 12 × Intel® Core™ i7-5820K CPU @ 3.30GHz
Memory: 15.5 GiB of RAM

Should I try to rebuild Krita, or is there some other solution?

Thanks.

The “git version of Krita” is master or something else? Can you please try to download an appimage, especially the 4.2.9 one, and check if you have the same issues there?

Also make sure you have Canvas Graphics Acceleration checked in Configure Krita -> Display.

Thanks for getting back to me tiar.

I am using the master build (git db1cc49) and have the opengl enabled. Painting and panning on the canvas is smooth but when I change the brush size or use the kinetic scrolling or any of the dockers it stutters something awful.

I just used the appimage and there is no lag or stutter in the ui or kinetic scrolling which I am having in the git build.

Thanks.

I guess that’s either a different Qt version or the fact that Krita patches it that’s the cause. If you download Krita Next version, which should be close to what you were using, you’ll know if it’s a change in code between the release and master or just the change in packaging (since you haven’t mention which appimage you used).

appimage 4.2.9 is the version that I downloaded.

“download Krita Next version” That is fine but I hate that the appimage doesn’t use my theme on plasma and it irritates me. That is why I use the git version, it respects my plasma themes.

1 Like

So I am rebuilding krita and am getting some errors now. So there is something going on with my build. `CMake Error at cmake/modules/FindOpenEXR.cmake:43 (string):
string sub-command REGEX, mode MATCHALL needs at least 5 arguments total to
command.
Call Stack (most recent call first):
CMakeLists.txt:596 (find_package)

CMake Error at cmake/modules/FindOpenEXR.cmake:49 (string):
string su> Blockquoteb-command REGEX, mode MATCHALL needs at least 5 arguments total to
command.
Call Stack (most recent call first):
CMakeLists.txt:596 (find_package)

CMake Error at cmake/modules/FindOpenEXR.cmake:55 (string):
string sub-command REGEX, mode MATCHALL needs at least 5 arguments total to
command.
Call Stack (most recent call first):
CMakeLists.txt:596 (find_package)`
Yet the next line sys that: Found OpenEXR: /usr/include;/usr/include/OpenEXR
So I do not know why that is giving an error.

Broken tests:
* libs-odf-TestNumberStyle
* libs-flake-TestPointMergeCommand
* libs-flake-TestSvgText
* libs-flake-TestSvgTextCloned
* libs-flake-TestSvgTextRoundTrip
* libs-image-kis_transform_mask_test
* libs-image-kis_layer_styles_test
* libs-image-kis_update_scheduler_test
* libs-image-kis_paint_device_test
* libs-image-kis_colorize_mask_test
* libs-image-kis_selection_test
* libs-image-kis_processings_test
* libs-image-kis_perspective_transform_worker_test
* libs-ui-kis_shape_controller_test
* libs-ui-KisExiv2Test
* libs-ui-KisClipboardTest
* libs-ui-FreehandStrokeTest
* libs-ui-FreehandStrokeBenchmark
* libs-ui-KisPaintOnTransparencyMaskTest
* libs-ui-FillProcessingVisitorTest
* libs-ui-FilterStrokeTest
* libs-ui-KisSelectionManagerTest
* libs-ui-KisNodeManagerTest
* libs-ui-KisDummiesFacadeTest
* libs-ui-KisZoomAndPanTest
* libs-ui-KisActionManagerTest
* libs-ui-KisCategoriesMapperTest
* libs-ui-kis_animation_frame_cache_test
* libs-ui-kis_derived_resources_test
* libs-ui-KisShapeLayerTest
* plugins-dockers-lut-KisOcioDisplayFilterTest
* plugins-dockers-animation-timeline_model_test.cpp
* krita-filters-kis_all_filter_test.cpp
* krita-filters-kis_crash_filter_test.cpp
* plugins-impex-kis_kra_saver_test.cpp
* plugins-impex-kis_png_test
* plugins-impex-kis_csv_test
* plugins-impex-KisJP2Test
* plugins-impex-KisSvgTest
* plugins-impex-KisOraTest
* plugins-impex-psd-kis_psd_test
* plugins-libpaintop-kis_embedded_pattern_manager_test
* plugins-defaultpaintops-KisBrushOpTest
* plugins-tools-basictools-MoveStrokeTest

I am not sure what these are, but it is under “broken” So wondering if that means anything.

Okay, I just tried the Next build and I am having the same issue as what I had in my local git build.