Tested v5.3.0 prealpha 6f434a9, UI is unbearably slow

I understand it’s still an unstable version.
But why is version 5.3.0 prealpha 6f434a9 so slow to navigate through?
UI interaction is not smooth and everything is delayed. What is happening?
Why?

It’s not something that happens on other systems as far as I’m aware of. So you’ll need to provide more information about your system, outputs from the system information options under the Help menu and ideally a screen recording of it happening (from before Krita starts ideally, so that you’re not cutting out pertinent information.)

Ideally, you should also try it on a clean configuration, with no custom settings, resources and in particular no external plugins installed. Those are the most likely cause, given that it’s not a problem seen everywhere.

(How to get a clean configuration on Windows someone else will have to say, I don’t know if you can run Krita under a different home directory like you can on a normal operating system.)

I tried a clean install and the issue was still the same.
I deleted the resource cache and kritarc files. But it didn’t work.
Was still super slow.

While painting there’s no problem, but once you commit your stroke, there’s a triggered
temporary freeze.

Attempt to hatch rapidly with multiple strokes and the app will appear fully frozen while
you keep doing the hatching.

Also I don’t use or run any plugin besides the native ones.

How does this go together with what you said originally? You said it is “slow to navigate through”, now you are talking about painting. Is this an additional issue or is that problem gone after reinstalling and this is a new one?

Please also follow the rest of what I said, not just one part of it. More information is needed to get to the bottom of this issue.

Not an additional issue, no.

You see, some parts of the UI are fast, like switching between some active dockers.
While other elements, like selecting a layer, creating a layer, committing many strokes,
unscrolling menus, are unbearably delayed and slow!

So it’s super weird! But It’s all part of the same problem.

Here’s my system info for bug report :



Krita



Version: 5.3.0-prealpha (git 5a23590)

Installation type: installer / portable package

Hidpi: false



Qt



Version (compiled): 5.15.7

Version (loaded): 5.15.7



OS Information



Build ABI: x86_64-little_endian-llp64

Build CPU: x86_64

CPU: x86_64

Kernel Type: winnt

Kernel Version: 10.0.19045

Pretty Productname: Windows 10 Version 2009

Product Type: windows

Product Version: 10

Result of IsWindows10OrGreater(): No



Locale



Languages: en_US, en, en_Latn_US

C locale: C

QLocale current: en

QLocale system: en

QTextCodec for locale: UTF-8

Process ACP: 65001 (UTF-8)

System locale default ACP: 1252 (ANSI - Latin I)



OpenGL Info



Qt Platform Name: "windows"

Vendor: "Google Inc. (NVIDIA)"

Renderer: "ANGLE (NVIDIA, NVIDIA GeForce GT 640M Direct3D11 vs_5_0 ps_5_0, D3D11-25.21.14.2531)"

Driver version: "OpenGL ES 3.0.0 (ANGLE 2.1.0 git hash: f2280c0c5f93+krita_qt5)"

Shading language: "OpenGL ES GLSL ES 3.00 (ANGLE 2.1.0 git hash: f2280c0c5f93+krita_qt5)"

Requested format: QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)

Current format: QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)

GL version: 3.0

Supports deprecated functions false

Is OpenGL ES: true

supportsBufferMapping: true

supportsBufferInvalidation: false

forceDisableTextureBuffers: true

Extensions:

GL_OES_compressed_ETC2_RGB8_texture

GL_EXT_texture_filter_anisotropic

GL_OES_texture_float

GL_OES_compressed_ETC2_sRGB8_alpha8_texture

GL_OES_standard_derivatives

GL_EXT_read_format_bgra

GL_AMD_performance_monitor

GL_EXT_color_buffer_float

GL_EXT_disjoint_timer_query

GL_EXT_instanced_arrays

GL_OES_EGL_image_external_essl3

GL_EXT_texture_compression_dxt1

GL_EXT_texture_rg

GL_EXT_clip_control

GL_ANGLE_framebuffer_multisample

GL_OES_get_program_binary

GL_EXT_sRGB

GL_ANGLE_texture_compression_dxt3

GL_OES_vertex_array_object

GL_NV_fence

GL_ANGLE_texture_compression_dxt5

GL_OES_texture_half_float_linear

GL_EXT_EGL_image_external_wrap_modes

GL_EXT_discard_framebuffer

GL_EXT_occlusion_query_boolean

GL_OES_compressed_EAC_RG11_unsigned_texture

GL_OES_surfaceless_context

GL_EXT_frag_depth

GL_EXT_texture_compression_s3tc_srgb

GL_CHROMIUM_sync_query

GL_ANGLE_framebuffer_blit

GL_EXT_texture_compression_bptc

GL_CHROMIUM_lose_context

GL_ANGLE_client_arrays

GL_OES_element_index_uint

GL_EXT_debug_label

GL_EXT_blend_func_extended

GL_OES_compressed_ETC2_sRGB8_texture

GL_OES_rgb8_rgba8

GL_OES_compressed_ETC2_punchthroughA_RGBA8_texture

GL_OES_draw_buffers_indexed

GL_OES_packed_depth_stencil

GL_ANGLE_multiview_multisample

GL_CHROMIUM_copy_compressed_texture

GL_EXT_multi_draw_indirect

GL_OES_texture_float_linear

GL_EXT_texture_norm16

GL_EXT_color_buffer_half_float

GL_NV_EGL_stream_consumer_external

GL_NV_pixel_buffer_object

GL_CHROMIUM_copy_texture

GL_ANGLE_request_extension

GL_KHR_parallel_shader_compile

