SUMMARY I airplay youtube on a 4k tv. At the same time, I try to draw on my macbook's screen. It makes the segmented lines issue so bad that medium sized circles are simplified into 4 sides polygons to give you a rough idea. Krita has something to do with it because if you get a trial photoshop (or even a paid one you cancel within 7 days) you will have a very smooth experience (except the horrible, nearly impossible to customize shortcuts). I hope this hints at something about the segmented lines problem that has yet to be solved. STEPS TO REPRODUCE 1. Launch krita on a macOS cputer. 2. Airplay a youtube video (one of mine if you want :D) on a 4k tv 3. try to use krita OBSERVED RESULT the soft is really unuseavle EXPECTED RESULT Something smooth as usual, as I said I tested with other software without a problem. SOFTWARE/OS VERSIONS macOS: big sur ADDITIONAL INFORMATION it rains here
krita keeps lagging after turning off airplay until I close and restart it.
I guess the problem also goes away if you disable canvas acceleration in Krita? I would think that it's just the mac that's running out of GPU oomph -- and Photoshop these days disables their opengl acceleration on macOS since macOS support for opengl is so bad. I cannot test it in any case since while I do have two macs I don't have a tv, let alone a 4k tv.
spot on. Interestingly disabling OpenGL acceleration only solves the segmentation due to airplay's enabling. It doesn't solve the usual curve segmentation. So maybe it's not due to openGL but something different
Thanks for your comment! Automatically switching the status of this bug to REPORTED so that the KDE team knows that the bug is ready to get confirmed. In the future you may also do this yourself when providing needed information.
The first case is exactly as halla said. Current openGL rendering on macos is intense and we loose some tablet events due to that. However, Do you get segmentation without openGL canvas rendering?? and wnat mac hardware are you testing this on?
Yes, I do get the usual segmentation with openGL disabled. Working on a MacBook pro 2018 15'
Is this issue still present with Krita 5 with the macos opengl workaround?
I need to try again. Also now I also have the new m1 blabla laptop so I'll try it with both and come back to you.
Setting to needinfo
This was an issue in krita before the openGL optimization patch. The problem is in that your are sending processing a 4k feed before sending it through airplay causing the bottle neck and due to our non optimized code, the choppy lines. Tested on krita 4.4.1 airplay from mbp 13 intel early 2015 -> M1, slight performance decrease painting barely affected airplay from mbp 13 intel early 2015 -> 4k TV, performance hit, no painting possible, no chopy feed (this intel chip might not be able to process 4k) The same tests on krita 5.0.6 did not affect painting much even when outputing a 4k feed. some performace is lost but this is system wide. The same tests from the M1 to the 4KTV did not affect painting and 4k feed was smooth. Im marking this bug as fixed