[krita] [Bug 399696] Forced close with Internal Error message in kis_shortcut_matcher.cpp, line 557 [USE_QT_QCB]

2018-10-14 Thread Tyson Tan
https://bugs.kde.org/show_bug.cgi?id=399696

--- Comment #6 from Tyson Tan  ---
(In reply to Boudewijn Rempt from comment #5)
> No, I don't have any idea about that -- I don't see such problems on my
> mobile studio pro 15", but in any case, it's not about this issue.

Off-topic here sorry. But: MSP 16 has an nvidia GPU, so when the GPU is
stressed, it will automatically switch to the NV GPU, therefore avoiding intel
GPU's overheating problem under Linux. I have been testing a few workarounds
and they seems to work by suppressing CPU package's power cap. I will do some
more research and report the the issue to where it should be.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 399696] Forced close with Internal Error message in kis_shortcut_matcher.cpp, line 557 [USE_QT_QCB]

2018-10-12 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=399696

--- Comment #5 from Boudewijn Rempt  ---
No, I don't have any idea about that -- I don't see such problems on my mobile
studio pro 15", but in any case, it's not about this issue.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 399696] Forced close with Internal Error message in kis_shortcut_matcher.cpp, line 557 [USE_QT_QCB]

2018-10-12 Thread Tyson Tan
https://bugs.kde.org/show_bug.cgi?id=399696

--- Comment #4 from Tyson Tan  ---
# About the applet:

The applet is xsensors. Its only function is to show the hardware's
temperature. It has nothing to do with Krita what so ever. It has 4 tabs inside
its interface. That it. It doesn't even have a menu.


# Pressing Ignore:

I did press Ignore, but new INTERNAL ERROR messagebox just kept popping up. It
was in an constant INTERNAL ERROR loop. Only Abort stopped the madness.


# P.S. Krita's OpenGL stress

I'm using xsensors to investigate my Wacom MSP13 (and other laptops) keeps hard
resetting themselves under Linux. I think it is an Intel integrated graphics
specific problem because there is no GPU thermal sensor being provided under
Linux. The GPU part turbo boosts under stress, overheats itself until it shuts
down by hardware safety measures. 

A peculiar finding: Krita is very good at making the GPU overheating, too good. 

I was trying this seemingly demanding WebGL2 demo:
https://playcanv.as/e/p/44MRmJRU/ which on MSP13 it couldn't even run past 10
FPS under Ultra setting. However, the CPU package temperature rarely went over
60C. 

On the other hand, a few simple dabs in Krita and it immediately shoots all the
way over 70C. If I combine drawing with rotation, panning, zooming, picking
color...all these OpenGL actions, MSP13 just kills itself very soon after.

Keep in mind this is not only happening on MSP13, but also a number of
different laptops I tried Krita on them.

Any insight about what is happening here? Anything more I can do to investigate
to help, or I should report this as another bug?

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 399696] Forced close with Internal Error message in kis_shortcut_matcher.cpp, line 557 [USE_QT_QCB]

2018-10-12 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=399696

Boudewijn Rempt  changed:

   What|Removed |Added

Summary|Forced close with Internal  |Forced close with Internal
   |Error message in|Error message in
   |kis_shortcut_matcher.cpp,   |kis_shortcut_matcher.cpp,
   |line 557|line 557 [USE_QT_QCB]
   Platform|Other   |Appimage
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

--- Comment #3 from Boudewijn Rempt  ---
It is related to the experimental option to use Qt's xcb implementation,
instead of our fork. Our fork breaks scrollwheel input with current versions of
X11; Qt's seems to send events in a weird order and can break switching focus
and when moving from the dockers to the canvas. 

This is the full backtrace:

