This forum has been archived. All content is frozen. Please use KDE Discuss instead.

A possible conflict between Krita and Nvidia driver G04

Tags: None
(comma "," separated)
mhunt
Registered Member
Posts
17
Karma
0
OS
Hello

Recently, the latest update of the nvidia driver (G04) for current cards (Geoforce 9xx) broke many people's installation. Until the driver itself is fixed, the current solution was to make sure there was only one kernel installed. I got hte problem and used that solution which works.

However and sadly.. in my case it affects Krita. I use the latest stable version from the repositories 2.9.1-3.8.8 and the program shuts down with any action related to the canvas, painting a single stroke, making a selection, etc..

It could be the current NVidia driver or the way Krita works, I don't know. I can tell you that Gimp does not has a problem as I'm using it while the problem is solved , whichever is.. Krita, the Nvidia driver or the iteration between the two of them.

Best
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS
Well a cursory glance around the forums can tell you that Krita unlike Gimp has an openGL driven canvas that can be turned off via settings->configure Krita->display->openGL. Turning it off here might help, but there's also a few other options to play with such as 'use texture buffer'.

You could also check out if the same problem happens on the 3.0 pre-alpha(the portable linux builds and it's instructions can be found in the news posts), this is worth doing because 2.9.1 is pretty old. We're on 2.9.11 now for stable releases and we may have actually fixed this bug past year.

Very likely, what is happening is that the OpenGL compatibility mode broke on those drivers. Regardless, if you get a thingy which tries to generate a crash report we'd like to see it.
mhunt
Registered Member
Posts
17
Karma
0
OS
TheraHedwig wrote:Well a cursory glance around the forums can tell you that Krita unlike Gimp has an openGL driven canvas that can be turned off via settings->configure Krita->display->openGL. Turning it off here might help, but there's also a few other options to play with such as 'use texture buffer'.

You could also check out if the same problem happens on the 3.0 pre-alpha(the portable linux builds and it's instructions can be found in the news posts), this is worth doing because 2.9.1 is pretty old. We're on 2.9.11 now for stable releases and we may have actually fixed this bug past year.

Very likely, what is happening is that the OpenGL compatibility mode broke on those drivers. Regardless, if you get a thingy which tries to generate a crash report we'd like to see it.



Thank you, didn't knew that since Krita and Suse has always been very stable for me, only 2 troubles in more than 5 years, both related to the Nvidia driver (first one was a conflict between a kernel update the the nvidia driver) I'll check those settings, and will post the crash report.

Running by the command line I found:

**********************************************************************************************

libpng warning: iCCP: too many profiles

**********************************************************************************************




when using a tool on the canvas:




**********************************************************************************************

krita(2785)/koffice (lib komain) KoRuler::createGuideToolConnection: No guides tool found, skipping connection
krita(2785)/koffice (lib komain) KoRuler::createGuideToolConnection: No guides tool found, skipping connection
krita(2785) CanvasData::activateToolActions: "InteractionTool" : action "object_order_raise" conflicts with canvas action "rotate_canvas_right" shortcut: "Ctrl+]"
krita(2785) CanvasData::activateToolActions: "InteractionTool" : action "object_order_lower" conflicts with canvas action "rotate_canvas_left" shortcut: "Ctrl+["
krita(2785) CanvasData::activateToolActions: "InteractionTool" : action "object_order_raise" conflicts with canvas action "rotate_canvas_right" shortcut: "Ctrl+]"
krita(2785) CanvasData::activateToolActions: "InteractionTool" : action "object_order_lower" conflicts with canvas action "rotate_canvas_left" shortcut: "Ctrl+["
krita: Fatal IO error: client killed

**********************************************************************************************
Krita closes.


And the crash report is:

**********************************************************************************************

Application: Krita (krita), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f16221cd7c0 (LWP 2785))]

