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

Krita + Ubuntu + Surface Pro 3 = complete failure

Tags: None
(comma "," separated)
rodgers
Registered Member
Posts
17
Karma
0
Hey everyone I would love to be a working experiment to help you folks out. So far I have tried ubuntu studio, the stable ubuntu and the newest ubuntu. EVERY ONE failed to have a working version of KRITA on the surface pro 3. Completely unstable. I have tried the newest version of Krita and previous versions of Krita on each. The newest gets me stuck in some kind of zoom or grab and move hand icon and locks me out of doing anything. The earlier versions works for a few minutes then stops recognizing the stylus and then when I try to close out I get a message saying its not responding. I would really like to move to Linux but without a working version of Krita there is no point. I would like to help you guys out and test any sort of fixes you might have in the future to get Krita working on Linux on a surafe pro 3.

Thank you for your time.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
I have to admit I haven't even considered trying to put Linux on my Surface Pro 3, so I don't really have anything to recommend here. You could try to attach a debugger to see where Krita is hanging, but I suspect the Linux driver for the n-trig pen simply is broken.
rodgers
Registered Member
Posts
17
Karma
0
I ran Krita from a terminal. I never changed tools. just started making line. This is what it throws out.

QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
/tmp/.mount_krita.lUNdVz/usr/lib/krita-python-libs/krita added to PYTHONPATH
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Bold")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Light")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular")
file:///tmp/.mount_krita.lUNdVz/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/edit-clear
file:///tmp/.mount_krita.lUNdVz/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/opacity-decrease
file:///tmp/.mount_krita.lUNdVz/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/opacity-increase
file:///tmp/.mount_krita.lUNdVz/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/lightness-increase
file:///tmp/.mount_krita.lUNdVz/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/lightness-decrease
file:///tmp/.mount_krita.lUNdVz/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/zoom-in
file:///tmp/.mount_krita.lUNdVz/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/rotate-canvas-left
file:///tmp/.mount_krita.lUNdVz/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/rotation-reset
file:///tmp/.mount_krita.lUNdVz/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/rotate-canvas-right
file:///tmp/.mount_krita.lUNdVz/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/zoom-out
file:///tmp/.mount_krita.lUNdVz/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/brushsize-decrease
file:///tmp/.mount_krita.lUNdVz/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/brushsize-increase
file:///tmp/.mount_krita.lUNdVz/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/preset-switcher
QXcbConnection: XCB error: 148 (Unknown), sequence: 1054, resource id: 0, major code: 140 (Unknown), minor code: 20
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Bold")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Light")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular")
QXcbConnection: XCB error: 148 (Unknown), sequence: 1078, resource id: 0, major code: 140 (Unknown), minor code: 20
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Bold")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Light")
krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular")
krita.lib.flake: "InteractionTool" : action "object_order_lower" conflicts with canvas action "rotate_canvas_left" shortcut: "Ctrl+["
krita.lib.flake: "InteractionTool" : action "object_order_raise" conflicts with canvas action "rotate_canvas_right" shortcut: "Ctrl+]"
krita.lib.flake: "InteractionTool" : action "object_order_lower" conflicts with canvas action "rotate_canvas_left" shortcut: "Ctrl+["
krita.lib.flake: "InteractionTool" : action "object_order_raise" conflicts with canvas action "rotate_canvas_right" shortcut: "Ctrl+]"
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
===
WARNING: Tracked tablet buttons are not consistent!
tabletData->buttons = QFlags<Qt::MouseButtons>(NoButton)
expectedButtons = QFlags<Qt::MouseButtons>(LeftButton)
===
WARNING: Tracked tablet buttons are not consistent!
tabletData->buttons = QFlags<Qt::MouseButtons>(NoButton)
expectedButtons = QFlags<Qt::MouseButtons>(LeftButton)
===
WARNING: Tracked tablet buttons are not consistent!
tabletData->buttons = QFlags<Qt::MouseButtons>(NoButton)
expectedButtons = QFlags<Qt::MouseButtons>(LeftButton)
===
WARNING: Tracked tablet buttons are not consistent!
tabletData->buttons = QFlags<Qt::MouseButtons>(NoButton)
expectedButtons = QFlags<Qt::MouseButtons>(LeftButton)
===
WARNING: Tracked tablet buttons are not consistent!
tabletData->buttons = QFlags<Qt::MouseButtons>(NoButton)
expectedButtons = QFlags<Qt::MouseButtons>(LeftButton)
===
WARNING: Tracked tablet buttons are not consistent!
tabletData->buttons = QFlags<Qt::MouseButtons>(NoButton)
expectedButtons = QFlags<Qt::MouseButtons>(LeftButton)
===
WARNING: Tracked tablet buttons are not consistent!
tabletData->buttons = QFlags<Qt::MouseButtons>(NoButton)
expectedButtons = QFlags<Qt::MouseButtons>(LeftButton)
===
WARNING: Tracked tablet buttons are not consistent!
tabletData->buttons = QFlags<Qt::MouseButtons>(NoButton)
expectedButtons = QFlags<Qt::MouseButtons>(LeftButton)
===
WARNING: Tracked tablet buttons are not consistent!
tabletData->buttons = QFlags<Qt::MouseButtons>(NoButton)
expectedButtons = QFlags<Qt::MouseButtons>(LeftButton)
===
WARNING: Tracked tablet buttons are not consistent!
tabletData->buttons = QFlags<Qt::MouseButtons>(NoButton)
expectedButtons = QFlags<Qt::MouseButtons>(LeftButton)
krita.lib.flake: "InteractionTool" : action "object_order_lower" conflicts with canvas action "rotate_canvas_left" shortcut: "Ctrl+["
krita.lib.flake: "InteractionTool" : action "object_order_raise" conflicts with canvas action "rotate_canvas_right" shortcut: "Ctrl+]"
krita.lib.flake: "InteractionTool" : action "object_order_lower" conflicts with canvas action "rotate_canvas_left" shortcut: "Ctrl+["
krita.lib.flake: "InteractionTool" : action "object_order_raise" conflicts with canvas action "rotate_canvas_right" shortcut: "Ctrl+]"
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
===
WARNING: Tracked tablet buttons are not consistent!
tabletData->buttons = QFlags<Qt::MouseButtons>(NoButton)
expectedButtons = QFlags<Qt::MouseButtons>(Left
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
rodgers
Registered Member
Posts
17
Karma
0
First of all thanks for taking the time to look at this issue. Here is what I get when i open the tablet setting. When I use the tablet the tester it gives me a read out of x and y and a mouse button. Thanks again.

Image
rodgers
Registered Member
Posts
17
Karma
0
I was curious if it was just some massive hardware failure so I downloaded gimp to test to see if I could get it to crash out. It doesn't. Dont know if that info helps or not.

Someone said they have no problem with it running on Neon. I'm going to install it and see if there is a difference.
rodgers
Registered Member
Posts
17
Karma
0
So, running neon as we speak. At first things looked good. Was running for about 5 minutes then crashed. I had moved the stylus away from the tablet a distance of about a foot. I then started using the program again, it quickly crashed. Could not reproduce as of yet.

I started a timer again and doubled my time with no crash. I then selected outside of the Krita program window. selected an open browser. I then touched the canvas again. Krita locks up/crashes. Sometimes reproducible.

Locks up and crashes when i choose to create new document after painting on first canvas. REPRODUCIBLE.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
Is this with the appimage, or krita installed from repos? And which version? If from repos, please install the debug symbols as well so we can take a look at the backtrace.
rodgers
Registered Member
Posts
17
Karma
0
Once again thanks.

I am running the latest Linux version app image. I will install the debug version tonight. Then see what I can reproduce.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
The lime repo (https://launchpad.net/~kritalime/+archive/ubuntu/ppa) might be the easiest way to get the latest release with debug symbols: 4.1.7.
eeeight
Registered Member
Posts
6
Karma
0
I have a Surface Pro 3 running Ubuntu Studio 18.04 (XFCE) no problem at all with the AppImage.
rodgers
Registered Member
Posts
17
Karma
0
Hmmmmmm. I know a guy who owns a newer surface book. I'm wondering if it's my pen throwing off some oddness. Maybe I'll see if his pen will work on mine and produce the same results.

@eeeight was it's just that Ubuntu install out of the box or did you add any patches or custom kernels or calibration or settings or drivers etc? Thanks.
rodgers
Registered Member
Posts
17
Karma
0
@boudewijn First, thank you very much for looking into this. Secondly...........it appears to be my MOTHERF****** PEN! I was able to borrow a newer version of the surface pen from a friend of mine and after running a rather long ram test last night I started using it. I CAN'T get Krita to CRASH with HIS pen. My pen still crashes Krita. I'm not sure if you are even interested in a bug report now that it's obvious that for some reason my old pen is Krita Cancer. Once again thanks for your time and patience. It seems with an invest in a new pen I can make my switch to Linux now.

@eeeight Thanks for the heads up. Even though my pen looks to leave Gimp alone it seems to take Krita down.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
If you're going to get a new pen... Could you send your pen to us? I'd like to investigate :-)
rodgers
Registered Member
Posts
17
Karma
0
Yes. Soon as the hustle and bustle of the holidays is over I will send it your way. It could just be the need of a new nib. The old nibs wore down often. But after getting the feel of the new surface pens and their better nibs I'm switching over regardless.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], markhm, rblackwell, sethaaaa, Sogou [Bot], Yahoo [Bot]