Bug 348018 - Corrupted document rendering & 100% CPU usage when enabling OCIO with multiple subwindows
Summary: Corrupted document rendering & 100% CPU usage when enabling OCIO with multipl...
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: Color models (show other bugs)
Version: git master (please specify the git hash!)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-05-20 17:14 UTC by Jonathan Ringstad
Modified: 2018-10-28 03:41 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Ringstad 2015-05-20 17:14:54 UTC
Sub-window rendering becomes corrupted when enabling and disabling OCIO:

https://dl.dropboxusercontent.com/u/21559589/krita-bug/OCIO-multiview-bug.png

In addition, krita will take up 100% CPU usage when in this state. "fullscreening" one of the sub-windows fixes the issue and makes the CPU load go away, but once one goes back to tiled view, it happens again.

Confirmed to exist with a freshly compiled version from the calligra/2.9 branch.

Reproducible: Always

Steps to Reproduce:
This bug is a bit spurious and laborious to reproduce, but it does seem to happen reliably. I'm not sure what exactly triggers it (whether it's OCIO or the tiling) but this procedure seems to reproduce it 100% of the time for me, even if sometimes it requires a bit of additional messing around with the OCIO docker and resizing/moving subwindows until it happens:

1. Create two new documents
2. Window > Tile
3. Enable OCIO, set view to sRGB, disable OCIO
4. Minimize krita, unminimize krita
5. move the subwindows around
6. rendering corruption occurs

Some of these steps might not be necessary/matter, but this does reproduce it for me reliably.

The bug does not seem to reproduce with OpenGL disabled.
Comment 1 Halla Rempt 2015-05-20 19:39:57 UTC
Isn't this pretty close to the other tiled-window bug you reported some time ago? I'm still pretty confident that it's driver issue...
Comment 2 Jonathan Ringstad 2015-08-18 13:37:48 UTC
Which bug is that? I can test if it still occurs with OpenGL disabled.
Comment 4 Jonathan Ringstad 2015-08-18 13:47:08 UTC
Hm, it's not obvious to me whether the two bugs are related, the multi-window multi-view bug just causes a bit of laggyness (and some input errors, so that definitely can't be related to the driver) while the other bug causes corruption on the UI parts (view decoration) itself.

I might have some time to investigate this weekend, if there are any steps you know that could help narrow this issue down.
Comment 5 Halla Rempt 2016-12-08 10:37:51 UTC
Argh... And the dropbox link has expired of course. But I still cannot reproduce anything like this...
Comment 6 Halla Rempt 2017-02-27 19:00:29 UTC
I'm sorry, but I need info on how to reproduce this reliably. Also -- is show contents when moving subwindows enabled?
Comment 7 Andrew Crouthamel 2018-09-28 02:41:58 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Andrew Crouthamel 2018-10-28 03:41:35 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!