Bug 346165 - OSX: No pen pressure when OpenGL is turned off
Summary: OSX: No pen pressure when OpenGL is turned off
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tablets (tablet issues are only very rarely bugs in Krita!) (show other bugs)
Version: 2.9.1
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 348140 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-14 11:30 UTC by guruguru.sp
Modified: 2016-01-24 08:43 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
disable-enable OpenGL (6.35 KB, text/plain)
2016-01-18 20:06 UTC, Anton
Details
enable-disable OpenGL (6.35 KB, text/plain)
2016-01-18 20:07 UTC, Anton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description guruguru.sp 2015-04-14 11:30:35 UTC
On OSX, turning off OpenGL also disables pressure sensitivity.

Reproducible: Always

Steps to Reproduce:
1. Turn off OpenGL in the settings
2. Draw

Actual Results:  
Strokes does not have pressure sensitivity.

Expected Results:  
Pressure sensitivity affects strokes.

OSX 10.10.3, MacBook Air(Late 2011), Intuos Pen.
I saw another user says(In the video discription here: https://youtu.be/SWxO6VKZMK0) that if you draw something first with OpenGL on before turning it off, pen pressure would work. However, the workaround does not work for me from my testing.
Comment 1 Halla Rempt 2015-04-16 09:15:20 UTC
Hi,

Thanks for your report. I haven't been able to reproduce with my intuos 3 and mac mini, I'm afraid. It also doesn't really make sense -- the two subsystems are not related, so there must be something more going on, but I'm not sure what yet.
Comment 2 guruguru.sp 2015-04-16 10:28:21 UTC
Well, while I can't test this myself today(I left my tablet at work), but there seemed to be another OSX case of OpenGL setting(and changing it) and pen pressure. 
"So it wasn't only activating or enabling the OpenGL, then disable it, but also after that make a right click with the mouse on the canvas"
https://forum.kde.org/viewtopic.php?f=139&t=108427&start=75
If it does make my pen pressure work, then it would be the same unknown cause.

OpenGL setting(and tweaking and poking canvas) affecting pen pressure is strange, I too think, anyway...
Comment 3 guruguru.sp 2015-04-17 10:13:32 UTC
I tested the above workaround. It does work in my case. Still puzzled what is really happening, though.
0. (starting Krita with OpenGL off), open a new document, pen pressure is not working
1. enable OpenGL(pen pressure works with OpenGL ON, but there is canvas update lag issue)
2. do right click with the mouse on the canvas
3. turning off OpenGL - now pen pressure works for me(and canvas update works correctly as well)...
Comment 4 Halla Rempt 2015-05-23 14:39:23 UTC
*** Bug 348140 has been marked as a duplicate of this bug. ***
Comment 5 Jonathan Ringstad 2015-06-30 18:07:35 UTC
Someone else on IRC with a Macbook pro (2009) With 4Gigs of RAM running OSX Yosemite (10.10.3) and an Intuos Pen & Touch (wacom driver version 6.3.11) had the same issue -- pressure sensitivity started working once he enabled OpenGL.
Comment 6 Halla Rempt 2015-08-16 18:18:14 UTC
It must be the actuall switching around of the canvas type, since I just managed to enable pressure sensitivity when switching to the cpu canvas. It's probable that OSX/Qt on OSX needs the widget (re-)created after initializing... OpenGL also refuses to properly update here, but then, this is a mid-2011 mac mini with a very grotty display driver.
Comment 7 dadapotok 2015-08-16 19:16:18 UTC
MacBook Pro (Retina, 15-inch, Mid 2014), os x 10.10.4, krita 2.9.6, Wacom Intuos Pro
all same issues with pressure sensitivity, eraser and popup palette. Switching Open GL on and off somehow helped to make it all work.

Now I turned Open GL off to be able to see popup palette again and pressure sensivity works again
Comment 8 Callum Gare 2015-12-17 23:13:29 UTC
MacBook Pro (Retina, 13-inch, Mid 2013), OS X 10.10.5, Kirta 2.9.9, Wacom Intus Pen & Touch.
I also get the same issue when testing on my friends computer which is a MacBook Air (13-inch, late 2015) (all other details same as above).

Initially turning openGL on and off was not enough to get pressure to work but after I also right clicked a bit, just toggling openGL on and off started getting pressure to work. Once working it will stop working when the application is closed and reopened or when the master pressure control is edited (probably other situations too, their just the ways I've noticed it).
It appears pressure sensitivity works for me IN openGL mode but unfortunately openGL doesn't work properly (it will display changes in the layer previews but not the canvas for example).

I'm surprised this doesn't seem to be effecting more uses. I don't have a partially  strange setup and it's all pretty new.

Cheers :)
Comment 9 Halla Rempt 2015-12-18 09:19:19 UTC
Well, it affects _all_ krita users on OSX. But there aren't that many OSX users because Krita 2.9 on OSX is still nothing more than a tech preview... I hope we can fix stuff for 3.0 and then have OSX as a really supported platform.
Comment 10 Callum Gare 2015-12-19 22:28:04 UTC
(In reply to Boudewijn Rempt from comment #9)
> Well, it affects _all_ krita users on OSX. But there aren't that many OSX
> users because Krita 2.9 on OSX is still nothing more than a tech preview...
> I hope we can fix stuff for 3.0 and then have OSX as a really supported
> platform.

Ah, right oh. Thanks very much for that :)
Comment 11 Anton 2016-01-17 19:52:59 UTC
I use 2.9.9 (git b4ac381) using mac os. I have the same bug and "ceremony" works as mentioned by guruguru.sp@outlook.jp 

My suggestion is to make possible to create shortcut for "Enable/Disabled OpenGL" that we do not spend much time to switch on/off. (it's not possible right now)

Another bug I leave it here: Krita freezes when you paint by stylus or even mouse. Workaround is to use "Show canvas only" mode then it works great!

_____
MacBook Pro (Retina, 15-inch, Mid 2014)
2,5 GHz Intel Core i7
16 GB 1600 MHz DDR3
NVIDIA GeForce GT 750M 2048 MB
Comment 12 wolthera 2016-01-17 21:41:58 UTC
Hi Anton, we literally released a 3.0 pre-alpha today. You might want to check if the bug is fixed on there. Check krita.org news posts for this. Also take the survey linked at the end of the post.

It may be that it doesn't even work at all, but it does contain a few months of effort to try and fix this problem, and while we know that we're still not done, it might be a much bigger improvement.

Solutions like hotkeying openGL is something we would very much like to avoid, because the experience should be seamless.
Comment 13 guruguru.sp 2016-01-18 11:24:49 UTC
The same MacBook Air(Late 2011) now with El Capitan, with Krita 3.0 pre-alpha: Pen pressure seems to work in both openGl on and openGl off. Working better here.
Comment 14 Anton 2016-01-18 20:06:13 UTC
Created attachment 96716 [details]
disable-enable OpenGL
Comment 15 Anton 2016-01-18 20:07:15 UTC
Created attachment 96717 [details]
enable-disable OpenGL

Tried 3.0 pre-alpha. Quit unstable.

1. enabled-disabled OpenGL - sometimes unexpectedly closing the program
2. create new document - sometimes unexpectedly closing the program
3. totally does not show the palette (right click). enabled-disabled OpenGL helps when you do it to show the palette (does not help when you restart the program)
4. stop drawing sometimes and can't choose the palette as well (right click).

The drawing does not freeze anymore (no need "Show canvas only" mode). But it is very unstable. see
Comment 16 Halla Rempt 2016-01-24 08:43:12 UTC
Works in 3.0 pre-alpha now.