question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multisamples causing GL error

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:40 (18 by maintainers)

github_iconTop GitHub Comments

2reactions
amitmarathecommented, Sep 14, 2017

This worked for me

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

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

2reactions
gutcheschirocommented, Sep 5, 2017

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

glTexImage2DMultisample causes GL_INVALID_OPERATION
When I try to use glTexImage2DMultisample, OpenGL generates an invalid operation error. I am trying to do this the same way as http://www.opengl ......
Read more >
Multisampled buffer produces "GL_INVALID_OPERATION"
Multisampled buffer produces "GL_INVALID_OPERATION" ... I found that enabling multisampling resulted in an OpenGL error being reported.
Read more >
MultiSample AntiAliasing using multisample FBO
I am trying to implement anti aliasing using multisampling. ... and blit from FBO1 to FBO2 but i get error at glBlitFrameBuffer.
Read more >
Common Mistakes - OpenGL Wiki - Khronos Group
8 Checking for OpenGL Errors; 9 Checking For Errors When You Compile ... Ideally, copying a RAII wrapper should cause a copy of...
Read more >
Anti Aliasing - LearnOpenGL
Rasterization of triangle with multisampling in OpenGL ... than the actual edge color, which causes the edge to appear smooth when viewed from...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found