| Summary: | rotation performance issue | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | til.schmitter |
| Component: | OpenGL Canvas | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | griffinvalley |
| Priority: | NOR | ||
| Version First Reported In: | nightly build (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | krita thinking hard for a long time | ||
git hash 38117a7 Not at all getting this on KDE Neon based on Ubuntu 18.04 with intel graphics. Could you share your system information? (help->system information for bugreports) This is mine:
Krita
Version: 4.3.0-prealpha (git 079f26f)
Languages: en_US, en_GB, nl
Hidpi: true
Qt
Version (compiled): 5.12.3
Version (loaded): 5.12.3
OS Information
Build ABI: x86_64-little_endian-lp64
Build CPU: x86_64
CPU: x86_64
Kernel Type: linux
Kernel Version: 4.15.0-64-generic
Pretty Productname: KDE neon User Edition 5.16
Product Type: neon
Product Version: 18.04
Hardware Information
GPU Acceleration: auto
Memory: 7725 Mb
Number of Cores: 8
Swap Location: /tmp
OpenGL Info
Vendor: "Intel Open Source Technology Center"
Renderer: "Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) "
Version: "3.0 Mesa 19.0.8"
Shading language: "1.30"
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>(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::NoProfile)
Version: 3.0
Supports deprecated functions true
is OpenGL ES: false
QPA OpenGL Detection Info
supportsDesktopGL: true
supportsOpenGLES: true
isQtPreferOpenGLES: false
== log ==
Supported renderers: QFlags(0x2|0x4)
Surface format preference list:
* 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)
2
* 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)
4
Probing format... QSurfaceFormat::DefaultColorSpace 2
Found 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)
2
sure.
maybe it has to do with opengl support?
Krita
Version: 4.3.0-prealpha (git 38117a7)
Languages: en_US
Hidpi: false
Qt
Version (compiled): 5.12.5
Version (loaded): 5.12.5
OS Information
Build ABI: x86_64-little_endian-lp64
Build CPU: x86_64
CPU: x86_64
Kernel Type: linux
Kernel Version: 4.15.0-58-generic
Pretty Productname: Ubuntu 18.04.2 LTS
Product Type: ubuntu
Product Version: 18.04
Hardware Information
GPU Acceleration: none
Memory: 2992 Mb
Number of Cores: 2
Swap Location: /tmp
OpenGL Info
Vendor: "Intel Open Source Technology Center"
Renderer: "Mesa DRI Intel(R) 945GM "
Version: "1.4 Mesa 19.0.2"
Shading language: "1.20"
Requested format: QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
Current format: QSurfaceFormat(version 1.4, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 0, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 0, stencilBufferSize 0, samples -1, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
Version: 1.4
Supports deprecated functions true
is OpenGL ES: false
QPA OpenGL Detection Info
supportsDesktopGL: false
supportsOpenGLES: false
isQtPreferOpenGLES: false
== log ==
Supported renderers: QFlags()
Surface format preference list:
* 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)
2
* 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)
4
Hm... I am seeing 'GPU Acceleration: none' Can you go to settings->Configure Krita->display and then enable graphics acceleration, and see if that fixes things? i am unable to enable canvas graphics acceleration... (i also tried dist-upgrade to get a newer opengl version with no success) i also tried editing kritadisplayrc and kritarc with no results: openGLrenderer=auto (was false) useOpenGL=true (was false) useOpenGLTextureBuffer=true (was false) the graphics acceleration tab in the settings is still grayed out when i open krita, no changes here. Yeah, I'm afraid OpenGL 1.4 is too low. It's very unlikely that we'll be improving the speed of the non-graphics accelerated canvas, and indeed using the hotkeys instead of using shift+space might be the best thing to avoid slowdowns for now. :( alright, thanks anyway... this might be of interest: i downgraded to krita 4.2.7.1 again and it works better with rotation on this device... |
Created attachment 123009 [details] krita thinking hard for a long time SUMMARY when i use any rotation method using the pen for control, i get huge lag issues,freezing, but not crashing krita. this is probably the fault of my old hardware, but rotating using the "rotate canvas left/right" commands works well, so there might be a way to improve the other rotation methods too... STEPS TO REPRODUCE - 500x500px single layer image 1. shift + space + lmb to rotate 2. rotating using the slider in the pop up pallette 3. shift + alt + space + lmb to rotate OBSERVED RESULT -freezes, ranging from 20 seconds to over 2 minutes (thermal throttling probably), no crashes. -one of my two cpu cores at 100%, the other one is idle -ram use normal, with 1.5gb left SOFTWARE/OS VERSIONS Linux/KDE Plasma: ubuntu 14.04 lts, updated to 18.04 lts ADDITIONAL INFORMATION Fujitsu ST5112 tablet PC RAM 2,9 GiB Processor Intel® Core™2 Duo CPU U7700 @ 1.33GHz × 2 Graphics Intel® 945GM OS Type 64-bit