Bug 399279 - crash changing Scaling Mode (Windows)
Summary: crash changing Scaling Mode (Windows)
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: OpenGL Canvas (show other bugs)
Version: git master (please specify the git hash!)
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-10-01 13:43 UTC by Jaime Torres
Modified: 2019-05-09 17:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaime Torres 2018-10-01 13:43:21 UTC
Crash changing Scaling Mode in Windows 10 with Canvas Graphics Acceleration enabled after rotating a canvas


STEPS TO REPRODUCE
1. Create a new document
2. Rotate the canvas(Shift+Space+Mouse)
3. Go to Settings->Configure Krita->Display
4. Change the Scaling Mode and press Ok
5. Crash

Related to https://bugs.kde.org/show_bug.cgi?id=396688


SOFTWARE VERSIONS
Krita
  Version: 4.2.0-pre-alpha (git 0104ab7)

Qt
  Version (compiled): 5.9.3
  Version (loaded): 5.9.3

OpenGL Info 
  Vendor:  Google Inc. 
  Renderer:  "ANGLE (Intel(R) HD Graphics Family Direct3D11 vs_5_0 ps_5_0)" 
  Version:  "OpenGL ES 3.0 (ANGLE 2.1.0.8613f4946861)" 
  Shading language:  OpenGL ES GLSL ES 3.00 (ANGLE 2.1.0.8613f4946861) 
  Requested format:  QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, profile  QSurfaceFormat::OpenGLContextProfile(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::SwapBehavior(DefaultSwapBehavior), swapInterval 0, profile  QSurfaceFormat::OpenGLContextProfile(NoProfile)) 
     Version: 3.0
     Supports deprecated functions false 
     is OpenGL ES: true 

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

ADDITIONAL INFORMATION
Comment 1 Halla Rempt 2018-10-06 18:24:54 UTC
I'm sorry, I cannot reproduce this either.
Comment 2 Jaime Torres 2018-10-09 07:20:52 UTC
In the nighly build git 5b8b881 I can't reproduce this any more.
Comment 3 Jaime Torres 2018-10-09 08:00:14 UTC
Sorry for the noise. Can't reproduce with 3508px * 4960px * 300dpi 8 bit colour document.
Can't reproduce with a 1*1*300dpi 32 bit colour document.
But I can reproduce it with 3508px * 4960px * 300dpi 32 bit colour document only with Use texture buffer enabled.
This is a faster way of getting the same result as in #399276
Comment 4 Halla Rempt 2019-05-09 10:19:21 UTC
On my intel system, I simply cannot reproduce this. We did fix one issue with 32 bit/channel images, but that was a crash on creation. I think you're running out of resources here.
Comment 5 Jaime Torres 2019-05-09 17:27:15 UTC
Can't reproducem either because the forced environment patches or because today nightly release has it fixed.