OpenGL Requirement

815 views
Skip to first unread message

Aras

unread,
Jul 21, 2011, 11:00:54 PM7/21/11
to kivy...@googlegroups.com
Hi,
When I try to run this application on my laptop with latest version of Kivy (1.0.7) installed on it, I get the following error:

[CRITICAL] [GL          ] Minimum required OpenGL version (2.0) NOT found! Try upgrading your graphics drivers and/or your graphics hardware in case of problems.

And I am presented with a black empty kivy screen that I can not close using the close button. I noticed that the animation example which comes with Kivy gives the same error, so I guess its the Animation module that requires the opengl. Now my laptop is very old (IBM x41 tablet) and although it has all the latest gl libraries from the repository maybe its graphics card is just not up to the work anymore. Is there anyway I can get passed this error, or is it time I start shopping for a new tablet pc :(? Let me know if you need any more information.

Thanks!
Aras

Thomas Hansen

unread,
Jul 21, 2011, 11:07:19 PM7/21/11
to kivy...@googlegroups.com
kivy does all rendering using openGL and requires at least an openGL ES 2.0 compatible graphics card/driver. 

try installing the latest driver from your graphics card manufacturer (the default drivers often lack proper openGL support). if that doesn't work and your gpu just doesn't support gl ES 2.0 it's not going to work with kivy :/

Sent from my iPhone

Aras

unread,
Jul 22, 2011, 1:00:49 AM7/22/11
to kivy...@googlegroups.com
It looks like the graphics chipset on it which is Intel 915GM, is just not up to it. I dont think it can support OpenGL 2.0 at all. glxinfo says:
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
...
But this tablet is from the year 2004 so I am not too surprised that it cant support OpenGL 2.0. I am going to have to use that as an excuse to buy myself a shiny new tablet ;). 

Thanks for the prompt reply Thomas!
Aras

Gabriel Pettier

unread,
Jul 22, 2011, 2:03:35 AM7/22/11
to kivy...@googlegroups.com

No, i have it working on my eeepc 901, with the same card.

Regards

Aras Balali Moghaddam

unread,
Jul 22, 2011, 2:38:49 AM7/22/11
to kivy...@googlegroups.com
Are you running the original Linux on there Gabriel? Have you tried another distro or OS? Do you know if it works in Ubuntu? I wonder if Asus has tweeked the drivers for it. Butt I guess that means there may be a way for me to get it to work after all. 

Sorry for spamming the mailing list with this. I understand now that the issue is not with Kivy but rather my graphic card/driver lack of support for OpenGL 2.0. I appreciate the help though :)

Aras

Gabriel Pettier

unread,
Jul 22, 2011, 2:54:44 AM7/22/11
to kivy...@googlegroups.com

It's debian testing, I have the same result at glxinfo as you.

I'm updating my system to compile kivy again, just to be sure, but it worked in the past.

On 22 Jul 2011 08:38, "Aras Balali Moghaddam" <ara...@uvic.ca> wrote:

Gabriel Pettier

unread,
Jul 22, 2011, 3:04:27 AM7/22/11
to kivy...@googlegroups.com

Ok I have the same issue now.

Sanyaade Adekoya

unread,
Jul 22, 2011, 8:12:21 AM7/22/11
to kivy...@googlegroups.com
I am thinking if it is possible to have a OpenGL ES 2.0 in software driver mode like MESA or QUESA [QUICKDRAW CLONE] and Irrlicht  also have a software renderer that run OpenGL in software rendering mode. This will be a fall where the graphic card does not the OpenGL ES 2.0.

What do you Guys think?

God blesses!!!

Best regards,
Sanyaade

Mathieu Virbel

unread,
Jul 22, 2011, 8:48:14 AM7/22/11
to kivy...@googlegroups.com
This is not our goal. We try to be modern, and we choose to use modern design, from the technical requirement and inside our implementation.

Older platform than OpenGL ES 2.0 are not targeted. Mesa is doing software rendering, but whatever you want to do in software, it will just not work for us. Our graphics engine is based in top of Shader/GPU. If you have a too old or unsupported GPU, i'm sure that you don't want to do in software.

Anyway, if anybody is interested to make it work, the changes needed is not in Kivy, but would be more in the platform, and update/contributes to open drivers.

Mathieu

2011/7/22 Sanyaade Adekoya <sany...@gmail.com>

Mathieu Virbel

unread,
Jul 22, 2011, 8:56:38 AM7/22/11
to kivy...@googlegroups.com
For this particular point, it's not GLX version that we are caring about, but OpenGL Version
For example, mine here: (glxinfo | grep OpenGL):
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 9800 GT/PCI/SSE2
OpenGL version string: 3.3.0 NVIDIA 270.41.06
OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
OpenGL extensions:

-> I have 3.3.0

And you ?

2011/7/22 Aras <ara...@uvic.ca>

Aras Balali Moghaddam

unread,
Jul 22, 2011, 4:12:11 PM7/22/11
to kivy...@googlegroups.com
This tablet has OpenGL 1.4: 
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 915GM GEM 20100330 DEVELOPMENT x86/MMX/SSE2
OpenGL version string: 1.4 Mesa 7.10.2
OpenGL extensions:

I was a bit surprised since pymt apps used to run on this. I think your decision to focus on modern platform is very wise though. 

Cheers!
Aras

Mathieu Virbel

unread,
Jul 22, 2011, 5:00:00 PM7/22/11
to kivy...@googlegroups.com
PyMT was using old opengl, we are using new. That's why :)
(the 'old' opengl cannot be used on mobile platform too. otherwise i don't think kivy would exist ^^)

2011/7/22 Aras Balali Moghaddam <ara...@uvic.ca>

Sanyaade Adekoya

unread,
Jul 23, 2011, 7:10:41 AM7/23/11
to kivy...@googlegroups.com
@Mathieu,

I totally and strongly agreed with your views and with most of what you have said.

Multi-touch kit also demanded modern graphic card that could do texturing and shading.

May be we should advice people who old systems or on-board graphic cards to consider PyMT at least for a closer taste of what Kivy is!

Also I think PyMT could run more low end graphics via SDL/OpenGL but SDL 1.3 is hardware accelerated now but could still run on not too old graphic cards :)

For desktops, graphic cards are very cheap to replace but Laptops don't have this facilities you are stuck with the device.



God blesses!!!

Best regards,
Sanyaade




Reply all
Reply to author
Forward
0 new messages