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

Compiling Krita 3.x without OpenGL?

Tags: None
(comma "," separated)
UrQuan3
Registered Member
Posts
14
Karma
0

Compiling Krita 3.x without OpenGL?

Sat Jun 11, 2016 12:40 am
Anyone know if the pure software mode survived the move from Krita 2.9 to 3.x? I used to be able to compile Krita even if I was going to have to run it without graphics acceleration. For instance, the Raspberry Pi 3, ODROID ux4, and some old Intel integrated chips. Due to a kernel update breaking 2.9 (or possibly qt4) I'm having to try to get 3.x running on the ODROID.

I've gotten it to compile as far as kis_opengl_canvas2.cpp where it fails. No surprise. Any work-around or flags to pass in to avoid OpenGL? I don't seem to have the proper drivers for GLES at the moment and that could take some serious time to solve.

btw, the comments are great. I'm not sure I've ever seen a conversation in a comment block before.

Code: Select all
    // XXX: glLogicOp not in ES 2.0 -- it would be better to use another method.
    // It is defined in 3.1 core profile onward.
    // Actually, https://www.opengl.org/sdk/docs/man/html/glLogicOp.xhtml says it's in 2.0 onwards,
    // only not in ES, but we don't care about ES, so we could use the function directly.


If anyone cares, it was GL_LINE_SMOOTH_HINT, GL_COLOR_LOGIC_OP, and GL_XOR that were undeclared.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
No, I'm afraid that you cannot build Krita 3 without OpenGL at the moment. The CPU based canvas is still available for users as a fallback, so that's not gone. I might consider patches making it possible again to build Krita without OpenGL, but they'd need to be clean and come with a promise of continued maintenance.

There are more places where we track our developing insights conversationally, btw :-) Collect them all and win a postcard!
UrQuan3
Registered Member
Posts
14
Karma
0
Thanks for the reply. To be silly, I started mass commenting out every line the complier complained about, but I hit a link error where Qt5 was having trouble finding fundamental OpenGL definitions, which points to more serious problems with the distro (ODROID Ubuntu 15.10). Clearly I won't have it running by Friday in time for the convention. Oh well, I have four other Krita machines going.

3.1 has some neat stuff in it. I like whatever the thing is called next to the advanced color selector.

B
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
Which convention are you going to? If you're going there with a bunch of Krita machines, it sounds like we should run a report on it on krita.org :-)
UrQuan3
Registered Member
Posts
14
Karma
0
HAMACON anime convention, Huntsville, AL.
www.hama-con.com
The plan is to have machines set up as walk-up drawing stations. We tested the idea at the mini-con and it went really well. The current plan is one machine with Painter Essentials and 4 to 5 with Krita. If you think I should, I'd be happy to try a write-up with a few pictures after the con.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
Yes, please!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]