Bug 381807

Summary: Krita with OpenGL support enabled causes Kwin to crash
Product: [Applications] krita Reporter: Ghost <redredemption>
Component: OpenGL CanvasAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: halla
Priority: NOR    
Version: 3.1.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ghost 2017-06-29 18:22:25 UTC
What happens:

Creating a new document in Krita causes Kwin to crash and generate the following output in dmesg: "NVRM: Xid (PCI:0000:01:00): 31, Ch 00000020, engmask 00000101, intr 10000000"

Steps to reproduce:

1)Ensure that OpenGL is set as rendering backend in Kwin compositing configuration;
2)Open Krita and enable OpenGL in display settings tab;
3)Create a new file;

Steps to prevent that to occur:

-Suspending compositing in Kwin;

-Changing rendering backend to XRender;

-Disabling OpenGL in Krita.

(Once a new file was created and the following preventives was taken, you may re-enable OpenGL in both Krita and Kwin compositing, and freely create new files.)

Additional information:

The bug occurs upon updating to the version 3.1.4-2.
Unfortunately, I'm not able to run the previous version of Krita due to missing shared libraries error: "krita: error while loading shared libraries: libgsl.so.19: cannot open shared object file: No such file or directory"

Although, I can't deny or confirm that the bug may be related to the update of the core packages of Plasma Desktop [kwin (5.10.2-2 -> 5.10.3-1) etc.], there's no problem running other OpenGL applications.

I'm using the newest and stable NVIDIA proprietary driver: version 381.22-3.
Comment 1 Christoph Feck 2017-06-30 11:18:01 UTC
Please report the kwin crash separately, even if you believe the issue is with krita.
Comment 2 Halla Rempt 2017-11-26 14:38:59 UTC
Hi Kamil,

I'm afraid that this is so specific to your archlinux setup that we cannot do anything with your report. Sorry...
Comment 3 Ghost 2017-11-26 14:50:08 UTC
Hi Boudewijn,

The problem I had described here turned out to be the issue with the proprietary Nvidia driver + Kwin combo.

At the moment I don't use KDE Plasma, yet I can confirm that Krita works flawlessly on my system.
Comment 4 Halla Rempt 2017-11-26 15:59:18 UTC
Good to hear!