Bug 345456 - [WACOM INTUOS] Slow delay when drawing with tablet with OpenGL on. OpenGL off = zoom display problem on canvas.
Summary: [WACOM INTUOS] Slow delay when drawing with tablet with OpenGL on. OpenGL off...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: krita
Classification: Applications
Component: Tablets (tablet issues are only very rarely bugs in Krita!) (show other bugs)
Version: 2.9 Beta
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: Dmitry Kazakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-23 21:49 UTC by B7
Modified: 2016-06-16 09:21 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Krita stderr (3.15 KB, application/zip)
2015-11-28 14:39 UTC, Koichi Akabe
Details
Krita log file (56.62 KB, application/gzip)
2015-12-24 13:04 UTC, Abdurrahman Al Hanif
Details

Note You need to log in before you can comment on or make changes to this bug.
Description B7 2015-03-23 21:49:27 UTC
Hello.

I have a  problem, running Krita 2.9 on Linux Mint Cinnamon 17.1 ( ASUS N751JK laptop ):

Drawing with tablet in zoomed canvas is sloooooow... There is a huge delay betwen the physical stroke move of my pen on tablet, and the line drawn on screen.
The more i zoom in the canvas, the longer the delay.

This happens only when i draw with my Wacom Intuos 5 M tablet ( pen only, no touch ). 
This does not happen if i draw with the mouse.

This slow delay disapear when i go to menu -> settings -> Configure Krita -> Display -> and when i uncheck "OpenGL". But then, the canvas goes crazy ( curious effect of canvas zoomed and shifted on top of the previous unzoomed canvas, or something like that ) each time i zoom in or out. I just have to pan, right after zooming, to retablish the canvas ok. This is highly disturbing when drawing as i zoom in/out all of the time. 



Reproducible: Always

Steps to Reproduce:
1. Menu -> Settings -> Configure Krita -> Display -> check "OpenGL"
2. Draw with tablet. 
3.

Actual Results:  
Big delay between pen movement and screen display

Expected Results:  
drawing smoothly, with instantaneous moves between tablet and screen

Laptop ASUS N751JK
Linux Mint Cinnamon 17.1
Krita 2.9
Wacom Intuos 5M pen only ( not a touch tablet )

The delay desapear when unchecking "OpenGL", but then, canvas display goes crazy at each zoom in/out. Must pan after each zoom to retablish canvas ok.
Comment 1 Halla Rempt 2015-03-24 18:21:57 UTC
Hi B7,

Thanks for your report. Are you sure you are using a Krita 2.9 beta? If so, could you check with Krita 2.9.1? There was at least one beta where using a tablet caused a big slow-down. If that doesn't matter, something else must be up... What graphics card and which driver do you have?
Comment 2 B7 2015-03-24 19:43:12 UTC
Hello and thanks for quick support.

I am actually testing Krita version 2.9.0
I can't google anywhere how to install version 2.9.1

To install Krita 2.9.X, the only method proposed is:

sudo add-apt-repository ppa:dimula73/krita
sudo apt-get update
sudo apt-get install krita-2.9 krita-2.9-dbg

Now run the following commands to create the icons:

cd /opt/project-neon/share/ && sudo cp -r applications/ /usr/share/
cd /opt/project-neon/share/ && sudo cp -r icons/ /usr/share/
sudo ln -s /opt/project-neon/bin/krita /usr/bin/krita

Is there a method to install 2.9.1 on Mint ?
If not, is there a method to update from 2.9.0 to 2.9.1 ?
Comment 3 Halla Rempt 2015-03-25 08:27:19 UTC
That should work exactly the same on mint as on ubuntu. Also, the kubuntu backports ppa should have 2.9.1. I suspect, though, that this is exactly the same problem as https://bugs.kde.org/show_bug.cgi?id=341058 and due to a graphics card/driver problem. As an outlier possibility, it might be cinnamon that does something that breaks Krita's opengl canvas: I've seen that before, but that was a long time ago.
Comment 4 Dmitry Kazakov 2015-06-15 09:21:07 UTC
Hi, B7!

Could you generate a performance report for me?

First update Krita to the latest 'krita-testing' package in Krita Lime and then follow this manual:

http://nonaynever.ru/kwiki/krita/BugWritingGuidelines#Painting_performance_bug

After testing, attach the zip file and reopen the report by setting it to REOPENED state :)
Comment 5 Koichi Akabe 2015-11-28 14:39:29 UTC
Created attachment 95785 [details]
Krita stderr

The same problem is occurring in my environment (Ubuntu 14.04 + Wacom Bamboo + Krita 2.9.9 with OpenGL).
I attach a log file.
Comment 6 Abdurrahman Al Hanif 2015-12-24 13:04:13 UTC
Created attachment 96289 [details]
Krita log file

Hello,

I have problem when drawing with my Wacom Intuos small. When I draw a stroke, it feels like heavy/ slow/ lagging/ whatever you call it. It takes much time to only draw one line/ stroke. I use Krita 2.9.10 on Elementary OS Freya. I think it's about rendering so I tried to turn on OpenGL support but OMG it's being more lagging, so I turned it off again. However, I don't have problem when I draw with touch in my Wacom or with mouse, but here I want to draw with stylus/ pen.

I attach the log file for inspecting.
Comment 7 Abdurrahman Al Hanif 2015-12-24 13:08:15 UTC
my system spec:
Acer Aspire One 722
AMD dual-core 1.0 GHz with AMD Radeon HD
Elementary OS Freya
Krita 2.9.10 via Krita Lime PPA
Brush that I often use is HB and 2B pencil.
Comment 8 Halla Rempt 2016-06-16 09:21:21 UTC
With the release of Krita 3.0, we have changed so much that I'm afraid there isn't much we can do with this report anymore. If you're still experiencing slowdowns and have an AMD CPU/GPU, uncheck the Texture Buffer option and check the Disable vector optimization (for AMD CPUs) option.