https://bugs.kde.org/show_bug.cgi?id=419362

            Bug ID: 419362
           Summary: CPU usage spike when viewing Krita logs
           Product: krita
           Version: nightly build (please specify the git hash!)
          Platform: MS Windows
                OS: MS Windows
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: til.schmit...@gmx.de
  Target Milestone: ---

Created attachment 127078
  --> https://bugs.kde.org/attachment.cgi?id=127078&action=edit
cpu usage spike

i'm using krita next b1b691b and got 15% CPU usage whenever i opened the krita
logs (stops after about 10 seconds)

-this makes all of krita lag

-fixed immediately when i close the window

-doesn't occur when viewing system info or any other text window

-100% reproducible

2 of my 8 cores are at ~60% during this time


my complete hardware info:

(i have an i7 6700 and an SSD which krita is installed to in case that's
relevant)

Krita

 Version: 4.3.0-prealpha (git b1b691b)
 Languages: en_US, en, en_US, en, en_US, en, en_US, en, en_US, en, en_US, en,
en_US, en, en_US, en, de_DE, de, en_US, en
 Hidpi: true

Qt

  Version (compiled): 5.12.7
  Version (loaded): 5.12.7

OS Information

  Build ABI: x86_64-little_endian-llp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: winnt
  Kernel Version: 10.0.18362
  Pretty Productname: Windows 10 (10.0)
  Product Type: windows
  Product Version: 10

OpenGL Info

  Vendor:  "NVIDIA Corporation" 
  Renderer:  "GeForce GTX 970/PCIe/SSE2" 
  Version:  "4.6.0 NVIDIA 441.20" 
  Shading language:  "4.60 NVIDIA" 
  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 4.6, options
QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24,
redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8,
stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DoubleBuffer,
swapInterval 1, colorSpace QSurfaceFormat::sRGBColorSpace, profile 
QSurfaceFormat::CompatibilityProfile) 
     Version: 4.6
     Supports deprecated functions true 
     is OpenGL ES: false 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsAngleD3D11: true 
  isQtPreferAngle: false 

Hardware Information

  GPU Acceleration: auto
  Memory: 16327 Mb
  Number of Cores: 8
  Swap Location: C:/Users/Til/AppData/Local/Temp

Current Settings

  Current Swap Location: C:/Users/Til/AppData/Local/Temp
  Current Swap Location writable: true
  Undo Enabled: true
  Undo Stack Limit: 75
  Use OpenGL: true
  Use OpenGL Texture Buffer: true
  Use AMD Vectorization Workaround: false
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 1200
  Use Backup Files: false
  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: 1920x1080
                Manufacturer: 
                Model: 
                Refresh Rate: 60

Current Settings

  Current Swap Location: C:/Users/Til/AppData/Local/Temp
  Current Swap Location writable: true
  Undo Enabled: true
  Undo Stack Limit: 75
  Use OpenGL: true
  Use OpenGL Texture Buffer: true
  Use AMD Vectorization Workaround: false
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 1200
  Use Backup Files: false
  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


Log:

================================================================================
SESSION: 29 Mar 2020 10:10:12 +0200. Executing C:\Program Files\Krita
(x64)\bin\krita.exe

Krita Version: 4.3.0-prealpha (git b1b691b), Qt version compiled: 5.12.7,
loaded: 5.12.7. Process ID: 1244
-- -- -- -- -- -- -- --
29 Mar 2020 10:10:14 +0200: Database is up to date. Version: Unknown, created
by Krita Unknown, at Do Jan 1 01:00:00 1970

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to