OpenGL benden lines are almost gone

Timothée Giet animtim at gmail.com
Sun Jan 20 10:45:06 UTC 2013


Hi Dmitry,

Here I have the message:
"WARNING: Your system/Qt/video adapter doesn't support single buffered
contexts. Trying to workaround it by disabling VSync.
There is no GLX_EXT_swap_control extension supported
WARNING: Failed to disable VSync. Be careful! The lines might be "bended"
while painting! Try disabling OpenGL in Krita to avoid that! "

This is with i5 3210M (HD4000 ivy bridge GPU).



2013/1/20 Dmitry Kazakov <dimula73 at gmail.com>

> Hi!
>
> I've just pushed a workaround for the bended lines in OpenGL into master.
> Now they are amost gone! And you can test it =)
>
> Actually, they still bend a bit, but only when you paint really huge
> circles (> 1000px in diameter) with very small brushes (~5px). For
> everything smaller, I couldn't see any difference with QPainter canvas. See
> a screenshot [0]. The bottom stroke is actually about 1000px in height.
>
> And I need a bit of your input about this patch. Actually, it has two
> approaches to fixing the problem: first it tries to disable Double
> Buffering, then, if it fails, it tries to disable VSync using pure OpenGL
> calls. First approach gives a bit better results. I need to find out
> whether there are any system/cards which do not allow disabling Double
> Buffering (probably, openGL ES systems (?)).
>
> So if you see a message in Krita terminal saying:
>
> "WARNING: Your system/Qt/video adapter doesn't support single buffered
> contexts. Trying to workaround it by disabling VSync."
>
> just let me know about it =)
>
> [0] - http://susepaste.org/70034032
>
> --
> Dmitry Kazakov
> _______________________________________________
> kimageshop mailing list
> kimageshop at kde.org
> https://mail.kde.org/mailman/listinfo/kimageshop
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kimageshop/attachments/20130120/db94af29/attachment.html>


More information about the kimageshop mailing list