kivy: Multisamples causing GL error

I created 2 .exe packages for windows according to the documentation. I used stable and dev version kivy. And I have a problem - stable version detects opengl version 2.1 and dev version - 1.1 log files stable

[INFO              ] Logger: Record log in C:\Users\maxim_000\.kivy\logs\kivy_15-08-13_6.txt
[WARNING           ] [Config      ] Upgrading configuration in progress.
[WARNING           ] [Config      ] Older configuration version detected (14 instead of 13)
[INFO              ] Kivy: v1.9.0
[INFO              ] Python: v2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)]
[INFO              ] Factory: 173 symbols loaded
[INFO              ] Image: Providers: img_tex, img_dds, img_gif, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO              ] Text: Provider: sdl2
[INFO              ] OSC: using <thread> for socket
[INFO              ] Window: Provider: sdl2
[INFO              ] GL: GLEW initialization succeeded
[INFO              ] GL: OpenGL version <2.1.0 - Build 8.15.10.1872>
[INFO              ] GL: OpenGL vendor <Intel>
[INFO              ] GL: OpenGL renderer <Mobile Intel(R) 4 Series Express Chipset Family>
[INFO              ] GL: OpenGL parsed version: 2, 1
[INFO              ] GL: Shading version <1.20  - Intel Build 8.15.10.1872>
[INFO              ] GL: Texture max size <4096>
[INFO              ] GL: Texture max units <16>
[INFO              ] Shader: fragment shader: <No errors.>
[INFO              ] Shader: vertex shader: <No errors.>
[INFO              ] Shader: program: <No errors.>
[INFO              ] Window: auto add sdl2 input provider
[INFO              ] Window: virtual keyboard not allowed, single mode, not docked
[INFO              ] GL: NPOT texture support is available
[INFO              ] Base: Start application main loop
[INFO              ] Base: Leaving application in progress...

dev

[INFO              ] Logger: Record log in C:\Users\maxim_000\.kivy\logs\kivy_15-08-13_5.txt
[INFO              ] Kivy: v1.9.1-dev
[INFO              ] Python: v2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)]
[INFO              ] Factory: 177 symbols loaded
[INFO              ] Image: Providers: img_tex, img_dds, img_gif, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO              ] Text: Provider: sdl2
[INFO              ] OSC: using <thread> for socket
[INFO              ] Window: Provider: sdl2
[INFO              ] GL: GLEW initialization succeeded
[INFO              ] GL: OpenGL version <1.1.0>
[INFO              ] GL: OpenGL vendor <Microsoft Corporation>
[INFO              ] GL: OpenGL renderer <GDI Generic>
[INFO              ] GL: OpenGL parsed version: 1, 1
[CRITICAL          ] GL: Minimum required OpenGL version (2.0) NOT found!

OpenGL version detected: 1.1

Version: 1.1.0
Vendor: Microsoft Corporation
Renderer: GDI Generic

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

The application will leave now.

About this issue

  • Original URL
  • State: open
  • Created 9 years ago
  • Comments: 41 (19 by maintainers)

Commits related to this issue

Most upvoted comments

This worked for me

import os os.environ[‘KIVY_GL_BACKEND’] = ‘angle_sdl2’

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

I want to clarify: from kivy import Config Config.set('graphics', 'multisamples', '0') Does not resolve my error.


RESTART: C:/Users/AppData/Local/Programs/Python/Python36-32/kivy_label.py [INFO ] [Logger ] Record log in C:\Users\Corie.kivy\logs\kivy_17-09-05_15.txt [INFO ] [Kivy ] v1.10.0 [INFO ] [Python ] v3.6.2 (v3.6.2:5fd33b5, Jul 8 2017, 04:14:34) [MSC v.1900 32 bit (Intel)] [INFO ] [Factory ] 194 symbols loaded [INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, 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.1.0’> [INFO ] [GL ] OpenGL vendor <b’Microsoft Corporation’> [INFO ] [GL ] OpenGL renderer <b’GDI Generic’> [INFO ] [GL ] OpenGL parsed version: 1, 1 [CRITICAL] [GL ] Minimum required OpenGL version (2.0) NOT found!

OpenGL version detected: 1.1

Version: b’1.1.0’ Vendor: b’Microsoft Corporation’ Renderer: b’GDI Generic’

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

The application will leave now.


However, import os os.environ['KIVY_GL_BACKEND'] = 'angle_sdl2' does. I’m not sure if this is the same or related issue.

import os os.environ[‘KIVY_GL_BACKEND’] = ‘angle_sdl2’ import kivy Adding this to the top of my script is the work around I’m using on windows 10, kivy 1.10.0, python 3.6.2.

kivy_17-02-24_3.txt

I am also getting this misidentifying error.

I tried running the /share/kivy-examples/demo/showcase/main.py file and got that error.

It worked after I edited the main.py file and added the following two lines just after the rest of the import statements: from kivy import Config Config.set(‘graphics’, ‘multisamples’, ‘0’)

Currently running on: Manufacturer: Acer Computer Model: Asprie Z3-715 Intel i5 6400T CPU @ 2.2GHz 8GB RAM 64-bit Windows 10 Integrated Graphics: Intel HD 530 with Shared Memory Dedicated Graphics: Nvidia Geforce 940M with 2GB RAM

Thanks for the suggestion, dolang. I did uninstall Python Anaconda 3.6.4 and installed CPython 3.6.5 instead, but this did not solved the problem. But I finally found the solution thanks to a contribution on an Intel graphical card forum. The idea is to use Shims to solve a driver compatibility problem. See the end of the thread here for a description of the solution.