Summary: | Jagged lines when canvas is too big and zoom out, it makes impossible to draw a smooth circle | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Lissette <lisss.c> |
Component: | Brush engines | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | ghevan, halla, localkd, phuonguyenn132, thierry.vilaysith |
Priority: | NOR | ||
Version: | 4.2.7.1 | ||
Target Milestone: | --- | ||
Platform: | macOS (DMG) | ||
OS: | macOS | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
big circle was made at 50% zoom, smaller circle was done at 200% zoom, and the smallest one at 300% zoom approx.
Circles made with canvas acceleration enabled Circles made with canvas acceleration disabled Log for circles made with acceleration on and off |
Do you have any form of smoothing enabled in the freehand tools' brush options? Oh, that's in the log, too. Can you check with different forms of smoothing enabled, and with canvas acceleration enabled and disabled? Created attachment 123853 [details]
Circles made with canvas acceleration enabled
Created attachment 123854 [details]
Circles made with canvas acceleration disabled
Created attachment 123855 [details]
Log for circles made with acceleration on and off
Hi, thank you for your quick reply. Unfortunately I've tried all combinations with no luck. I've attached the log and the resulting images for both attempts, with the canvas acceleration enabled and disabled. Each image contains different circles made with the different forms of smoothing and zoom, indicating which combination was used. I used my drawing table this time, but it is the same result (in terms of the circle shape) using a mouse or trackpad. Weird... Of course, with Apple not properly developing their opengl drivers, some weirdnesses are to be expected, but that shouldn't matter when it comes to zoom levels. Yes, weird :( I blame Apple. I've tried Krita in Windows with the same tablet and it works perfect. I'm still able to use Krita in my macbook, only with a not too big canvas and trying to not making the strokes too fast. It is a bit inconvenient tho. Let me know if I can provide more information that can help. Thanks! *** Bug 413496 has been marked as a duplicate of this bug. *** Setting this on eto confirmed and as the main report, as it contains some more info. (In reply to Lissette from comment #8) Hi Lisette, could you test something to try and get better performance (It might or it might not work, but its worth a shot) - Locate kritarc: on macOS is usually in ~/Library/Preferences/kritarc - Open with a text editor add "textureSize=4096" as the first line. The number can be any power of 2. preferably anything like 256, 512, 1024, etc)The number upper limit depends on your hardware, on mine the number is somwhere around 10k, however I don't recommend going that higher. - Save the file - Start krita. Inside Krita Preferences, Display, Canvas Graphics acceleration should be on, and select OpenGL This should make possible to draw on big canvases zommed out. I tested with a 12000 by 12000 canvas at 4% zoom let me know if that helped Maybe we should use a larger tilesize automatically for larger images? Yes, I think that should be the case. Right now the recommended tile size is hardcoded to 256. which is not optimal. Let me work on a patch for this. Related merge request https://invent.kde.org/kde/krita/merge_requests/234 Thank you very much! I confirm this fixed the problem for me :) Just note that, the tileSize solution will slow down painting with small brush sizes. If that slowdown is acceptable, then yes, this workaround fixed it for now. :) *** Bug 422373 has been marked as a duplicate of this bug. *** *** Bug 422115 has been marked as a duplicate of this bug. *** |
Created attachment 123838 [details] big circle was made at 50% zoom, smaller circle was done at 200% zoom, and the smallest one at 300% zoom approx. SUMMARY Lines are jagged when canvas is too big and zoom out. It results impossible to draw a circle STEPS TO REPRODUCE 1. Create a big canvas (2160x2160) 2. Zoom out so you see the whole canvas in the screen 3. Draw a circle (relatively fast), using the notebook trackpad, a mouse or a drawing tablet (I've try with these three and the result is the same - the pen pressure is correctly detected when using the tablet, but the circles are still not smooth, same shape as drawing with the mouse or trackpad) OBSERVED RESULT Lines are really jagged, it is impossible to draw a circle, it looks more like a polygon (see image attached, big circle was made at 50% zoom, smaller circle was done at 200% zoom, and the smallest one at 300% zoom) EXPECTED RESULT Smooth circle SOFTWARE/OS VERSIONS Windows: macOS: macOS Mojave (10.14) Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: 5.12.5 ADDITIONAL INFORMATION Krita Version: 4.2.7.1 Languages: en_NZ Hidpi: true 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: darwin Kernel Version: 18.7.0 Pretty Productname: macOS Mojave (10.14) Product Type: osx Product Version: 10.14 Hardware Information GPU Acceleration: desktop Memory: 8192 Mb Number of Cores: 4 11 Nov 2019 21:40:29 +1300: Created image "Unnamed", 2160 * 2160 pixels, 300 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 2 11 Nov 2019 21:40:29 +1300: Instant Preview Setting: 0 11 Nov 2019 21:40:29 +1300: Disabled smoothing. 11 Nov 2019 21:40:29 +1300: Disabled smoothing. 11 Nov 2019 21:40:29 +1300: Disabled smoothing. 11 Nov 2019 21:40:29 +1300: Instant Preview Setting: 0 11 Nov 2019 21:40:30 +1300: Instant Preview Setting: 0 11 Nov 2019 21:41:42 +1300: Saving Document as /Users/username/test3.kra (mime: application/x-krita). 2160 * 2160 pixels, 3 layers. 101 frames, 24 framerate. Export configuration: No configuration 11 Nov 2019 21:41:42 +1300: Converting from application/x-krita to application/x-krita. Location: /Users/username/test3.kra. Real location: /Users/username/test3.kra. Batchmode: 0. Configuration: none 11 Nov 2019 21:41:42 +1300: Completed saving /Users/username/test3.kra (mime: application/x-krita). Result: OK 11 Nov 2019 21:42:32 +1300: Closing. OpenGL Info Vendor: "Intel Inc." Renderer: "Intel(R) HD Graphics 615" Version: "4.1 INTEL-12.10.14" Shading language: "4.10" Requested format: QSurfaceFormat(version 3.2, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::CoreProfile) Current format: QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::CoreProfile) Version: 4.1 Supports deprecated functions false is OpenGL ES: false QPA OpenGL Detection Info supportsDesktopGL: true supportsOpenGLES: false isQtPreferOpenGLES: true == log == Supported renderers: QFlags(0x2) Surface format preference list: * QSurfaceFormat(version 3.2, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::CoreProfile) 2 Probing format... QSurfaceFormat::DefaultColorSpace 2 Found format: QSurfaceFormat(version 3.2, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::CoreProfile) 2