Thread 5 (Thread 0x7f15f9f94700 (LWP 2803)):
[KCrash Handler]
#5 0x00007f161f78fd99 in __memcpy_sse2_unaligned () at /lib64/libc.so.6
#6 0x00007f161e91c8c5 in KisSwappedDataStore::swapOutTileData(KisTileData*) () at /usr/lib64/libkritaimage.so.14
#7 0x00007f161e8fface in KisTileDataStore::trySwapTileData(KisTileData*) () at /usr/lib64/libkritaimage.so.14
#8 0x00007f161e91d353 in long long KisTileDataSwapper::pass<SoftSwapStrategy>(long long) () at /usr/lib64/libkritaimage.so.14
#9 0x00007f161e91d0c6 in KisTileDataSwapper::doJob() () at /usr/lib64/libkritaimage.so.14
#10 0x00007f161e91d172 in KisTileDataSwapper::run() () at /usr/lib64/libkritaimage.so.14
#11 0x00007f162004879f in () at /usr/lib64/libQtCore.so.4
#12 0x00007f161ac940a4 in start_thread () at /lib64/libpthread.so.0
#13 0x00007f161f7e500d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f160413d700 (LWP 2805)):
#0 0x00007f161ac9803f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1 0x00007f1620048c86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2 0x00007f1621030996 in () at /usr/lib64/libQtGui.so.4
#3 0x00007f162004879f in () at /usr/lib64/libQtCore.so.4
#4 0x00007f161ac940a4 in start_thread () at /lib64/libpthread.so.0
#5 0x00007f161f7e500d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f15f9793700 (LWP 2806)):
#0 0x00007f161f7de273 in select () at /lib64/libc.so.6
#1 0x00007f1620174bf7 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () at /usr/lib64/libQtCore.so.4
#2 0x00007f162017a804 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () at /usr/lib64/libQtCore.so.4
#3 0x00007f162017ac6a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#4 0x00007f1620148e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#5 0x00007f1620149165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6 0x00007f16200460bf in QThread::exec() () at /usr/lib64/libQtCore.so.4
#7 0x00007f162012a783 in () at /usr/lib64/libQtCore.so.4
#8 0x00007f162004879f in () at /usr/lib64/libQtCore.so.4
#9 0x00007f161ac940a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f161f7e500d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f15d8a73700 (LWP 2841)):
#0 0x00007f161f7e0f99 in syscall () at /lib64/libc.so.6
#1 0x00007f1620047243 in () at /usr/lib64/libQtCore.so.4
#2 0x00007f16200436c5 in QMutex::lockInternal() () at /usr/lib64/libQtCore.so.4
#3 0x00007f161e8ff3c6 in KisTileDataStore::registerTileData(KisTileData*) () at /usr/lib64/libkritaimage.so.14
#4 0x00007f161e8ff5c9 in KisTileDataStore::duplicateTileData(KisTileData*) () at /usr/lib64/libkritaimage.so.14
#5 0x00007f161e8fb4d3 in KisTile::lockForWrite() () at /usr/lib64/libkritaimage.so.14
#6 0x00007f161e903725 in KisTiledDataManager::writeBytesBody(unsigned char const*, int, int, int, int, int) () at /usr/lib64/libkritaimage.so.14
#7 0x00007f161e903979 in KisTiledDataManager::writeBytes(unsigned char const*, int, int, int, int, int) () at /usr/lib64/libkritaimage.so.14
#8 0x00007f161e9defd5 in () at /usr/lib64/libkritaimage.so.14
#9 0x00007f161e9d9c85 in KisPaintDevice::writeBytes(unsigned char const*, int, int, int, int) () at /usr/lib64/libkritaimage.so.14
#10 0x00007f161e92845e in KisPainter::bltFixed(int, int, KisSharedPtr<KisFixedPaintDevice>, int, int, int, int) () at /usr/lib64/libkritaimage.so.14
#11 0x00007f161e9286cc in KisPainter::bltFixed(QPoint const&, KisSharedPtr<KisFixedPaintDevice>, QRect const&) () at /usr/lib64/libkritaimage.so.14
#12 0x00007f1604155622 in () at /usr/lib64/kde4/kritadefaultpaintops.so
#13 0x00007f161e931600 in () at /usr/lib64/libkritaimage.so.14
#14 0x00007f1604155cfe in () at /usr/lib64/kde4/kritadefaultpaintops.so
#15 0x00007f1621a7f9bd in FreehandStrokeStrategy::doStrokeCallback(KisStrokeJobData*) () at /usr/lib64/libkritaui.so.14
#16 0x00007f161e8fa2e1 in () at /usr/lib64/libkritaimage.so.14
#17 0x00007f162003c6ae in () at /usr/lib64/libQtCore.so.4
#18 0x00007f162004879f in () at /usr/lib64/libQtCore.so.4
#19 0x00007f161ac940a4 in start_thread () at /lib64/libpthread.so.0
#20 0x00007f161f7e500d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f16221cd7c0 (LWP 2785)):
#0 0x00007f161ac983e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1 0x00007f1620048c64 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2 0x00007f162004836e in QThread::wait(unsigned long) () at /usr/lib64/libQtCore.so.4
#3 0x00007f161e91cec8 in KisTileDataSwapper::terminateSwapper() () at /usr/lib64/libkritaimage.so.14
#4 0x00007f161e8ffcb9 in KisTileDataStore::~KisTileDataStore() () at /usr/lib64/libkritaimage.so.14
#5 0x00007f161e9004a7 in () at /usr/lib64/libkritaimage.so.14
#6 0x00007f161f737b19 in __run_exit_handlers () at /lib64/libc.so.6
#7 0x00007f161f737b65 in () at /lib64/libc.so.6
#8 0x00007f1620bbefc8 in () at /usr/lib64/libQtGui.so.4
#9 0x00007f161b0dc9c0 in KApplication::xioErrhandler(_XDisplay*) () at /usr/lib64/libkdeui.so.5
#10 0x00007f161f40833e in _XIOError () at /usr/lib64/libX11.so.6
#11 0x00007f161f405d3d in _XEventsQueued () at /usr/lib64/libX11.so.6
#12 0x00007f161f3f7deb in XEventsQueued () at /usr/lib64/libX11.so.6
#13 0x00007f1620bf5fe2 in () at /usr/lib64/libQtGui.so.4
#14 0x00007f1620148e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#15 0x00007f1620149165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#16 0x00007f162014e5b9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#17 0x00000000004027ec in ()
#18 0x00007f161f721b05 in __libc_start_main () at /lib64/libc.so.6
#19 0x0000000000402d30 in _start ()

**********************************************************************************************

Must likely the driver then, I have OpenGl turned off

But thanks for looking.
mhunt
Registered Member
Posts
17
Karma
0
OS
UPDATE:

I installed Krita 2.9.9git from another repository from krita.org. It hasn't crashed now.

Hope it got solved. thank you.

UPDATE 2: I was working on it and didn't had any trouble, I guess updating the version solved my crash problem. I still have OpenGL turned off.
wolfi323
Registered Member
Posts
1129
Karma
11
OS
mhunt wrote:I installed Krita 2.9.9git from another repository from krita.org. It hasn't crashed now.

You can also try the stable calligra/krita 2.9.11 from openSUSE's KDE:Extra repository.

See https://en.opensuse.org/SDB:KDE_reposit ... n_releases, but you should also just find it in YaST's "Community Repositories" list (open YaST->Software Repositories, click on "Add", leave the default "Community Repositories" selected and enable the Repo in the list).
You can switch the installed version by clicking on "Versions" below the package list in YaST->Software Management.


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]