2017-04-23 48 views
0

我努力学习kivy,使我的大学项目的移动应用程序,但是当我在kivy网站上运行此示例脚本它给我的错误:KIvy GL致命错误

OpenGL version detected :1.1 

,我做后做:

from kivy import Config 
Config.set('graphics', 'multisamples', '0') 

我得到这个:

enter image description here

这里是终端输出:

[INFO ] [Logger  ] Record log in C:\Users\User\.kivy\logs\kivy_17-04-23_5.txt 
[INFO ] [Kivy  ] v1.9.2.dev0, git-e831904, 20170420 
[INFO ] [Python  ] v3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:01:18) [MSC v.1900 32 bit (Intel)] 
[INFO ] [Factory  ] 194 symbols loaded 
[INFO ] [Image  ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored) 
[INFO ] [Text  ] Provider: sdl2 
[INFO ] [OSC   ] using <thread> for socket 
[INFO ] [Window  ] Provider: sdl2 
[INFO ] [GL   ] Using the "OpenGL" graphics system 
[INFO ] [GL   ] GLEW initialization succeeded 
[INFO ] [GL   ] No framebuffers extension is supported 
[INFO ] [GL   ] Backend used <glew> 
[INFO ] [GL   ] OpenGL version <b'1.4.0 - Build 8.14.10.1930'> 
[INFO ] [GL   ] OpenGL vendor <b'Intel'> 
[INFO ] [GL   ] OpenGL renderer <b'Intel 945GM'> 
[INFO ] [GL   ] OpenGL parsed version: 1, 4 
[CRITICAL] [GL   ] Minimum required OpenGL version (2.0) NOT found! 

OpenGL version detected: 1.4 

Version: b'1.4.0 - Build 8.14.10.1930' 
Vendor: b'Intel' 
Renderer: b'Intel 945GM' 

Try upgrading your graphics drivers and/or your graphics hardware in case of problems. 

The application will leave now. 

我试图ugrade我的显卡驱动程序,但仍这存在,我refered到其他stackoverflowQuestions,但没有解决问题。

我真的需要帮助,因为kivy是唯一可以帮助我的项目。

回答

3

Intel 945GM only supports up to OpenGL 1.4

所以你需要使用其他设备或图形卡。

+0

感谢您的回答,您能否告诉我哪个是Kivy支持的最少GL版本。以便我可以相应地使用另一台机器。 –

+1

你的错误实际上提到了这一点。您至少需要支持OpenGL 2.0。如果你支持任何较新的版本,那么你通常也有向后支持旧版本的能力。 – Vallentin