This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Strong cursor lag after some time (Linux/OpenGL/Intel gpu)

Tags: None
(comma "," separated)
jbiche
Registered Member
Posts
2
Karma
0
Hi everyone,

I'm using Krita (3.0.1.1 (from repositories, and compiled), and the recently released third beta, compiled )) on a dated laptop (actually a Libreboot x200 with Linux Parabola, 4GB memory, SSD ) ; Krita works fine on it, except after several seconds / minutes where the mouse cursor itself becomes extremely laggy (like, approx. 5 position updates per second). However, there's no lag with the canevas, which can still be rotated/panned smoothly. Once the cursor becomes unresponsive like this, it will stay this way even when restarting Krita, and rebooting the machine or suspend it (and waking it up) is the only way to make the problem disappear. Changing the performance related memory values doesn't solve the problem, and swap is always at 0% on the usually opened picture, 6000x6000 grayscale pixels with ~20 small layers.

It looks more like a driver problem than a Krita bug, but Krita is actually the only affected software, so I was wondering if someone already encountered this issue?

A workaround would be to stop using OpenGL, because software canvas has no cursor lag. However, it is the canevas manipulation which will become slow beyond any real usability, so here's my second question, is there a way to lower the canvas rendering quality and get some performance improvement?

Thanks you all.

EDIT : nevermind, other OpenGL applications are also slowed down when this happens. It's not exclusive to Krita. I'd still be interested by some clues about speeding up the software canvas rendering though.
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS
You could try seeing if turning off instant preview might help a bit: https://docs.krita.org/Instant_Preview
Other solutions include changing the openGL filtering.

Other than that, updating your graphics drivers somehow? Maybe sacrifice a goat before you start with that?
jbiche
Registered Member
Posts
2
Karma
0
Thanks for your answer. My drivers are up to date, maybe too much actually, as software packages in this distribution are so recent the updates will sometimes break something (a goat sacrifice could help with that, who knows...)

Changing the filtering does nothing, it couldn't have in fact, after some tests, it appeared that it's displaying anything with OpenGL which breaks after some time. Krita was only the first time the issue became problematic enough for me to notice it.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]