GL_ANGLE_provoking_vertex

GL_CHROMIUM_bind_generates_resource

GL_OES_draw_elements_base_vertex

GL_EXT_texture_storage

GL_ANGLE_lossy_etc_decode

GL_EXT_draw_elements_base_vertex

GL_OES_compressed_EAC_RG11_signed_texture

GL_ANGLE_copy_texture_3d

GL_EXT_unpack_subimage

GL_EXT_draw_buffers_indexed

GL_ANGLE_get_tex_level_parameter

GL_CHROMIUM_bind_uniform_location

GL_EXT_multisampled_render_to_texture

GL_ANGLE_memory_size

GL_EXT_texture_format_BGRA8888

GL_ANGLE_base_vertex_base_instance_shader_builtin

GL_OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture

GL_ANGLE_texture_multisample

GL_ANGLE_robust_client_memory

GL_EXT_debug_marker

GL_OES_depth32

GL_OES_texture_border_clamp

GL_OES_texture_npot

GL_OES_texture_stencil8

GL_NV_pack_subimage

GL_OES_compressed_ETC2_RGBA8_texture

GL_ANGLE_texture_usage

GL_ANGLE_base_vertex_base_instance

GL_EXT_draw_buffers

GL_ANGLE_get_serialized_context_string

GL_NV_framebuffer_blit

GL_OVR_multiview2

GL_ANGLE_translated_shader_source

GL_ANGLE_pack_reverse_row_order

GL_ANGLE_multi_draw

GL_KHR_debug

GL_OES_texture_half_float

GL_EXT_blend_minmax

GL_OES_mapbuffer

GL_ANGLE_instanced_arrays

GL_ANGLE_program_cache_control

GL_OES_EGL_image_external

GL_EXT_texture_type_2_10_10_10_REV

GL_OES_fbo_render_mipmap

GL_OVR_multiview

GL_EXT_shader_texture_lod

GL_OES_depth24

GL_WEBGL_video_texture

GL_EXT_robustness

GL_ANGLE_depth_texture

GL_EXT_map_buffer_range

GL_OES_EGL_image

GL_OES_compressed_EAC_R11_unsigned_texture

GL_EXT_float_blend

GL_EXT_texture_compression_rgtc

GL_OES_compressed_EAC_R11_signed_texture



QPA OpenGL Detection Info

supportsDesktopGL: true

supportsAngleD3D11: true

isQtPreferAngle: true

Detected renderers:

(Supported) GeForce GT 640M/PCIe/SSE2 (4.6.0 NVIDIA 425.31)

(Supported) ANGLE (Microsoft, Microsoft Basic Render Driver Direct3D11 vs_5_0 ps_5_0, D3D11-10.0.19041.4355) (OpenGL ES 3.0.0 (ANGLE 2.1.0 git hash: f2280c0c5f93+krita_qt5))

(Supported) ANGLE (NVIDIA, NVIDIA GeForce GT 640M Direct3D11 vs_5_0 ps_5_0, D3D11-25.21.14.2531) (OpenGL ES 3.0.0 (ANGLE 2.1.0 git hash: f2280c0c5f93+krita_qt5))



useBufferInvalidation (config option): false





Hardware Information



GPU Acceleration: auto

Memory: 12126 Mb

Number of Cores: 8

Swap Location: C:/Users/Yed/AppData/Local/Temp

Built for: sse2

Base instruction set: avx

Supported instruction sets: avx sse4.2 sse4.1 ssse3 sse3 sse2



Current Settings



Current Swap Location: C:/Users/Yed/AppData/Local/Temp

Current Swap Location writable: true

Undo Enabled: true

Undo Stack Limit: 200

Use OpenGL: true

Use OpenGL Texture Buffer: false

Disable Vector Optimizations: false

Disable AVX Optimizations: false

Canvas State: OPENGL_SUCCESS

Autosave Interval: 600

Use Backup Files: true

Number of Backups Kept: 1

Backup File Suffix: ~

Backup Location: C:/Users/Yed/AppData/Local/Temp

Backup Location writable: true

Resource Location: C:/Users/Yed/AppData/Roaming/krita

Use Win8 Pointer Input: false

Use RightMiddleTabletButton Workaround: false

Levels of Detail Enabled: false

Use Zip64: false





Loaded Python Plugins

newspaper

subwindowOrganizer

colorspace

comics_project_management_tools

documenttools

exportlayers

filtermanager

lastdocumentsdocker

mutator

plugin_importer

quick_settings_docker

scripter

tenbrushes

tenscripts

workflow_buttons





Display Information

Number of screens: 1

Screen: 0

Name: \\.\DISPLAY1

Depth: 32

Scale: 1

Physical DPI96.063

Logical DPI96

Physical Size: 423, 238

Position: 0, 0

Resolution in pixels: 1600x900

Manufacturer: MS_

Model: MS_3

Refresh Rate: 60

Serial Number: 1
2

Additional note :
The scratchpad is not affected at all by the issue!

Builds labeled under Krita 6.0.0 prealpha have normal UI performance and no lag,
however the click with stylus is buggy, with the interface causing the click to repeat
twice for one click.

Consequences :

  • you attempt to select a menu, the menu show and hides
  • you untick a brush option parameter, but once ticked or unticked, you can’t change the state,
    until you click on something else, then click back again;
  • you can not select multiple layers with CTRL or SHIFT for some reason

I have the same problem since like, august I think, I always use the prealphas releases to work due to the new functions and for testings, but since those dates, every prealpha release worked slowly in any windows I have, in android and linux works fine. The Ui feels a little laggy and every brush lags a lot.