Summary: | [LoD] Occasional OpenGL artifact when using brush tool | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Tyson Tan <tysontanx> |
Component: | OpenGL Canvas | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | animtim, dimula73, halla |
Priority: | NOR | ||
Version: | 2.9.8 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/krita/544d3a4ea506e93c89e6ae54e05939e9f933378e | Version Fixed In: | |
Attachments: | Krita 2.9.7 OpenGL-related white artifact around brush strokes |
Description
Tyson Tan
2015-10-10 10:29:54 UTC
Created attachment 94926 [details]
Krita 2.9.7 OpenGL-related white artifact around brush strokes
Also, those artifacts are not just there to show. They are actually on the layer and will be saved to documents. I guess the processing of transparency was somehow messed up? Hi Tyson, I haven't seen that bug yet, but I doubt it's directly opengl related if it gets saved to the file. What's more likely is that the image projection recalculation broke a bit; Dmitry worked on that. And when flipping the canvas, the whole image gets recalculated unconditionally, fixing the issue. Hm, do you have a .kra file with an artefact for me? I wonder if it's only on the mergedimage.png or really in the layers themselves... Hi, Tyson! Do I understand it right that the problem happens in krita-lod-unstable only? Sorry for not coming back on this one in time because I was very busy. This is not krita-lod-unstable specific problem. I first ran into this issue when I was using Trisquel 7.0 (Ubuntu14.04) and built Krita from master branch. It happened very frequently between 2.9.6 and 2.9.7. I switched to Ubuntu Gnome 15.04 as a desperate attempt. I said krita-testing was not affected on 15.04, but I was wrong. I encountered the same kind of glitches soon after. krita-testing would glitch out once or twice a week, while krita-lod-unstable would glitch out many times in a few minutes. But the glitch somehow happened less frequently now. The only related thing I notice was a few Linux kernel updates. Yesterday I had a glitch but it was the only one in 2 weeks, I think. I was using krita-lod-unstable. If you cannot reproduce the glitch, we can change this into NEEDSINFO for now. But still, it could be a brush specific bug. I haven't been using Fill_circle preset lately. But during the worst days, I was using Fill_circle exclusively as the material required it. Today after a few tests, I think the problem lies in Krita's brush engine or preset. Now I have been using David Revoy's V7 brush preset bundle for a while, and mostly its "deevad E001 digital sketch" preset. The artifact had never happened since the day I imported David's bundle. However today I used Krita's default "Fill_circle" preset, and the artifact happened many times, every time when I was using it. It even happened a few times almost immediately after I start up Krita. So I highly suspect it's related to something about that "Fill_circle" preset. *** Bug 362303 has been marked as a duplicate of this bug. *** Git commit 544d3a4ea506e93c89e6ae54e05939e9f933378e by Dmitry Kazakov. Committed on 11/05/2016 at 14:04. Pushed by dkazakov into branch 'master'. Fix openGLrelated artifacts when canceling the LoD0 stroke See a comment in KisTextureTile::update() Fixes T2362 M +4 -1 libs/ui/canvas/kis_canvas_updates_compressor.cpp M +16 -1 libs/ui/canvas/kis_update_info.cpp M +6 -0 libs/ui/canvas/kis_update_info.h M +1 -0 libs/ui/opengl/kis_opengl_image_textures.cpp M +31 -0 libs/ui/opengl/kis_texture_tile.cpp http://commits.kde.org/krita/544d3a4ea506e93c89e6ae54e05939e9f933378e Git commit e00aa7d5e96ba47486b640380e030f68ada880e7 by Dmitry Kazakov. Committed on 11/05/2016 at 14:04. Pushed by dkazakov into branch 'master'. Avoid glitches when canceling the LoD0 stroke Ref T2362 M +17 -2 libs/image/kis_suspend_projection_updates_stroke_strategy.cpp M +2 -0 libs/image/kis_suspend_projection_updates_stroke_strategy.h http://commits.kde.org/krita/e00aa7d5e96ba47486b640380e030f68ada880e7 |