Bug 388034

Summary: hangs on mac while saving
Product: [Applications] krita Reporter: Fer Sarr <fersarr>
Component: OpenGL CanvasAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: halla
Priority: NOR    
Version: 3.3.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:

Description Fer Sarr 2017-12-19 14:03:51 UTC
Krita is constantly hanging when trying to save a PNG or JPG image on a mac. I have found a workaround by saving with a new filename every time. So saving to myimage.png twice causes crash. But saving first to myimage1.png and then to myimage2.png the crash doesnt happen. I ended up with myimage1...8.png (8 files)



system info:
Krita
  Version: 3.3.0

OS Information
  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: darwin
  Kernel Version: 16.6.0
  Pretty Productname: OS X 10.12
  Product Type: osx
  Product Version: 10.12

OpenGL Info 
  Vendor:  ATI Technologies Inc. 
  Renderer:  "AMD Radeon R9 M395 OpenGL Engine" 
  Version:  "4.1 ATI-1.51.8" 
  Shading language:  4.10 
  Requested format:  QSurfaceFormat(version 3.2, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 0, profile  1) 
  Current format:    QSurfaceFormat(version 4.1, options QFlags(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile  1) 
     Version: 4.1
     Supports deprecated functions false 
     is OpenGL ES: false
Comment 1 Fer Sarr 2017-12-19 14:04:37 UTC
sorry, replace crash with hang
Comment 2 Halla Rempt 2017-12-19 14:08:59 UTC
Hi Fer,

This has been reported before. With Krita 3.x, there is a problem on Mac computers with an AMD graphics card when saving; somehow the graphics card keeps the image locked. We solved this in what will become Krita 4.0, and in Krita 3.3.2 we disabled the OpenGL canvas when we detect an AMD graphics card. You can either manually disable OpenGL in Krita's configuration dialog, update to 3.3.2 or try the 4.0 development build (note that a development build is very much not meant to be used for real work, there is a lot of experimental stuff in there.) We hope to be able to release 4.0 final in March.

*** This bug has been marked as a duplicate of bug 369014 ***