![]() Registered Member ![]()
|
Hello,
I'm getting the error "Cannot use OpenGL: Krita needs at least OpenGL 2.0 or ES 2.0" when trying to enable OpenGL. glxinfo:
According to glxinfo my OpenGL version is 3.3 (although my card supports 4.5, need to look into that) so I don't get why I'm getting this error message. Any ideas? |
![]() KDE Developer ![]()
|
Do you have dual or hybrid graphics cards of any kind? It might be that Krita is picking up the integrated one instead of the dedicated one.
I have no idea how to actually help you further if that is the case, as each machine with hybrid/dual graphics cards is different... |
![]() Registered Member ![]()
|
I actually have an integrated card and two dedicated cards (although my driver doesn't yet support crossfireX so I can't use both), but it should only be picking up the dedicated card. Is there any way to check if this is the case though? EDIT: This is what I get when I launch krita from a terminal and the error message displays. According to glxinfo, my OpenGL ES version is 3.0, so that's obviously wrong. The system certainly has OpenGL. Not sure what it's complaining about.
|
![]() KDE Developer ![]()
|
If Krita says it cannot use opengl it's because your driver doesn't support it. That's definitely a problem in your setup, not in Krita. Your driver reports it's the Mesa software renderer and returns 1.4 as the maximum version of OpenGL it supports, which Krita cannot work with.
|
![]() Registered Member ![]()
|
Here's the updated glxinfo. OpenGL is now at version 4.1.
server glx version string: 1.4 OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.0.5 OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.0.5 The glx server version is 1.4. The max OpenGL version that this driver supports is 4.1 and for OpenGL ES, the version is 3.0. I know the OpenGL version is at least 3.3 because I was testing a program called "Citra" which requires OpenGL 3.3. Before I updated my mesa version, it was at version 2.1 and Citra refused to launch at all. I upgraded to 3.3 and it worked, then upgraded at a later time to 4.1 by updating LLVM and rebuilding mesa. It could very well be my system, maybe it's something to do with KDE packages that Krita requires or maybe a compile flag that is enabled when certain packages are compiled with certain flags. Not sure exactly what but since glxinfo is reporting the max OpenGL version mesa supports is 4.1 and the max version of OpenGL ES is 3.0, I don't see why it wouldn't work. |
![]() Registered Member ![]()
|
|
![]() KDE Developer ![]()
|
Sorry, it's no use shouting "bump". Your system is not standard and I cannot figure out at from a distance what's wrong with it. One way for you to approach the issue is writing a small Qt application that checks which QGLFormat::openGLVersionFlags() your system supports.
|
Registered users: Baidu [Spider], Bing [Bot], Google [Bot]