https://bugs.kde.org/show_bug.cgi?id=450509
Bug ID: 450509
Summary: Krita lags for about 300ms when a brush stroke begins,
but the works fine in the tablet tester and MS Paint.
Product: krita
Version: 5.0.2
Platform: Compiled Sources
OS: Microsoft Windows
Status: REPORTED
Severity: grave
Priority: NOR
Component: Tablets (tablet issues are only very rarely bugs in
Krita!)
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
Krita lags for an unacceptable amount of time when I start a brush stroke. I
know Krita doesn't support tablets directly but from what I can tell this must
be a problem specifically with the brush system. If it were not a problem with
the brush system I do not see why the tablet tester would be working just fine.
When I paint in the tablet(Wacom Bamboo CTH-470) tester or for that matter any
other painting tool on the system it is responsive and does the paint stroke
immediately, so I know it's not because the system is overwhelmed, and the
tablet is not misconfigured.
STEPS TO REPRODUCE
1. Open the tablet settings in Krita
2. Open the pen tester
3. Drawing with the pen works fine with no lag
4. Great now try painting with a brush.
OBSERVED RESULT
Krita lags for about 300ms at the beginning of stroke, then the cursor goes
back to moving normally. This basically means that to be usable, I have to
wait at the beginning over every single stroke, for Krita to catch up on
whatever the heck it is doing(probably catching lots of exceptions or
something).
EXPECTED RESULT
Krita immediately start painting on pen down and the cursor does not lag for
300ms.
Version Information
Krita
Version: 5.0.2
Languages: en_US, en
Hidpi: true
Qt
Version (compiled): 5.12.12
Version (loaded): 5.12.12
OS Information
Build ABI: x86_64-little_endian-llp64
Build CPU: x86_64
CPU: x86_64
Kernel Type: winnt
Kernel Version: 10.0.19042
Pretty Productname: Windows 10 (10.0)
Product Type: windows
Product Version: 10
OpenGL Info
Vendor: "Google Inc."
Renderer: "ANGLE (NVIDIA GeForce GTX 1660 SUPER Direct3D11 vs_5_0 ps_5_0)"
Version: "OpenGL ES 3.0 (ANGLE 2.1.0.57ea533f79a7)"
Shading language: "OpenGL ES GLSL ES 3.00 (ANGLE 2.1.0.57ea533f79a7)"
Requested format: QSurfaceFormat(version 3.0, options
QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24,
redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8,
stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer,
swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile
QSurfaceFormat::CompatibilityProfile)
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)
Version: 3.0
Supports deprecated functions false
is OpenGL ES: true
supportsBufferMapping: true
supportsBufferInvalidation: false
Extensions:
"GL_CHROMIUM_sync_query"
"GL_ANGLE_texture_usage"
"GL_ANGLE_program_cache_control"
"GL_OES_depth32"
"GL_EXT_robustness"
"GL_NV_fence"
"GL_EXT_texture_compression_s3tc_srgb"
"GL_OES_EGL_image_external_essl3"
"GL_OES_packed_depth_stencil"
"GL_ANGLE_texture_compression_dxt5"
"GL_EXT_color_buffer_half_float"
"GL_EXT_blend_minmax"
"GL_EXT_texture_norm16"
"GL_EXT_discard_framebuffer"
""
"GL_ANGLE_framebuffer_blit"
"GL_CHROMIUM_copy_texture"
"GL_OES_element_index_uint"
"GL_EXT_color_buffer_float"
"GL_OES_texture_float"
"GL_EXT_draw_buffers"
"GL_OES_texture_npot"
"GL_ANGLE_instanced_arrays"
"GL_OES_standard_derivatives"
"GL_OES_texture_half_float"
"GL_EXT_disjoint_timer_query"
"GL_ANGLE_client_arrays"
"GL_OES_get_program_binary"
"GL_OES_mapbuffer"
"GL_ANGLE_robust_client_memory"
"GL_EXT_map_buffer_range"
"GL_OES_rgb8_rgba8"
"GL_ANGLE_texture_compression_dxt3"
"GL_OES_texture_float_linear"
"GL_EXT_texture_rg"
"GL_CHROMIUM_color_buffer_float_rgb"
"GL_NV_EGL_stream_consumer_external"
"GL_EXT_texture_filter_anisotropic"
"GL_CHROMIUM_bind_generates_resource"
"GL_ANGLE_lossy_etc_decode"
"GL_OES_EGL_image"
"GL_CHROMIUM_copy_compressed_texture"
"GL_ANGLE_framebuffer_multisample"
"GL_EXT_unpack_subimage"
"GL_ANGLE_multiview"
"GL_EXT_occlusion_query_boolean"
"GL_ANGLE_translated_shader_source"
"GL_NV_pixel_buffer_object"
"GL_OES_EGL_image_external"
"GL_EXT_sRGB"
"GL_OES_vertex_array_object"
"GL_ANGLE_pack_reverse_row_order"
"GL_CHROMIUM_color_buffer_float_rgba"
"GL_EXT_texture_compression_dxt1"
"GL_KHR_debug"
"GL_EXT_texture_storage"
"GL_NV_pack_subimage"
"GL_OES_compressed_ETC1_RGB8_texture"
"GL_EXT_texture_format_BGRA8888"
"GL_OES_texture_half_float_linear"
"GL_ANGLE_depth_texture"
"GL_EXT_frag_depth"
"GL_EXT_debug_marker"
"GL_EXT_shader_texture_lod"
"GL_EXT_read_format_bgra"
"GL_ANGLE_request_extension"
"GL_CHROMIUM_bind_uniform_location"
"GL_OES_surfaceless_context"
QPA OpenGL Detection Info
supportsDesktopGL: true
supportsAngleD3D11: true
isQtPreferAngle: true
useBufferInvalidation (config option): false
Hardware Information
GPU Acceleration: auto
Memory: 16296 Mb
Number of Cores: 12
Swap Location: C:/Users/ethan/AppData/Local/Temp
Current Settings
Current Swap Location: C:/Users/ethan/AppData/Local/Temp
Current Swap Location writable: true
Undo Enabled: true
Undo Stack Limit: 200
Use OpenGL: true
Use OpenGL Texture Buffer: true
Disable Vector Optimizations: false
Disable AVX Optimizations: false
Canvas State: OPENGL_NOT_TRIED
Autosave Interval: 420
Use Backup Files: true
Number of Backups Kept: 1
Backup File Suffix: ~
Backup Location: Same Folder as the File
Backup Location writable: false
Use Win8 Pointer Input: false
Use RightMiddleTabletButton Workaround: false
Levels of Detail Enabled: false
Use Zip64: false
Display Information
Number of screens: 1
Screen: 0
Name: \\.\DISPLAY1
Depth: 32
Scale: 1
Resolution in pixels: 1600x900
Manufacturer:
Model:
Refresh Rate: 60
Current Settings
Current Swap Location: C:/Users/ethan/AppData/Local/Temp
Current Swap Location writable: true
Undo Enabled: true
Undo Stack Limit: 200
Use OpenGL: true
Use OpenGL Texture Buffer: true
Disable Vector Optimizations: false
Disable AVX Optimizations: false
Canvas State: TRY_OPENGL
Autosave Interval: 420
Use Backup Files: true
Number of Backups Kept: 1
Backup File Suffix: ~
Backup Location: Same Folder as the File
Backup Location writable: false
Use Win8 Pointer Input: true
Use RightMiddleTabletButton Workaround: false
Levels of Detail Enabled: false
Use Zip64: false
---------------------
================================================================================
SESSION: 17 Feb 2022 13:43:51 -0800. Executing C:\Program Files\Krita
(x64)\bin\krita.exe
Krita Version: 5.0.2, Qt version compiled: 5.12.12, loaded: 5.12.12. Process
ID: 22592
-- -- -- -- -- -- -- --
17 Feb 2022 13:43:51 -0800: Style: fusion. Available styles: windowsvista,
Windows, Fusion
17 Feb 2022 13:44:12 -0800: Non-store package - creating updater
17 Feb 2022 13:45:17 -0800: Importing application/x-krita to
application/x-krita. Location: C:/Program Files/Krita
(x64)/share/krita/templates/comics/.source/Manga-JpTemplate.kra. Real location:
C:/Program Files/Krita
(x64)/share/krita/templates/comics/.source/Manga-JpTemplate.kra. Batchmode: 0
17 Feb 2022 13:45:17 -0800: Loaded image from application/x-krita. Size: 1299 *
2067 pixels, 4.16667 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB
built-in). Layers: 8
17 Feb 2022 13:49:38 -0800: Created image "Unnamed", 2480 * 3508 pixels, 300
dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc).
Layers: 2
17 Feb 2022 13:56:38 -0800: Autosaving:
C:/Users/ethan/AppData/Local/Temp/krita-22592-document_1-autosave.kra
17 Feb 2022 13:56:38 -0800: Converting from application/x-krita to
application/x-krita. Location:
C:/Users/ethan/AppData/Local/Temp/krita-22592-document_1-autosave.kra. Real
location:
C:/Users/ethan/AppData/Local/Temp/krita-22592-document_1-autosave.kra.
Batchmode: 0. Configuration: none
17 Feb 2022 13:56:39 -0800: Completed saving
C:/Users/ethan/AppData/Local/Temp/krita-22592-document_1-autosave.kra (mime:
application/x-krita). Result: OK. Warning: . Size: 47658
18 Feb 2022 00:26:13 -0800: Autosaving:
C:/Users/ethan/AppData/Local/Temp/.krita-22592-document_1-autosave.kra
18 Feb 2022 00:26:13 -0800: Converting from application/x-krita to
application/x-krita. Location:
C:/Users/ethan/AppData/Local/Temp/.krita-22592-document_1-autosave.kra. Real
location:
C:/Users/ethan/AppData/Local/Temp/.krita-22592-document_1-autosave.kra.
Batchmode: 0. Configuration: none
18 Feb 2022 00:26:14 -0800: Completed saving
C:/Users/ethan/AppData/Local/Temp/.krita-22592-document_1-autosave.kra (mime:
application/x-krita). Result: OK. Warning: . Size: 614622
18 Feb 2022 00:29:24 -0800: Created image "Unnamed", 2550 * 3300 pixels, 300
dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc).
Layers: 2
18 Feb 2022 00:29:27 -0800: Removing autosave file:
C:/Users/ethan/AppData/Local/Temp/.krita-22592-document_1-autosave.kra
18 Feb 2022 00:36:24 -0800: Autosaving:
C:/Users/ethan/AppData/Local/Temp/.krita-22592-document_2-autosave.kra
18 Feb 2022 00:36:24 -0800: Converting from application/x-krita to
application/x-krita. Location:
C:/Users/ethan/AppData/Local/Temp/.krita-22592-document_2-autosave.kra. Real
location:
C:/Users/ethan/AppData/Local/Temp/.krita-22592-document_2-autosave.kra.
Batchmode: 0. Configuration: none
18 Feb 2022 00:36:24 -0800: Completed saving
C:/Users/ethan/AppData/Local/Temp/.krita-22592-document_2-autosave.kra (mime:
application/x-krita). Result: OK. Warning: . Size: 141229
---------------------
--
You are receiving this mail because:
You are watching all bug changes.