Thread 1 (Thread 0x7fda2898b980 (LWP 25331)):
[KCrash Handler]
#6  0x7fda1c625f67 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:55
#7  0x7fda1c62733a in __GI_abort () at abort.c:78
#8  0x7fda1d2c0f1c in QMessageLogger::fatal(char const*, ...) const () from
/usr/lib64/libQt5Core.so.5
#9  0x7fda23c5e360 in kis_assert_common
(assertion=assertion@entry=0x7fda283757a9 "!m_d->readyShortcut",
file=file@entry=0x7fda28375840
"/home/boud/dev/krita/libs/ui/input/kis_shortcut_matcher.cpp",
line=line@entry=557, throwException=throwException@entry=false,
isIgnorable=isIgnorable@entry=true) at
/home/boud/dev/krita/libs/global/kis_assert.cpp:90
#10 0x7fda23c5e66d in kis_safe_assert_recoverable
(assertion=assertion@entry=0x7fda283757a9 "!m_d->readyShortcut",
file=file@entry=0x7fda28375840
"/home/boud/dev/krita/libs/ui/input/kis_shortcut_matcher.cpp",
line=line@entry=557) at /home/boud/dev/krita/libs/global/kis_assert.cpp:108
#11 0x7fda27e1af1b in KisShortcutMatcher::forceEndRunningShortcut
(this=, localPos=...) at
/home/boud/dev/krita/libs/ui/input/kis_shortcut_matcher.cpp:557
#12 0x7fda27e1afef in KisShortcutMatcher::lostFocusEvent (this=, localPos=...) at
/home/boud/dev/krita/libs/ui/input/kis_shortcut_matcher.cpp:377
#13 0x7fda27dfafc0 in KisInputManager::eventFilterImpl (this=0xa9a9e30,
event=0x7ffc0e440e80) at
/home/boud/dev/krita/libs/ui/input/kis_input_manager.cpp:443
#14 0x7fda1d49476e in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
from /usr/lib64/libQt5Core.so.5
#15 0x7fda1e43f185 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQt5Widgets.so.5
#16 0x7fda1e445b52 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#17 0x7fda27e7a8d7 in KisApplication::notify (this=,
receiver=0xe119930, event=0x7ffc0e440e80) at
/home/boud/dev/krita/libs/ui/KisApplication.cpp:608
#18 0x7fda1d4948f5 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib64/libQt5Core.so.5
#19 0x7fda1e443911 in QApplicationPrivate::setFocusWidget(QWidget*,
Qt::FocusReason) () from /usr/lib64/libQt5Widgets.so.5
#20 0x7fda1e474c7b in QWidget::setFocus(Qt::FocusReason) () from
/usr/lib64/libQt5Widgets.so.5
#21 0x7fda1e441199 in
QApplicationPrivate::giveFocusAccordingToFocusPolicy(QWidget*, QEvent*, QPoint)
() from /usr/lib64/libQt5Widgets.so.5
#22 0x7fda1e44764b in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#23 0x7fda27e7a8d7 in KisApplication::notify (this=,
receiver=0xcb72c50, event=0x7ffc0e441360) at
/home/boud/dev/krita/libs/ui/KisApplication.cpp:608
#24 0x7fda1d4948f5 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib64/libQt5Core.so.5
#25 0x7fda1e4451e9 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool) () from
/usr/lib64/libQt5Widgets.so.5
#26 0x7fda1e49349f in ?? () from /usr/lib64/libQt5Widgets.so.5
#27 0x7fda1e495993 in ?? () from /usr/lib64/libQt5Widgets.so.5
#28 0x7fda1e43f1ac in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQt5Widgets.so.5
#29 0x7fda1e445b52 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#30 0x7fda27e7a8d7 in KisApplication::notify (this=,
receiver=0xa420850, event=0x7ffc0e441800) at
/home/boud/dev/krita/libs/ui/KisApplication.cpp:608
#31 0x7fda1d4948f5 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib64/libQt5Core.so.5
#32 0x7fda1da2d74f in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() from /usr/lib64/libQt5Gui.so.5
#33 0x7fda1da2f855 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
() from /usr/lib64/libQt5Gui.so.5
#34 0x7fda1da0e7eb in
QWindowSystemInterface::sendWindowSystemEvents(QFlags)